#include <propertylist.h>
Public Member Functions | |
| PropertyBuffer (PropertyList *list) | |
| PropertyBuffer () | |
| virtual void | intersect (const PropertyList *list) |
| Public Member Functions inherited from PropertyLib::PropertyList | |
| virtual MultiProperty * | operator[] (const TQString &name) |
| MultiProperty * | property (const TQString &name) |
| virtual void | addProperty (Property *property) |
| virtual void | addProperty (const TQString &group, Property *property) |
| virtual void | removeProperty (Property *property) |
| virtual void | removeProperty (const TQString &name) |
| virtual const TQValueList< TQPair< TQString, TQValueList< TQString > > > & | propertiesOfGroup () const |
| virtual const TQMap< MultiProperty *, TQString > & | groupOfProperty () const |
| virtual void | clear () |
| virtual bool | contains (const TQString &name) |
| TQPtrList< Property > | properties (const TQString &name) |
| Iterator | begin () |
| Iterator | end () |
Protected Slots | |
| void | intersectedValueChanged (Property *property) |
Additional Inherited Members | |
| Public Types inherited from PropertyLib::PropertyList | |
| typedef Iterator | iterator |
| Signals inherited from PropertyLib::PropertyList | |
| void | propertyValueChanged (Property *property) |
| void | aboutToDeleteProperty (Property *property) |
| Protected Member Functions inherited from PropertyLib::PropertyList | |
| PropertyList (bool propertyOwner) | |
| void | addToGroup (const TQString &group, MultiProperty *property) |
| void | removeFromGroup (MultiProperty *property) |
Detailed Description
The list of properties which does not own them.
This class acts as PropertyLib::PropertyList but it does not delete properties in destructor (i.e. it does not own properties). This class should be used to store results of property intersections.
Example: /code PropertyList *list = new PropertyList(); PropertyList *list2 = new PropertyList(); PropertyList *list3 = new PropertyList(); ... PropertyBuffer *buf = new PropertyBuffer(list); buf->intersect(list2); buf->intersect(list3); ... /endcode
Definition at line 183 of file propertylist.h.
Constructor & Destructor Documentation
◆ PropertyBuffer() [1/2]
| PropertyLib::PropertyBuffer::PropertyBuffer | ( | PropertyList * | list | ) |
Constructs a buffer from given property list.
Definition at line 350 of file propertylist.cpp.
◆ PropertyBuffer() [2/2]
| PropertyLib::PropertyBuffer::PropertyBuffer | ( | ) |
Constructs an empty property buffer.
Definition at line 301 of file propertylist.cpp.
Member Function Documentation
◆ intersect()
|
virtual |
Intersects with other PropertyLib::PropertyList.
Definition at line 306 of file propertylist.cpp.
◆ intersectedValueChanged
|
protectedslot |
Definition at line 333 of file propertylist.cpp.
The documentation for this class was generated from the following files:
Trinity API Reference