]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewpropertiesdialog.h
There are some extractable strings in subdirs too.
[dolphin.git] / src / viewpropertiesdialog.h
index 3843fd5587fe3b6edbb7739f4152c9e0bdfe9eca..6d0be52fc3cafc0c7625621c908112a51fa3df0e 100644 (file)
 #ifndef VIEWPROPERTIESDIALOG_H
 #define VIEWPROPERTIESDIALOG_H
 
+#include "libdolphin_export.h"
+
 #include <kdialog.h>
 
 class QCheckBox;
 class QComboBox;
+class QPushButton;
 class QRadioButton;
 class ViewProperties;
 class DolphinView;
@@ -36,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 ViewPropertiesDialog : public KDialog
+class LIBDOLPHINPRIVATE_EXPORT ViewPropertiesDialog : public KDialog
 {
     Q_OBJECT
 
@@ -50,11 +53,15 @@ private slots:
     void slotViewModeChanged(int index);
     void slotSortingChanged(int index);
     void slotSortOrderChanged(int index);
-    void slotCategorizedSortingChanged(int index);
-    void slotAdditionalInfoChanged(int index);
+    void slotCategorizedSortingChanged();
     void slotShowPreviewChanged();
     void slotShowHiddenFilesChanged();
     void markAsDirty();
+    void configureAdditionalInfo();
+
+private:
+    void applyViewProperties();
+    void loadSettings();
 
 private:
     bool m_isDirty;
@@ -62,18 +69,16 @@ private:
     ViewProperties* m_viewProps;
 
     QComboBox* m_viewMode;
-    QComboBox* m_sorting;
     QComboBox* m_sortOrder;
-    QComboBox* m_categorizedSorting;
-    QComboBox* m_additionalInfo;
+    QComboBox* m_sorting;
     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