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
409 B
22 lines
409 B
15 years ago
|
#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
|