#ifndef VIEWSETTINGSTAB_H
#define VIEWSETTINGSTAB_H
-#include <QWidget>
+#include "settings/settingspagebase.h"
class DolphinFontRequester;
class QComboBox;
/**
* @brief Represents one tab of the view-settings page.
*/
-class ViewSettingsTab : public QWidget
+class ViewSettingsTab : public SettingsPageBase
{
Q_OBJECT
explicit ViewSettingsTab(Mode mode, QWidget *parent = nullptr);
~ViewSettingsTab() override;
- void applySettings();
- void restoreDefaultSettings();
-
-Q_SIGNALS:
- void changed();
+ void applySettings() override;
+ void restoreDefaults() override;
private Q_SLOTS:
QRadioButton *m_entireRow;
QRadioButton *m_iconAndNameOnly;
QCheckBox *m_expandableFolders;
- QRadioButton *m_numberOfItems;
- QRadioButton *m_sizeOfContents;
- QSpinBox *m_recursiveDirectorySizeLimit;
- QRadioButton *m_useRelatetiveDates;
- QRadioButton *m_useShortDates;
- QRadioButton *m_useSymbolicPermissions;
- QRadioButton *m_useNumericPermissions;
- QRadioButton *m_useCombinedPermissions;
};
#endif