Desktop widget, which is the root of UI.
More...
#include <desktop.hpp>
Desktop widget, which is the root of UI.
◆ Desktop()
tde::widgets::Desktop::Desktop |
( |
const DesktopSettings & |
settings, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
Construct a new Desktop object.
- Parameters
-
settings | Desktop settings. |
parent | Parent widget. |
◆ apps_changed
void tde::widgets::Desktop::apps_changed |
( |
const QList< app::Info > & |
apps | ) |
|
|
signal |
Emitted when apps changed.
- Parameters
-
◆ dock_apps_changed
void tde::widgets::Desktop::dock_apps_changed |
( |
const QList< app::Info > & |
apps | ) |
|
|
signal |
Emitted when dock apps changed.
- Parameters
-
◆ on_app_finish
void tde::widgets::Desktop::on_app_finish |
( |
int |
code, |
|
|
QProcess::ExitStatus |
status |
|
) |
| |
|
slot |
Called after the app is finished.
- Parameters
-
code | Exit code. |
status | Exit status. |
◆ on_app_start
void tde::widgets::Desktop::on_app_start |
( |
const app::Info & |
app | ) |
|
|
slot |
Called before the app is launched.
- Parameters
-
◆ request_launch_app
void tde::widgets::Desktop::request_launch_app |
( |
const app::Info & |
app | ) |
|
|
signal |
Emitted when the app is requested to be launched.
- Parameters
-
◆ DOCK_MARGIN
constexpr int tde::widgets::Desktop::DOCK_MARGIN = 5 |
|
staticconstexpr |
The documentation for this class was generated from the following files:
- include/tde/widgets/desktop.hpp
- src/widgets/desktop.cpp