Changeset View
Changeset View
Standalone View
Standalone View
kwrite/kwrite.h
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Line(s) | 112 | public Q_SLOTS: | |||
---|---|---|---|---|---|
116 | KTextEditor::View *activateView(KTextEditor::Document *document); | 116 | KTextEditor::View *activateView(KTextEditor::Document *document); | ||
117 | 117 | | |||
118 | private: | 118 | private: | ||
119 | void readProperties(const KConfigGroup &) override; | 119 | void readProperties(const KConfigGroup &) override; | ||
120 | void saveProperties(KConfigGroup &) override; | 120 | void saveProperties(KConfigGroup &) override; | ||
121 | void saveGlobalProperties(KConfig *) override; | 121 | void saveGlobalProperties(KConfig *) override; | ||
122 | 122 | | |||
123 | private: | 123 | private: | ||
124 | KTextEditor::View *m_view; | 124 | KTextEditor::View *m_view = nullptr; | ||
125 | 125 | | |||
126 | KRecentFilesAction *m_recentFiles; | 126 | KRecentFilesAction *m_recentFiles = nullptr; | ||
127 | KToggleAction *m_paShowPath; | 127 | KToggleAction *m_paShowPath = nullptr; | ||
128 | KToggleAction *m_paShowMenuBar; | 128 | KToggleAction *m_paShowMenuBar = nullptr; | ||
129 | KToggleAction *m_paShowStatusBar; | 129 | KToggleAction *m_paShowStatusBar = nullptr; | ||
130 | QAction *m_closeAction; | 130 | QAction *m_closeAction; | ||
131 | KActivities::ResourceInstance *m_activityResource; | 131 | KActivities::ResourceInstance *m_activityResource = nullptr; | ||
132 | KWriteApplication *m_app; | 132 | KWriteApplication *m_app; | ||
133 | KTextEditor::MainWindow m_mainWindow; | 133 | KTextEditor::MainWindow m_mainWindow; | ||
134 | 134 | | |||
135 | public Q_SLOTS: | 135 | public Q_SLOTS: | ||
136 | void documentNameChanged(); | 136 | void documentNameChanged(); | ||
137 | 137 | | |||
138 | protected: | 138 | protected: | ||
139 | /** | 139 | /** | ||
140 | * Event filter for QApplication to handle mac os like file open | 140 | * Event filter for QApplication to handle mac os like file open | ||
141 | */ | 141 | */ | ||
142 | bool eventFilter(QObject *obj, QEvent *event) override; | 142 | bool eventFilter(QObject *obj, QEvent *event) override; | ||
143 | }; | 143 | }; | ||
144 | 144 | | |||
145 | #endif | 145 | #endif |