diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 937b2991d8e78166eea904c80ad04d34607017a4 (patch) | |
tree | 2accb8161eab09df5d7a5484ea9ea080ad123168 /dcoprss | |
parent | dba26cb985af370c33d1767037851705cc561726 (diff) | |
download | tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcoprss')
-rw-r--r-- | dcoprss/cache.cpp | 2 | ||||
-rw-r--r-- | dcoprss/feedbrowser.cpp | 2 | ||||
-rw-r--r-- | dcoprss/query.cpp | 4 | ||||
-rw-r--r-- | dcoprss/service.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/dcoprss/cache.cpp b/dcoprss/cache.cpp index 1e7d260c..0636c674 100644 --- a/dcoprss/cache.cpp +++ b/dcoprss/cache.cpp @@ -108,7 +108,7 @@ void Cache::save() void Cache::touch( const TQString &key ) { - CacheEntry *entry = tqfind( key ); + CacheEntry *entry = find( key ); if ( !entry ) return; entry->m_timeStamp = TQDateTime::tqcurrentDateTime(); diff --git a/dcoprss/feedbrowser.cpp b/dcoprss/feedbrowser.cpp index fd18c0ef..c36e982c 100644 --- a/dcoprss/feedbrowser.cpp +++ b/dcoprss/feedbrowser.cpp @@ -32,7 +32,7 @@ void CategoryItem::init() m_populated = false; m_dcopIface = 0; - setText( 0, m_category.mid( m_category.tqfindRev( '/' ) + 1 ).tqreplace( '_', ' ' ) ); + setText( 0, m_category.mid( m_category.findRev( '/' ) + 1 ).replace( '_', ' ' ) ); } void CategoryItem::setOpen( bool open ) diff --git a/dcoprss/query.cpp b/dcoprss/query.cpp index 0c6dd2f5..b3d48eaf 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().tqfind( cacheKey ); + CacheEntry *cacheEntry = Cache::self().find( 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().tqfind( cacheKey ); + CacheEntry *cacheEntry = Cache::self().find( cacheKey ); if ( cacheEntry == 0 ) { kdDebug() << "Inserting returned result into cache." << endl; Cache::self().insert( cacheKey, result ); diff --git a/dcoprss/service.cpp b/dcoprss/service.cpp index ec6b62c4..54e987b2 100644 --- a/dcoprss/service.cpp +++ b/dcoprss/service.cpp @@ -45,7 +45,7 @@ TQStringList RSSService::list() DCOPRef RSSService::add(TQString id) { - if(m_list.tqfind(id) == 0L) { // add a new one only if we need to + if(m_list.find(id) == 0L) { // add a new one only if we need to m_list.insert(id, new RSSDocument(id)); added(id); saveLinks(); |