1 | /* |
2 | * Copyright 2007-2009 Parker Coates <coates@kde.org> |
3 | * |
4 | * This file is part of Killbots. |
5 | * |
6 | * Killbots is free software: you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by |
8 | * the Free Software Foundation, either version 2 of the License, or |
9 | * (at your option) any later version. |
10 | * |
11 | * Killbots is distributed in the hope that it will be useful, |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | * GNU General Public License for more details. |
15 | * |
16 | * You should have received a copy of the GNU General Public License |
17 | * along with Killbots. If not, see <http://www.gnu.org/licenses/>. |
18 | */ |
19 | |
20 | #ifndef KILLBOTS_OPTIONSPAGE_H |
21 | #define KILLBOTS_OPTIONSPAGE_H |
22 | |
23 | class KComboBox; |
24 | |
25 | class QCheckBox; |
26 | class QSlider; |
27 | #include <QtGui/QWidget> |
28 | |
29 | namespace Killbots |
30 | { |
31 | class OptionsPage : public QWidget |
32 | { |
33 | Q_OBJECT |
34 | |
35 | public: // functions |
36 | explicit OptionsPage( QWidget * parent = 0 ); |
37 | virtual ~OptionsPage(); |
38 | |
39 | public: // data members |
40 | QCheckBox * kcfg_PreventUnsafeMoves; |
41 | KComboBox * kcfg_MiddleClickAction; |
42 | KComboBox * kcfg_RightClickAction; |
43 | QSlider * kcfg_AnimationSpeed; |
44 | }; |
45 | } |
46 | |
47 | #endif |
48 | |