]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/settings/kcm/kcmdolphinviewmodes.h
Replace the list with the simplified list, instead of concatenate.
[dolphin.git] / src / settings / kcm / kcmdolphinviewmodes.h
index fb246d0af095387f5f091464cdd242f0e74974a9..c3775adff9d1b90c27ff719f7e918e4816aa4fe5 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.
@@ -33,16 +33,19 @@ class DolphinViewModesConfigModule : public KCModule
 
 public:
     DolphinViewModesConfigModule(QWidget* parent, const QVariantList& args);
-    virtual ~DolphinViewModesConfigModule();
+    ~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