summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ppopmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/ppopmenu.cpp')
-rw-r--r--ksirc/puke/ppopmenu.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/puke/ppopmenu.cpp b/ksirc/puke/ppopmenu.cpp
index 3ed66aa3..225aa203 100644
--- a/ksirc/puke/ppopmenu.cpp
+++ b/ksirc/puke/ppopmenu.cpp
@@ -6,14 +6,14 @@
PObject *
PPopupMenu::createWidget(CreateArgs &ca)
{
- PPopupMenu *pm = new PPopupMenu(ca.parent);
+ PPopupMenu *pm = new PPopupMenu(ca.tqparent);
TQPopupMenu *qpm;
if(ca.fetchedObj != 0 && ca.fetchedObj->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) == TRUE){
qpm= (TQPopupMenu *) ca.fetchedObj;
pm->setDeleteAble(FALSE);
}
- else if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE)
- qpm = new TQPopupMenu((TQWidget *) ca.parent->widget());
+ else if(ca.tqparent != 0 && ca.tqparent->widget()->isWidgetType() == TRUE)
+ qpm = new TQPopupMenu((TQWidget *) ca.tqparent->widget());
else
qpm = new TQPopupMenu();
pm->setWidget(qpm);
@@ -22,8 +22,8 @@ PPopupMenu::createWidget(CreateArgs &ca)
}
-PPopupMenu::PPopupMenu(PObject *parent)
- : PFrame(parent)
+PPopupMenu::PPopupMenu(PObject *tqparent)
+ : PFrame(tqparent)
{
// kdDebug(5008) << "PLineEdit PLineEdit called" << endl;
menu = 0;