Plasma-workspace
taskfilterproxymodel.h
31class TASKMANAGER_EXPORT TaskFilterProxyModel : public QSortFilterProxyModel, public AbstractTasksProxyModelIface
35 Q_PROPERTY(QVariant virtualDesktop READ virtualDesktop WRITE setVirtualDesktop NOTIFY virtualDesktopChanged)
36 Q_PROPERTY(QRect screenGeometry READ screenGeometry WRITE setScreenGeometry NOTIFY screenGeometryChanged)
37 Q_PROPERTY(QRect regionGeometry READ regionGeometry WRITE setRegionGeometry NOTIFY regionGeometryChanged)
40 Q_PROPERTY(bool filterByVirtualDesktop READ filterByVirtualDesktop WRITE setFilterByVirtualDesktop NOTIFY filterByVirtualDesktopChanged)
41 Q_PROPERTY(bool filterByScreen READ filterByScreen WRITE setFilterByScreen NOTIFY filterByScreenChanged)
42 Q_PROPERTY(bool filterByActivity READ filterByActivity WRITE setFilterByActivity NOTIFY filterByActivityChanged)
43 Q_PROPERTY(RegionFilterMode::Mode filterByRegion READ filterByRegion WRITE setFilterByRegion NOTIFY filterByRegionChanged)
44 Q_PROPERTY(bool filterMinimized READ filterMinimized WRITE setFilterMinimized NOTIFY filterMinimizedChanged)
45 Q_PROPERTY(bool filterNotMinimized READ filterNotMinimized WRITE setFilterNotMinimized NOTIFY filterNotMinimizedChanged)
46 Q_PROPERTY(bool filterNotMaximized READ filterNotMaximized WRITE setFilterNotMaximized NOTIFY filterNotMaximizedChanged)
48 Q_PROPERTY(bool filterSkipTaskbar READ filterSkipTaskbar WRITE setFilterSkipTaskbar NOTIFY filterSkipTaskbarChanged)
49 Q_PROPERTY(bool filterSkipPager READ filterSkipPager WRITE setFilterSkipPager NOTIFY filterSkipPagerChanged)
51 Q_PROPERTY(bool demandingAttentionSkipsFilters READ demandingAttentionSkipsFilters WRITE setDemandingAttentionSkipsFilters NOTIFY
Pure method interface for tasks model implementations.
Definition abstracttasksproxymodeliface.h:27
void setFilterByScreen(bool filter)
Set whether tasks should be filtered by screen.
Definition taskfilterproxymodel.cpp:163
void setActivity(const QString &activity)
Set the id of the activity to use in filtering by activity.
Definition taskfilterproxymodel.cpp:129
bool acceptsRow(int sourceRow) const
Returns whether the filter model accepts this source row.
Definition taskfilterproxymodel.cpp:324
void setFilterSkipTaskbar(bool filter)
Set whether tasks which should be omitted from 'task bars' should be filtered.
Definition taskfilterproxymodel.cpp:276
void setVirtualDesktop(const QVariant &desktop=QVariant())
Set the id of the virtual desktop to use in filtering by virtual desktop.
Definition taskfilterproxymodel.cpp:74
void setRegionGeometry(const QRect &geometry)
Set the geometry of the screen to use in filtering by region.
Definition taskfilterproxymodel.cpp:110
void setFilterNotMinimized(bool filter)
Set whether non-minimized tasks should be filtered.
Definition taskfilterproxymodel.cpp:228
void setScreenGeometry(const QRect &geometry)
Set the geometry of the screen to use in filtering by screen.
Definition taskfilterproxymodel.cpp:92
void setDemandingAttentionSkipsFilters(bool skip)
Sets whether tasks which demand attention should bypass filters by virtual desktop or activity.
Definition taskfilterproxymodel.cpp:308
void setFilterByActivity(bool filter)
Set whether tasks should be filtered by activity.
Definition taskfilterproxymodel.cpp:179
void setFilterNotMaximized(bool filter)
Set whether non-maximized tasks should be filtered.
Definition taskfilterproxymodel.cpp:244
void setFilterByRegion(RegionFilterMode::Mode mode)
Set whether tasks should be filtered by region.
Definition taskfilterproxymodel.cpp:195
void setFilterHidden(bool filter)
Set whether hidden tasks should be filtered.
Definition taskfilterproxymodel.cpp:260
void setFilterByVirtualDesktop(bool filter)
Set whether tasks should be filtered by virtual desktop.
Definition taskfilterproxymodel.cpp:147
void setFilterSkipPager(bool filter)
Set whether tasks which should be omitted from 'pagers' should be filtered.
Definition taskfilterproxymodel.cpp:292
void setFilterMinimized(bool filter)
Sets whether non-minimized tasks should be filtered out.
Definition taskfilterproxymodel.cpp:211
QAbstractItemModel(QObject *parent)
sourceModel
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
QSortFilterProxyModel(QObject *parent)
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
virtual QModelIndex parent(const QModelIndex &child) const const override
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:53 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:57:53 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.