Changeset View
Changeset View
Standalone View
Standalone View
plugins/contextbrowser/contextbrowser.h
Show First 20 Lines • Show All 164 Lines • ▼ Show 20 Line(s) | 151 | private slots: | |||
---|---|---|---|---|---|
165 | void navigateDown(); | 165 | void navigateDown(); | ||
166 | void navigateAccept(); | 166 | void navigateAccept(); | ||
167 | void navigateBack(); | 167 | void navigateBack(); | ||
168 | 168 | | |||
169 | private: | 169 | private: | ||
170 | QWidget* toolbarWidgetForMainWindow(Sublime::MainWindow* window); | 170 | QWidget* toolbarWidgetForMainWindow(Sublime::MainWindow* window); | ||
171 | void createActionsForMainWindow(Sublime::MainWindow* window, QString& xmlFile, | 171 | void createActionsForMainWindow(Sublime::MainWindow* window, QString& xmlFile, | ||
172 | KActionCollection& actions) override; | 172 | KActionCollection& actions) override; | ||
173 | QWidget* navigationWidgetForPosition(KTextEditor::View* view, KTextEditor::Cursor position); | ||||
173 | void switchUse(bool forward); | 174 | void switchUse(bool forward); | ||
174 | void clearMouseHover(); | 175 | void clearMouseHover(); | ||
175 | 176 | | |||
176 | void addHighlight( KTextEditor::View* view, KDevelop::Declaration* decl ); | 177 | void addHighlight( KTextEditor::View* view, KDevelop::Declaration* decl ); | ||
177 | 178 | | |||
178 | /** helper for updateBrowserView(). | 179 | /** helper for updateBrowserView(). | ||
179 | * Tries to find a 'specialLanguageObject' (eg macro) in @p view under cursor @c. | 180 | * Tries to find a 'specialLanguageObject' (eg macro) in @p view under cursor @c. | ||
180 | * If found returns true and sets @p pickedLanguage to the language this object belongs to */ | 181 | * If found returns true and sets @p pickedLanguage to the language this object belongs to */ | ||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |