1
/****************************************************************************
3
** Copyright (C) 1992-2005 Trolltech AS. All rights reserved.
5
** This file is part of the designer application of the Qt Toolkit.
7
** This file may be distributed under the terms of the Q Public License
8
** as defined by Trolltech AS of Norway and appearing in the file
9
** LICENSE.QPL included in the packaging of this file.
11
** This file may be distributed and/or modified under the terms of the
12
** GNU General Public License version 2 as published by the Free Software
13
** Foundation and appearing in the file LICENSE.GPL included in the
14
** packaging of this file.
16
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
17
** information about Qt Commercial License Agreements.
18
** See http://www.trolltech.com/qpl/ for QPL licensing information.
19
** See http://www.trolltech.com/gpl/ for GPL licensing information.
21
** Contact info@trolltech.com if any conditions of this licensing are
24
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
25
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
27
****************************************************************************/
31
#include <QtCore/QList>
32
#include <QtCore/QString>
33
#include <QtCore/QStringList>
38
#include <QtCore/qglobal.h>
39
#if defined(QT_DESIGNER) && defined(Q_OS_WIN)
40
# ifdef QT_UILIB_LIBRARY
41
# define QT_UI4_EXPORT __declspec(dllexport)
43
# define QT_UI4_EXPORT __declspec(dllimport)
48
# define QT_UI4_EXPORT
51
/*******************************************************************************
52
** Forward declarations
66
class DomCustomWidgets;
68
class DomCustomWidget;
70
class DomPropertyData;
71
class DomSizePolicyData;
72
class DomLayoutDefault;
73
class DomLayoutFunction;
94
class DomResourcePixmap;
99
class DomConnectionHints;
100
class DomConnectionHint;
102
/*******************************************************************************
106
class QT_UI4_EXPORT DomUI {
111
void read(const QDomElement &node);
112
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
113
inline QString text() const { return m_text; }
114
inline void setText(const QString &s) { m_text = s; }
116
// attribute accessors
117
inline bool hasAttributeVersion() { return m_has_attr_version; }
118
inline QString attributeVersion() { return m_attr_version; }
119
inline void setAttributeVersion(const QString& a) { m_attr_version = a; m_has_attr_version = true; }
120
inline void clearAttributeVersion() { m_has_attr_version = false; }
122
inline bool hasAttributeStdSetDef() { return m_has_attr_stdSetDef; }
123
inline int attributeStdSetDef() { return m_attr_stdSetDef; }
124
inline void setAttributeStdSetDef(int a) { m_attr_stdSetDef = a; m_has_attr_stdSetDef = true; }
125
inline void clearAttributeStdSetDef() { m_has_attr_stdSetDef = false; }
127
// child element accessors
128
inline QString elementAuthor() { return m_author; }
129
void setElementAuthor(const QString& a);
131
inline QString elementComment() { return m_comment; }
132
void setElementComment(const QString& a);
134
inline QString elementExportMacro() { return m_exportMacro; }
135
void setElementExportMacro(const QString& a);
137
inline QString elementClass() { return m_class; }
138
void setElementClass(const QString& a);
140
inline DomWidget* elementWidget() { return m_widget; }
141
void setElementWidget(DomWidget* a);
143
inline DomLayoutDefault* elementLayoutDefault() { return m_layoutDefault; }
144
void setElementLayoutDefault(DomLayoutDefault* a);
146
inline DomLayoutFunction* elementLayoutFunction() { return m_layoutFunction; }
147
void setElementLayoutFunction(DomLayoutFunction* a);
149
inline QString elementPixmapFunction() { return m_pixmapFunction; }
150
void setElementPixmapFunction(const QString& a);
152
inline DomCustomWidgets* elementCustomWidgets() { return m_customWidgets; }
153
void setElementCustomWidgets(DomCustomWidgets* a);
155
inline DomTabStops* elementTabStops() { return m_tabStops; }
156
void setElementTabStops(DomTabStops* a);
158
inline DomImages* elementImages() { return m_images; }
159
void setElementImages(DomImages* a);
161
inline DomIncludes* elementIncludes() { return m_includes; }
162
void setElementIncludes(DomIncludes* a);
164
inline DomResources* elementResources() { return m_resources; }
165
void setElementResources(DomResources* a);
167
inline DomConnections* elementConnections() { return m_connections; }
168
void setElementConnections(DomConnections* a);
172
void clear(bool clear_all = true);
175
QString m_attr_version;
176
bool m_has_attr_version;
178
int m_attr_stdSetDef;
179
bool m_has_attr_stdSetDef;
181
// child element data
184
QString m_exportMacro;
187
DomLayoutDefault* m_layoutDefault;
188
DomLayoutFunction* m_layoutFunction;
189
QString m_pixmapFunction;
190
DomCustomWidgets* m_customWidgets;
191
DomTabStops* m_tabStops;
193
DomIncludes* m_includes;
194
DomResources* m_resources;
195
DomConnections* m_connections;
197
DomUI(const DomUI &other);
198
void operator = (const DomUI&other);
201
class QT_UI4_EXPORT DomIncludes {
206
void read(const QDomElement &node);
207
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
208
inline QString text() const { return m_text; }
209
inline void setText(const QString &s) { m_text = s; }
211
// attribute accessors
212
// child element accessors
213
inline QList<DomInclude*> elementInclude() { return m_include; }
214
void setElementInclude(const QList<DomInclude*>& a);
218
void clear(bool clear_all = true);
221
// child element data
222
QList<DomInclude*> m_include;
224
DomIncludes(const DomIncludes &other);
225
void operator = (const DomIncludes&other);
228
class QT_UI4_EXPORT DomInclude {
233
void read(const QDomElement &node);
234
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
235
inline QString text() const { return m_text; }
236
inline void setText(const QString &s) { m_text = s; }
238
// attribute accessors
239
inline bool hasAttributeLocation() { return m_has_attr_location; }
240
inline QString attributeLocation() { return m_attr_location; }
241
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
242
inline void clearAttributeLocation() { m_has_attr_location = false; }
244
inline bool hasAttributeImpldecl() { return m_has_attr_impldecl; }
245
inline QString attributeImpldecl() { return m_attr_impldecl; }
246
inline void setAttributeImpldecl(const QString& a) { m_attr_impldecl = a; m_has_attr_impldecl = true; }
247
inline void clearAttributeImpldecl() { m_has_attr_impldecl = false; }
249
// child element accessors
252
void clear(bool clear_all = true);
255
QString m_attr_location;
256
bool m_has_attr_location;
258
QString m_attr_impldecl;
259
bool m_has_attr_impldecl;
261
// child element data
263
DomInclude(const DomInclude &other);
264
void operator = (const DomInclude&other);
267
class QT_UI4_EXPORT DomResources {
272
void read(const QDomElement &node);
273
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
274
inline QString text() const { return m_text; }
275
inline void setText(const QString &s) { m_text = s; }
277
// attribute accessors
278
inline bool hasAttributeName() { return m_has_attr_name; }
279
inline QString attributeName() { return m_attr_name; }
280
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
281
inline void clearAttributeName() { m_has_attr_name = false; }
283
// child element accessors
284
inline QList<DomResource*> elementInclude() { return m_include; }
285
void setElementInclude(const QList<DomResource*>& a);
289
void clear(bool clear_all = true);
293
bool m_has_attr_name;
295
// child element data
296
QList<DomResource*> m_include;
298
DomResources(const DomResources &other);
299
void operator = (const DomResources&other);
302
class QT_UI4_EXPORT DomResource {
307
void read(const QDomElement &node);
308
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
309
inline QString text() const { return m_text; }
310
inline void setText(const QString &s) { m_text = s; }
312
// attribute accessors
313
inline bool hasAttributeLocation() { return m_has_attr_location; }
314
inline QString attributeLocation() { return m_attr_location; }
315
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
316
inline void clearAttributeLocation() { m_has_attr_location = false; }
318
// child element accessors
321
void clear(bool clear_all = true);
324
QString m_attr_location;
325
bool m_has_attr_location;
327
// child element data
329
DomResource(const DomResource &other);
330
void operator = (const DomResource&other);
333
class QT_UI4_EXPORT DomActionGroup {
338
void read(const QDomElement &node);
339
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
340
inline QString text() const { return m_text; }
341
inline void setText(const QString &s) { m_text = s; }
343
// attribute accessors
344
inline bool hasAttributeName() { return m_has_attr_name; }
345
inline QString attributeName() { return m_attr_name; }
346
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
347
inline void clearAttributeName() { m_has_attr_name = false; }
349
// child element accessors
350
inline QList<DomAction*> elementAction() { return m_action; }
351
void setElementAction(const QList<DomAction*>& a);
353
inline QList<DomActionGroup*> elementActionGroup() { return m_actionGroup; }
354
void setElementActionGroup(const QList<DomActionGroup*>& a);
356
inline QList<DomProperty*> elementProperty() { return m_property; }
357
void setElementProperty(const QList<DomProperty*>& a);
359
inline QList<DomProperty*> elementAttribute() { return m_attribute; }
360
void setElementAttribute(const QList<DomProperty*>& a);
364
void clear(bool clear_all = true);
368
bool m_has_attr_name;
370
// child element data
371
QList<DomAction*> m_action;
372
QList<DomActionGroup*> m_actionGroup;
373
QList<DomProperty*> m_property;
374
QList<DomProperty*> m_attribute;
376
DomActionGroup(const DomActionGroup &other);
377
void operator = (const DomActionGroup&other);
380
class QT_UI4_EXPORT DomAction {
385
void read(const QDomElement &node);
386
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
387
inline QString text() const { return m_text; }
388
inline void setText(const QString &s) { m_text = s; }
390
// attribute accessors
391
inline bool hasAttributeName() { return m_has_attr_name; }
392
inline QString attributeName() { return m_attr_name; }
393
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
394
inline void clearAttributeName() { m_has_attr_name = false; }
396
inline bool hasAttributeMenu() { return m_has_attr_menu; }
397
inline QString attributeMenu() { return m_attr_menu; }
398
inline void setAttributeMenu(const QString& a) { m_attr_menu = a; m_has_attr_menu = true; }
399
inline void clearAttributeMenu() { m_has_attr_menu = false; }
401
// child element accessors
402
inline QList<DomProperty*> elementProperty() { return m_property; }
403
void setElementProperty(const QList<DomProperty*>& a);
405
inline QList<DomProperty*> elementAttribute() { return m_attribute; }
406
void setElementAttribute(const QList<DomProperty*>& a);
410
void clear(bool clear_all = true);
414
bool m_has_attr_name;
417
bool m_has_attr_menu;
419
// child element data
420
QList<DomProperty*> m_property;
421
QList<DomProperty*> m_attribute;
423
DomAction(const DomAction &other);
424
void operator = (const DomAction&other);
427
class QT_UI4_EXPORT DomActionRef {
432
void read(const QDomElement &node);
433
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
434
inline QString text() const { return m_text; }
435
inline void setText(const QString &s) { m_text = s; }
437
// attribute accessors
438
inline bool hasAttributeName() { return m_has_attr_name; }
439
inline QString attributeName() { return m_attr_name; }
440
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
441
inline void clearAttributeName() { m_has_attr_name = false; }
443
// child element accessors
446
void clear(bool clear_all = true);
450
bool m_has_attr_name;
452
// child element data
454
DomActionRef(const DomActionRef &other);
455
void operator = (const DomActionRef&other);
458
class QT_UI4_EXPORT DomImages {
463
void read(const QDomElement &node);
464
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
465
inline QString text() const { return m_text; }
466
inline void setText(const QString &s) { m_text = s; }
468
// attribute accessors
469
// child element accessors
470
inline QList<DomImage*> elementImage() { return m_image; }
471
void setElementImage(const QList<DomImage*>& a);
475
void clear(bool clear_all = true);
478
// child element data
479
QList<DomImage*> m_image;
481
DomImages(const DomImages &other);
482
void operator = (const DomImages&other);
485
class QT_UI4_EXPORT DomImage {
490
void read(const QDomElement &node);
491
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
492
inline QString text() const { return m_text; }
493
inline void setText(const QString &s) { m_text = s; }
495
// attribute accessors
496
inline bool hasAttributeName() { return m_has_attr_name; }
497
inline QString attributeName() { return m_attr_name; }
498
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
499
inline void clearAttributeName() { m_has_attr_name = false; }
501
// child element accessors
502
inline DomImageData* elementData() { return m_data; }
503
void setElementData(DomImageData* a);
507
void clear(bool clear_all = true);
511
bool m_has_attr_name;
513
// child element data
514
DomImageData* m_data;
516
DomImage(const DomImage &other);
517
void operator = (const DomImage&other);
520
class QT_UI4_EXPORT DomImageData {
525
void read(const QDomElement &node);
526
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
527
inline QString text() const { return m_text; }
528
inline void setText(const QString &s) { m_text = s; }
530
// attribute accessors
531
inline bool hasAttributeFormat() { return m_has_attr_format; }
532
inline QString attributeFormat() { return m_attr_format; }
533
inline void setAttributeFormat(const QString& a) { m_attr_format = a; m_has_attr_format = true; }
534
inline void clearAttributeFormat() { m_has_attr_format = false; }
536
inline bool hasAttributeLength() { return m_has_attr_length; }
537
inline int attributeLength() { return m_attr_length; }
538
inline void setAttributeLength(int a) { m_attr_length = a; m_has_attr_length = true; }
539
inline void clearAttributeLength() { m_has_attr_length = false; }
541
// child element accessors
544
void clear(bool clear_all = true);
547
QString m_attr_format;
548
bool m_has_attr_format;
551
bool m_has_attr_length;
553
// child element data
555
DomImageData(const DomImageData &other);
556
void operator = (const DomImageData&other);
559
class QT_UI4_EXPORT DomCustomWidgets {
564
void read(const QDomElement &node);
565
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
566
inline QString text() const { return m_text; }
567
inline void setText(const QString &s) { m_text = s; }
569
// attribute accessors
570
// child element accessors
571
inline QList<DomCustomWidget*> elementCustomWidget() { return m_customWidget; }
572
void setElementCustomWidget(const QList<DomCustomWidget*>& a);
576
void clear(bool clear_all = true);
579
// child element data
580
QList<DomCustomWidget*> m_customWidget;
582
DomCustomWidgets(const DomCustomWidgets &other);
583
void operator = (const DomCustomWidgets&other);
586
class QT_UI4_EXPORT DomHeader {
591
void read(const QDomElement &node);
592
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
593
inline QString text() const { return m_text; }
594
inline void setText(const QString &s) { m_text = s; }
596
// attribute accessors
597
inline bool hasAttributeLocation() { return m_has_attr_location; }
598
inline QString attributeLocation() { return m_attr_location; }
599
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
600
inline void clearAttributeLocation() { m_has_attr_location = false; }
602
// child element accessors
605
void clear(bool clear_all = true);
608
QString m_attr_location;
609
bool m_has_attr_location;
611
// child element data
613
DomHeader(const DomHeader &other);
614
void operator = (const DomHeader&other);
617
class QT_UI4_EXPORT DomCustomWidget {
622
void read(const QDomElement &node);
623
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
624
inline QString text() const { return m_text; }
625
inline void setText(const QString &s) { m_text = s; }
627
// attribute accessors
628
// child element accessors
629
inline QString elementClass() { return m_class; }
630
void setElementClass(const QString& a);
632
inline QString elementExtends() { return m_extends; }
633
void setElementExtends(const QString& a);
635
inline DomHeader* elementHeader() { return m_header; }
636
void setElementHeader(DomHeader* a);
638
inline DomSize* elementSizeHint() { return m_sizeHint; }
639
void setElementSizeHint(DomSize* a);
641
inline int elementContainer() { return m_container; }
642
void setElementContainer(int a);
644
inline DomSizePolicyData* elementSizePolicy() { return m_sizePolicy; }
645
void setElementSizePolicy(DomSizePolicyData* a);
647
inline QString elementPixmap() { return m_pixmap; }
648
void setElementPixmap(const QString& a);
650
inline DomProperties* elementProperties() { return m_properties; }
651
void setElementProperties(DomProperties* a);
655
void clear(bool clear_all = true);
658
// child element data
664
DomSizePolicyData* m_sizePolicy;
666
DomProperties* m_properties;
668
DomCustomWidget(const DomCustomWidget &other);
669
void operator = (const DomCustomWidget&other);
672
class QT_UI4_EXPORT DomProperties {
677
void read(const QDomElement &node);
678
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
679
inline QString text() const { return m_text; }
680
inline void setText(const QString &s) { m_text = s; }
682
// attribute accessors
683
// child element accessors
684
inline QList<DomPropertyData*> elementProperty() { return m_property; }
685
void setElementProperty(const QList<DomPropertyData*>& a);
689
void clear(bool clear_all = true);
692
// child element data
693
QList<DomPropertyData*> m_property;
695
DomProperties(const DomProperties &other);
696
void operator = (const DomProperties&other);
699
class QT_UI4_EXPORT DomPropertyData {
704
void read(const QDomElement &node);
705
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
706
inline QString text() const { return m_text; }
707
inline void setText(const QString &s) { m_text = s; }
709
// attribute accessors
710
inline bool hasAttributeType() { return m_has_attr_type; }
711
inline QString attributeType() { return m_attr_type; }
712
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
713
inline void clearAttributeType() { m_has_attr_type = false; }
715
// child element accessors
718
void clear(bool clear_all = true);
722
bool m_has_attr_type;
724
// child element data
726
DomPropertyData(const DomPropertyData &other);
727
void operator = (const DomPropertyData&other);
730
class QT_UI4_EXPORT DomSizePolicyData {
733
~DomSizePolicyData();
735
void read(const QDomElement &node);
736
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
737
inline QString text() const { return m_text; }
738
inline void setText(const QString &s) { m_text = s; }
740
// attribute accessors
741
// child element accessors
742
inline int elementHorData() { return m_horData; }
743
void setElementHorData(int a);
745
inline int elementVerData() { return m_verData; }
746
void setElementVerData(int a);
750
void clear(bool clear_all = true);
753
// child element data
757
DomSizePolicyData(const DomSizePolicyData &other);
758
void operator = (const DomSizePolicyData&other);
761
class QT_UI4_EXPORT DomLayoutDefault {
766
void read(const QDomElement &node);
767
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
768
inline QString text() const { return m_text; }
769
inline void setText(const QString &s) { m_text = s; }
771
// attribute accessors
772
inline bool hasAttributeSpacing() { return m_has_attr_spacing; }
773
inline int attributeSpacing() { return m_attr_spacing; }
774
inline void setAttributeSpacing(int a) { m_attr_spacing = a; m_has_attr_spacing = true; }
775
inline void clearAttributeSpacing() { m_has_attr_spacing = false; }
777
inline bool hasAttributeMargin() { return m_has_attr_margin; }
778
inline int attributeMargin() { return m_attr_margin; }
779
inline void setAttributeMargin(int a) { m_attr_margin = a; m_has_attr_margin = true; }
780
inline void clearAttributeMargin() { m_has_attr_margin = false; }
782
// child element accessors
785
void clear(bool clear_all = true);
789
bool m_has_attr_spacing;
792
bool m_has_attr_margin;
794
// child element data
796
DomLayoutDefault(const DomLayoutDefault &other);
797
void operator = (const DomLayoutDefault&other);
800
class QT_UI4_EXPORT DomLayoutFunction {
803
~DomLayoutFunction();
805
void read(const QDomElement &node);
806
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
807
inline QString text() const { return m_text; }
808
inline void setText(const QString &s) { m_text = s; }
810
// attribute accessors
811
inline bool hasAttributeSpacing() { return m_has_attr_spacing; }
812
inline QString attributeSpacing() { return m_attr_spacing; }
813
inline void setAttributeSpacing(const QString& a) { m_attr_spacing = a; m_has_attr_spacing = true; }
814
inline void clearAttributeSpacing() { m_has_attr_spacing = false; }
816
inline bool hasAttributeMargin() { return m_has_attr_margin; }
817
inline QString attributeMargin() { return m_attr_margin; }
818
inline void setAttributeMargin(const QString& a) { m_attr_margin = a; m_has_attr_margin = true; }
819
inline void clearAttributeMargin() { m_has_attr_margin = false; }
821
// child element accessors
824
void clear(bool clear_all = true);
827
QString m_attr_spacing;
828
bool m_has_attr_spacing;
830
QString m_attr_margin;
831
bool m_has_attr_margin;
833
// child element data
835
DomLayoutFunction(const DomLayoutFunction &other);
836
void operator = (const DomLayoutFunction&other);
839
class QT_UI4_EXPORT DomTabStops {
844
void read(const QDomElement &node);
845
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
846
inline QString text() const { return m_text; }
847
inline void setText(const QString &s) { m_text = s; }
849
// attribute accessors
850
// child element accessors
851
inline QStringList elementTabStop() { return m_tabStop; }
852
void setElementTabStop(const QStringList& a);
856
void clear(bool clear_all = true);
859
// child element data
860
QStringList m_tabStop;
862
DomTabStops(const DomTabStops &other);
863
void operator = (const DomTabStops&other);
866
class QT_UI4_EXPORT DomLayout {
871
void read(const QDomElement &node);
872
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
873
inline QString text() const { return m_text; }
874
inline void setText(const QString &s) { m_text = s; }
876
// attribute accessors
877
inline bool hasAttributeClass() { return m_has_attr_class; }
878
inline QString attributeClass() { return m_attr_class; }
879
inline void setAttributeClass(const QString& a) { m_attr_class = a; m_has_attr_class = true; }
880
inline void clearAttributeClass() { m_has_attr_class = false; }
882
// child element accessors
883
inline QList<DomProperty*> elementProperty() { return m_property; }
884
void setElementProperty(const QList<DomProperty*>& a);
886
inline QList<DomProperty*> elementAttribute() { return m_attribute; }
887
void setElementAttribute(const QList<DomProperty*>& a);
889
inline QList<DomLayoutItem*> elementItem() { return m_item; }
890
void setElementItem(const QList<DomLayoutItem*>& a);
894
void clear(bool clear_all = true);
897
QString m_attr_class;
898
bool m_has_attr_class;
900
// child element data
901
QList<DomProperty*> m_property;
902
QList<DomProperty*> m_attribute;
903
QList<DomLayoutItem*> m_item;
905
DomLayout(const DomLayout &other);
906
void operator = (const DomLayout&other);
909
class QT_UI4_EXPORT DomLayoutItem {
914
void read(const QDomElement &node);
915
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
916
inline QString text() const { return m_text; }
917
inline void setText(const QString &s) { m_text = s; }
919
// attribute accessors
920
inline bool hasAttributeRow() { return m_has_attr_row; }
921
inline int attributeRow() { return m_attr_row; }
922
inline void setAttributeRow(int a) { m_attr_row = a; m_has_attr_row = true; }
923
inline void clearAttributeRow() { m_has_attr_row = false; }
925
inline bool hasAttributeColumn() { return m_has_attr_column; }
926
inline int attributeColumn() { return m_attr_column; }
927
inline void setAttributeColumn(int a) { m_attr_column = a; m_has_attr_column = true; }
928
inline void clearAttributeColumn() { m_has_attr_column = false; }
930
inline bool hasAttributeRowSpan() { return m_has_attr_rowSpan; }
931
inline int attributeRowSpan() { return m_attr_rowSpan; }
932
inline void setAttributeRowSpan(int a) { m_attr_rowSpan = a; m_has_attr_rowSpan = true; }
933
inline void clearAttributeRowSpan() { m_has_attr_rowSpan = false; }
935
inline bool hasAttributeColSpan() { return m_has_attr_colSpan; }
936
inline int attributeColSpan() { return m_attr_colSpan; }
937
inline void setAttributeColSpan(int a) { m_attr_colSpan = a; m_has_attr_colSpan = true; }
938
inline void clearAttributeColSpan() { m_has_attr_colSpan = false; }
940
// child element accessors
941
enum Kind { Unknown = 0, Widget, Layout, Spacer };
942
inline Kind kind() { return m_kind; }
944
inline DomWidget* elementWidget() { return m_widget; }
945
void setElementWidget(DomWidget* a);
947
inline DomLayout* elementLayout() { return m_layout; }
948
void setElementLayout(DomLayout* a);
950
inline DomSpacer* elementSpacer() { return m_spacer; }
951
void setElementSpacer(DomSpacer* a);
955
void clear(bool clear_all = true);
962
bool m_has_attr_column;
965
bool m_has_attr_rowSpan;
968
bool m_has_attr_colSpan;
970
// child element data
976
DomLayoutItem(const DomLayoutItem &other);
977
void operator = (const DomLayoutItem&other);
980
class QT_UI4_EXPORT DomRow {
985
void read(const QDomElement &node);
986
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
987
inline QString text() const { return m_text; }
988
inline void setText(const QString &s) { m_text = s; }
990
// attribute accessors
991
// child element accessors
992
inline QList<DomProperty*> elementProperty() { return m_property; }
993
void setElementProperty(const QList<DomProperty*>& a);
997
void clear(bool clear_all = true);
1000
// child element data
1001
QList<DomProperty*> m_property;
1003
DomRow(const DomRow &other);
1004
void operator = (const DomRow&other);
1007
class QT_UI4_EXPORT DomColumn {
1012
void read(const QDomElement &node);
1013
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1014
inline QString text() const { return m_text; }
1015
inline void setText(const QString &s) { m_text = s; }
1017
// attribute accessors
1018
// child element accessors
1019
inline QList<DomProperty*> elementProperty() { return m_property; }
1020
void setElementProperty(const QList<DomProperty*>& a);
1024
void clear(bool clear_all = true);
1027
// child element data
1028
QList<DomProperty*> m_property;
1030
DomColumn(const DomColumn &other);
1031
void operator = (const DomColumn&other);
1034
class QT_UI4_EXPORT DomItem {
1039
void read(const QDomElement &node);
1040
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1041
inline QString text() const { return m_text; }
1042
inline void setText(const QString &s) { m_text = s; }
1044
// attribute accessors
1045
// child element accessors
1046
inline QList<DomProperty*> elementProperty() { return m_property; }
1047
void setElementProperty(const QList<DomProperty*>& a);
1049
inline QList<DomItem*> elementItem() { return m_item; }
1050
void setElementItem(const QList<DomItem*>& a);
1054
void clear(bool clear_all = true);
1057
// child element data
1058
QList<DomProperty*> m_property;
1059
QList<DomItem*> m_item;
1061
DomItem(const DomItem &other);
1062
void operator = (const DomItem&other);
1065
class QT_UI4_EXPORT DomWidget {
1070
void read(const QDomElement &node);
1071
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1072
inline QString text() const { return m_text; }
1073
inline void setText(const QString &s) { m_text = s; }
1075
// attribute accessors
1076
inline bool hasAttributeClass() { return m_has_attr_class; }
1077
inline QString attributeClass() { return m_attr_class; }
1078
inline void setAttributeClass(const QString& a) { m_attr_class = a; m_has_attr_class = true; }
1079
inline void clearAttributeClass() { m_has_attr_class = false; }
1081
inline bool hasAttributeName() { return m_has_attr_name; }
1082
inline QString attributeName() { return m_attr_name; }
1083
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
1084
inline void clearAttributeName() { m_has_attr_name = false; }
1086
// child element accessors
1087
inline QStringList elementClass() { return m_class; }
1088
void setElementClass(const QStringList& a);
1090
inline QList<DomProperty*> elementProperty() { return m_property; }
1091
void setElementProperty(const QList<DomProperty*>& a);
1093
inline QList<DomProperty*> elementAttribute() { return m_attribute; }
1094
void setElementAttribute(const QList<DomProperty*>& a);
1096
inline QList<DomRow*> elementRow() { return m_row; }
1097
void setElementRow(const QList<DomRow*>& a);
1099
inline QList<DomColumn*> elementColumn() { return m_column; }
1100
void setElementColumn(const QList<DomColumn*>& a);
1102
inline QList<DomItem*> elementItem() { return m_item; }
1103
void setElementItem(const QList<DomItem*>& a);
1105
inline QList<DomLayout*> elementLayout() { return m_layout; }
1106
void setElementLayout(const QList<DomLayout*>& a);
1108
inline QList<DomWidget*> elementWidget() { return m_widget; }
1109
void setElementWidget(const QList<DomWidget*>& a);
1111
inline QList<DomAction*> elementAction() { return m_action; }
1112
void setElementAction(const QList<DomAction*>& a);
1114
inline QList<DomActionGroup*> elementActionGroup() { return m_actionGroup; }
1115
void setElementActionGroup(const QList<DomActionGroup*>& a);
1117
inline QList<DomActionRef*> elementAddAction() { return m_addAction; }
1118
void setElementAddAction(const QList<DomActionRef*>& a);
1122
void clear(bool clear_all = true);
1125
QString m_attr_class;
1126
bool m_has_attr_class;
1128
QString m_attr_name;
1129
bool m_has_attr_name;
1131
// child element data
1132
QStringList m_class;
1133
QList<DomProperty*> m_property;
1134
QList<DomProperty*> m_attribute;
1135
QList<DomRow*> m_row;
1136
QList<DomColumn*> m_column;
1137
QList<DomItem*> m_item;
1138
QList<DomLayout*> m_layout;
1139
QList<DomWidget*> m_widget;
1140
QList<DomAction*> m_action;
1141
QList<DomActionGroup*> m_actionGroup;
1142
QList<DomActionRef*> m_addAction;
1144
DomWidget(const DomWidget &other);
1145
void operator = (const DomWidget&other);
1148
class QT_UI4_EXPORT DomSpacer {
1153
void read(const QDomElement &node);
1154
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1155
inline QString text() const { return m_text; }
1156
inline void setText(const QString &s) { m_text = s; }
1158
// attribute accessors
1159
inline bool hasAttributeName() { return m_has_attr_name; }
1160
inline QString attributeName() { return m_attr_name; }
1161
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
1162
inline void clearAttributeName() { m_has_attr_name = false; }
1164
// child element accessors
1165
inline QList<DomProperty*> elementProperty() { return m_property; }
1166
void setElementProperty(const QList<DomProperty*>& a);
1170
void clear(bool clear_all = true);
1173
QString m_attr_name;
1174
bool m_has_attr_name;
1176
// child element data
1177
QList<DomProperty*> m_property;
1179
DomSpacer(const DomSpacer &other);
1180
void operator = (const DomSpacer&other);
1183
class QT_UI4_EXPORT DomColor {
1188
void read(const QDomElement &node);
1189
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1190
inline QString text() const { return m_text; }
1191
inline void setText(const QString &s) { m_text = s; }
1193
// attribute accessors
1194
// child element accessors
1195
inline int elementRed() { return m_red; }
1196
void setElementRed(int a);
1198
inline int elementGreen() { return m_green; }
1199
void setElementGreen(int a);
1201
inline int elementBlue() { return m_blue; }
1202
void setElementBlue(int a);
1206
void clear(bool clear_all = true);
1209
// child element data
1214
DomColor(const DomColor &other);
1215
void operator = (const DomColor&other);
1218
class QT_UI4_EXPORT DomColorGroup {
1223
void read(const QDomElement &node);
1224
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1225
inline QString text() const { return m_text; }
1226
inline void setText(const QString &s) { m_text = s; }
1228
// attribute accessors
1229
// child element accessors
1230
inline QList<DomColor*> elementColor() { return m_color; }
1231
void setElementColor(const QList<DomColor*>& a);
1235
void clear(bool clear_all = true);
1238
// child element data
1239
QList<DomColor*> m_color;
1241
DomColorGroup(const DomColorGroup &other);
1242
void operator = (const DomColorGroup&other);
1245
class QT_UI4_EXPORT DomPalette {
1250
void read(const QDomElement &node);
1251
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1252
inline QString text() const { return m_text; }
1253
inline void setText(const QString &s) { m_text = s; }
1255
// attribute accessors
1256
// child element accessors
1257
inline DomColorGroup* elementActive() { return m_active; }
1258
void setElementActive(DomColorGroup* a);
1260
inline DomColorGroup* elementInactive() { return m_inactive; }
1261
void setElementInactive(DomColorGroup* a);
1263
inline DomColorGroup* elementDisabled() { return m_disabled; }
1264
void setElementDisabled(DomColorGroup* a);
1268
void clear(bool clear_all = true);
1271
// child element data
1272
DomColorGroup* m_active;
1273
DomColorGroup* m_inactive;
1274
DomColorGroup* m_disabled;
1276
DomPalette(const DomPalette &other);
1277
void operator = (const DomPalette&other);
1280
class QT_UI4_EXPORT DomFont {
1285
void read(const QDomElement &node);
1286
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1287
inline QString text() const { return m_text; }
1288
inline void setText(const QString &s) { m_text = s; }
1290
// attribute accessors
1291
// child element accessors
1292
inline QString elementFamily() { return m_family; }
1293
void setElementFamily(const QString& a);
1295
inline int elementPointSize() { return m_pointSize; }
1296
void setElementPointSize(int a);
1298
inline int elementWeight() { return m_weight; }
1299
void setElementWeight(int a);
1301
inline bool elementItalic() { return m_italic; }
1302
void setElementItalic(bool a);
1304
inline bool elementBold() { return m_bold; }
1305
void setElementBold(bool a);
1307
inline bool elementUnderline() { return m_underline; }
1308
void setElementUnderline(bool a);
1310
inline bool elementStrikeOut() { return m_strikeOut; }
1311
void setElementStrikeOut(bool a);
1315
void clear(bool clear_all = true);
1318
// child element data
1327
DomFont(const DomFont &other);
1328
void operator = (const DomFont&other);
1331
class QT_UI4_EXPORT DomPoint {
1336
void read(const QDomElement &node);
1337
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1338
inline QString text() const { return m_text; }
1339
inline void setText(const QString &s) { m_text = s; }
1341
// attribute accessors
1342
// child element accessors
1343
inline int elementX() { return m_x; }
1344
void setElementX(int a);
1346
inline int elementY() { return m_y; }
1347
void setElementY(int a);
1351
void clear(bool clear_all = true);
1354
// child element data
1358
DomPoint(const DomPoint &other);
1359
void operator = (const DomPoint&other);
1362
class QT_UI4_EXPORT DomRect {
1367
void read(const QDomElement &node);
1368
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1369
inline QString text() const { return m_text; }
1370
inline void setText(const QString &s) { m_text = s; }
1372
// attribute accessors
1373
// child element accessors
1374
inline int elementX() { return m_x; }
1375
void setElementX(int a);
1377
inline int elementY() { return m_y; }
1378
void setElementY(int a);
1380
inline int elementWidth() { return m_width; }
1381
void setElementWidth(int a);
1383
inline int elementHeight() { return m_height; }
1384
void setElementHeight(int a);
1388
void clear(bool clear_all = true);
1391
// child element data
1397
DomRect(const DomRect &other);
1398
void operator = (const DomRect&other);
1401
class QT_UI4_EXPORT DomSizePolicy {
1406
void read(const QDomElement &node);
1407
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1408
inline QString text() const { return m_text; }
1409
inline void setText(const QString &s) { m_text = s; }
1411
// attribute accessors
1412
// child element accessors
1413
inline int elementHSizeType() { return m_hSizeType; }
1414
void setElementHSizeType(int a);
1416
inline int elementVSizeType() { return m_vSizeType; }
1417
void setElementVSizeType(int a);
1419
inline int elementHorStretch() { return m_horStretch; }
1420
void setElementHorStretch(int a);
1422
inline int elementVerStretch() { return m_verStretch; }
1423
void setElementVerStretch(int a);
1427
void clear(bool clear_all = true);
1430
// child element data
1436
DomSizePolicy(const DomSizePolicy &other);
1437
void operator = (const DomSizePolicy&other);
1440
class QT_UI4_EXPORT DomSize {
1445
void read(const QDomElement &node);
1446
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1447
inline QString text() const { return m_text; }
1448
inline void setText(const QString &s) { m_text = s; }
1450
// attribute accessors
1451
// child element accessors
1452
inline int elementWidth() { return m_width; }
1453
void setElementWidth(int a);
1455
inline int elementHeight() { return m_height; }
1456
void setElementHeight(int a);
1460
void clear(bool clear_all = true);
1463
// child element data
1467
DomSize(const DomSize &other);
1468
void operator = (const DomSize&other);
1471
class QT_UI4_EXPORT DomDate {
1476
void read(const QDomElement &node);
1477
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1478
inline QString text() const { return m_text; }
1479
inline void setText(const QString &s) { m_text = s; }
1481
// attribute accessors
1482
// child element accessors
1483
inline int elementYear() { return m_year; }
1484
void setElementYear(int a);
1486
inline int elementMonth() { return m_month; }
1487
void setElementMonth(int a);
1489
inline int elementDay() { return m_day; }
1490
void setElementDay(int a);
1494
void clear(bool clear_all = true);
1497
// child element data
1502
DomDate(const DomDate &other);
1503
void operator = (const DomDate&other);
1506
class QT_UI4_EXPORT DomTime {
1511
void read(const QDomElement &node);
1512
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1513
inline QString text() const { return m_text; }
1514
inline void setText(const QString &s) { m_text = s; }
1516
// attribute accessors
1517
// child element accessors
1518
inline int elementHour() { return m_hour; }
1519
void setElementHour(int a);
1521
inline int elementMinute() { return m_minute; }
1522
void setElementMinute(int a);
1524
inline int elementSecond() { return m_second; }
1525
void setElementSecond(int a);
1529
void clear(bool clear_all = true);
1532
// child element data
1537
DomTime(const DomTime &other);
1538
void operator = (const DomTime&other);
1541
class QT_UI4_EXPORT DomDateTime {
1546
void read(const QDomElement &node);
1547
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1548
inline QString text() const { return m_text; }
1549
inline void setText(const QString &s) { m_text = s; }
1551
// attribute accessors
1552
// child element accessors
1553
inline int elementHour() { return m_hour; }
1554
void setElementHour(int a);
1556
inline int elementMinute() { return m_minute; }
1557
void setElementMinute(int a);
1559
inline int elementSecond() { return m_second; }
1560
void setElementSecond(int a);
1562
inline int elementYear() { return m_year; }
1563
void setElementYear(int a);
1565
inline int elementMonth() { return m_month; }
1566
void setElementMonth(int a);
1568
inline int elementDay() { return m_day; }
1569
void setElementDay(int a);
1573
void clear(bool clear_all = true);
1576
// child element data
1584
DomDateTime(const DomDateTime &other);
1585
void operator = (const DomDateTime&other);
1588
class QT_UI4_EXPORT DomStringList {
1593
void read(const QDomElement &node);
1594
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1595
inline QString text() const { return m_text; }
1596
inline void setText(const QString &s) { m_text = s; }
1598
// attribute accessors
1599
// child element accessors
1600
inline QStringList elementString() { return m_string; }
1601
void setElementString(const QStringList& a);
1605
void clear(bool clear_all = true);
1608
// child element data
1609
QStringList m_string;
1611
DomStringList(const DomStringList &other);
1612
void operator = (const DomStringList&other);
1615
class QT_UI4_EXPORT DomResourcePixmap {
1617
DomResourcePixmap();
1618
~DomResourcePixmap();
1620
void read(const QDomElement &node);
1621
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1622
inline QString text() const { return m_text; }
1623
inline void setText(const QString &s) { m_text = s; }
1625
// attribute accessors
1626
inline bool hasAttributeResource() { return m_has_attr_resource; }
1627
inline QString attributeResource() { return m_attr_resource; }
1628
inline void setAttributeResource(const QString& a) { m_attr_resource = a; m_has_attr_resource = true; }
1629
inline void clearAttributeResource() { m_has_attr_resource = false; }
1631
// child element accessors
1634
void clear(bool clear_all = true);
1637
QString m_attr_resource;
1638
bool m_has_attr_resource;
1640
// child element data
1642
DomResourcePixmap(const DomResourcePixmap &other);
1643
void operator = (const DomResourcePixmap&other);
1646
class QT_UI4_EXPORT DomString {
1651
void read(const QDomElement &node);
1652
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1653
inline QString text() const { return m_text; }
1654
inline void setText(const QString &s) { m_text = s; }
1656
// attribute accessors
1657
inline bool hasAttributeNotr() { return m_has_attr_notr; }
1658
inline QString attributeNotr() { return m_attr_notr; }
1659
inline void setAttributeNotr(const QString& a) { m_attr_notr = a; m_has_attr_notr = true; }
1660
inline void clearAttributeNotr() { m_has_attr_notr = false; }
1662
// child element accessors
1665
void clear(bool clear_all = true);
1668
QString m_attr_notr;
1669
bool m_has_attr_notr;
1671
// child element data
1673
DomString(const DomString &other);
1674
void operator = (const DomString&other);
1677
class QT_UI4_EXPORT DomProperty {
1682
void read(const QDomElement &node);
1683
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1684
inline QString text() const { return m_text; }
1685
inline void setText(const QString &s) { m_text = s; }
1687
// attribute accessors
1688
inline bool hasAttributeName() { return m_has_attr_name; }
1689
inline QString attributeName() { return m_attr_name; }
1690
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
1691
inline void clearAttributeName() { m_has_attr_name = false; }
1693
inline bool hasAttributeStdset() { return m_has_attr_stdset; }
1694
inline int attributeStdset() { return m_attr_stdset; }
1695
inline void setAttributeStdset(int a) { m_attr_stdset = a; m_has_attr_stdset = true; }
1696
inline void clearAttributeStdset() { m_has_attr_stdset = false; }
1698
// child element accessors
1699
enum Kind { Unknown = 0, Bool, Color, Cstring, Cursor, Enum, Font, IconSet, Pixmap, Palette, Point, Rect, Set, SizePolicy, Size, String, StringList, Number, Float, Double, Date, Time, DateTime };
1700
inline Kind kind() { return m_kind; }
1702
inline QString elementBool() { return m_bool; }
1703
void setElementBool(const QString& a);
1705
inline DomColor* elementColor() { return m_color; }
1706
void setElementColor(DomColor* a);
1708
inline QString elementCstring() { return m_cstring; }
1709
void setElementCstring(const QString& a);
1711
inline int elementCursor() { return m_cursor; }
1712
void setElementCursor(int a);
1714
inline QString elementEnum() { return m_enum; }
1715
void setElementEnum(const QString& a);
1717
inline DomFont* elementFont() { return m_font; }
1718
void setElementFont(DomFont* a);
1720
inline DomResourcePixmap* elementIconSet() { return m_iconSet; }
1721
void setElementIconSet(DomResourcePixmap* a);
1723
inline DomResourcePixmap* elementPixmap() { return m_pixmap; }
1724
void setElementPixmap(DomResourcePixmap* a);
1726
inline DomPalette* elementPalette() { return m_palette; }
1727
void setElementPalette(DomPalette* a);
1729
inline DomPoint* elementPoint() { return m_point; }
1730
void setElementPoint(DomPoint* a);
1732
inline DomRect* elementRect() { return m_rect; }
1733
void setElementRect(DomRect* a);
1735
inline QString elementSet() { return m_set; }
1736
void setElementSet(const QString& a);
1738
inline DomSizePolicy* elementSizePolicy() { return m_sizePolicy; }
1739
void setElementSizePolicy(DomSizePolicy* a);
1741
inline DomSize* elementSize() { return m_size; }
1742
void setElementSize(DomSize* a);
1744
inline DomString* elementString() { return m_string; }
1745
void setElementString(DomString* a);
1747
inline DomStringList* elementStringList() { return m_stringList; }
1748
void setElementStringList(DomStringList* a);
1750
inline int elementNumber() { return m_number; }
1751
void setElementNumber(int a);
1753
inline float elementFloat() { return m_float; }
1754
void setElementFloat(float a);
1756
inline double elementDouble() { return m_double; }
1757
void setElementDouble(double a);
1759
inline DomDate* elementDate() { return m_date; }
1760
void setElementDate(DomDate* a);
1762
inline DomTime* elementTime() { return m_time; }
1763
void setElementTime(DomTime* a);
1765
inline DomDateTime* elementDateTime() { return m_dateTime; }
1766
void setElementDateTime(DomDateTime* a);
1770
void clear(bool clear_all = true);
1773
QString m_attr_name;
1774
bool m_has_attr_name;
1777
bool m_has_attr_stdset;
1779
// child element data
1787
DomResourcePixmap* m_iconSet;
1788
DomResourcePixmap* m_pixmap;
1789
DomPalette* m_palette;
1793
DomSizePolicy* m_sizePolicy;
1795
DomString* m_string;
1796
DomStringList* m_stringList;
1802
DomDateTime* m_dateTime;
1804
DomProperty(const DomProperty &other);
1805
void operator = (const DomProperty&other);
1808
class QT_UI4_EXPORT DomConnections {
1813
void read(const QDomElement &node);
1814
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1815
inline QString text() const { return m_text; }
1816
inline void setText(const QString &s) { m_text = s; }
1818
// attribute accessors
1819
// child element accessors
1820
inline QList<DomConnection*> elementConnection() { return m_connection; }
1821
void setElementConnection(const QList<DomConnection*>& a);
1825
void clear(bool clear_all = true);
1828
// child element data
1829
QList<DomConnection*> m_connection;
1831
DomConnections(const DomConnections &other);
1832
void operator = (const DomConnections&other);
1835
class QT_UI4_EXPORT DomConnection {
1840
void read(const QDomElement &node);
1841
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1842
inline QString text() const { return m_text; }
1843
inline void setText(const QString &s) { m_text = s; }
1845
// attribute accessors
1846
// child element accessors
1847
inline QString elementSender() { return m_sender; }
1848
void setElementSender(const QString& a);
1850
inline QString elementSignal() { return m_signal; }
1851
void setElementSignal(const QString& a);
1853
inline QString elementReceiver() { return m_receiver; }
1854
void setElementReceiver(const QString& a);
1856
inline QString elementSlot() { return m_slot; }
1857
void setElementSlot(const QString& a);
1859
inline DomConnectionHints* elementHints() { return m_hints; }
1860
void setElementHints(DomConnectionHints* a);
1864
void clear(bool clear_all = true);
1867
// child element data
1872
DomConnectionHints* m_hints;
1874
DomConnection(const DomConnection &other);
1875
void operator = (const DomConnection&other);
1878
class QT_UI4_EXPORT DomConnectionHints {
1880
DomConnectionHints();
1881
~DomConnectionHints();
1883
void read(const QDomElement &node);
1884
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1885
inline QString text() const { return m_text; }
1886
inline void setText(const QString &s) { m_text = s; }
1888
// attribute accessors
1889
// child element accessors
1890
inline QList<DomConnectionHint*> elementHint() { return m_hint; }
1891
void setElementHint(const QList<DomConnectionHint*>& a);
1895
void clear(bool clear_all = true);
1898
// child element data
1899
QList<DomConnectionHint*> m_hint;
1901
DomConnectionHints(const DomConnectionHints &other);
1902
void operator = (const DomConnectionHints&other);
1905
class QT_UI4_EXPORT DomConnectionHint {
1907
DomConnectionHint();
1908
~DomConnectionHint();
1910
void read(const QDomElement &node);
1911
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1912
inline QString text() const { return m_text; }
1913
inline void setText(const QString &s) { m_text = s; }
1915
// attribute accessors
1916
inline bool hasAttributeType() { return m_has_attr_type; }
1917
inline QString attributeType() { return m_attr_type; }
1918
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
1919
inline void clearAttributeType() { m_has_attr_type = false; }
1921
// child element accessors
1922
inline int elementX() { return m_x; }
1923
void setElementX(int a);
1925
inline int elementY() { return m_y; }
1926
void setElementY(int a);
1930
void clear(bool clear_all = true);
1933
QString m_attr_type;
1934
bool m_has_attr_type;
1936
// child element data
1940
DomConnectionHint(const DomConnectionHint &other);
1941
void operator = (const DomConnectionHint&other);