diff options
Diffstat (limited to 'kdeui/tests/kpanelmenutest.h')
-rw-r--r-- | kdeui/tests/kpanelmenutest.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kdeui/tests/kpanelmenutest.h b/kdeui/tests/kpanelmenutest.h new file mode 100644 index 000000000..0e0e4a728 --- /dev/null +++ b/kdeui/tests/kpanelmenutest.h @@ -0,0 +1,21 @@ +#ifndef __KPANELMENUTEST_H +#define __KPANELMENUTEST_H + +#include <kpanelappmenu.h> +#include <qlabel.h> + +class TestWidget : public QLabel +{ + Q_OBJECT +public: + TestWidget(QWidget *parent=0, const char *name=0); + ~TestWidget(){delete testMenu;} +public slots: + void slotMenuCalled(int id); + void slotSubMenuCalled(int id); +private: + void init(); + KPanelAppMenu *testMenu, *subMenu; +}; + +#endif |