summaryrefslogtreecommitdiffstats
path: root/akregator/src/addfeeddialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /akregator/src/addfeeddialog.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/addfeeddialog.cpp')
-rw-r--r--akregator/src/addfeeddialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/akregator/src/addfeeddialog.cpp b/akregator/src/addfeeddialog.cpp
index c6fa6be18..cc10844b5 100644
--- a/akregator/src/addfeeddialog.cpp
+++ b/akregator/src/addfeeddialog.cpp
@@ -25,7 +25,7 @@
#include "feed.h"
#include "addfeeddialog.h"
-#include <qcheckbox.h>
+#include <tqcheckbox.h>
#include <kapplication.h>
#include <kurl.h>
@@ -39,21 +39,21 @@
namespace Akregator {
-AddFeedWidget::AddFeedWidget(QWidget *parent, const char *name)
+AddFeedWidget::AddFeedWidget(TQWidget *parent, const char *name)
: AddFeedWidgetBase(parent, name)
{
pixmapLabel1->setPixmap(kapp->iconLoader()->loadIcon( "package_network",KIcon::Desktop,KIcon::SizeHuge, KIcon::DefaultState, 0, true));
- statusLabel->setText(QString::null);
+ statusLabel->setText(TQString::null);
}
AddFeedWidget::~AddFeedWidget()
{}
-AddFeedDialog::AddFeedDialog(QWidget *parent, const char *name)
+AddFeedDialog::AddFeedDialog(TQWidget *parent, const char *name)
: KDialogBase(KDialogBase::Swallow, Qt::WStyle_DialogBorder, parent, name, true, i18n("Add Feed"), KDialogBase::Ok|KDialogBase::Cancel)
{
widget = new AddFeedWidget(this);
- connect(widget->urlEdit, SIGNAL(textChanged(const QString&)), this, SLOT(textChanged(const QString&)));
+ connect(widget->urlEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(textChanged(const TQString&)));
enableButtonOK(false);
setMainWidget(widget);
}
@@ -61,7 +61,7 @@ AddFeedDialog::AddFeedDialog(QWidget *parent, const char *name)
AddFeedDialog::~AddFeedDialog()
{}
-void AddFeedDialog::setURL(const QString& t)
+void AddFeedDialog::setURL(const TQString& t)
{
widget->urlEdit->setText(t);
}
@@ -85,12 +85,12 @@ void AddFeedDialog::slotOk( )
widget->statusLabel->setText( i18n("Downloading %1").arg(feedURL) );
- connect( feed, SIGNAL(fetched(Feed* )),
- this, SLOT(fetchCompleted(Feed *)) );
- connect( feed, SIGNAL(fetchError(Feed* )),
- this, SLOT(fetchError(Feed *)) );
- connect( feed, SIGNAL(fetchDiscovery(Feed* )),
- this, SLOT(fetchDiscovery(Feed *)) );
+ connect( feed, TQT_SIGNAL(fetched(Feed* )),
+ this, TQT_SLOT(fetchCompleted(Feed *)) );
+ connect( feed, TQT_SIGNAL(fetchError(Feed* )),
+ this, TQT_SLOT(fetchError(Feed *)) );
+ connect( feed, TQT_SIGNAL(fetchDiscovery(Feed* )),
+ this, TQT_SLOT(fetchDiscovery(Feed *)) );
f->fetch(true);
}
@@ -112,7 +112,7 @@ void AddFeedDialog::fetchDiscovery(Feed *f)
feedURL=f->xmlUrl();
}
-void AddFeedDialog::textChanged(const QString& text)
+void AddFeedDialog::textChanged(const TQString& text)
{
enableButtonOK(!text.isEmpty());
}