summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/newsticker
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:17:23 -0600
committerTimothy Pearson <[email protected]>2011-12-21 14:17:23 -0600
commitff5b07d9659291ac8172cd35f0821bcd30ce25c9 (patch)
treee235f4ed83008c9d730c46b17997103f10a2ae3b /konq-plugins/sidebar/newsticker
parent75112ed8e227f656f98523b7ffdad5422d9a6f11 (diff)
downloadtdeaddons-ff5b07d9659291ac8172cd35f0821bcd30ce25c9.tar.gz
tdeaddons-ff5b07d9659291ac8172cd35f0821bcd30ce25c9.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'konq-plugins/sidebar/newsticker')
-rw-r--r--konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp6
-rw-r--r--konq-plugins/sidebar/newsticker/nsstacktabwidget.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
index 59e0e0d..edaa1f4 100644
--- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
+++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
@@ -53,7 +53,7 @@ namespace KSB_News {
NSStackTabWidget::NSStackTabWidget(TQWidget *parent, const char *name,
TQPixmap appIcon) : TQWidget(parent, name) {
currentPage = 0;
- tqlayout = new TQVBoxLayout(this);
+ layout = new TQVBoxLayout(this);
pagesheader.setAutoDelete(TRUE);
pages.setAutoDelete(TRUE);
@@ -132,8 +132,8 @@ namespace KSB_News {
pagesheader.insert(nsp, button);
pages.insert(nsp, sv);
- tqlayout->addWidget(button);
- tqlayout->addWidget(sv);
+ layout->addWidget(button);
+ layout->addWidget(sv);
button->show();
if (pages.count() == 1) {
currentPage = sv;
diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.h b/konq-plugins/sidebar/newsticker/nsstacktabwidget.h
index 08f0f22..e6ab6a7 100644
--- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.h
+++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.h
@@ -74,7 +74,7 @@ namespace KSB_News {
private:
TQPtrDict<TQWidget> pages;
TQPtrDict<TQWidget> pagesheader;
- TQVBoxLayout *tqlayout;
+ TQVBoxLayout *layout;
TQWidget *currentPage;
KPopupMenu *popup, *helpmenu;
KAboutData *m_aboutdata;