diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /dcoprss/query.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcoprss/query.cpp')
-rw-r--r-- | dcoprss/query.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dcoprss/query.cpp b/dcoprss/query.cpp index 9c324890..0c6dd2f5 100644 --- a/dcoprss/query.cpp +++ b/dcoprss/query.cpp @@ -58,7 +58,7 @@ void QueryService::cachedCall( const TQString &method, const TQString cacheKey = Cache::getCacheKey( m_xmlrpcServer->url().url(), method, args ); - CacheEntry *cacheEntry = Cache::self().find( cacheKey ); + CacheEntry *cacheEntry = Cache::self().tqfind( cacheKey ); if ( cacheEntry != 0 && cacheEntry->isValid() ) { kdDebug() << "Using cached result." << endl; SlotCaller::call( this, slot, cacheEntry->result() ); @@ -74,7 +74,7 @@ void QueryService::updateCache( const KXMLRPC::Query::Result &result ) result.method(), result.args() ); - CacheEntry *cacheEntry = Cache::self().find( cacheKey ); + CacheEntry *cacheEntry = Cache::self().tqfind( cacheKey ); if ( cacheEntry == 0 ) { kdDebug() << "Inserting returned result into cache." << endl; Cache::self().insert( cacheKey, result ); @@ -113,7 +113,7 @@ void QueryService::getCategories( const TQString &category ) kdDebug() << "QueryService::getCategories()" << endl; if ( category == "Top" ) { - cachedCall( "syndic8.GetCategoryRoots", Server::toVariantList( TQString::fromLatin1( "DMOZ" ) ), + cachedCall( "syndic8.GetCategoryRoots", Server::toVariantList( TQString::tqfromLatin1( "DMOZ" ) ), TQT_SLOT( slotGotCategories( const KXMLRPC::Query::Result & ) ) ); } else { TQStringList args; |