author | zautrix <zautrix> | 2004-09-15 06:15:59 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-15 06:15:59 (UTC) |
commit | 35b8948c6c203473866c74f1d13185a848454e04 (patch) (unidiff) | |
tree | b6d8eca9863cbca8e24d474d8c895065faa17458 /kmicromail/main.cpp | |
parent | f1f43030eefa765950cb501aece6cc71fb4e9859 (diff) | |
download | kdepimpi-35b8948c6c203473866c74f1d13185a848454e04.zip kdepimpi-35b8948c6c203473866c74f1d13185a848454e04.tar.gz kdepimpi-35b8948c6c203473866c74f1d13185a848454e04.tar.bz2 |
Mail config added
-rw-r--r-- | kmicromail/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp index db29ff3..5362f08 100644 --- a/kmicromail/main.cpp +++ b/kmicromail/main.cpp | |||
@@ -13,28 +13,29 @@ | |||
13 | #include <qsgistyle.h> | 13 | #include <qsgistyle.h> |
14 | #endif | 14 | #endif |
15 | #include "opiemail.h" | 15 | #include "opiemail.h" |
16 | #include <qdir.h> | 16 | #include <qdir.h> |
17 | #include <kstandarddirs.h> | 17 | #include <kstandarddirs.h> |
18 | #include <kglobal.h> | 18 | #include <kglobal.h> |
19 | #include <stdio.h> | 19 | #include <stdio.h> |
20 | #include "mainwindow.h" | 20 | #include "mainwindow.h" |
21 | #include "koprefs.h" | ||
21 | 22 | ||
22 | //using namespace Opie::Core; | 23 | //using namespace Opie::Core; |
23 | int main( int argc, char **argv ) { | 24 | int main( int argc, char **argv ) { |
24 | 25 | ||
25 | #ifndef DESKTOP_VERSION | 26 | #ifndef DESKTOP_VERSION |
26 | QPEApplication a( argc, argv ); | 27 | QPEApplication a( argc, argv ); |
27 | a.setKeepRunning (); | 28 | a.setKeepRunning (); |
28 | #else | 29 | #else |
29 | QApplication a( argc, argv ); | 30 | QApplication a( argc, argv ); |
30 | QApplication::setStyle( new QPlatinumStyle ()); | 31 | QApplication::setStyle( new QPlatinumStyle ()); |
31 | #endif | 32 | #endif |
32 | 33 | a.setFont( KOPrefs::instance()->mAppFont ); | |
33 | KGlobal::setAppName( "kopiemail" ); | 34 | KGlobal::setAppName( "kopiemail" ); |
34 | QString fileName ; | 35 | QString fileName ; |
35 | #ifndef DESKTOP_VERSION | 36 | #ifndef DESKTOP_VERSION |
36 | fileName = getenv("QPEDIR"); | 37 | fileName = getenv("QPEDIR"); |
37 | if ( QApplication::desktop()->width() > 320 ) | 38 | if ( QApplication::desktop()->width() > 320 ) |
38 | KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/icons22/"); | 39 | KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/icons22/"); |
39 | else | 40 | else |
40 | KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/"); | 41 | KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kopiemail/"); |