#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;
* 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
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;
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