KPropertyListData
#include <KPropertyListData.h>
Public Member Functions | |
| KPropertyListData (const KPropertyListData &other) | |
| KPropertyListData (const QStringList &keys, const QStringList &names) | |
| KPropertyListData (const QVariantList &keys, const QStringList &names) | |
| KPropertyListData (const QVariantList &keys, const QVariantList &names) | |
| QVariantList | keys () const |
| QStringList | keysAsStringList () const |
| QVariantList | names () const |
| QStringList | namesAsStringList () const |
| bool | operator!= (const KPropertyListData &other) const |
| KPropertyListData & | operator= (const KPropertyListData &other) |
| bool | operator== (const KPropertyListData &other) const |
| void | setKeys (const QVariantList &keys) |
| void | setKeysAsStringList (const QStringList &keys) |
| void | setNames (const QVariantList &names) |
| void | setNamesAsStringList (const QStringList &names) |
Detailed Description
A data container for properties of list type.
- Since
- 3.1
Definition at line 34 of file KPropertyListData.h.
Constructor & Destructor Documentation
◆ KPropertyListData() [1/5]
| KPropertyListData::KPropertyListData | ( | ) |
Definition at line 43 of file KPropertyListData.cpp.
◆ KPropertyListData() [2/5]
| KPropertyListData::KPropertyListData | ( | const KPropertyListData & | other | ) |
Definition at line 48 of file KPropertyListData.cpp.
◆ KPropertyListData() [3/5]
| KPropertyListData::KPropertyListData | ( | const QStringList & | keys, |
| const QStringList & | names ) |
Definition at line 53 of file KPropertyListData.cpp.
◆ KPropertyListData() [4/5]
| KPropertyListData::KPropertyListData | ( | const QVariantList & | keys, |
| const QVariantList & | names ) |
Definition at line 60 of file KPropertyListData.cpp.
◆ KPropertyListData() [5/5]
| KPropertyListData::KPropertyListData | ( | const QVariantList & | keys, |
| const QStringList & | names ) |
Definition at line 67 of file KPropertyListData.cpp.
◆ ~KPropertyListData()
| KPropertyListData::~KPropertyListData | ( | ) |
Definition at line 74 of file KPropertyListData.cpp.
Member Function Documentation
◆ keys()
| QVariantList KPropertyListData::keys | ( | ) | const |
A list containing all possible keys for a property.
Items of this list are ordered, so the first key element is associated with first element from the 'names' list, and so on.
Definition at line 105 of file KPropertyListData.cpp.
◆ keysAsStringList()
| QStringList KPropertyListData::keysAsStringList | ( | ) | const |
A list containing all possible keys for a property converted to strings.
Definition at line 110 of file KPropertyListData.cpp.
◆ names()
| QVariantList KPropertyListData::names | ( | ) | const |
The list of user-visible translated name elements.
First value is referenced by first key, and so on.
Definition at line 119 of file KPropertyListData.cpp.
◆ namesAsStringList()
| QStringList KPropertyListData::namesAsStringList | ( | ) | const |
The list of user-visible translated name elements as strings.
Definition at line 124 of file KPropertyListData.cpp.
◆ operator!=()
|
inline |
- Returns
- true if this KPropertyListData does not equal to other
Definition at line 56 of file KPropertyListData.h.
◆ operator=()
| KPropertyListData & KPropertyListData::operator= | ( | const KPropertyListData & | other | ) |
Assigns other to this KPropertyListData.
Definition at line 79 of file KPropertyListData.cpp.
◆ operator==()
| bool KPropertyListData::operator== | ( | const KPropertyListData & | other | ) | const |
- Returns
- true if this KPropertyListData equals to other
Definition at line 87 of file KPropertyListData.cpp.
◆ setKeys()
| void KPropertyListData::setKeys | ( | const QVariantList & | keys | ) |
Sets a list containing all possible keys for a property.
- Note
- each key on the list should be unique
Definition at line 100 of file KPropertyListData.cpp.
◆ setKeysAsStringList()
| void KPropertyListData::setKeysAsStringList | ( | const QStringList & | keys | ) |
Sets a list containing all possible keys for a property as strings.
- Note
- each key on the list should be unique
Definition at line 92 of file KPropertyListData.cpp.
◆ setNames()
| void KPropertyListData::setNames | ( | const QVariantList & | names | ) |
Sets a list containing all possible keys for a property.
- Note
- each key on the list should be unique
Definition at line 141 of file KPropertyListData.cpp.
◆ setNamesAsStringList()
| void KPropertyListData::setNamesAsStringList | ( | const QStringList & | names | ) |
Sets a list containing all possible keys for a property as strings.
- Note
- each key on the list should be unique
Definition at line 133 of file KPropertyListData.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:56:16 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.