Commit bb4b88c8 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Made setMimeType virtual.

Subclasses can override this method to do things when the mime-type is set/changed.
parent 89280929
......@@ -151,7 +151,7 @@ public:
void setSuggestedFileName(const QString &suggestedFileName);
QString mimeType() const;
void setMimeType(const QString &mt);
virtual void setMimeType(const QString &mt);
void appendStandardContextMenuActions(QMenu *menu);
......@@ -341,6 +341,7 @@ public:
OtherSelection,
SnippetPlaceholderSelection,
TypeSelection,
ObjCSelection,
NExtraSelectionKinds
};
void setExtraSelections(ExtraSelectionKind kind, const QList<QTextEdit::ExtraSelection> &selections);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment