summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/basehoverhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/basehoverhandler.h')
-rw-r--r--src/plugins/texteditor/basehoverhandler.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/plugins/texteditor/basehoverhandler.h b/src/plugins/texteditor/basehoverhandler.h
index 587f257210..737b44660f 100644
--- a/src/plugins/texteditor/basehoverhandler.h
+++ b/src/plugins/texteditor/basehoverhandler.h
@@ -57,19 +57,6 @@ class TEXTEDITOR_EXPORT BaseHoverHandler : public QObject
public:
BaseHoverHandler(QObject *parent = 0);
-private slots:
- void editorOpened(Core::IEditor *editor);
-
-public slots:
- void showToolTip(TextEditor::ITextEditor *editor, const QPoint &point, int pos);
- void updateContextHelpId(TextEditor::ITextEditor *editor, int pos);
-
-protected:
- void setToolTip(const QString &tooltip);
- const QString &toolTip() const;
- void appendToolTip(const QString &extension);
- void addF1ToToolTip();
-
struct HelpCandidate
{
enum Category {
@@ -94,6 +81,19 @@ protected:
Category m_category;
};
+private slots:
+ void editorOpened(Core::IEditor *editor);
+
+public slots:
+ void showToolTip(TextEditor::ITextEditor *editor, const QPoint &point, int pos);
+ void updateContextHelpId(TextEditor::ITextEditor *editor, int pos);
+
+protected:
+ void setToolTip(const QString &tooltip);
+ const QString &toolTip() const;
+ void appendToolTip(const QString &extension);
+ void addF1ToToolTip();
+
void addHelpCandidate(const HelpCandidate &helpCandidate);
void setHelpCandidate(const HelpCandidate &helpCandidate, int index);
const QList<HelpCandidate> &helpCandidates() const;