]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/viewmodes/generalviewsettingspage.h
ViewProperties: Store view properties in extended file attributes
[dolphin.git] / src / settings / viewmodes / generalviewsettingspage.h
index 47838b9394092678d7ceaee92ce377700066bdd0..1d4caab655077d0e2aacaf5ef54949f57f8d1c89 100644 (file)
@@ -6,13 +6,16 @@
 #ifndef GENERALVIEWSETTINGSPAGE_H
 #define GENERALVIEWSETTINGSPAGE_H
 
+#include "config-dolphin.h"
 #include "settings/settingspagebase.h"
 #include <qradiobutton.h>
 
 #include <QUrl>
 
 class QCheckBox;
+class QComboBox;
 class QLabel;
+class QLineEdit;
 class QRadioButton;
 
 /**
@@ -34,17 +37,23 @@ public:
 
 private:
     void loadSettings();
+    void updateCustomActionVisibility(int doubleClickViewComboBoxCurrentIndex);
 
 private:
     QUrl m_url;
-    QRadioButton *m_localViewProps;
-    QRadioButton *m_globalViewProps;
-    QCheckBox *m_showToolTips;
-    QLabel *m_configureToolTips;
-    QCheckBox *m_showSelectionToggle;
-    QCheckBox *m_renameInline;
-    QCheckBox *m_openArchivesAsFolder;
-    QCheckBox *m_autoExpandFolders;
+    QRadioButton *m_localViewProps = nullptr;
+    QRadioButton *m_globalViewProps = nullptr;
+#if HAVE_BALOO
+    QCheckBox *m_showToolTips = nullptr;
+#endif
+    QCheckBox *m_showSelectionToggle = nullptr;
+    QCheckBox *m_renameInline = nullptr;
+    QCheckBox *m_openArchivesAsFolder = nullptr;
+    QCheckBox *m_autoExpandFolders = nullptr;
+    QCheckBox *m_hideXtrashFiles = nullptr;
+    QComboBox *m_doubleClickViewComboBox = nullptr;
+    QLineEdit *m_doubleClickViewCustomAction = nullptr;
+    QLabel *m_doubleClickViewCustomActionInfo = nullptr;
 };
 
 #endif