-rw-r--r-- | core/launcher/startmenu.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/core/launcher/startmenu.h b/core/launcher/startmenu.h index 99df0f0..7218035 100644 --- a/core/launcher/startmenu.h +++ b/core/launcher/startmenu.h | |||
@@ -27,2 +27,4 @@ | |||
27 | #include <qlist.h> | 27 | #include <qlist.h> |
28 | #include <qmap.h> | ||
29 | #include <qdir.h> | ||
28 | #include <qlabel.h> | 30 | #include <qlabel.h> |
@@ -34,6 +36,9 @@ class StartPopupMenu : public QPopupMenu | |||
34 | { | 36 | { |
37 | |||
35 | public: | 38 | public: |
36 | StartPopupMenu( QWidget *parent ) : QPopupMenu( parent ) {} | 39 | StartPopupMenu( QWidget *parent ) : QPopupMenu( parent ) {} |
40 | |||
37 | protected: | 41 | protected: |
38 | void keyPressEvent( QKeyEvent *e ); | 42 | void keyPressEvent( QKeyEvent *e ); |
43 | |||
39 | }; | 44 | }; |
@@ -51,3 +56,5 @@ struct MenuApplet { | |||
51 | class StartMenu : public QLabel { | 56 | class StartMenu : public QLabel { |
57 | |||
52 | Q_OBJECT | 58 | Q_OBJECT |
59 | |||
53 | public: | 60 | public: |
@@ -79,2 +86,5 @@ private: | |||
79 | bool loadMenu( QPopupMenu *menu ); | 86 | bool loadMenu( QPopupMenu *menu ); |
87 | void createMenuEntries( QPopupMenu *menu, QDir dir, bool ltabs, bool lot ); | ||
88 | void createDirEntry( QPopupMenu *menu, QDir dir, QString file, bool lot ); | ||
89 | void createAppEntry( QPopupMenu *menu, QDir dir, QString file ); | ||
80 | 90 | ||
@@ -87,7 +97,8 @@ private: | |||
87 | 97 | ||
88 | QStringList tabs; | 98 | int currentItem; |
89 | QList<AppLnk> other; | 99 | |
90 | QIntDict<MenuApplet> m_applets; | 100 | QIntDict<AppLnk> appLnks; |
91 | int ntabs; | 101 | QIntDict<QString> tabNames; |
92 | int nother; | 102 | QIntDict<MenuApplet> menuApplets; |
103 | |||
93 | }; | 104 | }; |