summaryrefslogtreecommitdiffstats
path: root/plugins/plasmoids
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/plasmoids')
-rw-r--r--plugins/plasmoids/kbfxplasmadatapluginplosmoid.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/plugins/plasmoids/kbfxplasmadatapluginplosmoid.cpp b/plugins/plasmoids/kbfxplasmadatapluginplosmoid.cpp
index 998fafb..36d22e8 100644
--- a/plugins/plasmoids/kbfxplasmadatapluginplosmoid.cpp
+++ b/plugins/plasmoids/kbfxplasmadatapluginplosmoid.cpp
@@ -24,8 +24,8 @@
#include <kservicegroup.h>
#include <kdebug.h>
#include <kstandarddirs.h>
-#include <qdir.h>
-#include <qfileinfo.h>
+#include <tqdir.h>
+#include <tqfileinfo.h>
#include <kbfxplasmadataplugin-common.h>
@@ -47,19 +47,19 @@ view ()
glist->setIcon ( "plasmagik" );
appGroup->setName ( "Plasmoids" );
- QString path = locate ( "data", "kicker/applets/lockout.desktop" );
+ TQString path = locate ( "data", "kicker/applets/lockout.desktop" );
path.remove ( "lockout.desktop" );
- QDir d ( path );
- d.setFilter ( QDir::Files | QDir::Hidden | QDir::NoSymLinks );
- d.setSorting ( QDir::Size | QDir::Reversed );
+ TQDir d ( path );
+ d.setFilter ( TQDir::Files | TQDir::Hidden | TQDir::NoSymLinks );
+ d.setSorting ( TQDir::Size | TQDir::Reversed );
d.setNameFilter ( "*.desktop" );
- const QFileInfoList *list = d.entryInfoList ();
- QFileInfoListIterator it ( *list );
- QFileInfo *fi;
+ const TQFileInfoList *list = d.entryInfoList ();
+ TQFileInfoListIterator it ( *list );
+ TQFileInfo *fi;
while ( ( fi = it.current () ) != 0 )
{
@@ -87,16 +87,16 @@ view ()
}
-QString
+TQString
name ()
{
- return QString ( "Plasmoids" );
+ return TQString ( "Plasmoids" );
}
-QString
+TQString
type ()
{
- return QString ( "Stub Type" );
+ return TQString ( "Stub Type" );
}
@@ -110,28 +110,28 @@ id ()
#include <ktrader.h>
KbfxDataGroup *
-search ( QString _keyword )
+search ( TQString _keyword )
{
KbfxDataGroup *appGroup = new KbfxDataGroup ();
- QString path = locate ( "data", "kicker/applets/lockout.desktop" );
+ TQString path = locate ( "data", "kicker/applets/lockout.desktop" );
path.remove ( "lockout.desktop" );
- QDir d ( path );
- d.setFilter ( QDir::Files | QDir::Hidden | QDir::NoSymLinks );
- d.setSorting ( QDir::Size | QDir::Reversed );
+ TQDir d ( path );
+ d.setFilter ( TQDir::Files | TQDir::Hidden | TQDir::NoSymLinks );
+ d.setSorting ( TQDir::Size | TQDir::Reversed );
d.setNameFilter ( "*.desktop" );
- const QFileInfoList *list = d.entryInfoList ();
- QFileInfoListIterator it ( *list );
- QFileInfo *fi;
+ const TQFileInfoList *list = d.entryInfoList ();
+ TQFileInfoListIterator it ( *list );
+ TQFileInfo *fi;
while ( ( fi = it.current () ) != 0 )
{
- if ( fi->fileName ().contains ( _keyword ) > 0 )
+ if ( fi->fileName ().tqcontains ( _keyword ) > 0 )
{
KDesktopFile *desktop = new KDesktopFile ( fi->filePath () );