diff options
Diffstat (limited to 'plugins/applications/kbfxplasmadataplugin.cpp')
-rw-r--r-- | plugins/applications/kbfxplasmadataplugin.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/applications/kbfxplasmadataplugin.cpp b/plugins/applications/kbfxplasmadataplugin.cpp index cffb72f..070bda2 100644 --- a/plugins/applications/kbfxplasmadataplugin.cpp +++ b/plugins/applications/kbfxplasmadataplugin.cpp @@ -158,16 +158,16 @@ view () } -QString +TQString name () { - return QString ( "Applications" ); + return TQString ( "Applications" ); } -QString +TQString type () { - return QString ( "Stub Type" ); + return TQString ( "Stub Type" ); } @@ -180,7 +180,7 @@ id () #include <ktrader.h> KbfxDataGroup * -search ( QString _keyword ) +search ( TQString _keyword ) { @@ -192,7 +192,7 @@ search ( QString _keyword ) int *count = new int; *count = 0; - QValueListIterator < KService::Ptr > s = offers.begin (); + TQValueListIterator < KService::Ptr > s = offers.begin (); for ( ; s != offers.end (); ++s ) { @@ -201,10 +201,10 @@ search ( QString _keyword ) if ( (*s)->noDisplay () == true ) continue; - QString *sPtr = new QString (); + TQString *sPtr = new TQString (); ( *sPtr ) = ( *s )->name () + ( *s )->genericName () + ( *s )->comment (); - if ( ( !sPtr->isNull () ) && sPtr->contains ( _keyword, false ) > 0 ) + if ( ( !sPtr->isNull () ) && sPtr->tqcontains ( _keyword, false ) > 0 ) { KbfxDataSource *data = new KbfxDataSource (); data->setName ( ( *s )->name () ); |