Diffstat (limited to 'core/settings/launcher/menusettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/launcher/menusettings.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/core/settings/launcher/menusettings.h b/core/settings/launcher/menusettings.h new file mode 100644 index 0000000..5986958 --- a/dev/null +++ b/core/settings/launcher/menusettings.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | =. This file is part of the OPIE Project | ||
3 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | ||
4 | .>+-= | ||
5 | _;:, .> :=|. This file is free software; you can | ||
6 | .> <`_, > . <= redistribute it and/or modify it under | ||
7 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | ||
8 | .="- .-=="i, .._ License as published by the Free Software | ||
9 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
10 | ._= =} : or (at your option) any later version. | ||
11 | .%`+i> _;_. | ||
12 | .i_,=:_. -<s. This file is distributed in the hope that | ||
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
14 | : .. .:, . . . without even the implied warranty of | ||
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | ||
17 | ..}^=.= = ; Public License for more details. | ||
18 | ++= -. .` .: | ||
19 | : = ...= . :.=- You should have received a copy of the GNU | ||
20 | -. .:....=;==+<; General Public License along with this file; | ||
21 | -_. . . )=. = see the file COPYING. If not, write to the | ||
22 | -- :-=` Free Software Foundation, Inc., | ||
23 | 59 Temple Place - Suite 330, | ||
24 | Boston, MA 02111-1307, USA. | ||
25 | |||
26 | */ | ||
27 | |||
28 | #ifndef __MENU_SETTINGS_H__ | ||
29 | #define __MENU_SETTINGS_H__ | ||
30 | |||
31 | #include <qwidget.h> | ||
32 | #include <qmap.h> | ||
33 | |||
34 | class QListView; | ||
35 | class QCheckListItem; | ||
36 | class QCheckBox; | ||
37 | |||
38 | |||
39 | class MenuSettings : public QWidget { | ||
40 | Q_OBJECT | ||
41 | |||
42 | public: | ||
43 | MenuSettings ( QWidget *parent = 0, const char *name = 0 ); | ||
44 | |||
45 | void accept ( ); | ||
46 | |||
47 | protected slots: | ||
48 | void appletChanged ( ); | ||
49 | |||
50 | protected: | ||
51 | void init ( ); | ||
52 | |||
53 | private: | ||
54 | QListView *m_list; | ||
55 | QMap <QString, QCheckListItem *> m_applets; | ||
56 | bool m_applets_changed; | ||
57 | QCheckBox *m_menutabs; | ||
58 | }; | ||
59 | |||
60 | #endif | ||