summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/oapplication.h
Unidiff
Diffstat (limited to 'libopie2/opiecore/oapplication.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/oapplication.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/libopie2/opiecore/oapplication.h b/libopie2/opiecore/oapplication.h
index 3043910..72a659e 100644
--- a/libopie2/opiecore/oapplication.h
+++ b/libopie2/opiecore/oapplication.h
@@ -24,38 +24,33 @@
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
37#include <qpe/qpeapplication.h> 37#include <qpe/qpeapplication.h>
38#else 38
39#include <qapplication.h>
40#endif
41 39
42class OApplicationPrivate; 40class OApplicationPrivate;
43class OConfig; 41class OConfig;
44 42
45#ifdef QWS 43
46class OApplication : public QPEApplication 44class OApplication : public QPEApplication
47#else
48class OApplication : public QApplication
49#endif
50{ 45{
51 Q_OBJECT 46 Q_OBJECT
52 47
53 public: 48 public:
54 /** 49 /**
55 * Constructor. Parses command-line arguments and sets the window caption. 50 * Constructor. Parses command-line arguments and sets the window caption.
56 * 51 *
57 * @param rAppName application name. Will be used for finding the 52 * @param rAppName application name. Will be used for finding the
58 * associated message, icon and configuration files 53 * associated message, icon and configuration files
59 * 54 *
60 */ 55 */
61 OApplication( int& argc, char** argv, const QCString& rAppName ); 56 OApplication( int& argc, char** argv, const QCString& rAppName );