#include <widgets.h>
Inheritance diagram for YStringList:
Public Slots | |
virtual void | UpdateList (YObject *) |
void | UpdateItem (YObject *) |
void | NewItem (YObject *o) |
void | ItemRemoved (YObject *object) |
Signals | |
void | StringListChanged () |
Public Member Functions | |
YStringList (YSet *s, bool mc=false) | |
maybe original YList can change the order so we store the objects ptr too | |
void | ClearList () |
unsigned int | FindIndex (YObject *object) |
YObject * | FindObject (unsigned int index) |
YObject * | FindObject (const QString &s) |
void | AddItem (YObject *newobject, const QString &name=QString::null, bool appenditem=true) |
Private Attributes | |
Q_OBJECT YSet * | set |
bool | makeconnections |
QList< YObject > | objectlist |
connect signals to every YObject |
|
maybe original YList can change the order so we store the objects ptr too
|
|
Adds an item to the stringlist at position p. Only if o==0 name is used as item string (!). These items can not be removed during runtime |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!! |
|
|
|
connect signals to every YObject
|
|
|