diff options
Diffstat (limited to 'tdeui/tests/kpanelmenutest.h')
-rw-r--r-- | tdeui/tests/kpanelmenutest.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tdeui/tests/kpanelmenutest.h b/tdeui/tests/kpanelmenutest.h new file mode 100644 index 000000000..361ae545a --- /dev/null +++ b/tdeui/tests/kpanelmenutest.h @@ -0,0 +1,21 @@ +#ifndef __KPANELMENUTEST_H +#define __KPANELMENUTEST_H + +#include <kpanelappmenu.h> +#include <tqlabel.h> + +class TestWidget : public TQLabel +{ + Q_OBJECT +public: + TestWidget(TQWidget *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 |