Attica::PrivateData

Search for usage in LXR

Attica::PrivateData Class Reference

#include <Attica/PrivateData>

Public Types

typedef QList< PrivateDataList
 

Public Member Functions

 PrivateData (const PrivateData &other)
 
QString attribute (const QString &key) const
 
QStringList keys () const
 
PrivateDataoperator= (const PrivateData &other)
 
void setAttribute (const QString &key, const QString &value)
 
void setTimestamp (const QString &key, const QDateTime &when)
 
QDateTime timestamp (const QString &key) const
 

Detailed Description

Represents private data.

Definition at line 29 of file privatedata.h.

Member Function Documentation

◆ attribute()

QString PrivateData::attribute ( const QString key) const

Returns an attribute referenced by \key.

Definition at line 55 of file privatedata.cpp.

◆ keys()

QStringList PrivateData::keys ( ) const

Returns a list of fetched keys.

Definition at line 65 of file privatedata.cpp.

◆ setAttribute()

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

Sets an attribute referenced by \key to \value.

Definition at line 49 of file privatedata.cpp.

◆ setTimestamp()

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

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

Definition at line 70 of file privatedata.cpp.

◆ timestamp()

QDateTime PrivateData::timestamp ( const QString key) const

Returns the date and time an attribute last was changed.

Definition at line 60 of file privatedata.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 04:07:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.