From 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:50:21 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- akregator/src/listtabwidget.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'akregator/src/listtabwidget.cpp') diff --git a/akregator/src/listtabwidget.cpp b/akregator/src/listtabwidget.cpp index a137f1fe7..59e713b5f 100644 --- a/akregator/src/listtabwidget.cpp +++ b/akregator/src/listtabwidget.cpp @@ -30,7 +30,7 @@ #include #include -#include +#include #include #include #include @@ -52,7 +52,7 @@ public: int currentID; TQValueList views; TQMap idToView; - TQHBoxLayout* tqlayout; + TQHBoxLayout* layout; ViewMode viewMode; TQMap captions; }; @@ -125,7 +125,7 @@ void ListTabWidget::slotRootNodeChanged(NodeListView* view, TreeNode* node) if (unread > 0) { //uncomment this to append unread count - //d->tabWidget->changeTab(view, TQString("%1 (%2)").tqarg(d->captions[view]).tqarg(node->unread())); + //d->tabWidget->changeTab(view, TQString("%1 (%2)").arg(d->captions[view]).arg(node->unread())); d->tabWidget->changeTab(view, d->captions[view]); } else @@ -158,17 +158,17 @@ ListTabWidget::ListTabWidget(TQWidget* parent, const char* name) : TQWidget(pare d->current = 0; d->currentID = -1; d->viewMode = verticalTabs; - d->tqlayout = new TQHBoxLayout(this); - //d->tqlayout = new TQGridLayout(this, 1, 2); + d->layout = new TQHBoxLayout(this); + //d->layout = new TQGridLayout(this, 1, 2); d->tabBar = new KMultiTabBar(KMultiTabBar::Vertical, this); d->tabBar->setStyle(KMultiTabBar::KDEV3ICON); //d->tabBar->setStyle(KMultiTabBar::KDEV3); d->tabBar->showActiveTabTexts(true); d->tabBar->setPosition(KMultiTabBar::Left); - d->tqlayout->addWidget(d->tabBar/*, 0, 0*/); + d->layout->addWidget(d->tabBar/*, 0, 0*/); d->stack = new TQWidgetStack(this); - d->tqlayout->addWidget(d->stack/*, 0, 1*/); + d->layout->addWidget(d->stack/*, 0, 1*/); // connect(d->tabBar, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SLOT(slotCurrentChanged(TQWidget*))); } -- cgit v1.2.1