summaryrefslogtreecommitdiffstats
path: root/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp')
-rw-r--r--knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
index 14ca80d0..6401a13e 100644
--- a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
+++ b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
@@ -30,7 +30,7 @@
using namespace RSS;
-class ArticleListBoxItem : public QListBoxText
+class ArticleListBoxItem : public TQListBoxText
{
public:
ArticleListBoxItem( TQListBox *listbox, const Article &article );
@@ -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());
@@ -104,15 +104,15 @@ void KntSrcFilePropsDlg::slotClickedArticle(TQListBoxItem *item)
slotOpenURL(articleItem->article().link().url());
}
-TQObject *KntSrcFilePropsFactory::createObject(TQObject *parent, const char *,
+TQObject *KntSrcFilePropsFactory::createObject(TQObject *tqparent, const char *,
const char *classname, const TQStringList &)
{
- if (TQString::fromLatin1(classname) == "KPropsDlgPlugin")
+ if (TQString::tqfromLatin1(classname) == "KPropsDlgPlugin")
{
- if (!parent->inherits("KPropertiesDialog"))
+ if (!tqparent->inherits("KPropertiesDialog"))
return 0L;
- TQObject *obj = new KntSrcFilePropsDlg(static_cast<KPropertiesDialog *>(parent));
+ TQObject *obj = new KntSrcFilePropsDlg(static_cast<KPropertiesDialog *>(TQT_TQWIDGET(tqparent)));
return obj;
}
return 0L;