author | zautrix <zautrix> | 2004-08-06 22:27:51 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-06 22:27:51 (UTC) |
commit | 81a027fdb113968401105258cf89b56b96987103 (patch) (side-by-side diff) | |
tree | 1e5e91873d80618f296190c64bf4c056a3a79ea2 /kmicromail/main.cpp | |
parent | c07b730f8f38aabf365a67578df6140080824f10 (diff) | |
download | kdepimpi-81a027fdb113968401105258cf89b56b96987103.zip kdepimpi-81a027fdb113968401105258cf89b56b96987103.tar.gz kdepimpi-81a027fdb113968401105258cf89b56b96987103.tar.bz2 |
SOme change logs
-rw-r--r-- | kmicromail/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp index 8a093c6..22f1200 100644 --- a/kmicromail/main.cpp +++ b/kmicromail/main.cpp @@ -1,48 +1,49 @@ +// CHANGED 2004-08-06 Lutz Rogowski #ifndef DESKTOP_VERSION #include <qpe/qpeapplication.h> #include <stdlib.h> #else #include <qapplication.h> #include <qstring.h> #include <qwindowsstyle.h> #include <qplatinumstyle.h> #include <qsgistyle.h> #endif #include "opiemail.h" #include <qdir.h> #include <kstandarddirs.h> #include <kglobal.h> #include <stdio.h> #include "mainwindow.h" using namespace Opie::Core; int main( int argc, char **argv ) { #ifndef DESKTOP_VERSION QPEApplication a( argc, argv ); a.setKeepRunning (); #else QApplication a( argc, argv ); QApplication::setStyle( new QPlatinumStyle ()); #endif KGlobal::setAppName( "kmicromail" ); QString fileName ; #ifndef DESKTOP_VERSION fileName = getenv("QPEDIR"); if ( QApplication::desktop()->width() > 320 ) KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/icons22/"); else KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/"); #else fileName = qApp->applicationDirPath () + "/kdepim/kmicromail/"; KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName)); #endif KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kmicromail"))); OpieMail mw; #ifndef DESKTOP_VERSION //qDebug("CONNECT "); QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&mw, SLOT(message( const QCString&, const QByteArray& ))); a.showMainWidget(&mw ); #else |