mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Use nodiscard in WaylandIntegration
This commit is contained in:
parent
0b86feeeb5
commit
30d8894c30
1 changed files with 4 additions and 4 deletions
|
@ -12,11 +12,11 @@ namespace internal {
|
||||||
|
|
||||||
class WaylandIntegration {
|
class WaylandIntegration {
|
||||||
public:
|
public:
|
||||||
static WaylandIntegration *Instance();
|
[[nodiscard]] static WaylandIntegration *Instance();
|
||||||
void waitForInterfaceAnnounce();
|
void waitForInterfaceAnnounce();
|
||||||
bool supportsXdgDecoration();
|
[[nodiscard]] bool supportsXdgDecoration();
|
||||||
QString nativeHandle(QWindow *window);
|
[[nodiscard]] QString nativeHandle(QWindow *window);
|
||||||
bool skipTaskbarSupported();
|
[[nodiscard]] bool skipTaskbarSupported();
|
||||||
void skipTaskbar(QWindow *window, bool skip);
|
void skipTaskbar(QWindow *window, bool skip);
|
||||||
void registerAppMenu(
|
void registerAppMenu(
|
||||||
QWindow *window,
|
QWindow *window,
|
||||||
|
|
Loading…
Add table
Reference in a new issue