Pages
API Documentation
On this page

Attica::PrivateData Class

Represents private data. More...

  • Header: #include <Attica/PrivateData>
  • CMake: find_package(KF6 REQUIRED COMPONENTS Attica)
    target_link_libraries(mytarget PRIVATE KF6::Attica)

List of all members, including inherited members

Public Types

Public Functions

Detailed Description

Member Type Documentation

PrivateData::List

Member Function Documentation

PrivateData::PrivateData()

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

Returns an attribute referenced by key.

See also setAttribute()

QStringList PrivateData::keys() const

Returns a list of fetched keys.

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

Sets an attribute referenced by key to value.

See also attribute()

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

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

See also timestamp()

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

Returns the date and time an attribute last was changed.

See also setTimestamp()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.