forked from qt-creator/qt-creator
Unified contextMenuEvent implementations of editor widgets.
Change-Id: Ie5dbde8d0443a65a8e96853002c8bdafd2c0d729 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
95c5ab2746
commit
b0da247604
@@ -166,7 +166,7 @@ public:
|
||||
QString mimeType() const;
|
||||
virtual void setMimeType(const QString &mt);
|
||||
|
||||
|
||||
void appendMenuActionsFromContext(QMenu *menu, const Core::Id menuContextId);
|
||||
void appendStandardContextMenuActions(QMenu *menu);
|
||||
|
||||
// Works only in conjunction with a syntax highlighter that puts
|
||||
@@ -469,6 +469,8 @@ protected:
|
||||
|
||||
void dragEnterEvent(QDragEnterEvent *e);
|
||||
|
||||
void showDefaultContextMenu(QContextMenuEvent *e, const Core::Id menuContextId);
|
||||
|
||||
public:
|
||||
void indentInsertedText(const QTextCursor &tc);
|
||||
void indent(QTextDocument *doc, const QTextCursor &cursor, QChar typedChar);
|
||||
|
||||
Reference in New Issue
Block a user