-rw-r--r-- | noncore/graphics/opie-eye/slave/main.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/noncore/graphics/opie-eye/slave/main.cpp b/noncore/graphics/opie-eye/slave/main.cpp index 5b90483..1629f02 100644 --- a/noncore/graphics/opie-eye/slave/main.cpp +++ b/noncore/graphics/opie-eye/slave/main.cpp @@ -13,6 +13,6 @@ -#include <qtopia/qpeapplication.h> +#include <opie2/oapplication.h> int main( int argc, char* argv[] ) { - QPEApplication app( argc, argv ); + Opie::Core::OApplication app( argc, argv,"opie-eye-slave" ); SlaveReciever rec( 0 ); @@ -33,8 +33,8 @@ int main( int argc, char* argv[] ) { GifSlave slave; - owarn << str +" "+slave.iconViewName(str ) << oendl; - owarn << str+" "+slave.fullImageInfo( str ) << oendl; + owarn << str +" "+slave.iconViewName(str ) << oendl; + owarn << str+" "+slave.fullImageInfo( str ) << oendl; PNGSlave pngslave; - owarn << str + " " + pngslave.iconViewName(str) << oendl; - owarn << str + " " + pngslave.fullImageInfo(str) << oendl; + owarn << str + " " + pngslave.iconViewName(str) << oendl; + owarn << str + " " + pngslave.fullImageInfo(str) << oendl; @@ -42,4 +42,4 @@ int main( int argc, char* argv[] ) { JpegSlave jpgslave; - owarn << str + " " + jpgslave.iconViewName(str ) << oendl; - owarn << str + " " + jpgslave.fullImageInfo( str ) << oendl; + owarn << str + " " + jpgslave.iconViewName(str ) << oendl; + owarn << str + " " + jpgslave.fullImageInfo( str ) << oendl; //return app.exec(); @@ -47,3 +47,3 @@ int main( int argc, char* argv[] ) { if ( pix.isNull() ) { - owarn << "No Thumbnail" << oendl; + owarn << "No Thumbnail" << oendl; pix = slave.pixmap(str, 24, 24); @@ -52,3 +52,3 @@ int main( int argc, char* argv[] ) { if (!pix.isNull() ) { - owarn << "Saving Thumbnail" << oendl; + owarn << "Saving Thumbnail" << oendl; ThumbNailTool::putThumb( str, pix, 24, 24 ); |