]> class ;&endl; // child element accessors&endl; enum Kind { Unknown = 0 , };&endl; inline Kind kind() const { return m_kind; }&endl;&endl; inline element () const { return m_ ; }&endl; takeElement ();&endl; void setElement ( a);&endl; inline bool hasElement () const { return m_children & ; }&endl; void clearElement ();&endl; &endl; &endl; // child element data&endl; Kind m_kind = Unknown;&endl; &endl; // child element data&endl; uint m_children = 0;&endl; m_ = 0 = 0.0 = false = nullptr ;&endl; &endl; enum Child {&endl; = , &endl; };&endl; // attribute accessors&endl; inline bool hasAttribute () const { return m_has_attr_ ; }&endl; inline attribute () const { return m_attr_ ; }&endl; inline void setAttribute ( a) { m_attr_ = a; m_has_attr_ = true; }&endl; inline void clearAttribute () { m_has_attr_ = false; }&endl;&endl; class QDESIGNER_UILIB_EXPORT {&endl; Q_DISABLE_COPY_MOVE( )&endl; public:&endl; () = default;&endl; ~ ();&endl;&endl; void read(QXmlStreamReader &reader);&endl; void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;&endl;&endl; inline QString text() const { return m_text; }&endl; inline void setText(const QString &s) { m_text = s; }&endl;&endl; private:&endl; QString m_text;&endl;&endl; void clear();&endl;&endl; // attribute data&endl; m_attr_ = 0 = 0.0 = false ;&endl; bool m_has_attr_ = false;&endl; &endl; };&endl;&endl; @LICENSE@ // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists for the convenience // of Qt Widgets Designer. This header // file may change from version to version without notice, or even be removed. // // We mean it. // // THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT! #ifndef UI4_H #define UI4_H #include <qlist.h> #include <qstring.h> #include <qstringlist.h> #include <qxmlstream.h> #include <qglobal.h> QT_BEGIN_NAMESPACE #define QDESIGNER_UILIB_EXTERN Q_DECL_EXPORT #define QDESIGNER_UILIB_IMPORT Q_DECL_IMPORT #if defined(QT_DESIGNER_STATIC) || defined(QT_UIC) || defined(QT_UIC3) # define QDESIGNER_UILIB_EXPORT #elif defined(QDESIGNER_UILIB_LIBRARY) # define QDESIGNER_UILIB_EXPORT QDESIGNER_UILIB_EXTERN #else # define QDESIGNER_UILIB_EXPORT QDESIGNER_UILIB_IMPORT #endif #ifndef QDESIGNER_UILIB_EXPORT # define QDESIGNER_UILIB_EXPORT #endif #ifdef QFORMINTERNAL_NAMESPACE namespace QFormInternal { #endif &endl; /*******************************************************************************&endl; ** Forward declarations&endl; */&endl;&endl; &endl; /*******************************************************************************&endl; ** Declarations&endl; */&endl;&endl; #ifdef QFORMINTERNAL_NAMESPACE } #endif QT_END_NAMESPACE #endif // UI4_H