parent
e0cff677a5
commit
4ae0eae3da
2 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,7 @@ void Toplevel::onClosed() {
|
|||
}
|
||||
|
||||
void Toplevel::activate() { this->handle->activate(); }
|
||||
void Toplevel::close() { this->handle->close(); }
|
||||
|
||||
QString Toplevel::appId() const { return this->handle->appId(); }
|
||||
QString Toplevel::title() const { return this->handle->title(); }
|
||||
|
|
|
@ -56,6 +56,10 @@ public:
|
|||
/// The request may be ignored by the compositor.
|
||||
Q_INVOKABLE void activate();
|
||||
|
||||
/// Request that this toplevel is closed.
|
||||
/// The request may be ignored by the compositor or the application.
|
||||
Q_INVOKABLE void close();
|
||||
|
||||
/// Request that this toplevel is fullscreened on a specific screen.
|
||||
/// The request may be ignored by the compositor.
|
||||
Q_INVOKABLE void fullscreenOn(QuickshellScreenInfo* screen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue