summaryrefslogtreecommitdiffstats
path: root/akregator/src/addfeeddialog.cpp
diff options
context:
space:
mode:
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());
}