summaryrefslogtreecommitdiffstats
path: root/dcoprss
diff options
context:
space:
mode:
Diffstat (limited to 'dcoprss')
-rw-r--r--dcoprss/cache.cpp2
-rw-r--r--dcoprss/feedbrowser.cpp2
-rw-r--r--dcoprss/query.cpp4
-rw-r--r--dcoprss/service.cpp2
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();