add more spacing
[personal-kdebase.git] / workspace / kwin / kcmkwin / kwinoptions / main.h
blobc490a376d03953b91907cf40a7ac96dfeeb10295
1 /*
2 * main.h
4 * Copyright (c) 2001 Waldo Bastian <bastian@kde.org>
6 * Requires the Qt widget libraries, available at no cost at
7 * http://www.troll.no/
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 #ifndef __MAIN_H__
26 #define __MAIN_H__
28 #include <QTabWidget>
29 #include <kcmodule.h>
31 class KConfig;
32 class KFocusConfig;
33 class KTitleBarActionsConfig;
34 class KWindowActionsConfig;
35 class KAdvancedConfig;
36 class KMovingConfig;
38 class KWinOptions : public KCModule
40 Q_OBJECT
42 public:
44 KWinOptions(QWidget *parent, const QVariantList &args);
45 virtual ~KWinOptions();
47 void load();
48 void save();
49 void defaults();
50 QString quickHelp() const;
53 protected slots:
55 void moduleChanged(bool state);
58 private:
60 QTabWidget *tab;
62 KFocusConfig *mFocus;
63 KTitleBarActionsConfig *mTitleBarActions;
64 KWindowActionsConfig *mWindowActions;
65 KMovingConfig *mMoving;
66 KAdvancedConfig *mAdvanced;
68 KConfig *mConfig;
71 class KActionsOptions : public KCModule
73 Q_OBJECT
75 public:
77 KActionsOptions(QWidget *parent, const QVariantList &args);
78 virtual ~KActionsOptions();
80 void load();
81 void save();
82 void defaults();
84 protected slots:
86 void moduleChanged(bool state);
89 private:
91 QTabWidget *tab;
93 KTitleBarActionsConfig *mTitleBarActions;
94 KWindowActionsConfig *mWindowActions;
96 KConfig *mConfig;
99 #endif