OpendTect-6_4  6.4
applicationdata.h
Go to the documentation of this file.
1 #ifndef applicationdata_h
2 #define applicationdata_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: Aug 2014
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 Wrapper class around QCoreApplication
14 
15 -*/
16 
17 #include "basicmod.h"
18 #include "callback.h"
19 #include "thread.h"
20 
21 mFDQtclass(QCoreApplication);
22 class QEventLoopReceiver;
23 
24 
32 {
33 public:
38  ~ApplicationData();
39 
40  static int exec();
42 
43  static void exit(int returncode);
45 
46  static bool isCommandAndCTRLSwapped();
48  static void swapCommandAndCTRL(bool);
49 
50  static void setOrganizationName(const char*);
51  static void setOrganizationDomain(const char*);
52  static void setApplicationName(const char*);
53 protected:
54 
55  mQtclass(QCoreApplication)* application_;
56 
57 };
58 
59 
60 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mQtclass(cls)
Definition: commondefs.h:229
Definition: applicationdata.h:31
#define mFDQtclass(cls)
Definition: commondefs.h:228
::QCoreApplication * application_
Definition: applicationdata.h:55

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019