blob: 0e0e4a728816fad0de7f8fad7abf7d5aea1780b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
|