umbrello/umbrello
umllistviewitem.h
Go to the documentation of this file.
99 UMLListViewItem(UMLListViewItem * parent, const QString &name, ListViewType t, UMLObject* o = 0);
100 UMLListViewItem(UMLListViewItem * parent, const QString &name, ListViewType t, Uml::ID::Type id);
void setText(int column, const QString &text)
Changes the current text.
Definition: umllistviewitem.cpp:432
UMLListViewItem * deepCopy(UMLListViewItem *newParent)
Overrides the default sorting to sort by item type.
Definition: umllistviewitem.cpp:788
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Saves the listview item to a "listitem" tag.
Definition: umllistviewitem.cpp:864
Definition: umllistviewitem.h:63
UMLObject * umlObject() const
Return the UMLObject associated with this instance.
Definition: umllistviewitem.cpp:309
Definition: umllistviewitem.h:83
Classifiers (classes, interfaces) have lists of operations, attributes, templates and others...
Definition: classifierlistitem.h:29
QMap< UMLClassifierListItem *, UMLListViewItem * > ChildObjectMap
Auxiliary map of child UMLLisViewItems keyed by UMLClassifierListItem.
Definition: umllistviewitem.h:159
QTreeWidgetItem * child(int index) const
bool isOwnParent(Uml::ID::Type listViewItemID)
Returns true if the UMLListViewItem of the given ID is a parent of this UMLListViewItem.
Definition: umllistviewitem.cpp:318
Definition: umllistviewitem.h:73
QTreeWidgetItemIterator UMLListViewItemIterator
Definition: umllistviewitem.h:25
Definition: umllistviewitem.h:91
void slotEditFinished(const QString &newText)
This slot is called to finish item editing.
Definition: umllistviewitem.cpp:458
UMLListViewItem * findUMLObject(const UMLObject *o)
Find the UMLListViewItem that is related to the given UMLObject in the tree rooted at the current UML...
Definition: umllistviewitem.cpp:810
QString toolTip()
Returns the signature of items that are operations.
Definition: umllistviewitem.cpp:200
Definition: umllistviewitem.h:57
Definition: umllistviewitem.h:56
bool isExpanded() const
Definition: umllistviewitem.h:76
void deleteChildItem(UMLClassifierListItem *child)
Deletes the child listview item representing the given UMLClassifierListItem.
Definition: umllistviewitem.cpp:247
UMLListViewItem(UMLListView *parent, const QString &name, ListViewType t, UMLObject *o=0)
Sets up an instance.
Definition: umllistviewitem.cpp:58
void setUMLObject(UMLObject *obj)
Set the UMLObject associated with this instance.
Definition: umllistviewitem.cpp:299
ListViewType type() const
Returns the type this instance represents.
Definition: umllistviewitem.cpp:231
Definition: umllistviewitem.h:90
Definition: umllistviewitem.h:77
static QString toString(ListViewType type)
Definition: umllistviewitem.cpp:937
QDebug operator<<(QDebug dbg, const UMLListViewItem &item)
Overloading operator for debugging output.
Definition: umllistviewitem.cpp:1042
QTreeWidgetItem * parent() const
Definition: umllistviewitem.h:45
void addClassifierListItem(UMLClassifierListItem *child, UMLListViewItem *childItem)
Adds the child listview item representing the given UMLClassifierListItem.
Definition: umllistviewitem.cpp:239
UMLListViewItem * findItem(Uml::ID::Type id)
Find the UMLListViewItem of the given ID in the tree rooted at the current UMLListViewItem.
Definition: umllistviewitem.cpp:846
UMLListViewItem * findChildObject(UMLClassifierListItem *cli)
Find the UMLListViewItem that represents the given UMLClassifierListItem in the children of the curre...
Definition: umllistviewitem.cpp:829
Definition: umllistviewitem.h:58
bool loadFromXMI(QDomElement &qElement)
Loads a "listitem" tag, this is only used by the clipboard currently.
Definition: umllistviewitem.cpp:907
void setIcon(Icon_Utils::IconType iconType)
Set the pixmap corresponding to the given IconType.
Definition: umllistviewitem.cpp:449
QString text(int column) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.