KNewStuff
qtquick/commentsmodel.cpp
31 itemsModel->data(itemsModel->index(itemsModel->indexOfEntry(entry)), ItemsModel::CommentsModelRole).value<QObject *>()));
43 QModelIndex parentIndex = q->sourceModel()->index(q->sourceModel()->data(index, KNSCore::CommentsModel::ParentIndexRole).toInt(), 0);
114bool KNewStuffQuick::CommentsModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
KNewStuffQuick::CommentsModel::IncludedComments includedComments
Which types of comments should be included @default AllComments.
Definition qtquick/commentsmodel.h:47
KNSCore::Entry entry
The index in the model of the entry to fetch comments for.
Definition qtquick/commentsmodel.h:41
IncludedComments
The options which can be set for which comments to include.
Definition qtquick/commentsmodel.h:53
void setIncludedComments(CommentsModel::IncludedComments includedComments)
Set which comments should be included.
Definition qtquick/commentsmodel.cpp:105
Q_SIGNAL void includedCommentsChanged()
Fired when the value of includedComments changes.
ItemsModel * itemsModel
The KNewStuffQuick::ItemsModel to interact with servers through.
Definition qtquick/commentsmodel.h:37
bool isValid() const const
Q_EMITQ_EMIT
void invalidateFilter()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:44 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:44 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.