diff options
Diffstat (limited to 'lib/kofficeui/tkaction.cpp')
-rw-r--r-- | lib/kofficeui/tkaction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficeui/tkaction.cpp b/lib/kofficeui/tkaction.cpp index da88a7c1..cfc21c65 100644 --- a/lib/kofficeui/tkaction.cpp +++ b/lib/kofficeui/tkaction.cpp @@ -120,19 +120,19 @@ void TKAction::updateLayout() } } -TQWidget* TKAction::createLayout(TQWidget* parent, TQWidget* tqchildren) +TQWidget* TKAction::createLayout(TQWidget* parent, TQWidget* children) { TQWidget* base = new TQWidget(parent,"KTToolBarLayout"); TQLabel* textLabel = new TQLabel(base,"text"); textLabel->setMinimumHeight(1); TQLabel* pixLabel = new TQLabel(base,"pixmap"); - tqchildren->reparent(base,TQPoint(0,0)); - tqchildren->setName("widget"); + children->reparent(base,TQPoint(0,0)); + children->setName("widget"); TQHBoxLayout* tqlayout = new TQHBoxLayout(base,0,3); tqlayout->setResizeMode(TQLayout::Minimum); tqlayout->addWidget(textLabel); tqlayout->addWidget(pixLabel); - tqlayout->addWidget(tqchildren,1); + tqlayout->addWidget(children,1); updateLayout(base); return base; |