summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit055401d5dbcb7a509b9d6a6414ba3fc55a23eb82 (patch)
tree00c2014321c12930c673079eb5d736c80a85be45 /plugins
parentba9755cbdc76d556757b1facb56e1c453f67025b (diff)
downloadkbfx-055401d5dbcb7a509b9d6a6414ba3fc55a23eb82.tar.gz
kbfx-055401d5dbcb7a509b9d6a6414ba3fc55a23eb82.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins')
-rw-r--r--plugins/applications/kbfxplasmadataplugin.cpp2
-rw-r--r--plugins/plasmoids/kbfxplasmadatapluginplosmoid.cpp2
-rw-r--r--plugins/recentstuff/kbfxplasmarecentstuff.cpp2
-rw-r--r--plugins/strigi/kbfxstrigiplugin.cpp6
4 files changed, 6 insertions, 6 deletions
diff --git a/plugins/applications/kbfxplasmadataplugin.cpp b/plugins/applications/kbfxplasmadataplugin.cpp
index 070bda2..0bed7de 100644
--- a/plugins/applications/kbfxplasmadataplugin.cpp
+++ b/plugins/applications/kbfxplasmadataplugin.cpp
@@ -204,7 +204,7 @@ search ( TQString _keyword )
TQString *sPtr = new TQString ();
( *sPtr ) = ( *s )->name () + ( *s )->genericName () + ( *s )->comment ();
- if ( ( !sPtr->isNull () ) && sPtr->tqcontains ( _keyword, false ) > 0 )
+ if ( ( !sPtr->isNull () ) && sPtr->contains ( _keyword, false ) > 0 )
{
KbfxDataSource *data = new KbfxDataSource ();
data->setName ( ( *s )->name () );
diff --git a/plugins/plasmoids/kbfxplasmadatapluginplosmoid.cpp b/plugins/plasmoids/kbfxplasmadatapluginplosmoid.cpp
index 36d22e8..207fd6e 100644
--- a/plugins/plasmoids/kbfxplasmadatapluginplosmoid.cpp
+++ b/plugins/plasmoids/kbfxplasmadatapluginplosmoid.cpp
@@ -131,7 +131,7 @@ search ( TQString _keyword )
while ( ( fi = it.current () ) != 0 )
{
- if ( fi->fileName ().tqcontains ( _keyword ) > 0 )
+ if ( fi->fileName ().contains ( _keyword ) > 0 )
{
KDesktopFile *desktop = new KDesktopFile ( fi->filePath () );
diff --git a/plugins/recentstuff/kbfxplasmarecentstuff.cpp b/plugins/recentstuff/kbfxplasmarecentstuff.cpp
index 0f1c8fb..ed2e68d 100644
--- a/plugins/recentstuff/kbfxplasmarecentstuff.cpp
+++ b/plugins/recentstuff/kbfxplasmarecentstuff.cpp
@@ -129,7 +129,7 @@ search ( TQString _keyword )
while ( ( fi = it.current () ) != 0 )
{
- if ( fi->fileName ().tqcontains ( _keyword ) > 0 )
+ if ( fi->fileName ().contains ( _keyword ) > 0 )
{
KDesktopFile *desktop = new KDesktopFile ( fi->filePath () );
diff --git a/plugins/strigi/kbfxstrigiplugin.cpp b/plugins/strigi/kbfxstrigiplugin.cpp
index 8039fa4..d97c1ae 100644
--- a/plugins/strigi/kbfxstrigiplugin.cpp
+++ b/plugins/strigi/kbfxstrigiplugin.cpp
@@ -167,11 +167,11 @@ search ( TQString _keyword )
TQString name;
std::map < std::string, std::string >::const_iterator it =
- hits.hits[i].properties.tqfind ( "title" );
+ hits.hits[i].properties.find ( "title" );
TQString filename ( hits.hits[i].uri.c_str () );
- if ( filename.tqcontains ( ".tar." ) > 0 )
+ if ( filename.contains ( ".tar." ) > 0 )
{
filename = "tar:" + filename;
kdDebug() << filename << endl;
@@ -183,7 +183,7 @@ search ( TQString _keyword )
}
else
{
- uint pos = hits.hits[i].uri.rtqfind ( '/' );
+ uint pos = hits.hits[i].uri.rfind ( '/' );
if ( pos == std::string::npos )
{
name = hits.hits[i].uri;