Changeset View
Changeset View
Standalone View
Standalone View
src/EditProfileDialog.h
Context not available. | |||||
91 | // reimplemented | 91 | // reimplemented | ||
---|---|---|---|---|---|
92 | void reject() Q_DECL_OVERRIDE; | 92 | void reject() Q_DECL_OVERRIDE; | ||
93 | 93 | | |||
94 | void apply(); | ||||
95 | | ||||
94 | protected: | 96 | protected: | ||
95 | bool eventFilter(QObject *watched, QEvent *event) Q_DECL_OVERRIDE; | 97 | bool eventFilter(QObject *watched, QEvent *event) Q_DECL_OVERRIDE; | ||
96 | 98 | | |||
Context not available. | |||||
256 | 258 | | |||
257 | ColorSchemeEditor *_colorDialog; | 259 | ColorSchemeEditor *_colorDialog; | ||
258 | QDialogButtonBox *mButtonBox; | 260 | QDialogButtonBox *mButtonBox; | ||
261 | | ||||
262 | // returns false if: | ||||
263 | // - the profile config file is in a read-only directory e.g. /usr/share/konsole OR | ||||
264 | // - the profile name is empty OR | ||||
265 | // - if the name matches the name of an already existing profile. | ||||
266 | // otherwise returns true | ||||
267 | bool canSaveProfile(); | ||||
259 | }; | 268 | }; | ||
260 | 269 | | |||
261 | /** | 270 | /** | ||
Context not available. |