diff options
Diffstat (limited to 'ksirc/puke/pbutton.cpp')
-rw-r--r-- | ksirc/puke/pbutton.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/puke/pbutton.cpp b/ksirc/puke/pbutton.cpp index 828b7f2f..f21cdf03 100644 --- a/ksirc/puke/pbutton.cpp +++ b/ksirc/puke/pbutton.cpp @@ -10,10 +10,10 @@ PObject * PButton::createWidget(CreateArgs &ca) { - PButton *pb = new PButton(ca.tqparent); + PButton *pb = new PButton(ca.parent); TQButton *qb; - if(ca.tqparent != 0 && ca.tqparent->widget()->isWidgetType() == TRUE) - qb = new TQButton((TQWidget *) ca.tqparent->widget()); + if(ca.parent != 0 && ca.parent->widget()->isWidgetType() == TRUE) + qb = new TQButton((TQWidget *) ca.parent->widget()); else qb = new TQButton(); pb->setWidget(qb); @@ -22,8 +22,8 @@ PButton::createWidget(CreateArgs &ca) } -PButton::PButton(PObject *tqparent) - : PWidget(tqparent) +PButton::PButton(PObject *parent) + : PWidget(parent) { // kdDebug(5008) << "PLineEdit PLineEdit called" << endl; button = 0; |