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.
tdelibs/kdeui/tests/kpanelmenutest.h

22 lines
411 B

#ifndef __KPANELMENUTEST_H
#define __KPANELMENUTEST_H
#include <kpanelappmenu.h>
#include <tqlabel.h>
class TestWidget : public QLabel
{
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