Changeset View
Changeset View
Standalone View
Standalone View
libtaskmanager/tasktools.h
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Line(s) | |||||
121 | /** | 121 | /** | ||
122 | * Given global coordinates, returns the geometry of the screen they are | 122 | * Given global coordinates, returns the geometry of the screen they are | ||
123 | * on, or the geometry of the screen they are closest to. | 123 | * on, or the geometry of the screen they are closest to. | ||
124 | * | 124 | * | ||
125 | * @param pos Coordinates in global space. | 125 | * @param pos Coordinates in global space. | ||
126 | * @return The geometry of the screen containing pos or closest to pos. | 126 | * @return The geometry of the screen containing pos or closest to pos. | ||
127 | */ | 127 | */ | ||
128 | TASKMANAGER_EXPORT QRect screenGeometry(const QPoint &pos); | 128 | TASKMANAGER_EXPORT QRect screenGeometry(const QPoint &pos); | ||
129 | | ||||
130 | /** | ||||
131 | * Attempts to run the application described by the AppData struct that | ||||
132 | * is passed in. | ||||
133 | * | ||||
134 | * @param appData An application data struct. | ||||
135 | */ | ||||
136 | TASKMANAGER_EXPORT void runApp(const AppData &appData); | ||||
129 | } | 137 | } | ||
130 | 138 | | |||
131 | #endif | 139 | #endif |