Changeset View
Changeset View
Standalone View
Standalone View
src/dialogs/katedialogs.h
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | |||||
82 | 82 | | |||
83 | class KateGotoBar : public KateViewBarWidget | 83 | class KateGotoBar : public KateViewBarWidget | ||
84 | { | 84 | { | ||
85 | Q_OBJECT | 85 | Q_OBJECT | ||
86 | 86 | | |||
87 | public: | 87 | public: | ||
88 | explicit KateGotoBar(KTextEditor::View *view, QWidget *parent = nullptr); | 88 | explicit KateGotoBar(KTextEditor::View *view, QWidget *parent = nullptr); | ||
89 | 89 | | |||
90 | void closed() override; | ||||
91 | | ||||
92 | public Q_SLOTS: | ||||
90 | void updateData(); | 93 | void updateData(); | ||
91 | 94 | | |||
92 | protected Q_SLOTS: | 95 | protected Q_SLOTS: | ||
93 | void gotoLine(); | 96 | void gotoLine(); | ||
97 | void gotoClipboard(); | ||||
94 | 98 | | |||
95 | protected: | 99 | protected: | ||
96 | void keyPressEvent(QKeyEvent *event) override; | 100 | void keyPressEvent(QKeyEvent *event) override; | ||
101 | bool eventFilter(QObject *, QEvent *) override; | ||||
102 | void showEvent(QShowEvent *event) override; | ||||
97 | 103 | | |||
98 | private: | 104 | private: | ||
99 | KTextEditor::View *const m_view; | 105 | KTextEditor::View *const m_view; | ||
100 | QSpinBox *gotoRange; | 106 | QSpinBox *m_gotoRange = nullptr; | ||
107 | QToolButton *m_modifiedUp = nullptr; | ||||
dhaumann: Could you use lowercase naming here? m_modifiedUp instead of m_ModifiedUp? | |||||
108 | QToolButton *m_modifiedDown = nullptr; | ||||
109 | int m_wheelDelta = 0; // To accumulate "wheel-deltas" to become e.g. a touch-pad usable | ||||
101 | }; | 110 | }; | ||
102 | 111 | | |||
103 | class KateDictionaryBar : public KateViewBarWidget | 112 | class KateDictionaryBar : public KateViewBarWidget | ||
104 | { | 113 | { | ||
105 | Q_OBJECT | 114 | Q_OBJECT | ||
106 | 115 | | |||
107 | public: | 116 | public: | ||
108 | explicit KateDictionaryBar(KTextEditor::ViewPrivate *view, QWidget *parent = nullptr); | 117 | explicit KateDictionaryBar(KTextEditor::ViewPrivate *view, QWidget *parent = nullptr); | ||
▲ Show 20 Lines • Show All 246 Lines • Show Last 20 Lines |
Could you use lowercase naming here? m_modifiedUp instead of m_ModifiedUp?