Changeset View
Changeset View
Standalone View
Standalone View
libtaskmanager/waylandtasksmodel.h
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Line(s) | 56 | public: | |||
---|---|---|---|---|---|
76 | * at the given index. Success depends on whether a | 76 | * at the given index. Success depends on whether a | ||
77 | * AbstractTasksModel::LauncherUrl could be derived from window metadata. | 77 | * AbstractTasksModel::LauncherUrl could be derived from window metadata. | ||
78 | * | 78 | * | ||
79 | * @param index An index in this window tasks model. | 79 | * @param index An index in this window tasks model. | ||
80 | **/ | 80 | **/ | ||
81 | void requestNewInstance(const QModelIndex &index) override; | 81 | void requestNewInstance(const QModelIndex &index) override; | ||
82 | 82 | | |||
83 | /** | 83 | /** | ||
84 | * Runs the application backing the launcher at the given index with the given URLs. | ||||
85 | * Success depends on whether a AbstractTasksModel::LauncherUrl could be | ||||
86 | * derived from window metadata and a KService could be found from that. | ||||
87 | * | ||||
88 | * @param index An index in this launcher tasks model | ||||
89 | * @param urls The URLs to be passed to the application | ||||
90 | */ | ||||
91 | void requestOpenUrls(const QModelIndex &index, const QList<QUrl> &urls) override; | ||||
92 | | ||||
93 | /** | ||||
84 | * Request the window at the given index be closed. | 94 | * Request the window at the given index be closed. | ||
85 | * | 95 | * | ||
86 | * @param index An index in this window tasks model. | 96 | * @param index An index in this window tasks model. | ||
87 | **/ | 97 | **/ | ||
88 | void requestClose(const QModelIndex &index) override; | 98 | void requestClose(const QModelIndex &index) override; | ||
89 | 99 | | |||
90 | /** | 100 | /** | ||
91 | * Request starting an interactive move for the window at the given index. | 101 | * Request starting an interactive move for the window at the given index. | ||
▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines |