forked from qt-creator/qt-creator
Made setMimeType virtual.
Subclasses can override this method to do things when the mime-type is set/changed.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user