15 #include "uibasemod.h" 24 uiBaseObject(
const char* nm, uiBody* = 0);
25 virtual ~uiBaseObject();
29 bool finalised()
const;
32 virtual void translateText() {}
36 inline const uiBody* body()
const {
return body_; }
37 inline uiBody* body() {
return body_; }
39 static void addCmdRecorder(
const CallBack&);
40 static void removeCmdRecorder(
const CallBack&);
42 int beginCmdRecEvent(
const char* msg=0);
43 void endCmdRecEvent(
int refnr,
const char* msg=0);
47 void endCmdRecEvent(
od_uint64 id,
int refnr,
54 {
return finaliseStart; }
56 {
return finaliseDone; }
59 virtual mQtclass(QWidget*) getWidget() {
return 0; }
60 const mQtclass(QWidget*) getWidget() const;
64 void setBody( uiBody* b ) { body_ = b; }
86 #define mBlockCmdRec CmdRecStopper cmdrecstopper(this); 91 CmdRecStopper(
const uiBaseObject*);
94 static void clearStopperList(
const CallBacker* cmdrec);
97 static bool isInStopperList(
const uiBaseObject* obj);
#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: uibaseobject.h:88
Definition: callback.h:254
#define mFDQtclass(cls)
Definition: commondefs.h:228
#define od_uint64
Definition: plftypes.h:37
Object with a name.
Definition: namedobj.h:35
CallBacks object-oriented (object + method).
Definition: callback.h:57