class MyListViewItemData


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

Public Methods

Protected Members


Detailed Description

 MyListViewItemData ()

MyListViewItemData

Constructor

 MyListViewItemData (MyListViewItemData& Other)

MyListViewItemData

Constructor

 ~MyListViewItemData ()

~MyListViewItemData

[virtual]

Deconstructor

void  setListViewItem (MyListViewItem* Item)

setListViewItem

sets the MyListViewItem that contains the object

int  childCount ()

childCount

Returns the number of children of the MyListViewItem containing this object

MyListViewItem*  getListViewItem ()

getListViewItem

returns a pointer to the MyListViewItem containing this object

bool  serialize (QDataStream *s, bool archive)

serialize

serializes this object to a QDataStream

bool  clipSerialize (QDataStream *s, const bool toClip)

clipSerialize

[virtual]

Serialize an instance of this class to a QDataStream that will be put in the clipboard

long  getClipSizeOf ()

getClipSizeOf

[virtual]

Returns the amount of bytes needed to serialize an instance object to the clipboard

QString  text (int index)

text

Returns the text of the MyListViewItem containing this object

bool  operator== (const MyListViewItemData& Other)

operator==

Overload '==' operator

MyListViewItemData&  operator= (MyListViewItemData & Other)

operator=

Overload '=' operator

UMLObject *  getUMLObject ()

getUMLObject

Returns the UMLObject associated with this item.

Uml::ListView_Type  getType ()

getType

Returns the type of item.

int  getID ()

getID

Returns the id of the item being represented.

QString  getLabel ()

getLabel

Returns the label text.

int  getChildren ()

getChildren

Returns the amount of childer the item has.

void  setUMLObject ( UMLObject * _object )

setUMLObject

Sets the UMLObject associated with this item.

void  setType ( Uml::ListView_Type type )

setType

Sets the type of the item being represented.

void  setID ( int id )

setID

Sets the id of the item being represented.

void  setLabel ( QString _label )

setLabel

Sets the label text.

bool  saveToXMI ( QDomDocument & qDoc, QDomElement & qElement )

saveToXMI

MyListViewItem * m_pItem

m_pItem

[protected]

int m_nId

m_nId

[protected]

int m_nChildren

m_nChildren

[protected]

Uml::ListView_Type m_Type

m_Type

[protected]

UMLObject * object

object

[protected]

QString label

label

[protected]


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