#include <object.h>
Inheritance diagram for YObject:
Public Slots | |
void | ObjectUpdated () |
Will be called if the current object or derived objects are changed. | |
Signals | |
void | UpdateObject () |
Signals that this object was changed. | |
void | UpdateObject (YObject *) |
Signals that this object was changed. | |
Public Member Functions | |
YObject (const YObjectArgs &i=YObjectArgs()) | |
void | SetChanged (bool b) |
Sets the internal flags that signs this object is changed. | |
bool | GetChanged () const |
const QString & | GetName () const |
Returns the name of the object. | |
const QString & | GetDescription () const |
Returns the description of the object. | |
int | SetDescription (const QString &d) |
Sets the description of the object. | |
int | SetName (const QString &n) |
Sets the name of the object. | |
int | SetName (const char *n) |
Sets the name of the object. | |
virtual int | SetConfig (YInputParser &parser) |
virtual int | GetConfig (YOutputParser &parser) |
YActions * | GetActions () const |
Returns a ptr to the global actions. YActions* can be zero. | |
YSet * | GetSet () const |
Returns a ptr to the list if this object contains to a list. YSet* can be zero. | |
void | UpdateConnect (const QObject *o, const char *member) const |
Connect the object with the given one. The "member" function must not contain arguments. | |
void | UpdateArgConnect (const QObject *o, const char *member) const |
Connect the object with the given one. The "member" function can only contain the argument "YObject *". | |
Private Attributes | |
Q_OBJECT QString | description |
Contains a description of this object. | |
YActions * | actions |
Contains a ptr to a YSet if used. | |
YSet * | set |
link to YSet, can be zero if not in a list | |
bool | changed |
Contains information about the state of the object (true=changed, false=unchanged). |
|
|
|
Returns a ptr to the global actions. YActions* can be zero.
|
|
|
|
Reimplemented in YEnvironment, YSet, YMutex, YPlugIn, YSchedulerPlugIn, YExecutivePlugIn, YProject, YResult, YResults, YScheduler, YFilePath, YResumeTime, YResourceAction, YTask, YWorkSpace, and YWorkSpaceManager. |
|
Returns the description of the object.
|
|
Returns the name of the object.
|
|
Returns a ptr to the list if this object contains to a list. YSet* can be zero.
|
|
Will be called if the current object or derived objects are changed.
|
|
Sets the internal flags that signs this object is changed.
|
|
Reimplemented in YEnvironment, YSet, YMutex, YPlugIn, YSchedulerPlugIn, YExecutivePlugIn, YProject, YResult, YResults, YScheduler, YFilePath, YResumeTime, YResourceAction, YTask, YWorkSpace, and YWorkSpaceManager. |
|
Sets the description of the object.
|
|
Sets the name of the object.
|
|
Sets the name of the object.
|
|
Connect the object with the given one. The "member" function can only contain the argument "YObject *".
|
|
Connect the object with the given one. The "member" function must not contain arguments.
|
|
Signals that this object was changed.
|
|
Signals that this object was changed.
|
|
Contains a ptr to a YSet if used.
|
|
Contains information about the state of the object (true=changed, false=unchanged).
|
|
Contains a description of this object.
|
|
link to YSet, can be zero if not in a list
|