X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/169882474859a365ded04024faeeb85e8b27e860..d6488887ecf69d7f192b94de8dce34fae0b7eb76:/src/viewpropertiesdialog.h diff --git a/src/viewpropertiesdialog.h b/src/viewpropertiesdialog.h index 0c130ffcd..a0a933f55 100644 --- a/src/viewpropertiesdialog.h +++ b/src/viewpropertiesdialog.h @@ -25,6 +25,7 @@ class QCheckBox; class QComboBox; +class QPushButton; class QRadioButton; class ViewProperties; class DolphinView; @@ -49,12 +50,16 @@ private slots: void slotApply(); void slotViewModeChanged(int index); void slotSortingChanged(int index); - void slotSortOrderChanged(); + void slotSortOrderChanged(int index); void slotCategorizedSortingChanged(); - void slotAdditionalInfoChanged(int index); void slotShowPreviewChanged(); void slotShowHiddenFilesChanged(); void markAsDirty(); + void configureAdditionalInfo(); + +private: + void applyViewProperties(); + void loadSettings(); private: bool m_isDirty; @@ -62,18 +67,16 @@ private: ViewProperties* m_viewProps; QComboBox* m_viewMode; + QComboBox* m_sortOrder; QComboBox* m_sorting; - QAction* m_descendingAction; - QAction* m_showInGroupsAction; - QComboBox* m_additionalInfo; QCheckBox* m_showPreview; + QCheckBox* m_showInGroups; QCheckBox* m_showHiddenFiles; + QPushButton* m_additionalInfo; QRadioButton* m_applyToCurrentFolder; QRadioButton* m_applyToSubFolders; QRadioButton* m_applyToAllFolders; QCheckBox* m_useAsDefault; - - void applyViewProperties(); }; #endif