diff options
author | David Schulz <david.schulz@qt.io> | 2021-04-22 10:59:32 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2021-05-03 04:11:07 +0000 |
commit | ec2449cae43aef0a81f7eeab25ba995515d9bd2f (patch) | |
tree | 981ff5bfc56886a3d0df653d7e7d3ffb580d0768 /src/plugins/texteditor/texteditoroverlay.h | |
parent | 7880950eca95d84b302c36fa2f4a72e6f19ea7d4 (diff) | |
download | qt-creator-ec2449cae43aef0a81f7eeab25ba995515d9bd2f.tar.gz |
TextEditor: move snippet overlay into own cpp file
Change-Id: I3343d9abf19e4edc7bd88077bf8fe6666a901e1b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditoroverlay.h')
-rw-r--r-- | src/plugins/texteditor/texteditoroverlay.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/plugins/texteditor/texteditoroverlay.h b/src/plugins/texteditor/texteditoroverlay.h index a07252c0b2..e995f007c5 100644 --- a/src/plugins/texteditor/texteditoroverlay.h +++ b/src/plugins/texteditor/texteditoroverlay.h @@ -35,7 +35,6 @@ QT_FORWARD_DECLARE_CLASS(QWidget) QT_FORWARD_DECLARE_CLASS(QPainterPath) namespace TextEditor { -class NameMangler; class TextEditorWidget; namespace Internal { @@ -117,22 +116,5 @@ private: QList<OverlaySelection> m_selections; }; -class SnippetOverlay : public TextEditorOverlay -{ -public: - using TextEditorOverlay::TextEditorOverlay; - - void clear() override; - - void mapEquivalentSelections(); - void updateEquivalentSelections(const QTextCursor &cursor); - void setNameMangler(const QList<NameMangler *> &manglers); - void mangle(); - -private: - QVector<QList<int> > m_equivalentSelections; - QList<NameMangler *> m_manglers; -}; - } // namespace Internal } // namespace TextEditor |