blob: 6f965b84d539c54c2797ea578c81edb0ada3d038 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef VALIDATOR_H
#define VALIDATOR_H
#include "treewalker.h"
QT_BEGIN_NAMESPACE
class QTextStream;
class Driver;
class Uic;
struct Option;
struct Validator : public TreeWalker
{
Validator(Uic *uic);
void acceptUI(DomUI *node) override;
void acceptWidget(DomWidget *node) override;
void acceptLayoutItem(DomLayoutItem *node) override;
void acceptLayout(DomLayout *node) override;
void acceptActionGroup(DomActionGroup *node) override;
void acceptAction(DomAction *node) override;
private:
Driver *m_driver;
};
QT_END_NAMESPACE
#endif // VALIDATOR_H
|