Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
bb4b88c8
Commit
bb4b88c8
authored
Jun 18, 2010
by
Erik Verbruggen
Browse files
Made setMimeType virtual.
Subclasses can override this method to do things when the mime-type is set/changed.
parent
89280929
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basetexteditor.h
View file @
bb4b88c8
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment