summaryrefslogtreecommitdiffstats
path: root/knewsticker/common/newsiconmgr.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /knewsticker/common/newsiconmgr.cpp
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/common/newsiconmgr.cpp')
-rw-r--r--knewsticker/common/newsiconmgr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/knewsticker/common/newsiconmgr.cpp b/knewsticker/common/newsiconmgr.cpp
index 6e8e88d7..b4a8ab67 100644
--- a/knewsticker/common/newsiconmgr.cpp
+++ b/knewsticker/common/newsiconmgr.cpp
@@ -39,7 +39,7 @@ NewsIconMgr *NewsIconMgr::self()
NewsIconMgr::NewsIconMgr(TQObject *parent, const char *name)
: TQObject(parent, name), DCOPObject("NewsIconMgr"),
- m_stdIcon(SmallIcon(TQString::fromLatin1("news")))
+ m_stdIcon(SmallIcon(TQString::tqfromLatin1("news")))
{
connectDCOPSignal("kded",
"favicons", "iconChanged(bool, TQString, TQString)",
@@ -85,7 +85,7 @@ void NewsIconMgr::getIcon(const KURL &url)
kapp->dcopClient()->send("kded", "favicons", "downloadHostIcon(KURL)", data);
} else {
emit gotIcon(url, TQPixmap(KGlobal::dirs()->findResource("cache",
- TQString::fromLatin1("favicons/%1.png").arg(url.host()))));
+ TQString::tqfromLatin1("favicons/%1.png").tqarg(url.host()))));
}
} else {
KIO::Job *job = KIO::get(url, true, false);
@@ -127,13 +127,13 @@ void NewsIconMgr::slotGotIcon(bool isHost, TQString hostOrURL, TQString iconName
{
KURL url = KURL(hostOrURL);
if (!isHost)
- url.setProtocol(TQString::fromLatin1("http"));
+ url.setProtocol(TQString::tqfromLatin1("http"));
if (iconName.isNull())
emit gotIcon(url, m_stdIcon);
else
emit gotIcon(url, TQPixmap(KGlobal::dirs()->findResource("cache",
- TQString::fromLatin1("favicons/%1.png").arg(url.host()))));
+ TQString::tqfromLatin1("favicons/%1.png").tqarg(url.host()))));
}
TQString NewsIconMgr::favicon(const KURL &url) const