kexi
KFormDesigner::ObjectTree Class Reference
#include <objecttree.h>
Inheritance diagram for KFormDesigner::ObjectTree:

Detailed Description
Represents all the objects available within a form. This class holds ObjectTreeItem for each widget in a Form.
Definition at line 134 of file objecttree.h.
Public Member Functions | |
ObjectTree (const QString &className=QString::null, const QString &name=QString::null, QWidget *widget=0, Container *container=0) | |
virtual | ~ObjectTree () |
bool | rename (const QString &oldname, const QString &newname) |
bool | reparent (const QString &name, const QString &newparent) |
ObjectTreeItem * | lookup (const QString &name) |
ObjectTreeDict * | dict () |
void | addItem (ObjectTreeItem *parent, ObjectTreeItem *c) |
void | removeItem (const QString &name) |
void | removeItem (ObjectTreeItem *c) |
QCString | generateUniqueName (const QCString &prefix, bool numberSuffixRequired=true) |
Constructor & Destructor Documentation
|
ObjectTree /////////.
Definition at line 125 of file objecttree.cpp. |
Member Function Documentation
|
Definition at line 152 of file objecttree.h. |
|
Generates a new, unique name for a new widget using prefix prefix (e.g. if prefix is "lineEdit", "lineEdit1" is returned). prefix must be a valid identifier. If numberSuffixRequired is true (the default) a number suffix is mandatory. If numberSuffixRequired is false and there's a widget prefix prefix, then prefix is returned (e.g. if prefix is "lineEdit", and "lineEdit" doesn't exist yet, "lineEdit" is returned). Definition at line 216 of file objecttree.cpp. |
|
Definition at line 173 of file objecttree.cpp. |
|
Renames the item named oldname to newname.
Definition at line 140 of file objecttree.cpp. |
|
Sets newparent as new parent for the item whose name is name. Definition at line 160 of file objecttree.cpp. |
The documentation for this class was generated from the following files: