From 83677e35509b4dafac63b76995652bdf3b49f209 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:34 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 808e453c56036211f57482ed847d54aca01bba68. --- knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp | 10 +++++----- knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h | 4 ++-- knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'knewsticker/kntsrcfilepropsdlg') diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp index a2de376e..7d2a588b 100644 --- a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp +++ b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp @@ -58,8 +58,8 @@ KntSrcFilePropsDlg::KntSrcFilePropsDlg(KPropertiesDialog *props) TQT_SLOT(slotClickedArticle(TQListBoxItem *))); Loader *loader = Loader::create(); - connect(loader, TQT_SIGNAL(loadingComplete(Loader *, Document, Status)), - TQT_SLOT(slotConstructUI(Loader *, Document, Status))); + connect(loader, TQT_SIGNAL(loadingComplete(Loader *, Document, tqStatus)), + TQT_SLOT(slotConstructUI(Loader *, Document, tqStatus))); loader->loadFrom(props->item()->url(), new FileRetriever); connect(NewsIconMgr::self(), TQT_SIGNAL(gotIcon(const KURL &, const TQPixmap &)), @@ -68,13 +68,13 @@ KntSrcFilePropsDlg::KntSrcFilePropsDlg(KPropertiesDialog *props) m_child->show(); } -void KntSrcFilePropsDlg::slotConstructUI(Loader *, Document doc, Status status) +void KntSrcFilePropsDlg::slotConstructUI(Loader *, Document doc, tqStatus status) { if (status != RSS::Success) return; KURL iconURL = doc.link(); - iconURL.setEncodedPathAndQuery(TQString::fromLatin1("/favicon.ico")); + iconURL.setEncodedPathAndQuery(TQString::tqfromLatin1("/favicon.ico")); NewsIconMgr::self()->getIcon(iconURL); m_child->urlName->setText(doc.title()); @@ -107,7 +107,7 @@ void KntSrcFilePropsDlg::slotClickedArticle(TQListBoxItem *item) TQObject *KntSrcFilePropsFactory::createObject(TQObject *parent, const char *, const char *classname, const TQStringList &) { - if (TQString::fromLatin1(classname) == "KPropsDlgPlugin") + if (TQString::tqfromLatin1(classname) == "KPropsDlgPlugin") { if (!parent->inherits("KPropertiesDialog")) return 0L; diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h index eadd1a9b..8a06a7b4 100644 --- a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h +++ b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h @@ -26,7 +26,7 @@ namespace RSS { using RSS::Loader; using RSS::Document; -using RSS::Status; +using RSS::tqStatus; class KntSrcFilePropsFactory : public KLibFactory { @@ -48,7 +48,7 @@ class KntSrcFilePropsDlg : public KPropsDlgPlugin protected slots: void slotOpenURL(const TQString &); - void slotConstructUI(Loader *loader, Document doc, Status status); + void slotConstructUI(Loader *loader, Document doc, tqStatus status); void slotGotIcon(const KURL &, const TQPixmap &); void slotClickedArticle(TQListBoxItem *); diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui index fa2f0751..1b589f5e 100644 --- a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui +++ b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui @@ -38,7 +38,7 @@ Expanding - + 20 20 @@ -144,7 +144,7 @@ Maximum - + 20 63 -- cgit v1.2.1