summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pmenudta.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/puke/pmenudta.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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: