Plasma-workspace
launchertasksmodel.h
41 Q_PROPERTY(QStringList launcherList READ launcherList WRITE setLauncherList NOTIFY launcherListChanged)
bool requestRemoveLauncher(const QUrl &url)
Request removing the launcher with the given URL.
Definition launchertasksmodel.cpp:507
void requestNewInstance(const QModelIndex &index) override
Runs the URL (i.e.
Definition launchertasksmodel.cpp:554
QStringList launcherActivities(const QUrl &url) const
Return the list of activities the launcher belongs to.
Definition launchertasksmodel.cpp:522
bool requestRemoveLauncherFromActivity(const QUrl &url, const QString &activity)
Request removing the launcher with the given URL from the current activity.
Definition launchertasksmodel.cpp:517
int launcherPosition(const QUrl &url) const
Return the position of the launcher with the given URL.
Definition launchertasksmodel.cpp:538
void requestOpenUrls(const QModelIndex &index, const QList< QUrl > &urls) override
Runs the application backing the launcher at the given index with the given URLs.
Definition launchertasksmodel.cpp:563
bool requestAddLauncherToActivity(const QUrl &url, const QString &activity)
Request adding a launcher with the given URL to current activity.
Definition launchertasksmodel.cpp:512
bool requestAddLauncher(const QUrl &url)
Request adding a launcher with the given URL.
Definition launchertasksmodel.cpp:502
void setLauncherList(const QStringList &launchers)
Replace the list of launcher URL strings.
Definition launchertasksmodel.cpp:375
void requestActivate(const QModelIndex &index) override
Runs the URL (i.e.
Definition launchertasksmodel.cpp:549
virtual QModelIndex parent(const QModelIndex &index) const const=0
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
DisplayRole
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:51:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:51:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.