You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
412 B
22 lines
412 B
15 years ago
|
#ifndef __KPANELMENUTEST_H
|
||
|
#define __KPANELMENUTEST_H
|
||
|
|
||
|
#include <kpanelappmenu.h>
|
||
15 years ago
|
#include <tqlabel.h>
|
||
15 years ago
|
|
||
14 years ago
|
class TestWidget : public TQLabel
|
||
15 years ago
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
15 years ago
|
TestWidget(TQWidget *parent=0, const char *name=0);
|
||
15 years ago
|
~TestWidget(){delete testMenu;}
|
||
|
public slots:
|
||
|
void slotMenuCalled(int id);
|
||
|
void slotSubMenuCalled(int id);
|
||
|
private:
|
||
|
void init();
|
||
|
KPanelAppMenu *testMenu, *subMenu;
|
||
|
};
|
||
|
|
||
|
#endif
|