summaryrefslogtreecommitdiffstats
path: root/akregator/src/listtabwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/listtabwidget.cpp')
-rw-r--r--akregator/src/listtabwidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/akregator/src/listtabwidget.cpp b/akregator/src/listtabwidget.cpp
index 59e713b5f..a137f1fe7 100644
--- a/akregator/src/listtabwidget.cpp
+++ b/akregator/src/listtabwidget.cpp
@@ -30,7 +30,7 @@
#include <kmultitabbar.h>
#include <tqiconset.h>
-#include <layout.h>
+#include <tqlayout.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* layout;
+ TQHBoxLayout* tqlayout;
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)").arg(d->captions[view]).arg(node->unread()));
+ //d->tabWidget->changeTab(view, TQString("<qt>%1 (%2)").tqarg(d->captions[view]).tqarg(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->layout = new TQHBoxLayout(this);
- //d->layout = new TQGridLayout(this, 1, 2);
+ d->tqlayout = new TQHBoxLayout(this);
+ //d->tqlayout = 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->layout->addWidget(d->tabBar/*, 0, 0*/);
+ d->tqlayout->addWidget(d->tabBar/*, 0, 0*/);
d->stack = new TQWidgetStack(this);
- d->layout->addWidget(d->stack/*, 0, 1*/);
+ d->tqlayout->addWidget(d->stack/*, 0, 1*/);
// connect(d->tabBar, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SLOT(slotCurrentChanged(TQWidget*)));
}