OpendTect  6.3
applicationdata.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: K. Tingdahl
8  Date: Aug 2014
9 ________________________________________________________________________
10 
11 Wrapper class around QCoreApplication
12 
13 -*/
14 
15 #include "basicmod.h"
16 #include "callback.h"
17 #include "thread.h"
18 
19 mFDQtclass(QCoreApplication);
20 class QEventLoopReceiver;
21 
22 
29 mExpClass(Basic) ApplicationData : public CallBacker
30 {
31 public:
32  ApplicationData();
36  ~ApplicationData();
37 
38  static int exec();
40 
41  static void exit(int returncode);
43 
44  static bool isCommandAndCTRLSwapped();
46  static void swapCommandAndCTRL(bool);
47 
48  static void setOrganizationName(const char*);
49  static void setOrganizationDomain(const char*);
50  static void setApplicationName(const char*);
51 protected:
52 
53  mQtclass(QCoreApplication)* application_;
54 
55 };
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
#define mQtclass(cls)
Definition: commondefs.h:232
#define mFDQtclass(cls)
Definition: commondefs.h:231

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