not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kcontrol / keys / globalshortcuts.h
blob5a6491472f65951f1ef77273e16ce56fec3f9e43
1 /*
2 * Copyright 2007 Andreas Pakulat <apaku@gmx.de>
3 * Copyright 2008 Michael Jansen <kde@michael-jansen.biz>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef SHORTCUTS_MODULE_H
21 #define SHORTCUTS_MODULE_H
23 #include <kcmodule.h>
24 #include <QtCore/QHash>
26 class KActionCollection;
27 class KGlobalShortcutsEditor;
29 class GlobalShortcutsModule : public KCModule
31 Q_OBJECT
32 public:
33 GlobalShortcutsModule(QWidget *parent, const QVariantList &args);
34 ~GlobalShortcutsModule();
36 virtual void save();
37 virtual void load();
38 virtual void defaults();
40 public slots:
41 virtual void importScheme();
42 virtual void exportScheme();
43 private:
44 KGlobalShortcutsEditor *editor;
48 #endif