KNewStuff
qtquick/commentsmodel.h
41 Q_PROPERTY(KNewStuffQuick::CommentsModel::IncludedComments includedComments READ includedComments WRITE setIncludedComments NOTIFY includedCommentsChanged)
49 IncludeOnlyReviews = 1, //< Only comments which have a rating (and thus is considered a review) should be included
50 IncludeReviewsAndReplies = 2, //< Reviews (as OnlyReviews), except child comments are also included
Q_ENUM(...)
Encapsulates a KNSCore::CommentsModel for use in Qt Quick.
Definition: qtquick/commentsmodel.h:24
IncludedComments
The options which can be set for which comments to include.
Definition: qtquick/commentsmodel.h:47
CommentsModel::IncludedComments includedComments() const
Which comments should be included.
int entryIndex
The index in the model of the entry to fetch comments for.
Definition: qtquick/commentsmodel.h:35
Definition: qtquick/author.cpp:19
Q_OBJECTQ_OBJECT
Q_SIGNAL void includedCommentsChanged()
Fired when the value of includedComments changes.
QObject itemsModel
The KNewStufQuick::ItemsModel to interact with servers through.
Definition: qtquick/commentsmodel.h:31
void setIncludedComments(CommentsModel::IncludedComments includedComments)
Set which comments should be included.
Definition: qtquick/commentsmodel.cpp:110
Q_PROPERTY(...)
Q_SIGNALQ_SIGNAL
Q_INTERFACES(...)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:43:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:43:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.