summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kpanelmenutest.h
blob: 361ae545a1fd9dc607715d5a709285472af33562 (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
{
    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