summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/newsticker/norsswidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/sidebar/newsticker/norsswidget.cpp
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/sidebar/newsticker/norsswidget.cpp')
-rw-r--r--konq-plugins/sidebar/newsticker/norsswidget.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/konq-plugins/sidebar/newsticker/norsswidget.cpp b/konq-plugins/sidebar/newsticker/norsswidget.cpp
index d4c803a..db793bd 100644
--- a/konq-plugins/sidebar/newsticker/norsswidget.cpp
+++ b/konq-plugins/sidebar/newsticker/norsswidget.cpp
@@ -22,8 +22,8 @@
Boston, MA 02110-1301, USA.
*/
-#include <qlayout.h>
-#include <qsizepolicy.h>
+#include <tqlayout.h>
+#include <tqsizepolicy.h>
#include <dcopref.h>
#include <kiconloader.h>
#include <klocale.h>
@@ -37,16 +37,16 @@
namespace KSB_News {
- NoRSSWidget::NoRSSWidget(QWidget *parent, const char *name)
- : QWidget(parent, name) {
+ NoRSSWidget::NoRSSWidget(TQWidget *parent, const char *name)
+ : TQWidget(parent, name) {
- QVBoxLayout *topLayout = new QVBoxLayout(this);
+ TQVBoxLayout *topLayout = new TQVBoxLayout(this);
topLayout->addStretch();
KPushButton *btn = new KPushButton(i18n("&Configure"), this);
- btn->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum);
- connect(btn, SIGNAL(clicked()), this, SLOT(slotBtnClicked()));
+ btn->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum);
+ connect(btn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotBtnClicked()));
topLayout->addWidget(btn, 0, Qt::AlignHCenter);
topLayout->addStretch();
@@ -71,8 +71,8 @@ namespace KSB_News {
// User edited the configuration - update your local copies of the
// configuration data
- connect(m_confdlg, SIGNAL(settingsChanged()), this,
- SLOT(slotConfigure_okClicked()));
+ connect(m_confdlg, TQT_SIGNAL(settingsChanged()), this,
+ TQT_SLOT(slotConfigure_okClicked()));
m_confdlg->show();
}
@@ -82,10 +82,10 @@ namespace KSB_News {
DCOPRef rss_document("rssservice", "RSSService");
// read list of sources
- QStringList m_our_rsssources = SidebarSettings::sources();
+ TQStringList m_our_rsssources = SidebarSettings::sources();
// add new sources
- QStringList::iterator it;
+ TQStringList::iterator it;
for (it = m_our_rsssources.begin(); it != m_our_rsssources.end(); ++it) {
rss_document.call("add", ( *it ));
}