summaryrefslogtreecommitdiff
path: root/noncore/graphics
authoralwin <alwin>2004-04-06 12:48:22 (UTC)
committer alwin <alwin>2004-04-06 12:48:22 (UTC)
commit4aa395c79d046fafe11d0e9c9838f6565019d7d3 (patch) (side-by-side diff)
tree067b3d46d42379f437806fb4d24ea0b86e862eca /noncore/graphics
parent19a3f177cdf334259438a0f2266255886f3063bb (diff)
downloadopie-4aa395c79d046fafe11d0e9c9838f6565019d7d3.zip
opie-4aa395c79d046fafe11d0e9c9838f6565019d7d3.tar.gz
opie-4aa395c79d046fafe11d0e9c9838f6565019d7d3.tar.bz2
use OApplication
Diffstat (limited to 'noncore/graphics') (more/less context) (show whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/slave/main.cpp4
1 files changed, 2 insertions, 2 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
@@ -1,41 +1,41 @@
/*
* GPLv2 Slave Main
*/
#include "gif_slave.h"
#include "png_slave.h"
#include "jpeg_slave.h"
#include "thumbnailtool.h"
#include "slavereciever.h"
#include <qpixmap.h>
#include <qcopchannel_qws.h>
-#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 );
QCopChannel chan( "QPE/opie-eye_slave" );
QObject::connect(&chan,SIGNAL(received(const QCString&, const QByteArray&)),
&rec, SLOT(recieveAnswer(const QCString&,const QByteArray&)));
QObject::connect(qApp,SIGNAL(appMessage(const QCString&, const QByteArray&)),
&rec, SLOT(recieveAnswer(const QCString&,const QByteArray&)));
return app.exec();
}
#ifdef DEBUG_IT
int main( int argc, char* argv[] ) {
QString str = QString::fromLatin1(argv[2] );
QApplication app( argc, argv );
GifSlave slave;
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;