Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

YObject Class Reference

#include <object.h>

Inheritance diagram for YObject:

Inheritance graph
[legend]
Collaboration diagram for YObject:

Collaboration graph
[legend]
List of all members.

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)
YActionsGetActions () const
 Returns a ptr to the global actions. YActions* can be zero.

YSetGetSet () 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.

YActionsactions
 Contains a ptr to a YSet if used.

YSetset
 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).


Detailed Description

This is a base definition for every list entry in the appplication. The name will be stored in base class "QString"


Constructor & Destructor Documentation

YObject::YObject const YObjectArgs   i = YObjectArgs() [inline]
 


Member Function Documentation

YActions* YObject::GetActions   const [inline]
 

Returns a ptr to the global actions. YActions* can be zero.

bool YObject::GetChanged   const [inline]
 

int YObject::GetConfig YOutputParser   parser [virtual]
 

Reimplemented in YEnvironment, YSet, YMutex, YPlugIn, YSchedulerPlugIn, YExecutivePlugIn, YProject, YResult, YResults, YScheduler, YFilePath, YResumeTime, YResourceAction, YTask, YWorkSpace, and YWorkSpaceManager.

const QString& YObject::GetDescription   const [inline]
 

Returns the description of the object.

const QString& YObject::GetName   const [inline]
 

Returns the name of the object.

YSet* YObject::GetSet   const [inline]
 

Returns a ptr to the list if this object contains to a list. YSet* can be zero.

void YObject::ObjectUpdated   [inline, slot]
 

Will be called if the current object or derived objects are changed.

void YObject::SetChanged bool    b [inline]
 

Sets the internal flags that signs this object is changed.

int YObject::SetConfig YInputParser   parser [virtual]
 

Reimplemented in YEnvironment, YSet, YMutex, YPlugIn, YSchedulerPlugIn, YExecutivePlugIn, YProject, YResult, YResults, YScheduler, YFilePath, YResumeTime, YResourceAction, YTask, YWorkSpace, and YWorkSpaceManager.

int YObject::SetDescription const QString &    d
 

Sets the description of the object.

int YObject::SetName const char *    n
 

Sets the name of the object.

int YObject::SetName const QString &    n
 

Sets the name of the object.

void YObject::UpdateArgConnect const QObject *    o,
const char *    member
const [inline]
 

Connect the object with the given one. The "member" function can only contain the argument "YObject *".

void YObject::UpdateConnect const QObject *    o,
const char *    member
const [inline]
 

Connect the object with the given one. The "member" function must not contain arguments.

void YObject::UpdateObject YObject *    [signal]
 

Signals that this object was changed.

void YObject::UpdateObject   [signal]
 

Signals that this object was changed.


Member Data Documentation

YActions* YObject::actions [private]
 

Contains a ptr to a YSet if used.

bool YObject::changed [private]
 

Contains information about the state of the object (true=changed, false=unchanged).

Q_OBJECT QString YObject::description [private]
 

Contains a description of this object.

YSet* YObject::set [private]
 

link to YSet, can be zero if not in a list


The documentation for this class was generated from the following files:
Generated on Thu Feb 13 23:59:00 2003 for Yasa by doxygen1.3-rc3