]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/viewsettingspage.h
There are some extractable strings in subdirs too.
[dolphin.git] / src / viewsettingspage.h
index 786abf0b15d8542bc6260851aa845b4c4ea5a588..21ce40039d40c8f673af3dafc41994a92446f389 100644 (file)
  *   You should have received a copy of the GNU General Public License     *
  *   along with this program; if not, write to the                         *
  *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
  ***************************************************************************/
 #ifndef VIEWSETTINGSPAGE_H
 #define VIEWSETTINGSPAGE_H
 
-#include <qwidget.h>
+#include <QtGui/QWidget>
 #include <settingspagebase.h>
 
-class IconsViewSettingsPage;
-class DetailsViewSettingsPage;
+class ViewSettingsPageBase;
+class DolphinMainWindow;
 
 /**
  * @brief Page for the 'View' settings of the Dolphin settings dialog.
  *
  * The views settings allow to set the properties for the icons mode,
- * the details mode and the previews mode.
- *
- *  @author Peter Penz <peter.penz@gmx.at>
+ * the details mode and the column mode.
  */
 class ViewSettingsPage : public SettingsPageBase
 {
     Q_OBJECT
 
 public:
-    ViewSettingsPage(QWidget* parent);
-
+    ViewSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
     virtual ~ViewSettingsPage();
 
-    /** @see SettingsPageBase::applySettings */
+    /** @see SettingsPageBase::applySettings() */
     virtual void applySettings();
 
+    /** @see SettingsPageBase::restoreDefaults() */
+    virtual void restoreDefaults();
+
 private:
-    IconsViewSettingsPage* m_iconsPage;
-    DetailsViewSettingsPage* m_detailsPage;
-    IconsViewSettingsPage* m_previewsPage;
+    QList<ViewSettingsPageBase*> m_pages;
 };
 
 #endif