diff options
Diffstat (limited to 'ksirc/puke/ppopmenu.h')
-rw-r--r-- | ksirc/puke/ppopmenu.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ksirc/puke/ppopmenu.h b/ksirc/puke/ppopmenu.h new file mode 100644 index 00000000..9044b935 --- /dev/null +++ b/ksirc/puke/ppopmenu.h @@ -0,0 +1,36 @@ +#ifndef PPOPMENU_H +#define PPOPMENU_H + +class PPopupMenu; + +#include <qpopupmenu.h> +#include "pobject.h" +#include "pmessage.h" + +#include "ptablevw.h" +#include "pmenudta.h" + +class PPopupMenu : public PFrame +{ + Q_OBJECT +public: + static PObject *createWidget(CreateArgs &ca); + + PPopupMenu(PObject *child); + virtual ~PPopupMenu(); + + virtual void messageHandler(int fd, PukeMessage *pm); + + virtual void setWidget(QObject *_menu); + virtual QPopupMenu *widget(); + +protected slots: + void got_activated ( int itemId ); + +private: + QPopupMenu *menu; + PMenuData *pmd; + +}; + +#endif |