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