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);
|
void setSuggestedFileName(const QString &suggestedFileName);
|
||||||
QString mimeType() const;
|
QString mimeType() const;
|
||||||
void setMimeType(const QString &mt);
|
virtual void setMimeType(const QString &mt);
|
||||||
|
|
||||||
|
|
||||||
void appendStandardContextMenuActions(QMenu *menu);
|
void appendStandardContextMenuActions(QMenu *menu);
|
||||||
@@ -341,6 +341,7 @@ public:
|
|||||||
OtherSelection,
|
OtherSelection,
|
||||||
SnippetPlaceholderSelection,
|
SnippetPlaceholderSelection,
|
||||||
TypeSelection,
|
TypeSelection,
|
||||||
|
ObjCSelection,
|
||||||
NExtraSelectionKinds
|
NExtraSelectionKinds
|
||||||
};
|
};
|
||||||
void setExtraSelections(ExtraSelectionKind kind, const QList<QTextEdit::ExtraSelection> &selections);
|
void setExtraSelections(ExtraSelectionKind kind, const QList<QTextEdit::ExtraSelection> &selections);
|
||||||
|
|||||||
Reference in New Issue
Block a user