chore: ValidatorError, create explicit private section
This commit is contained in:
parent
2cbe2c65e8
commit
b56dd3f387
1 changed files with 4 additions and 3 deletions
|
|
@ -14,13 +14,14 @@ namespace validators {
|
|||
|
||||
class ValidationError : public QObject
|
||||
{
|
||||
QString m_message;
|
||||
QLabel *m_pLabel = nullptr;
|
||||
|
||||
public:
|
||||
explicit ValidationError(QObject *parent, QLabel *label = nullptr);
|
||||
const QString &message() const;
|
||||
void setMessage(const QString &message);
|
||||
|
||||
private:
|
||||
QString m_message;
|
||||
QLabel *m_pLabel = nullptr;
|
||||
};
|
||||
|
||||
} // namespace validators
|
||||
|
|
|
|||
Loading…
Reference in a new issue