summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kpanelmenutest.h
blob: f6c81eac81ae69b9193a0ecc90504201d5188a33 (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 <tqlabel.h>

class TestWidget : public TQLabel
{
    TQ_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