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