Attica 5.109.0
|
Represents private data. More...
#include <Attica/PrivateData>
Public Types | |
typedef QList< PrivateData > | List |
Public Member Functions | |
PrivateData (const PrivateData &other) | |
QString | attribute (const QString &key) const |
Returns an attribute referenced by \key. | |
QStringList | keys () const |
Returns a list of fetched keys. | |
PrivateData & | operator= (const PrivateData &other) |
void | setAttribute (const QString &key, const QString &value) |
Sets an attribute referenced by \key to \value. | |
void | setTimestamp (const QString &key, const QDateTime &when) |
Sets when an attribute last was changed (mostly for internal use). | |
QDateTime | timestamp (const QString &key) const |
Returns the date and time an attribute last was changed. | |
Represents private data.
QString Attica::PrivateData::attribute | ( | const QString & | key | ) | const |
Returns an attribute referenced by \key.
QStringList Attica::PrivateData::keys | ( | ) | const |
Returns a list of fetched keys.
void Attica::PrivateData::setAttribute | ( | const QString & | key, |
const QString & | value | ||
) |
Sets an attribute referenced by \key to \value.
void Attica::PrivateData::setTimestamp | ( | const QString & | key, |
const QDateTime & | when | ||
) |
Sets when an attribute last was changed (mostly for internal use).
QDateTime Attica::PrivateData::timestamp | ( | const QString & | key | ) | const |
Returns the date and time an attribute last was changed.