diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:28:11 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 03:25:46 +0200 |
commit | 0669339d48f65fc18388faefe54b239591d4705f (patch) | |
tree | 6ef46442916496544051ff920549b71024548581 /konq-plugins/sidebar/newsticker | |
parent | be503a6af9e8a650410f5e3446c1c4ee338adaf4 (diff) | |
download | tdeaddons-0669339d48f65fc18388faefe54b239591d4705f.tar.gz tdeaddons-0669339d48f65fc18388faefe54b239591d4705f.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit b88830e9111dc4375bc1461c3f7b3e7b3e73f733)
Diffstat (limited to 'konq-plugins/sidebar/newsticker')
-rw-r--r-- | konq-plugins/sidebar/newsticker/norsswidget.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/nspanel.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/konq-plugins/sidebar/newsticker/norsswidget.cpp b/konq-plugins/sidebar/newsticker/norsswidget.cpp index 99e8fb4..9af7e65 100644 --- a/konq-plugins/sidebar/newsticker/norsswidget.cpp +++ b/konq-plugins/sidebar/newsticker/norsswidget.cpp @@ -45,7 +45,7 @@ namespace KSB_News { topLayout->addStretch(); KPushButton *btn = new KPushButton(i18n("&Configure"), this); - btn->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum); + btn->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum); connect(btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotBtnClicked())); topLayout->addWidget(btn, 0, TQt::AlignHCenter); diff --git a/konq-plugins/sidebar/newsticker/nspanel.cpp b/konq-plugins/sidebar/newsticker/nspanel.cpp index 56a7c52..a5c1261 100644 --- a/konq-plugins/sidebar/newsticker/nspanel.cpp +++ b/konq-plugins/sidebar/newsticker/nspanel.cpp @@ -54,7 +54,7 @@ namespace KSB_News { int textWidth = fm.width(text); int widgetSpace = visibleWidth(); if ((textWidth > widgetSpace) || (contentsX() > 0)) - tip(tqitemRect(item), text); + tip(itemRect(item), text); } } } diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp index 6bc6d1a..59e0e0d 100644 --- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp +++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp @@ -115,7 +115,7 @@ namespace KSB_News { button->setText(KStringHandler::rPixelSqueeze(nsp->title(), button->fontMetrics(), button->width() - 4 )); - button->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, + button->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Preferred)); connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonClicked())); TQToolTip::add(button, nsp->title()); |