Attica
16QString 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");
33class Q_DECL_HIDDEN
Comment::Private :
public QSharedData
43 QList<Comment> m_children;
57Comment::Comment(
const Comment &other)
72void Comment::setId(
const QString &
id)
77QString Comment::id()
const
82void Comment::setSubject(
const QString &subject)
84 d->m_subject = subject;
87QString Comment::subject()
const
92void Comment::setText(
const QString &text)
97QString Comment::text()
const
102void Comment::setChildCount(
const int childCount)
104 d->m_childCount = childCount;
107int Comment::childCount()
const
109 return d->m_childCount;
112void Comment::setUser(
const QString &user)
117QString Comment::user()
const
122void Comment::setDate(
const QDateTime &date)
127QDateTime Comment::date()
const
144 d->m_children = std::move(children);
149 return d->m_children;
152bool Comment::isValid()
const
154 return !(d->m_id.isEmpty());
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:50:58 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.