Deskflow
1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
WaylandWarnings.h
Go to the documentation of this file.
1
/*
2
* Deskflow -- mouse and keyboard sharing utility
3
* SPDX-FileCopyrightText: (C) 2024 Symless Ltd.
4
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
5
*/
6
7
#pragma once
8
9
#include <QWidget>
10
11
#include "
platform/Wayland.h
"
12
13
namespace
deskflow::gui::core
{
14
15
class
WaylandWarnings
16
{
17
public
:
18
explicit
WaylandWarnings
() =
default
;
19
20
void
showOnce
(
21
QWidget *parent,
bool
hasEi =
platform::kHasEi
,
bool
hasPortal =
platform::kHasPortal
,
22
bool
hasPortalInputCapture =
platform::kHasPortalInputCapture
23
);
24
25
private
:
26
bool
m_errorShown{
false
};
27
};
28
29
}
// namespace deskflow::gui::core
Wayland.h
deskflow::gui::core::WaylandWarnings::showOnce
void showOnce(QWidget *parent, bool hasEi=platform::kHasEi, bool hasPortal=platform::kHasPortal, bool hasPortalInputCapture=platform::kHasPortalInputCapture)
Definition
WaylandWarnings.cpp:16
deskflow::gui::core::WaylandWarnings::WaylandWarnings
WaylandWarnings()=default
deskflow::gui::core
Definition
WaylandWarnings.cpp:14
deskflow::platform::kHasEi
const auto kHasEi
Definition
Wayland.h:16
deskflow::platform::kHasPortalInputCapture
const auto kHasPortalInputCapture
Definition
Wayland.h:28
deskflow::platform::kHasPortal
const auto kHasPortal
Definition
Wayland.h:22
src
lib
gui
core
WaylandWarnings.h
Generated by
1.14.0