diff options
Diffstat (limited to 'akregator/src/listtabwidget.cpp')
-rw-r--r-- | akregator/src/listtabwidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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 <kmultitabbar.h> #include <tqiconset.h> -#include <tqlayout.h> +#include <layout.h> #include <tqmap.h> #include <tqptrlist.h> #include <tqstring.h> @@ -52,7 +52,7 @@ public: int currentID; TQValueList<NodeListView*> views; TQMap<int, NodeListView*> idToView; - TQHBoxLayout* tqlayout; + TQHBoxLayout* layout; ViewMode viewMode; TQMap<TQWidget*, TQString> 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("<qt>%1 (%2)").tqarg(d->captions[view]).tqarg(node->unread())); + //d->tabWidget->changeTab(view, TQString("<qt>%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*))); } |