#include <property.h>
Public Member Functions | |
| ListData (const TQStringList &keys_, const TQStringList &names_) | |
| ListData (const TQValueList< TQVariant > keys_, const TQStringList &names_) | |
| void | setKeysAsStringList (const TQStringList &list) |
| TQStringList | keysAsStringList () const |
Public Attributes | |
| TQValueList< TQVariant > | keys |
| TQStringList | names |
Detailed Description
Data container for properties of list type.
Definition at line 186 of file property.h.
Constructor & Destructor Documentation
◆ ListData() [1/3]
| Property::ListData::ListData | ( | const TQStringList & | keys_, |
| const TQStringList & | names_ ) |
Data container for list-value property. We will be able to choose an item from this list.
Definition at line 114 of file property.cpp.
◆ ListData() [2/3]
| Property::ListData::ListData | ( | const TQValueList< TQVariant > | keys_, |
| const TQStringList & | names_ ) |
Definition at line 121 of file property.cpp.
◆ ListData() [3/3]
| Property::ListData::ListData | ( | ) |
Definition at line 127 of file property.cpp.
◆ ~ListData()
| Property::ListData::~ListData | ( | ) |
Definition at line 132 of file property.cpp.
Member Function Documentation
◆ keysAsStringList()
| TQStringList Property::ListData::keysAsStringList | ( | ) | const |
Definition at line 144 of file property.cpp.
◆ setKeysAsStringList()
| void Property::ListData::setKeysAsStringList | ( | const TQStringList & | list | ) |
Definition at line 136 of file property.cpp.
Member Data Documentation
◆ keys
| TQValueList<TQVariant> KoProperty::Property::ListData::keys |
The string list containing all possible keys for this property or NULL if this is not a property of type 'list'. The values in this list are ordered, so the first key element is associated with first element from the 'names' list, and so on.
Definition at line 203 of file property.h.
◆ names
| TQStringList KoProperty::Property::ListData::names |
- Todo
- what about using TQValueList<TQVariant> here too?
The list of i18n'ed names that will be visible on the screen. First value is referenced by first key, and so on.
Definition at line 209 of file property.h.
The documentation for this class was generated from the following files:
