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.
tdenetwork/ksirc/puke/ppopmenu.h

37 lines
576 B

#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