Deskflow
1.26.0.418
Keyboard and mouse sharing utility
Toggle main menu visibility
Loading...
Searching...
No Matches
ValidationError.h
Go to the documentation of this file.
1
/*
2
* Deskflow -- mouse and keyboard sharing utility
3
* SPDX-FileCopyrightText: (C) 2025 Deskflow Developers
4
* SPDX-FileCopyrightText: (C) 2024 Synergy App Ltd
5
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6
*/
7
8
#pragma once
9
10
#include <QObject>
11
#include <QString>
12
13
class
QLabel;
14
15
namespace
validators
{
16
17
class
ValidationError
:
public
QObject
18
{
19
public
:
20
explicit
ValidationError
(QObject *parent, QLabel *label =
nullptr
);
21
const
QString &
message
()
const
;
22
void
setMessage
(
const
QString &
message
);
23
24
private
:
25
void
clear();
26
QString m_message;
27
QLabel *m_label =
nullptr
;
28
};
29
30
}
// namespace validators
validators::ValidationError::ValidationError
ValidationError(QObject *parent, QLabel *label=nullptr)
Definition
ValidationError.cpp:15
validators::ValidationError::setMessage
void setMessage(const QString &message)
Definition
ValidationError.cpp:34
validators::ValidationError::message
const QString & message() const
Definition
ValidationError.cpp:29
validators
Definition
AliasValidator.cpp:17
src
lib
gui
validators
ValidationError.h
Generated by
1.18.0