Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
provider.h
Go to the documentation of this file.
1// Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Rafael Roquetto <rafael.roquetto@kdab.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef PROVIDER_H
5#define PROVIDER_H
6
7#include <qlist.h>
8#include <qstring.h>
9#include <qstringlist.h>
10#include <qtypeinfo.h>
11
54
55struct TraceEnum {
57 struct EnumValue {
59 int value;
60 int range;
61 };
62 QList<EnumValue> values;
64};
65
66struct TraceFlags {
68 struct FlagValue {
70 int value;
71 };
72 QList<FlagValue> values;
73};
74
80
82{
84 QList<Tracepoint> tracepoints;
86 QList<TraceEnum> enumerations;
87 QList<TraceFlags> flags;
88};
89
90Provider parseProvider(const QString &filename);
91
92#endif // PROVIDER_H
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Provider parseProvider(const QString &filename)
Definition provider.cpp:292
@ Q_RELOCATABLE_TYPE
Definition qtypeinfo.h:158
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
Definition qtypeinfo.h:180
QStringList prefixText
Definition provider.h:85
QList< TraceEnum > enumerations
Definition provider.h:86
QList< TraceFlags > flags
Definition provider.h:87
QString name
Definition provider.h:83
QList< Tracepoint > tracepoints
Definition provider.h:84
int valueSize
Definition provider.h:63
QString name
Definition provider.h:56
QList< EnumValue > values
Definition provider.h:62
QString name
Definition provider.h:67
QList< FlagValue > values
Definition provider.h:72
QString paramType
Definition provider.h:43
QList< Argument > args
Definition provider.h:51
QList< Field > fields
Definition provider.h:52
QString name
Definition provider.h:50
Definition moc.h:23