]> class ;&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; m_ ;&endl; enum Child {&endl; = , &endl; };&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; public:&endl; ();&endl; ~ ();&endl;&endl; void read(QXmlStreamReader &reader);&endl; #ifdef QUILOADER_QDOM_READ&endl; void read(const QDomElement &node);&endl; #endif&endl; void write(QXmlStreamWriter &writer, const QString &tagName = QString()) const;&endl; inline QString text() const { return m_text; }&endl; inline void setText(const QString &s) { m_text = s; }&endl; &endl; // attribute accessors&endl; // child element accessors&endl; private:&endl; QString m_text;&endl; void clear(bool clear_all = true);&endl;&endl; // attribute data&endl; m_attr_ ;&endl; bool m_has_attr_ ;&endl;&endl; // child element data&endl; Kind m_kind;&endl; uint m_children;&endl; &endl; (const &other);&endl; void operator = (const &other);&endl; };&endl;&endl; /**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercial Usage ** This file contains pre-release code and may not be distributed. ** You may use this file in accordance with the terms and conditions ** contained in the either Technology Preview License Agreement or the ** Beta Release License Agreement. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** If you are unsure which license is appropriate for your use, please ** contact the sales department at http://www.qtsoftware.com/contact. ** $QT_END_LICENSE$ ** ****************************************************************************/ // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists for the convenience // of Qt Designer. This header // file may change from version to version without notice, or even be removed. // // We mean it. // // THIS FILE IS AUTOMATICALLY GENERATED #ifndef UI4_H #define UI4_H #include <QtCore/QList> #include <QtCore/QString> #include <QtCore/QStringList> #include <QtCore/QXmlStreamReader> #include <QtCore/QXmlStreamWriter> #include <QtCore/qglobal.h> #if defined(QT_UIC3) #define QUILOADER_QDOM_READ #endif QT_BEGIN_NAMESPACE #ifdef QUILOADER_QDOM_READ class QDomElement; #endif #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