summaryrefslogtreecommitdiff
path: root/core/launcher/startmenu.h
Unidiff
Diffstat (limited to 'core/launcher/startmenu.h') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/startmenu.h21
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
35public: 38public:
36 StartPopupMenu( QWidget *parent ) : QPopupMenu( parent ) {} 39 StartPopupMenu( QWidget *parent ) : QPopupMenu( parent ) {}
40
37protected: 41protected:
38 void keyPressEvent( QKeyEvent *e ); 42 void keyPressEvent( QKeyEvent *e );
43
39}; 44};
@@ -51,3 +56,5 @@ struct MenuApplet {
51class StartMenu : public QLabel { 56class StartMenu : public QLabel {
57
52 Q_OBJECT 58 Q_OBJECT
59
53public: 60public:
@@ -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};