diff options
| author | Emmanuel Pescosta <[email protected]> | 2015-02-03 09:25:33 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2015-02-03 09:25:33 +0100 |
| commit | 3515582495f9aa02369a342d73c11079fcdcd654 (patch) | |
| tree | c7e9a855e137c773b09942ff1a5d7302c562ac14 /src/settings/viewpropertiesdialog.h | |
| parent | 122e1c6288b7330ab1eb38cdd7361efb5c092876 (diff) | |
Ported Dolphin from KDialog to QDialog and save/restoreDialogSize to KWindowConfig::save/restoreWindowSize with the help of the porting scripts.
REVIEW: 122305
Diffstat (limited to 'src/settings/viewpropertiesdialog.h')
| -rw-r--r-- | src/settings/viewpropertiesdialog.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/settings/viewpropertiesdialog.h b/src/settings/viewpropertiesdialog.h index 6b0e9ff48..63c534b30 100644 --- a/src/settings/viewpropertiesdialog.h +++ b/src/settings/viewpropertiesdialog.h @@ -23,7 +23,7 @@ #include "libdolphin_export.h" -#include <KDialog> +#include <QDialog> class QCheckBox; class KComboBox; @@ -39,7 +39,7 @@ class DolphinView; * and previews should be shown. The properties can be assigned to the current folder, * or recursively to all sub folders. */ -class LIBDOLPHINPRIVATE_EXPORT ViewPropertiesDialog : public KDialog +class LIBDOLPHINPRIVATE_EXPORT ViewPropertiesDialog : public QDialog { Q_OBJECT @@ -47,8 +47,10 @@ public: explicit ViewPropertiesDialog(DolphinView* dolphinView); virtual ~ViewPropertiesDialog(); +public slots: + void accept() Q_DECL_OVERRIDE; + private slots: - void slotOk(); void slotApply(); void slotViewModeChanged(int index); void slotSortingChanged(int index); @@ -60,6 +62,9 @@ private slots: void markAsDirty(bool isDirty); void configureAdditionalInfo(); +signals: + void isDirtyChanged(bool isDirty); + private: void applyViewProperties(); void loadSettings(); |
