Changeset View
Changeset View
Standalone View
Standalone View
src/view/kateview.h
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | |||||
83 | // | 83 | // | ||
84 | // Kate KTextEditor::View class ;) | 84 | // Kate KTextEditor::View class ;) | ||
85 | // | 85 | // | ||
86 | class KTEXTEDITOR_EXPORT ViewPrivate : public KTextEditor::View, | 86 | class KTEXTEDITOR_EXPORT ViewPrivate : public KTextEditor::View, | ||
87 | public KTextEditor::TextHintInterface, | 87 | public KTextEditor::TextHintInterface, | ||
88 | public KTextEditor::CodeCompletionInterface, | 88 | public KTextEditor::CodeCompletionInterface, | ||
89 | public KTextEditor::ConfigInterface, | 89 | public KTextEditor::ConfigInterface, | ||
90 | public KTextEditor::InlineNoteInterface, | 90 | public KTextEditor::InlineNoteInterface, | ||
91 | public KTextEditor::AnnotationViewInterface | 91 | public KTextEditor::AnnotationViewInterfaceV2 | ||
92 | { | 92 | { | ||
93 | Q_OBJECT | 93 | Q_OBJECT | ||
94 | Q_INTERFACES(KTextEditor::TextHintInterface) | 94 | Q_INTERFACES(KTextEditor::TextHintInterface) | ||
95 | Q_INTERFACES(KTextEditor::ConfigInterface) | 95 | Q_INTERFACES(KTextEditor::ConfigInterface) | ||
96 | Q_INTERFACES(KTextEditor::CodeCompletionInterface) | 96 | Q_INTERFACES(KTextEditor::CodeCompletionInterface) | ||
97 | Q_INTERFACES(KTextEditor::AnnotationViewInterface) | 97 | Q_INTERFACES(KTextEditor::AnnotationViewInterface) | ||
98 | Q_INTERFACES(KTextEditor::AnnotationViewInterfaceV2) | ||||
98 | Q_INTERFACES(KTextEditor::InlineNoteInterface) | 99 | Q_INTERFACES(KTextEditor::InlineNoteInterface) | ||
99 | 100 | | |||
100 | friend class KTextEditor::View; | 101 | friend class KTextEditor::View; | ||
101 | friend class ::KateViewInternal; | 102 | friend class ::KateViewInternal; | ||
102 | friend class ::KateIconBorder; | 103 | friend class ::KateIconBorder; | ||
103 | friend class ::KateTextPreview; | 104 | friend class ::KateTextPreview; | ||
104 | 105 | | |||
105 | public: | 106 | public: | ||
▲ Show 20 Lines • Show All 258 Lines • ▼ Show 20 Line(s) | 348 | public: | |||
364 | // | 365 | // | ||
365 | // KTextEditor::AnnotationView | 366 | // KTextEditor::AnnotationView | ||
366 | // | 367 | // | ||
367 | public: | 368 | public: | ||
368 | void setAnnotationModel(KTextEditor::AnnotationModel *model) override; | 369 | void setAnnotationModel(KTextEditor::AnnotationModel *model) override; | ||
369 | KTextEditor::AnnotationModel *annotationModel() const override; | 370 | KTextEditor::AnnotationModel *annotationModel() const override; | ||
370 | void setAnnotationBorderVisible(bool visible) override; | 371 | void setAnnotationBorderVisible(bool visible) override; | ||
371 | bool isAnnotationBorderVisible() const override; | 372 | bool isAnnotationBorderVisible() const override; | ||
373 | void setAnnotationItemDelegate(KTextEditor::AbstractAnnotationItemDelegate *delegate) override; | ||||
374 | KTextEditor::AbstractAnnotationItemDelegate* annotationItemDelegate() const override; | ||||
375 | void setAnnotationUniformItemSizes(bool enable) override; | ||||
376 | bool uniformAnnotationItemSizes() const override; | ||||
372 | 377 | | |||
373 | Q_SIGNALS: | 378 | Q_SIGNALS: | ||
374 | void annotationContextMenuAboutToShow(KTextEditor::View *view, QMenu *menu, int line) override; | 379 | void annotationContextMenuAboutToShow(KTextEditor::View *view, QMenu *menu, int line) override; | ||
375 | void annotationActivated(KTextEditor::View *view, int line) override; | 380 | void annotationActivated(KTextEditor::View *view, int line) override; | ||
376 | // KF6: fix View -> KTextEditor::View | 381 | // KF6: fix View -> KTextEditor::View | ||
377 | void annotationBorderVisibilityChanged(View *view, bool visible) override; | 382 | void annotationBorderVisibilityChanged(View *view, bool visible) override; | ||
378 | 383 | | |||
379 | void navigateLeft(); | 384 | void navigateLeft(); | ||
▲ Show 20 Lines • Show All 640 Lines • Show Last 20 Lines |