class AssociationWidgetData

* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. More...

Definition#include <./associationwidgetdata.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * *************************************************************************

 AssociationWidgetData ( )

AssociationWidgetData

Constructor

 ~AssociationWidgetData ()

~AssociationWidgetData

[virtual]

Deconstructor

 AssociationWidgetData (AssociationWidgetData & Other)

AssociationWidgetData

Copy Constructor

AssociationWidgetData &  operator= (AssociationWidgetData & Other)

operator=

[virtual]

Overloaded '=' operator

bool  operator== (AssociationWidgetData & Other)

operator==

[virtual]

Overloaded '==' operator

bool  serialize (QDataStream *s, bool archive)

serialize

[virtual]

Save/load data

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

void  setMultiDataA ( FloatingTextData* pMultiData)

setMultiDataA

[virtual]

Write property of FloatingTextData* m_pMultiDataA.

FloatingTextData*  getMultiDataA ()

getMultiDataA

[virtual]

Read property of FloatingTextData* m_pMultiDataA.

void  setMultiDataB ( FloatingTextData* pData)

setMultiDataB

[virtual]

Write property of FloatingTextData* m_pMultiDataB.

FloatingTextData*  getMultiDataB ()

getMultiDataB

[virtual]

Read property of FloatingTextData* m_pMultiDataB.

void  setRoleData ( FloatingTextData* pData)

setRoleData

[virtual]

Write property of FloatingTextData* m_pRoleData.

FloatingTextData*  getRoleData ()

getRoleData

[virtual]

Read property of FloatingTextData* m_pRoleData.

void  setAssocType ( Uml::Association_Type Type)

setAssocType

[virtual]

Write property of AssociationType AssocType.

Uml::Association_Type  getAssocType ()

getAssocType

[virtual]

Read property of AssociationType AssocType.

void  setWidgetAID ( int AID)

setWidgetAID

[virtual]

Write property of int m_nWidgetAID.

int  getWidgetAID ()

getWidgetAID

[virtual]

Read property of int m_nWidgetAID.

void  setWidgetBID ( int BID)

setWidgetBID

[virtual]

Write property of int m_nWidgetBID.

int  getWidgetBID ()

getWidgetBID

[virtual]

Read property of int m_nWidgetBID.

void  print2cerr ()

print2cerr

Prints the association's data to stderr

void  setIndexA (int index)

setIndexA

Sets the Association line index for widgetA

int  getIndexA ()

getIndexA

Returns the Association line index for widgetA

void  setIndexB (int index)

setIndexB

Sets the Association line index for widgetB

int  getIndexB ()

getIndexB

Returns the Association line index for widgetB

void  setTotalCountA (int count)

setTotalCountA

Sets the total count on the Association region for widgetA

int  getTotalCountA ()

getTotalCountA

Returns the total count on the Association region for widgetA

void  setTotalCountB (int count)

setTotalCountB

Sets the total count on the Association region for widgetB

int  getTotalCountB ()

getTotalCountB

Region the total count on the Association region for widgetB

QString  getDoc ()

getDoc

Returns the associations documentation.

void  setDoc ( QString doc)

setDoc

Sets the associations documentation.

bool  saveToXMI ( QDomDocument & qDoc, QDomElement & qElement )

saveToXMI

bool  loadFromXMI ( QDomElement & qElement )

loadFromXMI

void  cleanup ()

cleanup

FloatingTextData* m_pMultiDataA

m_pMultiDataA

[protected]

FloatingTextData* m_pMultiDataB

m_pMultiDataB

[protected]

FloatingTextData* m_pRoleData

m_pRoleData

[protected]

Uml::Association_Type m_AssocType

m_AssocType

[protected]

LinePath m_LinePath

m_LinePath

[protected]

int m_nWidgetAID

m_nWidgetAID

[protected]

int m_nWidgetBID

m_nWidgetBID

[protected]

int m_nIndexA

m_nIndexA

[protected]

int m_nIndexB

m_nIndexB

[protected]

int m_nTotalCountA

m_nTotalCountA

[protected]

int m_nTotalCountB

m_nTotalCountB

[protected]

QString m_Doc

m_Doc

[protected]


Generated by: jr on radge on Wed Sep 25 00:11:47 2002, using kdoc 2.0a54.