not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / khotkeys / kcm_hotkeys / kcm_gestures.h
blobcaa59994a5ab2128e8dabff7c77696a9bc2afa52
1 /*
2 Copyright (C) 2008 Michael Jansen <kde@michael-jansen.biz>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
19 #ifndef KCMGESTURES_H
20 #define KCMGESTURES_H
22 #include <KCModule>
24 #include <QtCore/QModelIndex>
26 class KCMGesturesPrivate;
28 class QWidget;
30 /**
31 * @brief KCMGestures KDE KCM Hotkeys Configuration Module
32 * @author Michael Jansen <kde@michael-jansen.biz>
33 * @date 2008-03-07
35 class KCMGestures : public KCModule
37 Q_OBJECT
39 public:
41 /**
42 * Create the module.
44 * @param parent Parent widget
46 KCMGestures( QWidget *parent, const QVariantList &arg );
48 /**
49 * Destroy the module
51 virtual ~KCMGestures();
53 /**
54 * Set all settings back to defaults.
56 void defaults();
58 /**
59 * Load all settings.
61 void load();
63 /**
64 * Save the settings
66 void save();
70 public Q_SLOTS:
72 void slotChanged();
74 /**
75 * Call when the current item has changed
77 void currentChanged( const QModelIndex &current, const QModelIndex &previous );
79 private:
80 KCMGesturesPrivate *d;
83 #endif /* #ifndef KCMGESTURES_HPP */