summaryrefslogtreecommitdiffabout
path: root/kaddressbook/mainembedded.cpp
authorzautrix <zautrix>2004-09-15 09:04:40 (UTC)
committer zautrix <zautrix>2004-09-15 09:04:40 (UTC)
commit8889ffd6f6958c3a1d07bafedcc8af5d786a1660 (patch) (unidiff)
tree50c8335d792e9142d8d864de04c0f9acdf82c820 /kaddressbook/mainembedded.cpp
parent3dc613bf5ba5a2c7bc7aef50fc00c2146206fefb (diff)
downloadkdepimpi-8889ffd6f6958c3a1d07bafedcc8af5d786a1660.zip
kdepimpi-8889ffd6f6958c3a1d07bafedcc8af5d786a1660.tar.gz
kdepimpi-8889ffd6f6958c3a1d07bafedcc8af5d786a1660.tar.bz2
desktop compiling fixes
Diffstat (limited to 'kaddressbook/mainembedded.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/mainembedded.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/mainembedded.cpp b/kaddressbook/mainembedded.cpp
index 4230c07..4f48850 100644
--- a/kaddressbook/mainembedded.cpp
+++ b/kaddressbook/mainembedded.cpp
@@ -1,27 +1,28 @@
1#ifndef DESKTOP_VERSION 1#ifndef DESKTOP_VERSION
2#include <qpe/qpeapplication.h> 2#include <qpe/qpeapplication.h>
3#include <stdlib.h> 3#include <stdlib.h>
4#else 4#else
5#include <qapplication.h> 5#include <qapplication.h>
6#include <qwindowsstyle.h> 6#include <qwindowsstyle.h>
7#include <qplatinumstyle.h> 7#include <qplatinumstyle.h>
8#include <qmainwindow.h> 8#include <qmainwindow.h>
9#endif 9#endif
10 10
11#include <kstandarddirs.h> 11#include <kstandarddirs.h>
12#include <qregexp.h>
12#include <kglobal.h> 13#include <kglobal.h>
13#include <stdio.h> 14#include <stdio.h>
14#include <qdir.h> 15#include <qdir.h>
15#include "kaddressbookmain.h" 16#include "kaddressbookmain.h"
16#include "externalapphandler.h" 17#include "externalapphandler.h"
17 18
18int main( int argc, char **argv ) 19int main( int argc, char **argv )
19{ 20{
20#ifndef DESKTOP_VERSION 21#ifndef DESKTOP_VERSION
21 QPEApplication a( argc, argv ); 22 QPEApplication a( argc, argv );
22 a.setKeepRunning (); 23 a.setKeepRunning ();
23#else 24#else
24 QApplication a( argc, argv ); 25 QApplication a( argc, argv );
25 QApplication::setStyle( new QPlatinumStyle ()); 26 QApplication::setStyle( new QPlatinumStyle ());
26 QString hdir = QDir::homeDirPath(); 27 QString hdir = QDir::homeDirPath();
27 // there is a bug when creating dirs for WIN 98 28 // there is a bug when creating dirs for WIN 98