Attica
16 QString Comment::commentTypeToString(
const Comment::Type type)
20 return QStringLiteral(
"1");
22 return QStringLiteral(
"4");
23 case KnowledgeBaseComment:
24 return QStringLiteral(
"7");
26 return QStringLiteral(
"8");
57 Comment::Comment(
const Comment &other)
72 void Comment::setId(
const QString &
id)
82 void Comment::setSubject(
const QString &subject)
84 d->m_subject = subject;
87 QString Comment::subject()
const
92 void Comment::setText(
const QString &text)
102 void Comment::setChildCount(
const int childCount)
104 d->m_childCount = childCount;
107 int Comment::childCount()
const
109 return d->m_childCount;
112 void Comment::setUser(
const QString &user)
122 void Comment::setDate(
const QDateTime &date)
144 d->m_children = std::move(children);
149 return d->m_children;
152 bool Comment::isValid()
const
154 return !(d->m_id.isEmpty());
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:05:13 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.