┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/kcm/kcmdolphinviewmodes.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-07-24 20:49:56 +0000
committerPeter Penz <[email protected]>2010-07-24 20:49:56 +0000
commit6f1a1d74074565ba7a290c496fde908d1dc0d8ff (patch)
treeb5edaaa38a28d1f4b1f0f1e701a5ef48bd8082d6 /src/settings/kcm/kcmdolphinviewmodes.h
parentd93d198db6eef9186177aa5a918b300a6b749627 (diff)
Sourcecode hierarchy cleanup: Move kcm to settings/kcm
svn path=/trunk/KDE/kdebase/apps/; revision=1154133
Diffstat (limited to 'src/settings/kcm/kcmdolphinviewmodes.h')
-rw-r--r--src/settings/kcm/kcmdolphinviewmodes.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/settings/kcm/kcmdolphinviewmodes.h b/src/settings/kcm/kcmdolphinviewmodes.h
new file mode 100644
index 000000000..fb246d0af
--- /dev/null
+++ b/src/settings/kcm/kcmdolphinviewmodes.h
@@ -0,0 +1,48 @@
+/***************************************************************************
+ * Copyright (C) 2008 by Peter Penz <[email protected]> *
+ * *
+ * 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 *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * 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., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
+ ***************************************************************************/
+
+#ifndef KCMDOLPHINVIEWMODES_H
+#define KCMDOLPHINVIEWMODES_H
+
+#include <kcmodule.h>
+
+class ViewSettingsPageBase;
+
+/**
+ * @brief Allow to configure the Dolphin views.
+ */
+class DolphinViewModesConfigModule : public KCModule
+{
+ Q_OBJECT
+
+public:
+ DolphinViewModesConfigModule(QWidget* parent, const QVariantList& args);
+ virtual ~DolphinViewModesConfigModule();
+
+ virtual void save();
+ virtual void defaults();
+
+private:
+ void reparseConfiguration();
+
+private:
+ QList<ViewSettingsPageBase*> m_pages;
+};
+
+#endif