![]() |
OpendTect
6.6
|
Wrapper class around the QCoreApplicaiton. More...
Public Member Functions | |
| ApplicationData () | |
| ~ApplicationData () | |
Public Member Functions inherited from CallBacker | |
| CallBacker () | |
| CallBacker (const CallBacker &) | |
| virtual | ~CallBacker () |
| bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
| bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
| void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More... | |
| void | detachCB (const NotifierAccess &, const CallBack &) const |
| void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
| virtual bool | isCapsule () const |
| bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
| void | stopReceivingNotifications () const |
Static Public Member Functions | |
| static BufferString | applicationName () |
| static int | exec () |
| Starts the event loop. More... | |
| static void | exit (int returncode) |
| Tells the eventloop to quit. More... | |
| static bool | hasInstance () |
| static bool | isCommandAndCTRLSwapped () |
| On Mac, is Ctrl and Command buttons swapped? More... | |
| static void | setApplicationName (const char *) |
| static void | setOrganizationDomain (const char *) |
| static void | setOrganizationName (const char *) |
| static void | swapCommandAndCTRL (bool) |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
Protected Attributes | |
| QCoreApplication * | application_ |
Wrapper class around the QCoreApplicaiton.
Provides an event-loop for console applications. It can also be used in GUI program as an access-point (adding events and telling it to quit) to QApplication (which has to be created before creating the ApplicationData.
<>
| ApplicationData::ApplicationData | ( | ) |
Will create a QCoreApplication if no QCoreApplication (or inheriting classes are instantiated.)
| ApplicationData::~ApplicationData | ( | ) |
|
static |
|
static |
Starts the event loop.
|
static |
Tells the eventloop to quit.
|
static |
|
static |
On Mac, is Ctrl and Command buttons swapped?
|
static |
|
static |
|
static |
|
static |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022