lib
KoProperty::Property::ListData Class Reference
#include <property.h>
Detailed Description
Data container for properties of list type.
Definition at line 186 of file property.h.
Public Member Functions | |
ListData (const QStringList &keys_, const QStringList &names_) | |
ListData (const QValueList< QVariant > keys_, const QStringList &names_) | |
ListData () | |
~ListData () | |
void | setKeysAsStringList (const QStringList &list) |
QStringList | keysAsStringList () const |
Public Attributes | |
QValueList< QVariant > | keys |
QStringList | names |
Constructor & Destructor Documentation
Property::ListData::ListData | ( | const QStringList & | keys_, | |
const QStringList & | 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.
Member Data Documentation
QValueList<QVariant> 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.
QStringList KoProperty::Property::ListData::names |
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: