summaryrefslogtreecommitdiffstats
path: root/knewsticker/kntsrcfilepropsdlg
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /knewsticker/kntsrcfilepropsdlg
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'knewsticker/kntsrcfilepropsdlg')
-rw-r--r--knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp10
-rw-r--r--knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h4
-rw-r--r--knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui4
3 files changed, 9 insertions, 9 deletions
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 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -144,7 +144,7 @@
<property name="sizeType">
<enum>Maximum</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>63</height>