┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/viewpropertiesdialog.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-10-30 20:52:03 +0000
committerPeter Penz <[email protected]>2007-10-30 20:52:03 +0000
commit496872dddcd6f50ba8addaf16b6b0d5c8f52bc71 (patch)
treed467370b68fb8c003e82badc33531741d419b2c6 /src/viewpropertiesdialog.h
parentd9f5e191a6bd32a4dc15b3a3eb34795cda7697dd (diff)
allow to configure the additional information of the view inside the viewproperties dialog
svn path=/trunk/KDE/kdebase/apps/; revision=731150
Diffstat (limited to 'src/viewpropertiesdialog.h')
-rw-r--r--src/viewpropertiesdialog.h16
1 files changed, 4 insertions, 12 deletions
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