]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/kcm/kcmdolphinviewmodes.h
Dolphin: Cleanup kcms
[dolphin.git] / src / settings / kcm / kcmdolphinviewmodes.h
index fb246d0af095387f5f091464cdd242f0e74974a9..40965b0e6832e3441f9775631ffd513e86046efc 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2008 by Peter Penz <peter.penz@gmx.at>                  *
+ *   Copyright (C) 2008 by Peter Penz <peter.penz19@gmail.com>             *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
@@ -22,7 +22,7 @@
 
 #include <kcmodule.h>
 
-class ViewSettingsPageBase;
+class ViewSettingsTab;
 
 /**
  * @brief Allow to configure the Dolphin views.
@@ -32,17 +32,20 @@ class DolphinViewModesConfigModule : public KCModule
     Q_OBJECT
 
 public:
-    DolphinViewModesConfigModule(QWidget* parent, const QVariantList& args);
-    virtual ~DolphinViewModesConfigModule();
+    DolphinViewModesConfigModule(QWidget *parent, const QVariantList &args);
+    ~DolphinViewModesConfigModule() override;
 
-    virtual void save();
-    virtual void defaults();
+    void save() override;
+    void defaults() override;
 
 private:
     void reparseConfiguration();
 
+private Q_SLOTS:
+   void viewModeChanged();
+
 private:
-    QList<ViewSettingsPageBase*> m_pages;
+    QList<ViewSettingsTab*> m_tabs;
 };
 
 #endif