Attica 5.109.0
Public Types | Public Member Functions | List of all members
Attica::PrivateData

Represents private data. More...

#include <Attica/PrivateData>

Public Types

typedef QList< PrivateDataList
 

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.
 
PrivateDataoperator= (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.
 

Detailed Description

Represents private data.

Member Function Documentation

◆ attribute()

QString Attica::PrivateData::attribute ( const QString &  key) const

Returns an attribute referenced by \key.

◆ keys()

QStringList Attica::PrivateData::keys ( ) const

Returns a list of fetched keys.

◆ setAttribute()

void Attica::PrivateData::setAttribute ( const QString &  key,
const QString &  value 
)

Sets an attribute referenced by \key to \value.

◆ setTimestamp()

void Attica::PrivateData::setTimestamp ( const QString &  key,
const QDateTime &  when 
)

Sets when an attribute last was changed (mostly for internal use).

◆ timestamp()

QDateTime Attica::PrivateData::timestamp ( const QString &  key) const

Returns the date and time an attribute last was changed.