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