summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/oapplication.h
authortille <tille>2003-08-25 12:56:53 (UTC)
committer tille <tille>2003-08-25 12:56:53 (UTC)
commitc817abf3b81ca47927433ede1efd9afddfc15a72 (patch) (unidiff)
tree3e5727ad9bd9b54475f04d2be33bb8db6e26636f /libopie2/opiecore/oapplication.h
parentff72e85696d070efa03975ea8130807579a6e1d9 (diff)
downloadopie-c817abf3b81ca47927433ede1efd9afddfc15a72.zip
opie-c817abf3b81ca47927433ede1efd9afddfc15a72.tar.gz
opie-c817abf3b81ca47927433ede1efd9afddfc15a72.tar.bz2
libopie2 compiles for qt3/x11 now
run: qmake "platform=x11" libopie2.pro
Diffstat (limited to 'libopie2/opiecore/oapplication.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oapplication.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libopie2/opiecore/oapplication.h b/libopie2/opiecore/oapplication.h
index 6bc2b1c..3043910 100644
--- a/libopie2/opiecore/oapplication.h
+++ b/libopie2/opiecore/oapplication.h
@@ -24,30 +24,38 @@
24  -_. . .   )=.  = Library General Public License along with 24  -_. . .   )=.  = Library General Public License along with
25    --        :-=` this library; see the file COPYING.LIB. 25    --        :-=` this library; see the file COPYING.LIB.
26 If not, write to the Free Software Foundation, 26 If not, write to the Free Software Foundation,
27 Inc., 59 Temple Place - Suite 330, 27 Inc., 59 Temple Place - Suite 330,
28 Boston, MA 02111-1307, USA. 28 Boston, MA 02111-1307, USA.
29*/ 29*/
30 30
31#ifndef OAPPLICATION_H 31#ifndef OAPPLICATION_H
32#define OAPPLICATION_H 32#define OAPPLICATION_H
33 33
34#define oApp OApplication::oApplication() 34#define oApp OApplication::oApplication()
35 35
36#ifdef QWS
36#include <qpe/qpeapplication.h> 37#include <qpe/qpeapplication.h>
38#else
39#include <qapplication.h>
40#endif
37 41
38class OApplicationPrivate; 42class OApplicationPrivate;
39class OConfig; 43class OConfig;
40 44
41class OApplication: public QPEApplication 45#ifdef QWS
46class OApplication : public QPEApplication
47#else
48class OApplication : public QApplication
49#endif
42{ 50{
43 Q_OBJECT 51 Q_OBJECT
44 52
45 public: 53 public:
46 /** 54 /**
47 * Constructor. Parses command-line arguments and sets the window caption. 55 * Constructor. Parses command-line arguments and sets the window caption.
48 * 56 *
49 * @param rAppName application name. Will be used for finding the 57 * @param rAppName application name. Will be used for finding the
50 * associated message, icon and configuration files 58 * associated message, icon and configuration files
51 * 59 *
52 */ 60 */
53 OApplication( int& argc, char** argv, const QCString& rAppName ); 61 OApplication( int& argc, char** argv, const QCString& rAppName );