Attica::KnowledgeBaseEntry Class

class Attica::KnowledgeBaseEntry

Represents a knowledge base entry. More...

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

Public Types

Public Functions

KnowledgeBaseEntry()
void addExtendedAttribute(const QString &key, const QString &value)
QString answer() const
QDateTime changed() const
int comments() const
int contentId() const
QString description() const
QUrl detailPage() const
QString extendedAttribute(const QString &key) const
QMap<QString, QString> extendedAttributes() const
QString id() const
bool isValid() const
QString name() const
void setAnswer(const QString &answer)
void setChanged(const QDateTime &changed)
void setComments(int comments)
void setContentId(int id)
void setDescription(const QString &description)
void setDetailPage(const QUrl &detailPage)
void setId(QString id)
void setName(const QString &name)
void setStatus(const QString &status)
void setUser(const QString &user)
QString status() const
QString user() const

Detailed Description

Member Type Documentation

KnowledgeBaseEntry::List

Member Function Documentation

KnowledgeBaseEntry::KnowledgeBaseEntry()

void KnowledgeBaseEntry::addExtendedAttribute(const QString &key, const QString &value)

QString KnowledgeBaseEntry::answer() const

See also setAnswer().

QDateTime KnowledgeBaseEntry::changed() const

See also setChanged().

int KnowledgeBaseEntry::comments() const

See also setComments().

int KnowledgeBaseEntry::contentId() const

See also setContentId().

QString KnowledgeBaseEntry::description() const

See also setDescription().

QUrl KnowledgeBaseEntry::detailPage() const

See also setDetailPage().

QString KnowledgeBaseEntry::extendedAttribute(const QString &key) const

QMap<QString, QString> KnowledgeBaseEntry::extendedAttributes() const

QString KnowledgeBaseEntry::id() const

See also setId().

bool KnowledgeBaseEntry::isValid() const

QString KnowledgeBaseEntry::name() const

See also setName().

void KnowledgeBaseEntry::setAnswer(const QString &answer)

See also answer().

void KnowledgeBaseEntry::setChanged(const QDateTime &changed)

See also changed().

void KnowledgeBaseEntry::setComments(int comments)

See also comments().

void KnowledgeBaseEntry::setContentId(int id)

See also contentId().

void KnowledgeBaseEntry::setDescription(const QString &description)

See also description().

void KnowledgeBaseEntry::setDetailPage(const QUrl &detailPage)

See also detailPage().

void KnowledgeBaseEntry::setId(QString id)

See also id().

void KnowledgeBaseEntry::setName(const QString &name)

See also name().

void KnowledgeBaseEntry::setStatus(const QString &status)

See also status().

void KnowledgeBaseEntry::setUser(const QString &user)

See also user().

QString KnowledgeBaseEntry::status() const

See also setStatus().

QString KnowledgeBaseEntry::user() const

See also setUser().