File indexing completed on 2024-05-12 17:18:54

0001 /*
0002  * SPDX-FileCopyrightText: 2006 Peter Penz <peter.penz@gmx.at>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #ifndef INTERFACESETTINGSPAGE_H
0007 #define INTERFACESETTINGSPAGE_H
0008 
0009 #include "settings/settingspagebase.h"
0010 
0011 #include <QWidget>
0012 
0013 class QUrl;
0014 class SettingsPageBase;
0015 
0016 /**
0017  * @brief Page for the 'Interface' settings of the Dolphin settings dialog.
0018  *
0019  * The interface settings include:
0020  * - Folders & Tabs
0021  * - Previews
0022  * - Context Menu
0023  */
0024 class InterfaceSettingsPage : public SettingsPageBase
0025 {
0026     Q_OBJECT
0027 
0028 public:
0029     InterfaceSettingsPage(QWidget *parent);
0030     ~InterfaceSettingsPage() override;
0031 
0032     /** @see SettingsPageBase::applySettings() */
0033     void applySettings() override;
0034 
0035     /** @see SettingsPageBase::restoreDefaults() */
0036     void restoreDefaults() override;
0037 
0038 private:
0039     QList<SettingsPageBase *> m_pages;
0040 };
0041 
0042 #endif