summaryrefslogtreecommitdiffstats
path: root/tdecore/tests/kiconloadertest.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
commit7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (patch)
treec76702a7f6310fbe9d437e347535422e836e94e9 /tdecore/tests/kiconloadertest.cpp
parenta2a38be7600e2a2c2b49c66902d912ca036a2c0f (diff)
parent27bbee9a5f9dcda53d8eb23863ee670ad1360e41 (diff)
downloadtdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.tar.gz
tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
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;
}
}