summaryrefslogtreecommitdiffstats
path: root/tdecore/tests/kiconloadertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tests/kiconloadertest.cpp')
-rw-r--r--tdecore/tests/kiconloadertest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdecore/tests/kiconloadertest.cpp b/tdecore/tests/kiconloadertest.cpp
index 96a7a6813..c6da1994c 100644
--- a/tdecore/tests/kiconloadertest.cpp
+++ b/tdecore/tests/kiconloadertest.cpp
@@ -1,20 +1,20 @@
#include <kiconloader.h>
#include <tqdatetime.h>
#include <stdio.h>
-#include <kapplication.h>
+#include <tdeapplication.h>
#include <stdlib.h>
#include <kdebug.h>
int main(int argc, char *argv[])
{
- KApplication app(argc,argv,"kiconloadertest"/*,false,false*/);
+ TDEApplication app(argc,argv,"kiconloadertest"/*,false,false*/);
- KIconLoader * mpLoader = KGlobal::iconLoader();
- KIcon::Context mContext = KIcon::Application;
+ TDEIconLoader * mpLoader = TDEGlobal::iconLoader();
+ TDEIcon::Context mContext = TDEIcon::Application;
TQTime dt;
dt.start();
int count = 0;
- for ( int mGroup = 0; mGroup < KIcon::LastGroup ; ++mGroup )
+ for ( int mGroup = 0; mGroup < TDEIcon::LastGroup ; ++mGroup )
{
kdDebug() << "queryIcons " << mGroup << "," << mContext << endl;
TQStringList filelist=mpLoader->queryIcons(mGroup, mContext);
@@ -25,7 +25,7 @@ int main(int argc, char *argv[])
++it, ++i )
{
//kdDebug() << ( i==9 ? "..." : (*it) ) << endl;
- mpLoader->loadIcon( (*it), (KIcon::Group)mGroup );
+ mpLoader->loadIcon( (*it), (TDEIcon::Group)mGroup );
++count;
}
}