|
| TagProperties () |
| This class provides a wrapper over the Database methods to access the properties of a tag.
|
|
| TagProperties (const TagProperties &other) |
|
| TagProperties (int tagId) |
| Access the properties of the given tag.
|
|
void | addProperty (const QString &key, const QString &value) |
| Adds the given property.
|
|
bool | hasProperty (const QString &key) const |
| Returns true if the property is set.
|
|
bool | hasProperty (const QString &key, const QString &value) const |
| Returns true if the property is set, with exactly the given value.
|
|
bool | isNull () const |
|
TagProperties & | operator= (const TagProperties &other) |
|
QMultiMap< QString, QString > | properties () const |
| Returns a map of all key->value pairs.
|
|
QStringList | propertyKeys () const |
| Returns all set property keys.
|
|
void | removeProperties (const QString &key) |
| Remove all occurrences of the property.
|
|
void | removeProperty (const QString &key, const QString &value) |
| Remove the given property/value.
|
|
void | setProperty (const QString &key, const QString &value) |
| Set the given property. Replaces all previous occurrences of this property.
|
|
int | tagId () const |
|
QString | value (const QString &key) const |
| Returns the value of the given property.
|
|