summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pmenudta.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/pmenudta.h')
-rw-r--r--ksirc/puke/pmenudta.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/ksirc/puke/pmenudta.h b/ksirc/puke/pmenudta.h
index 0c3bfc6a..03227134 100644
--- a/ksirc/puke/pmenudta.h
+++ b/ksirc/puke/pmenudta.h
@@ -3,8 +3,8 @@
class PMenuData;
-#include <qobject.h>
-#include <qmenudata.h>
+#include <tqobject.h>
+#include <tqmenudata.h>
#include "pmessage.h"
#include "pframe.h"
#include "pobject.h"
@@ -18,17 +18,17 @@ class PMenuData;
class PMenuDataHelper : public QMenuData
{
public:
- PMenuDataHelper(QMenuData &qmd) {
- memcpy(this, &qmd, sizeof(QMenuData));
+ PMenuDataHelper(TQMenuData &qmd) {
+ memcpy(this, &qmd, sizeof(TQMenuData));
}
int active() {
- return QMenuData::actItem;
+ return TQMenuData::actItem;
}
int actItem;
};
/**
- * We're subclased off QMenuData so we can access it's internal proteted vars
+ * We're subclased off TQMenuData so we can access it's internal proteted vars
* We do not initialize NOR create it!!!!
*/
@@ -42,12 +42,12 @@ public:
virtual void messageHandler(int fd, PukeMessage *pm);
virtual bool menuMessageHandler(int fd, PukeMessage *pm);
-// virtual void setWidget(QMenuData *_qmd);
- // virtual QMenuData *widget();
+// virtual void setWidget(TQMenuData *_qmd);
+ // virtual TQMenuData *widget();
virtual int activeItem()
{
- return PMenuDataHelper(*((QMenuData *) child->widget())).active();
+ return PMenuDataHelper(*((TQMenuData *) child->widget())).active();
}
private: