summaryrefslogtreecommitdiffstats
path: root/knewsticker/kntsrcfilepropsdlg
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:49:40 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /knewsticker/kntsrcfilepropsdlg
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
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 7d2a588b..a2de376e 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, tqStatus)),
- TQT_SLOT(slotConstructUI(Loader *, Document, tqStatus)));
+ connect(loader, TQT_SIGNAL(loadingComplete(Loader *, Document, Status)),
+ TQT_SLOT(slotConstructUI(Loader *, Document, Status)));
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, tqStatus status)
+void KntSrcFilePropsDlg::slotConstructUI(Loader *, Document doc, Status status)
{
if (status != RSS::Success)
return;
KURL iconURL = doc.link();
- iconURL.setEncodedPathAndQuery(TQString::tqfromLatin1("/favicon.ico"));
+ iconURL.setEncodedPathAndQuery(TQString::fromLatin1("/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::tqfromLatin1(classname) == "KPropsDlgPlugin")
+ if (TQString::fromLatin1(classname) == "KPropsDlgPlugin")
{
if (!parent->inherits("KPropertiesDialog"))
return 0L;
diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h
index 8a06a7b4..eadd1a9b 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::tqStatus;
+using RSS::Status;
class KntSrcFilePropsFactory : public KLibFactory
{
@@ -48,7 +48,7 @@ class KntSrcFilePropsDlg : public KPropsDlgPlugin
protected slots:
void slotOpenURL(const TQString &);
- void slotConstructUI(Loader *loader, Document doc, tqStatus status);
+ void slotConstructUI(Loader *loader, Document doc, Status status);
void slotGotIcon(const KURL &, const TQPixmap &);
void slotClickedArticle(TQListBoxItem *);
diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui
index 1b589f5e..fa2f0751 100644
--- a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui
+++ b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui
@@ -38,7 +38,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -144,7 +144,7 @@
<property name="sizeType">
<enum>Maximum</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>63</height>