Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

YStringList Class Reference

#include <widgets.h>

Inheritance diagram for YStringList:

Inheritance graph
[legend]
Collaboration diagram for YStringList:

Collaboration graph
[legend]
List of all members.

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)
YObjectFindObject (unsigned int index)
YObjectFindObject (const QString &s)
void AddItem (YObject *newobject, const QString &name=QString::null, bool appenditem=true)

Private Attributes

Q_OBJECT YSetset
bool makeconnections
QList< YObjectobjectlist
 connect signals to every YObject


Constructor & Destructor Documentation

YStringList::YStringList YSet   s,
bool    mc = false
[inline]
 

maybe original YList can change the order so we store the objects ptr too


Member Function Documentation

void YStringList::AddItem YObject   newobject,
const QString &    name = QString::null,
bool    appenditem = true
 

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

void YStringList::ClearList  
 

unsigned int YStringList::FindIndex YObject   object
 

YObject * YStringList::FindObject const QString &    s
 

YObject * YStringList::FindObject unsigned int    index
 

void YStringList::ItemRemoved YObject   object [slot]
 

void YStringList::NewItem YObject   o [inline, slot]
 

void YStringList::StringListChanged   [signal]
 

void YStringList::UpdateItem YObject   [slot]
 

void YStringList::UpdateList YObject   changedobject [virtual, slot]
 

!!


Member Data Documentation

bool YStringList::makeconnections [private]
 

QList<YObject> YStringList::objectlist [private]
 

connect signals to every YObject

Q_OBJECT YSet* YStringList::set [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Feb 14 00:03:56 2003 for Yasa by doxygen1.3-rc3