|
|
This class holds all the MessageWidget's Information All this information goes to a file or clipboard when an MessageWidget object is serialized With this class we are trying to achieve isolation between data and display layers.
| MessageWidgetData ()
| MessageWidgetData |
| MessageWidgetData (MessageWidgetData & Other)
| MessageWidgetData |
| ~MessageWidgetData ()
| ~MessageWidgetData |
[virtual]
| MessageWidgetData & operator= (MessageWidgetData & Other)
| operator= |
[virtual]
Reimplemented from UMLWidgetData.
| bool operator== (MessageWidgetData & Other)
| operator== |
[virtual]
Reimplemented from UMLWidgetData.
| bool serialize (QDataStream *s, bool archive)
| serialize |
[virtual]
Reimplemented from UMLWidgetData.
| long getClipSizeOf ()
| getClipSizeOf |
[virtual]
Returns the amount of bytes needed to serialize this object If the serialization method of this class is changed this function will have to be CHANGED TOO This function is used by the Copy and Paste Functionality The Size in bytes of a serialized QString Object is long sz: if ( (sz =str.length()*sizeof(QChar)) && !(const char*)str.unicode() ) { sz = size of Q_UINT32; // typedef unsigned int Q_UINT32; // 32 bit unsigned } This calculation is valid only for QT 2.1.x or superior, this is totally incompatible with QT 2.0.x or QT 1.x or inferior That means the copy and paste functionality will work on with QT 2.1.x or superior
Reimplemented from UMLWidgetData.
| void setWidgetAID ( int WidgetAID)
| setWidgetAID |
[virtual]
Write property of int m_nWidgetAID.
| int getWidgetAID ()
| getWidgetAID |
[virtual]
Read property of int m_nWidgetAID.
| void setWidgetBID ( int WidgetBI)
| setWidgetBID |
[virtual]
Write property of int m_nWidgetBID.
| int getWidgetBID ()
| getWidgetBID |
[virtual]
Read property of int m_nWidgetBID.
| void setSequenceNumber ( QString SequenceNumber)
| setSequenceNumber |
[virtual]
Write property of QString m_SequenceNumber.
| QString getSequenceNumber ()
| getSequenceNumber |
[virtual]
Read property of QString m_SequenceNumber.
| void setOperation ( QString Operation)
| setOperation |
[virtual]
Write property of QString m_Operation.
| QString getOperation ()
| getOperation |
[virtual]
Read property of QString m_Operation.
| void setTextID ( int TextID)
| setTextID |
[virtual]
Write property of int m_nTextID.
| int getTextID ()
| getTextID |
[virtual]
Read property of int m_nTextID.
| void print2cerr ()
| print2cerr |
[virtual]
Reimplemented from UMLWidgetData.
| bool saveToXMI ( QDomDocument & qDoc, QDomElement & qElement )
| saveToXMI |
Reimplemented from UMLWidgetData.
| bool loadFromXMI ( QDomElement & qElement )
| loadFromXMI |
Reimplemented from UMLWidgetData.
| int m_nWidgetAID | m_nWidgetAID |
[protected]
| int m_nWidgetBID | m_nWidgetBID |
[protected]
| QString m_SequenceNumber | m_SequenceNumber |
[protected]
| QString m_Operation | m_Operation |
[protected]
| int m_nTextID | m_nTextID |
[protected]