PlasmaActivitiesStats
resultmodel.h
59 QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
The activities system tracks resources (documents, contacts, etc.) that the user has used.
Definition query.h:54
void forgetResource(const QString &resource)
Removes the specified resource from the history.
Definition resultmodel.cpp:1007
void setResultPosition(const QString &resource, int position)
Moves the resource to the specified position.
Definition resultmodel.cpp:1031
void forgetResources(const QList< QString > &resources)
Removes specified list of resources from the history.
Definition resultmodel.cpp:994
void forgetAllResources()
Clears the history of all resources that match the current model query.
Definition resultmodel.cpp:1026
virtual QModelIndex parent(const QModelIndex &index) const const=0
QAbstractListModel(QObject *parent)
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
UserRole
Orientation
SortOrder
Term to filter the resources according the activity in which they were accessed.
Definition terms.h:139
Term to filter the resources according the agent (application) which accessed it.
Definition terms.h:106
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 12:01:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 12:01:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.