┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kcm/kcmdolphinviewmodes.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-01-19 10:39:11 +0000
committerPeter Penz <[email protected]>2009-01-19 10:39:11 +0000
commit0772ebc3aaa1ea4717aedcdd7dacc95dedf8a307 (patch)
treef708fe92c08b1d8c47f30223ea555e1e923e94aa /src/kcm/kcmdolphinviewmodes.h
parentd522c6701d4eedd9021f0f431c6dc56f1ada04ed (diff)
added settings module for 'Navigation', that can be used by Konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=913405
Diffstat (limited to 'src/kcm/kcmdolphinviewmodes.h')
-rw-r--r--src/kcm/kcmdolphinviewmodes.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/kcm/kcmdolphinviewmodes.h b/src/kcm/kcmdolphinviewmodes.h
new file mode 100644
index 000000000..fb246d0af
--- /dev/null
+++ b/src/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