From 496872dddcd6f50ba8addaf16b6b0d5c8f52bc71 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 30 Oct 2007 20:52:03 +0000 Subject: allow to configure the additional information of the view inside the viewproperties dialog svn path=/trunk/KDE/kdebase/apps/; revision=731150 --- src/viewpropertiesdialog.h | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/viewpropertiesdialog.h') diff --git a/src/viewpropertiesdialog.h b/src/viewpropertiesdialog.h index 533e0f404..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; @@ -51,23 +52,16 @@ 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: - enum AdditionalInfoValues - { - NoInfo = 0, - TypeInfo = 1, - SizeInfo = 2, - DateInfo = 4 - }; - bool m_isDirty; DolphinView* m_dolphinView; ViewProperties* m_viewProps; @@ -75,16 +69,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 -- cgit v1.3