From de0f1d23b3dfd71e7e382107bbfe05f6694f7f29 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 26 Feb 2009 20:38:42 +0000 Subject: add KCM for the services settings, so that they are also accessible in Konqueror svn path=/trunk/KDE/kdebase/apps/; revision=932520 --- src/kcm/kcmdolphinservices.h | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/kcm/kcmdolphinservices.h (limited to 'src/kcm/kcmdolphinservices.h') diff --git a/src/kcm/kcmdolphinservices.h b/src/kcm/kcmdolphinservices.h new file mode 100644 index 000000000..8f07d0313 --- /dev/null +++ b/src/kcm/kcmdolphinservices.h @@ -0,0 +1,45 @@ +/*************************************************************************** + * Copyright (C) 2009 by Peter Penz * + * * + * 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 KCMDOLPHINSERVICES_H +#define KCMDOLPHINSERVICES_H + +#include + +class ServicesSettingsPage; + +/** + * @brief Allow to configure the Dolphin services. + */ +class DolphinServicesConfigModule : public KCModule +{ + Q_OBJECT + +public: + DolphinServicesConfigModule(QWidget* parent, const QVariantList& args); + virtual ~DolphinServicesConfigModule(); + + virtual void save(); + virtual void defaults(); + +private: + ServicesSettingsPage* m_services; +}; + +#endif -- cgit v1.3