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