]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewpropertiesdialog.h
There are some extractable strings in subdirs too.
[dolphin.git] / src / viewpropertiesdialog.h
index 09a63336ca8705c7fe01987347e7c9f45929e922..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
 
@@ -51,10 +54,14 @@ private slots:
     void slotSortingChanged(int index);
     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;
@@ -64,16 +71,14 @@ private:
     QComboBox* m_viewMode;
     QComboBox* m_sortOrder;
     QComboBox* m_sorting;
-    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