Plasma-workspace
taskgroupingproxymodel.h
30class TASKMANAGER_EXPORT TaskGroupingProxyModel : public QAbstractProxyModel, public AbstractTasksModelIface
34 Q_PROPERTY(TasksModel::GroupMode groupMode READ groupMode WRITE setGroupMode NOTIFY groupModeChanged)
35 Q_PROPERTY(bool groupDemandingAttention READ groupDemandingAttention WRITE setGroupDemandingAttention NOTIFY groupDemandingAttentionChanged)
36 Q_PROPERTY(int windowTasksThreshold READ windowTasksThreshold WRITE setWindowTasksThreshold NOTIFY windowTasksThresholdChanged)
37 Q_PROPERTY(QStringList blacklistedAppIds READ blacklistedAppIds WRITE setBlacklistedAppIds NOTIFY blacklistedAppIdsChanged)
38 Q_PROPERTY(QStringList blacklistedLauncherUrls READ blacklistedLauncherUrls WRITE setBlacklistedLauncherUrls NOTIFY blacklistedLauncherUrlsChanged)
44 QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
356 void requestPublishDelegateGeometry(const QModelIndex &index, const QRect &geometry, QObject *delegate = nullptr) override;
385 Q_PRIVATE_SLOT(d, void sourceRowsAboutToBeInserted(const QModelIndex &parent, int first, int last))
387 Q_PRIVATE_SLOT(d, void sourceRowsAboutToBeRemoved(const QModelIndex &parent, int first, int last))
Pure virtual method interface for tasks model implementations.
Definition abstracttasksmodeliface.h:26
void requestNewInstance(const QModelIndex &index) override
Request an additional instance of the application backing the task at the given index.
Definition taskgroupingproxymodel.cpp:911
void requestToggleKeepAbove(const QModelIndex &index) override
Request toggling the keep-above state of the task at the given index.
Definition taskgroupingproxymodel.cpp:1023
void requestNewVirtualDesktop(const QModelIndex &index) override
Request entering the window at the given index on a new virtual desktop, which is created in response...
Definition taskgroupingproxymodel.cpp:1132
void requestMove(const QModelIndex &index) override
Request starting an interactive move for the task at the given index.
Definition taskgroupingproxymodel.cpp:949
void setGroupDemandingAttention(bool group)
Sets whether new tasks which demand attention (AbstractTasksModel::IsDemandingAttention) should be gr...
Definition taskgroupingproxymodel.cpp:809
void requestToggleFullScreen(const QModelIndex &index) override
Request toggling the fullscreen state of the task at the given index.
Definition taskgroupingproxymodel.cpp:1065
void setBlacklistedLauncherUrls(const QStringList &list)
Sets the blacklist of launcher URLs (AbstractTasksModel::LauncherUrl) that is consulted before groupi...
Definition taskgroupingproxymodel.cpp:872
void requestToggleShaded(const QModelIndex &index) override
Request toggling the shaded state of the task at the given index.
Definition taskgroupingproxymodel.cpp:1086
void setWindowTasksThreshold(int threshold)
Sets the number of source model window tasks (AbstractTasksModel::IsWindow) above which groups will b...
Definition taskgroupingproxymodel.cpp:825
void requestToggleKeepBelow(const QModelIndex &index) override
Request toggling the keep-below state of the task at the given index.
Definition taskgroupingproxymodel.cpp:1044
void requestResize(const QModelIndex &index) override
Request starting an interactive resize for the task at the given index.
Definition taskgroupingproxymodel.cpp:960
void requestClose(const QModelIndex &index) override
Request the task at the given index be closed.
Definition taskgroupingproxymodel.cpp:929
void setGroupMode(TasksModel::GroupMode mode)
Sets the group mode, i.e.
Definition taskgroupingproxymodel.cpp:793
void requestToggleMaximized(const QModelIndex &index) override
Request toggling the maximized state of the task at the given index.
Definition taskgroupingproxymodel.cpp:992
void requestPublishDelegateGeometry(const QModelIndex &index, const QRect &geometry, QObject *delegate=nullptr) override
Request informing the window manager of new geometry for a visual delegate for the task at the given ...
Definition taskgroupingproxymodel.cpp:1182
void requestToggleMinimized(const QModelIndex &index) override
Request toggling the minimized state of the task at the given index.
Definition taskgroupingproxymodel.cpp:971
void requestVirtualDesktops(const QModelIndex &index, const QVariantList &desktops) override
Request entering the window at the given index on the specified virtual desktops, leaving any other d...
Definition taskgroupingproxymodel.cpp:1107
void requestOpenUrls(const QModelIndex &index, const QList< QUrl > &urls) override
Requests to open the given URLs with the application backing the task at the given index.
Definition taskgroupingproxymodel.cpp:920
void requestToggleGrouping(const QModelIndex &index)
Request toggling whether the task at the given index, along with any tasks matching its kind,...
Definition taskgroupingproxymodel.cpp:1197
void requestActivate(const QModelIndex &index) override
Request activation of the task at the given index.
Definition taskgroupingproxymodel.cpp:900
void requestActivities(const QModelIndex &index, const QStringList &activities) override
Request moving the task at the given index to the specified activities.
Definition taskgroupingproxymodel.cpp:1157
void setBlacklistedAppIds(const QStringList &list)
Sets the blacklist of app ids (AbstractTasksModel::AppId) that is consulted before grouping a task.
Definition taskgroupingproxymodel.cpp:841
QVariant data(const QModelIndex &proxyIndex, int role) const override
Definition taskgroupingproxymodel.cpp:618
Q_SCRIPTABLE QString start(QString train="")
QAbstractItemModel(QObject *parent)
QAbstractProxyModel(QObject *parent)
sourceModel
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
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.