summaryrefslogtreecommitdiffstats
path: root/akregator/src/feediconmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/feediconmanager.cpp')
-rw-r--r--akregator/src/feediconmanager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/akregator/src/feediconmanager.cpp b/akregator/src/feediconmanager.cpp
index 884337067..adc3fce42 100644
--- a/akregator/src/feediconmanager.cpp
+++ b/akregator/src/feediconmanager.cpp
@@ -19,8 +19,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include "feed.h"
@@ -69,8 +69,8 @@ void FeedIconManager::fetchIcon(Feed* feed)
loadIcon(iconURL);
}
-FeedIconManager::FeedIconManager(TQObject * parent, const char *name)
-: TQObject(parent, name), DCOPObject("FeedIconManager"), d(new FeedIconManagerPrivate)
+FeedIconManager::FeedIconManager(TQObject * tqparent, const char *name)
+: TQObject(tqparent, name), DCOPObject("FeedIconManager"), d(new FeedIconManagerPrivate)
{
connectDCOPSignal("kded",
"favicons", "iconChanged(bool, TQString, TQString)",
@@ -119,14 +119,14 @@ TQString FeedIconManager::iconLocation(const KURL & url) const
kapp->dcopClient()->call("kded", "favicons", "iconForURL(KURL)", data,
replyType, reply);
- if (replyType == "TQString") {
+ if (replyType == TQSTRING_OBJECT_NAME_STRING) {
TQDataStream replyStream(reply, IO_ReadOnly);
TQString result;
replyStream >> result;
return result;
}
- return TQString::null;
+ return TQString();
}
void FeedIconManager::slotFeedDestroyed(TreeNode* node)
@@ -134,7 +134,7 @@ void FeedIconManager::slotFeedDestroyed(TreeNode* node)
Feed* feed = dynamic_cast<Feed*>(node);
if (feed)
while (d->registeredFeeds.tqcontains(feed))
- d->registeredFeeds.remove(d->registeredFeeds.find(feed));
+ d->registeredFeeds.remove(d->registeredFeeds.tqfind(feed));
}
void FeedIconManager::slotIconChanged(bool /*isHost*/, const TQString& hostOrURL,