diff options
Diffstat (limited to 'akregator/src/addfeeddialog.cpp')
-rw-r--r-- | akregator/src/addfeeddialog.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/akregator/src/addfeeddialog.cpp b/akregator/src/addfeeddialog.cpp index cc10844b5..78a801039 100644 --- a/akregator/src/addfeeddialog.cpp +++ b/akregator/src/addfeeddialog.cpp @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include "feed.h" @@ -39,18 +39,18 @@ namespace Akregator { -AddFeedWidget::AddFeedWidget(TQWidget *parent, const char *name) - : AddFeedWidgetBase(parent, name) +AddFeedWidget::AddFeedWidget(TQWidget *tqparent, const char *name) + : AddFeedWidgetBase(tqparent, name) { pixmapLabel1->setPixmap(kapp->iconLoader()->loadIcon( "package_network",KIcon::Desktop,KIcon::SizeHuge, KIcon::DefaultState, 0, true)); - statusLabel->setText(TQString::null); + statusLabel->setText(TQString()); } AddFeedWidget::~AddFeedWidget() {} -AddFeedDialog::AddFeedDialog(TQWidget *parent, const char *name) - : KDialogBase(KDialogBase::Swallow, Qt::WStyle_DialogBorder, parent, name, true, i18n("Add Feed"), KDialogBase::Ok|KDialogBase::Cancel) +AddFeedDialog::AddFeedDialog(TQWidget *tqparent, const char *name) + : KDialogBase(KDialogBase::Swallow, TQt::WStyle_DialogBorder, tqparent, name, true, i18n("Add Feed"), KDialogBase::Ok|KDialogBase::Cancel) { widget = new AddFeedWidget(this); connect(widget->urlEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(textChanged(const TQString&))); @@ -79,7 +79,7 @@ void AddFeedDialog::slotOk( ) if (feedURL.startsWith("feed:")) feedURL = feedURL.right( feedURL.length() - 5 ); - if (feedURL.find(":/") == -1) + if (feedURL.tqfind(":/") == -1) feedURL.prepend("http://"); f->setXmlUrl(feedURL); |