summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
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;