summaryrefslogtreecommitdiffabout
path: root/kmicromail/main.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp
index fe4bc76..dc73455 100644
--- a/kmicromail/main.cpp
+++ b/kmicromail/main.cpp
@@ -3,6 +3,8 @@
#ifndef DESKTOP_VERSION
#include <qpe/qpeapplication.h>
+//Added by qt3to4:
+#include <Q3CString>
#include <libkdepim/externalapphandler.h>
#include <stdlib.h>
#else
@@ -23,6 +25,7 @@
void dumpMissing();
//using namespace Opie::Core;
int main( int argc, char **argv ) {
+ if(!getenv("QPEDIR")) putenv("QPEDIR=/usr/lib/kdepimpi");
#ifndef DESKTOP_VERSION
QPEApplication a( argc, argv );
@@ -51,7 +54,7 @@ int main( int argc, char **argv ) {
OpieMail mw;
#ifndef DESKTOP_VERSION
//qDebug("CONNECT ");
- QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&mw, SLOT(message( const QCString&, const QByteArray& )));
+ QObject::connect( &a, SIGNAL (appMessage ( const Q3CString &, const QByteArray & )),&mw, SLOT(message( const Q3CString&, const QByteArray& )));
// QObject::connect(&a, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & )));
a.showMainWidget(&mw );
#else