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 Typedef Documentation

◆ List

Definition at line 34 of file privatedata.h.

Constructor & Destructor Documentation

◆ PrivateData() [1/2]

PrivateData::PrivateData ( )

Definition at line 29 of file privatedata.cpp.

◆ PrivateData() [2/2]

PrivateData::PrivateData ( const PrivateData & other)

Definition at line 34 of file privatedata.cpp.

◆ ~PrivateData()

PrivateData::~PrivateData ( )

Definition at line 45 of file privatedata.cpp.

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.

◆ operator=()

PrivateData & PrivateData::operator= ( const PrivateData & other)

Definition at line 39 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-2024 The KDE developers.
Generated on Fri Jun 21 2024 12:04:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.