1
/****************************************************************************
3
** Copyright (C) 1992-2005 Trolltech AS. All rights reserved.
5
** This file is part of the tools applications 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
****************************************************************************/
33
#include <QStringList>
38
#if defined(QT_DESIGNER) && defined(Q_OS_WIN)
39
# ifdef QT_UILIB_LIBRARY
40
# define QT_UI4_EXPORT __declspec(dllexport)
42
# define QT_UI4_EXPORT __declspec(dllimport)
47
# define QT_UI4_EXPORT
50
/*******************************************************************************
51
** Forward declarations
65
class DomCustomWidgets;
67
class DomCustomWidget;
69
class DomPropertyData;
70
class DomSizePolicyData;
71
class DomLayoutDefault;
72
class DomLayoutFunction;
93
class DomResourcePixmap;
98
class DomConnectionHints;
99
class DomConnectionHint;
101
/*******************************************************************************
105
class QT_UI4_EXPORT DomUI {
110
void read(const QDomElement &node);
111
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
112
inline QString text() const { return m_text; }
113
inline void setText(const QString &s) { m_text = s; }
115
// attribute accessors
116
inline bool hasAttributeVersion() { return m_has_attr_version; }
117
inline QString attributeVersion() { return m_attr_version; }
118
inline void setAttributeVersion(const QString& a) { m_attr_version = a; m_has_attr_version = true; }
119
inline void clearAttributeVersion() { m_has_attr_version = false; }
121
inline bool hasAttributeStdSetDef() { return m_has_attr_stdSetDef; }
122
inline int attributeStdSetDef() { return m_attr_stdSetDef; }
123
inline void setAttributeStdSetDef(int a) { m_attr_stdSetDef = a; m_has_attr_stdSetDef = true; }
124
inline void clearAttributeStdSetDef() { m_has_attr_stdSetDef = false; }
126
// child element accessors
127
inline QString elementAuthor() { return m_author; }
128
void setElementAuthor(const QString& a);
130
inline QString elementComment() { return m_comment; }
131
void setElementComment(const QString& a);
133
inline QString elementExportMacro() { return m_exportMacro; }
134
void setElementExportMacro(const QString& a);
136
inline QString elementClass() { return m_class; }
137
void setElementClass(const QString& a);
139
inline DomWidget* elementWidget() { return m_widget; }
140
void setElementWidget(DomWidget* a);
142
inline DomLayoutDefault* elementLayoutDefault() { return m_layoutDefault; }
143
void setElementLayoutDefault(DomLayoutDefault* a);
145
inline DomLayoutFunction* elementLayoutFunction() { return m_layoutFunction; }
146
void setElementLayoutFunction(DomLayoutFunction* a);
148
inline QString elementPixmapFunction() { return m_pixmapFunction; }
149
void setElementPixmapFunction(const QString& a);
151
inline DomCustomWidgets* elementCustomWidgets() { return m_customWidgets; }
152
void setElementCustomWidgets(DomCustomWidgets* a);
154
inline DomTabStops* elementTabStops() { return m_tabStops; }
155
void setElementTabStops(DomTabStops* a);
157
inline DomImages* elementImages() { return m_images; }
158
void setElementImages(DomImages* a);
160
inline DomIncludes* elementIncludes() { return m_includes; }
161
void setElementIncludes(DomIncludes* a);
163
inline DomResources* elementResources() { return m_resources; }
164
void setElementResources(DomResources* a);
166
inline DomConnections* elementConnections() { return m_connections; }
167
void setElementConnections(DomConnections* a);
171
void clear(bool clear_all = true);
174
QString m_attr_version;
175
bool m_has_attr_version;
177
int m_attr_stdSetDef;
178
bool m_has_attr_stdSetDef;
180
// child element data
183
QString m_exportMacro;
186
DomLayoutDefault* m_layoutDefault;
187
DomLayoutFunction* m_layoutFunction;
188
QString m_pixmapFunction;
189
DomCustomWidgets* m_customWidgets;
190
DomTabStops* m_tabStops;
192
DomIncludes* m_includes;
193
DomResources* m_resources;
194
DomConnections* m_connections;
196
DomUI(const DomUI &other);
197
void operator = (const DomUI&other);
200
class QT_UI4_EXPORT DomIncludes {
205
void read(const QDomElement &node);
206
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
207
inline QString text() const { return m_text; }
208
inline void setText(const QString &s) { m_text = s; }
210
// attribute accessors
211
// child element accessors
212
inline QList<DomInclude*> elementInclude() { return m_include; }
213
void setElementInclude(const QList<DomInclude*>& a);
217
void clear(bool clear_all = true);
220
// child element data
221
QList<DomInclude*> m_include;
223
DomIncludes(const DomIncludes &other);
224
void operator = (const DomIncludes&other);
227
class QT_UI4_EXPORT DomInclude {
232
void read(const QDomElement &node);
233
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
234
inline QString text() const { return m_text; }
235
inline void setText(const QString &s) { m_text = s; }
237
// attribute accessors
238
inline bool hasAttributeLocation() { return m_has_attr_location; }
239
inline QString attributeLocation() { return m_attr_location; }
240
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
241
inline void clearAttributeLocation() { m_has_attr_location = false; }
243
inline bool hasAttributeImpldecl() { return m_has_attr_impldecl; }
244
inline QString attributeImpldecl() { return m_attr_impldecl; }
245
inline void setAttributeImpldecl(const QString& a) { m_attr_impldecl = a; m_has_attr_impldecl = true; }
246
inline void clearAttributeImpldecl() { m_has_attr_impldecl = false; }
248
// child element accessors
251
void clear(bool clear_all = true);
254
QString m_attr_location;
255
bool m_has_attr_location;
257
QString m_attr_impldecl;
258
bool m_has_attr_impldecl;
260
// child element data
262
DomInclude(const DomInclude &other);
263
void operator = (const DomInclude&other);
266
class QT_UI4_EXPORT DomResources {
271
void read(const QDomElement &node);
272
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
273
inline QString text() const { return m_text; }
274
inline void setText(const QString &s) { m_text = s; }
276
// attribute accessors
277
inline bool hasAttributeName() { return m_has_attr_name; }
278
inline QString attributeName() { return m_attr_name; }
279
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
280
inline void clearAttributeName() { m_has_attr_name = false; }
282
// child element accessors
283
inline QList<DomResource*> elementInclude() { return m_include; }
284
void setElementInclude(const QList<DomResource*>& a);
288
void clear(bool clear_all = true);
292
bool m_has_attr_name;
294
// child element data
295
QList<DomResource*> m_include;
297
DomResources(const DomResources &other);
298
void operator = (const DomResources&other);
301
class QT_UI4_EXPORT DomResource {
306
void read(const QDomElement &node);
307
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
308
inline QString text() const { return m_text; }
309
inline void setText(const QString &s) { m_text = s; }
311
// attribute accessors
312
inline bool hasAttributeLocation() { return m_has_attr_location; }
313
inline QString attributeLocation() { return m_attr_location; }
314
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
315
inline void clearAttributeLocation() { m_has_attr_location = false; }
317
// child element accessors
320
void clear(bool clear_all = true);
323
QString m_attr_location;
324
bool m_has_attr_location;
326
// child element data
328
DomResource(const DomResource &other);
329
void operator = (const DomResource&other);
332
class QT_UI4_EXPORT DomActionGroup {
337
void read(const QDomElement &node);
338
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
339
inline QString text() const { return m_text; }
340
inline void setText(const QString &s) { m_text = s; }
342
// attribute accessors
343
inline bool hasAttributeName() { return m_has_attr_name; }
344
inline QString attributeName() { return m_attr_name; }
345
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
346
inline void clearAttributeName() { m_has_attr_name = false; }
348
// child element accessors
349
inline QList<DomAction*> elementAction() { return m_action; }
350
void setElementAction(const QList<DomAction*>& a);
352
inline QList<DomActionGroup*> elementActionGroup() { return m_actionGroup; }
353
void setElementActionGroup(const QList<DomActionGroup*>& a);
355
inline QList<DomProperty*> elementProperty() { return m_property; }
356
void setElementProperty(const QList<DomProperty*>& a);
358
inline QList<DomProperty*> elementAttribute() { return m_attribute; }
359
void setElementAttribute(const QList<DomProperty*>& a);
363
void clear(bool clear_all = true);
367
bool m_has_attr_name;
369
// child element data
370
QList<DomAction*> m_action;
371
QList<DomActionGroup*> m_actionGroup;
372
QList<DomProperty*> m_property;
373
QList<DomProperty*> m_attribute;
375
DomActionGroup(const DomActionGroup &other);
376
void operator = (const DomActionGroup&other);
379
class QT_UI4_EXPORT DomAction {
384
void read(const QDomElement &node);
385
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
386
inline QString text() const { return m_text; }
387
inline void setText(const QString &s) { m_text = s; }
389
// attribute accessors
390
inline bool hasAttributeName() { return m_has_attr_name; }
391
inline QString attributeName() { return m_attr_name; }
392
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
393
inline void clearAttributeName() { m_has_attr_name = false; }
395
inline bool hasAttributeMenu() { return m_has_attr_menu; }
396
inline QString attributeMenu() { return m_attr_menu; }
397
inline void setAttributeMenu(const QString& a) { m_attr_menu = a; m_has_attr_menu = true; }
398
inline void clearAttributeMenu() { m_has_attr_menu = false; }
400
// child element accessors
401
inline QList<DomProperty*> elementProperty() { return m_property; }
402
void setElementProperty(const QList<DomProperty*>& a);
404
inline QList<DomProperty*> elementAttribute() { return m_attribute; }
405
void setElementAttribute(const QList<DomProperty*>& a);
409
void clear(bool clear_all = true);
413
bool m_has_attr_name;
416
bool m_has_attr_menu;
418
// child element data
419
QList<DomProperty*> m_property;
420
QList<DomProperty*> m_attribute;
422
DomAction(const DomAction &other);
423
void operator = (const DomAction&other);
426
class QT_UI4_EXPORT DomActionRef {
431
void read(const QDomElement &node);
432
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
433
inline QString text() const { return m_text; }
434
inline void setText(const QString &s) { m_text = s; }
436
// attribute accessors
437
inline bool hasAttributeName() { return m_has_attr_name; }
438
inline QString attributeName() { return m_attr_name; }
439
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
440
inline void clearAttributeName() { m_has_attr_name = false; }
442
// child element accessors
445
void clear(bool clear_all = true);
449
bool m_has_attr_name;
451
// child element data
453
DomActionRef(const DomActionRef &other);
454
void operator = (const DomActionRef&other);
457
class QT_UI4_EXPORT DomImages {
462
void read(const QDomElement &node);
463
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
464
inline QString text() const { return m_text; }
465
inline void setText(const QString &s) { m_text = s; }
467
// attribute accessors
468
// child element accessors
469
inline QList<DomImage*> elementImage() { return m_image; }
470
void setElementImage(const QList<DomImage*>& a);
474
void clear(bool clear_all = true);
477
// child element data
478
QList<DomImage*> m_image;
480
DomImages(const DomImages &other);
481
void operator = (const DomImages&other);
484
class QT_UI4_EXPORT DomImage {
489
void read(const QDomElement &node);
490
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
491
inline QString text() const { return m_text; }
492
inline void setText(const QString &s) { m_text = s; }
494
// attribute accessors
495
inline bool hasAttributeName() { return m_has_attr_name; }
496
inline QString attributeName() { return m_attr_name; }
497
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
498
inline void clearAttributeName() { m_has_attr_name = false; }
500
// child element accessors
501
inline DomImageData* elementData() { return m_data; }
502
void setElementData(DomImageData* a);
506
void clear(bool clear_all = true);
510
bool m_has_attr_name;
512
// child element data
513
DomImageData* m_data;
515
DomImage(const DomImage &other);
516
void operator = (const DomImage&other);
519
class QT_UI4_EXPORT DomImageData {
524
void read(const QDomElement &node);
525
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
526
inline QString text() const { return m_text; }
527
inline void setText(const QString &s) { m_text = s; }
529
// attribute accessors
530
inline bool hasAttributeFormat() { return m_has_attr_format; }
531
inline QString attributeFormat() { return m_attr_format; }
532
inline void setAttributeFormat(const QString& a) { m_attr_format = a; m_has_attr_format = true; }
533
inline void clearAttributeFormat() { m_has_attr_format = false; }
535
inline bool hasAttributeLength() { return m_has_attr_length; }
536
inline int attributeLength() { return m_attr_length; }
537
inline void setAttributeLength(int a) { m_attr_length = a; m_has_attr_length = true; }
538
inline void clearAttributeLength() { m_has_attr_length = false; }
540
// child element accessors
543
void clear(bool clear_all = true);
546
QString m_attr_format;
547
bool m_has_attr_format;
550
bool m_has_attr_length;
552
// child element data
554
DomImageData(const DomImageData &other);
555
void operator = (const DomImageData&other);
558
class QT_UI4_EXPORT DomCustomWidgets {
563
void read(const QDomElement &node);
564
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
565
inline QString text() const { return m_text; }
566
inline void setText(const QString &s) { m_text = s; }
568
// attribute accessors
569
// child element accessors
570
inline QList<DomCustomWidget*> elementCustomWidget() { return m_customWidget; }
571
void setElementCustomWidget(const QList<DomCustomWidget*>& a);
575
void clear(bool clear_all = true);
578
// child element data
579
QList<DomCustomWidget*> m_customWidget;
581
DomCustomWidgets(const DomCustomWidgets &other);
582
void operator = (const DomCustomWidgets&other);
585
class QT_UI4_EXPORT DomHeader {
590
void read(const QDomElement &node);
591
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
592
inline QString text() const { return m_text; }
593
inline void setText(const QString &s) { m_text = s; }
595
// attribute accessors
596
inline bool hasAttributeLocation() { return m_has_attr_location; }
597
inline QString attributeLocation() { return m_attr_location; }
598
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
599
inline void clearAttributeLocation() { m_has_attr_location = false; }
601
// child element accessors
604
void clear(bool clear_all = true);
607
QString m_attr_location;
608
bool m_has_attr_location;
610
// child element data
612
DomHeader(const DomHeader &other);
613
void operator = (const DomHeader&other);
616
class QT_UI4_EXPORT DomCustomWidget {
621
void read(const QDomElement &node);
622
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
623
inline QString text() const { return m_text; }
624
inline void setText(const QString &s) { m_text = s; }
626
// attribute accessors
627
// child element accessors
628
inline QString elementClass() { return m_class; }
629
void setElementClass(const QString& a);
631
inline QString elementExtends() { return m_extends; }
632
void setElementExtends(const QString& a);
634
inline DomHeader* elementHeader() { return m_header; }
635
void setElementHeader(DomHeader* a);
637
inline DomSize* elementSizeHint() { return m_sizeHint; }
638
void setElementSizeHint(DomSize* a);
640
inline int elementContainer() { return m_container; }
641
void setElementContainer(int a);
643
inline DomSizePolicyData* elementSizePolicy() { return m_sizePolicy; }
644
void setElementSizePolicy(DomSizePolicyData* a);
646
inline QString elementPixmap() { return m_pixmap; }
647
void setElementPixmap(const QString& a);
649
inline DomProperties* elementProperties() { return m_properties; }
650
void setElementProperties(DomProperties* a);
654
void clear(bool clear_all = true);
657
// child element data
663
DomSizePolicyData* m_sizePolicy;
665
DomProperties* m_properties;
667
DomCustomWidget(const DomCustomWidget &other);
668
void operator = (const DomCustomWidget&other);
671
class QT_UI4_EXPORT DomProperties {
676
void read(const QDomElement &node);
677
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
678
inline QString text() const { return m_text; }
679
inline void setText(const QString &s) { m_text = s; }
681
// attribute accessors
682
// child element accessors
683
inline QList<DomPropertyData*> elementProperty() { return m_property; }
684
void setElementProperty(const QList<DomPropertyData*>& a);
688
void clear(bool clear_all = true);
691
// child element data
692
QList<DomPropertyData*> m_property;
694
DomProperties(const DomProperties &other);
695
void operator = (const DomProperties&other);
698
class QT_UI4_EXPORT DomPropertyData {
703
void read(const QDomElement &node);
704
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
705
inline QString text() const { return m_text; }
706
inline void setText(const QString &s) { m_text = s; }
708
// attribute accessors
709
inline bool hasAttributeType() { return m_has_attr_type; }
710
inline QString attributeType() { return m_attr_type; }
711
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
712
inline void clearAttributeType() { m_has_attr_type = false; }
714
// child element accessors
717
void clear(bool clear_all = true);
721
bool m_has_attr_type;
723
// child element data
725
DomPropertyData(const DomPropertyData &other);
726
void operator = (const DomPropertyData&other);
729
class QT_UI4_EXPORT DomSizePolicyData {
732
~DomSizePolicyData();
734
void read(const QDomElement &node);
735
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
736
inline QString text() const { return m_text; }
737
inline void setText(const QString &s) { m_text = s; }
739
// attribute accessors
740
// child element accessors
741
inline int elementHorData() { return m_horData; }
742
void setElementHorData(int a);
744
inline int elementVerData() { return m_verData; }
745
void setElementVerData(int a);
749
void clear(bool clear_all = true);
752
// child element data
756
DomSizePolicyData(const DomSizePolicyData &other);
757
void operator = (const DomSizePolicyData&other);
760
class QT_UI4_EXPORT DomLayoutDefault {
765
void read(const QDomElement &node);
766
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
767
inline QString text() const { return m_text; }
768
inline void setText(const QString &s) { m_text = s; }
770
// attribute accessors
771
inline bool hasAttributeSpacing() { return m_has_attr_spacing; }
772
inline int attributeSpacing() { return m_attr_spacing; }
773
inline void setAttributeSpacing(int a) { m_attr_spacing = a; m_has_attr_spacing = true; }
774
inline void clearAttributeSpacing() { m_has_attr_spacing = false; }
776
inline bool hasAttributeMargin() { return m_has_attr_margin; }
777
inline int attributeMargin() { return m_attr_margin; }
778
inline void setAttributeMargin(int a) { m_attr_margin = a; m_has_attr_margin = true; }
779
inline void clearAttributeMargin() { m_has_attr_margin = false; }
781
// child element accessors
784
void clear(bool clear_all = true);
788
bool m_has_attr_spacing;
791
bool m_has_attr_margin;
793
// child element data
795
DomLayoutDefault(const DomLayoutDefault &other);
796
void operator = (const DomLayoutDefault&other);
799
class QT_UI4_EXPORT DomLayoutFunction {
802
~DomLayoutFunction();
804
void read(const QDomElement &node);
805
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
806
inline QString text() const { return m_text; }
807
inline void setText(const QString &s) { m_text = s; }
809
// attribute accessors
810
inline bool hasAttributeSpacing() { return m_has_attr_spacing; }
811
inline QString attributeSpacing() { return m_attr_spacing; }
812
inline void setAttributeSpacing(const QString& a) { m_attr_spacing = a; m_has_attr_spacing = true; }
813
inline void clearAttributeSpacing() { m_has_attr_spacing = false; }
815
inline bool hasAttributeMargin() { return m_has_attr_margin; }
816
inline QString attributeMargin() { return m_attr_margin; }
817
inline void setAttributeMargin(const QString& a) { m_attr_margin = a; m_has_attr_margin = true; }
818
inline void clearAttributeMargin() { m_has_attr_margin = false; }
820
// child element accessors
823
void clear(bool clear_all = true);
826
QString m_attr_spacing;
827
bool m_has_attr_spacing;
829
QString m_attr_margin;
830
bool m_has_attr_margin;
832
// child element data
834
DomLayoutFunction(const DomLayoutFunction &other);
835
void operator = (const DomLayoutFunction&other);
838
class QT_UI4_EXPORT DomTabStops {
843
void read(const QDomElement &node);
844
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
845
inline QString text() const { return m_text; }
846
inline void setText(const QString &s) { m_text = s; }
848
// attribute accessors
849
// child element accessors
850
inline QStringList elementTabStop() { return m_tabStop; }
851
void setElementTabStop(const QStringList& a);
855
void clear(bool clear_all = true);
858
// child element data
859
QStringList m_tabStop;
861
DomTabStops(const DomTabStops &other);
862
void operator = (const DomTabStops&other);
865
class QT_UI4_EXPORT DomLayout {
870
void read(const QDomElement &node);
871
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
872
inline QString text() const { return m_text; }
873
inline void setText(const QString &s) { m_text = s; }
875
// attribute accessors
876
inline bool hasAttributeClass() { return m_has_attr_class; }
877
inline QString attributeClass() { return m_attr_class; }
878
inline void setAttributeClass(const QString& a) { m_attr_class = a; m_has_attr_class = true; }
879
inline void clearAttributeClass() { m_has_attr_class = false; }
881
// child element accessors
882
inline QList<DomProperty*> elementProperty() { return m_property; }
883
void setElementProperty(const QList<DomProperty*>& a);
885
inline QList<DomProperty*> elementAttribute() { return m_attribute; }
886
void setElementAttribute(const QList<DomProperty*>& a);
888
inline QList<DomLayoutItem*> elementItem() { return m_item; }
889
void setElementItem(const QList<DomLayoutItem*>& a);
893
void clear(bool clear_all = true);
896
QString m_attr_class;
897
bool m_has_attr_class;
899
// child element data
900
QList<DomProperty*> m_property;
901
QList<DomProperty*> m_attribute;
902
QList<DomLayoutItem*> m_item;
904
DomLayout(const DomLayout &other);
905
void operator = (const DomLayout&other);
908
class QT_UI4_EXPORT DomLayoutItem {
913
void read(const QDomElement &node);
914
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
915
inline QString text() const { return m_text; }
916
inline void setText(const QString &s) { m_text = s; }
918
// attribute accessors
919
inline bool hasAttributeRow() { return m_has_attr_row; }
920
inline int attributeRow() { return m_attr_row; }
921
inline void setAttributeRow(int a) { m_attr_row = a; m_has_attr_row = true; }
922
inline void clearAttributeRow() { m_has_attr_row = false; }
924
inline bool hasAttributeColumn() { return m_has_attr_column; }
925
inline int attributeColumn() { return m_attr_column; }
926
inline void setAttributeColumn(int a) { m_attr_column = a; m_has_attr_column = true; }
927
inline void clearAttributeColumn() { m_has_attr_column = false; }
929
inline bool hasAttributeRowSpan() { return m_has_attr_rowSpan; }
930
inline int attributeRowSpan() { return m_attr_rowSpan; }
931
inline void setAttributeRowSpan(int a) { m_attr_rowSpan = a; m_has_attr_rowSpan = true; }
932
inline void clearAttributeRowSpan() { m_has_attr_rowSpan = false; }
934
inline bool hasAttributeColSpan() { return m_has_attr_colSpan; }
935
inline int attributeColSpan() { return m_attr_colSpan; }
936
inline void setAttributeColSpan(int a) { m_attr_colSpan = a; m_has_attr_colSpan = true; }
937
inline void clearAttributeColSpan() { m_has_attr_colSpan = false; }
939
// child element accessors
940
enum Kind { Unknown = 0, Widget, Layout, Spacer };
941
inline Kind kind() { return m_kind; }
943
inline DomWidget* elementWidget() { return m_widget; }
944
void setElementWidget(DomWidget* a);
946
inline DomLayout* elementLayout() { return m_layout; }
947
void setElementLayout(DomLayout* a);
949
inline DomSpacer* elementSpacer() { return m_spacer; }
950
void setElementSpacer(DomSpacer* a);
954
void clear(bool clear_all = true);
961
bool m_has_attr_column;
964
bool m_has_attr_rowSpan;
967
bool m_has_attr_colSpan;
969
// child element data
975
DomLayoutItem(const DomLayoutItem &other);
976
void operator = (const DomLayoutItem&other);
979
class QT_UI4_EXPORT DomRow {
984
void read(const QDomElement &node);
985
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
986
inline QString text() const { return m_text; }
987
inline void setText(const QString &s) { m_text = s; }
989
// attribute accessors
990
// child element accessors
991
inline QList<DomProperty*> elementProperty() { return m_property; }
992
void setElementProperty(const QList<DomProperty*>& a);
996
void clear(bool clear_all = true);
999
// child element data
1000
QList<DomProperty*> m_property;
1002
DomRow(const DomRow &other);
1003
void operator = (const DomRow&other);
1006
class QT_UI4_EXPORT DomColumn {
1011
void read(const QDomElement &node);
1012
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1013
inline QString text() const { return m_text; }
1014
inline void setText(const QString &s) { m_text = s; }
1016
// attribute accessors
1017
// child element accessors
1018
inline QList<DomProperty*> elementProperty() { return m_property; }
1019
void setElementProperty(const QList<DomProperty*>& a);
1023
void clear(bool clear_all = true);
1026
// child element data
1027
QList<DomProperty*> m_property;
1029
DomColumn(const DomColumn &other);
1030
void operator = (const DomColumn&other);
1033
class QT_UI4_EXPORT DomItem {
1038
void read(const QDomElement &node);
1039
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1040
inline QString text() const { return m_text; }
1041
inline void setText(const QString &s) { m_text = s; }
1043
// attribute accessors
1044
// child element accessors
1045
inline QList<DomProperty*> elementProperty() { return m_property; }
1046
void setElementProperty(const QList<DomProperty*>& a);
1048
inline QList<DomItem*> elementItem() { return m_item; }
1049
void setElementItem(const QList<DomItem*>& a);
1053
void clear(bool clear_all = true);
1056
// child element data
1057
QList<DomProperty*> m_property;
1058
QList<DomItem*> m_item;
1060
DomItem(const DomItem &other);
1061
void operator = (const DomItem&other);
1064
class QT_UI4_EXPORT DomWidget {
1069
void read(const QDomElement &node);
1070
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1071
inline QString text() const { return m_text; }
1072
inline void setText(const QString &s) { m_text = s; }
1074
// attribute accessors
1075
inline bool hasAttributeClass() { return m_has_attr_class; }
1076
inline QString attributeClass() { return m_attr_class; }
1077
inline void setAttributeClass(const QString& a) { m_attr_class = a; m_has_attr_class = true; }
1078
inline void clearAttributeClass() { m_has_attr_class = false; }
1080
inline bool hasAttributeName() { return m_has_attr_name; }
1081
inline QString attributeName() { return m_attr_name; }
1082
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
1083
inline void clearAttributeName() { m_has_attr_name = false; }
1085
// child element accessors
1086
inline QStringList elementClass() { return m_class; }
1087
void setElementClass(const QStringList& a);
1089
inline QList<DomProperty*> elementProperty() { return m_property; }
1090
void setElementProperty(const QList<DomProperty*>& a);
1092
inline QList<DomProperty*> elementAttribute() { return m_attribute; }
1093
void setElementAttribute(const QList<DomProperty*>& a);
1095
inline QList<DomRow*> elementRow() { return m_row; }
1096
void setElementRow(const QList<DomRow*>& a);
1098
inline QList<DomColumn*> elementColumn() { return m_column; }
1099
void setElementColumn(const QList<DomColumn*>& a);
1101
inline QList<DomItem*> elementItem() { return m_item; }
1102
void setElementItem(const QList<DomItem*>& a);
1104
inline QList<DomLayout*> elementLayout() { return m_layout; }
1105
void setElementLayout(const QList<DomLayout*>& a);
1107
inline QList<DomWidget*> elementWidget() { return m_widget; }
1108
void setElementWidget(const QList<DomWidget*>& a);
1110
inline QList<DomAction*> elementAction() { return m_action; }
1111
void setElementAction(const QList<DomAction*>& a);
1113
inline QList<DomActionGroup*> elementActionGroup() { return m_actionGroup; }
1114
void setElementActionGroup(const QList<DomActionGroup*>& a);
1116
inline QList<DomActionRef*> elementAddAction() { return m_addAction; }
1117
void setElementAddAction(const QList<DomActionRef*>& a);
1121
void clear(bool clear_all = true);
1124
QString m_attr_class;
1125
bool m_has_attr_class;
1127
QString m_attr_name;
1128
bool m_has_attr_name;
1130
// child element data
1131
QStringList m_class;
1132
QList<DomProperty*> m_property;
1133
QList<DomProperty*> m_attribute;
1134
QList<DomRow*> m_row;
1135
QList<DomColumn*> m_column;
1136
QList<DomItem*> m_item;
1137
QList<DomLayout*> m_layout;
1138
QList<DomWidget*> m_widget;
1139
QList<DomAction*> m_action;
1140
QList<DomActionGroup*> m_actionGroup;
1141
QList<DomActionRef*> m_addAction;
1143
DomWidget(const DomWidget &other);
1144
void operator = (const DomWidget&other);
1147
class QT_UI4_EXPORT DomSpacer {
1152
void read(const QDomElement &node);
1153
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1154
inline QString text() const { return m_text; }
1155
inline void setText(const QString &s) { m_text = s; }
1157
// attribute accessors
1158
inline bool hasAttributeName() { return m_has_attr_name; }
1159
inline QString attributeName() { return m_attr_name; }
1160
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
1161
inline void clearAttributeName() { m_has_attr_name = false; }
1163
// child element accessors
1164
inline QList<DomProperty*> elementProperty() { return m_property; }
1165
void setElementProperty(const QList<DomProperty*>& a);
1169
void clear(bool clear_all = true);
1172
QString m_attr_name;
1173
bool m_has_attr_name;
1175
// child element data
1176
QList<DomProperty*> m_property;
1178
DomSpacer(const DomSpacer &other);
1179
void operator = (const DomSpacer&other);
1182
class QT_UI4_EXPORT DomColor {
1187
void read(const QDomElement &node);
1188
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1189
inline QString text() const { return m_text; }
1190
inline void setText(const QString &s) { m_text = s; }
1192
// attribute accessors
1193
// child element accessors
1194
inline int elementRed() { return m_red; }
1195
void setElementRed(int a);
1197
inline int elementGreen() { return m_green; }
1198
void setElementGreen(int a);
1200
inline int elementBlue() { return m_blue; }
1201
void setElementBlue(int a);
1205
void clear(bool clear_all = true);
1208
// child element data
1213
DomColor(const DomColor &other);
1214
void operator = (const DomColor&other);
1217
class QT_UI4_EXPORT DomColorGroup {
1222
void read(const QDomElement &node);
1223
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1224
inline QString text() const { return m_text; }
1225
inline void setText(const QString &s) { m_text = s; }
1227
// attribute accessors
1228
// child element accessors
1229
inline QList<DomColor*> elementColor() { return m_color; }
1230
void setElementColor(const QList<DomColor*>& a);
1234
void clear(bool clear_all = true);
1237
// child element data
1238
QList<DomColor*> m_color;
1240
DomColorGroup(const DomColorGroup &other);
1241
void operator = (const DomColorGroup&other);
1244
class QT_UI4_EXPORT DomPalette {
1249
void read(const QDomElement &node);
1250
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1251
inline QString text() const { return m_text; }
1252
inline void setText(const QString &s) { m_text = s; }
1254
// attribute accessors
1255
// child element accessors
1256
inline DomColorGroup* elementActive() { return m_active; }
1257
void setElementActive(DomColorGroup* a);
1259
inline DomColorGroup* elementInactive() { return m_inactive; }
1260
void setElementInactive(DomColorGroup* a);
1262
inline DomColorGroup* elementDisabled() { return m_disabled; }
1263
void setElementDisabled(DomColorGroup* a);
1267
void clear(bool clear_all = true);
1270
// child element data
1271
DomColorGroup* m_active;
1272
DomColorGroup* m_inactive;
1273
DomColorGroup* m_disabled;
1275
DomPalette(const DomPalette &other);
1276
void operator = (const DomPalette&other);
1279
class QT_UI4_EXPORT DomFont {
1284
void read(const QDomElement &node);
1285
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1286
inline QString text() const { return m_text; }
1287
inline void setText(const QString &s) { m_text = s; }
1289
// attribute accessors
1290
// child element accessors
1291
inline QString elementFamily() { return m_family; }
1292
void setElementFamily(const QString& a);
1294
inline int elementPointSize() { return m_pointSize; }
1295
void setElementPointSize(int a);
1297
inline int elementWeight() { return m_weight; }
1298
void setElementWeight(int a);
1300
inline bool elementItalic() { return m_italic; }
1301
void setElementItalic(bool a);
1303
inline bool elementBold() { return m_bold; }
1304
void setElementBold(bool a);
1306
inline bool elementUnderline() { return m_underline; }
1307
void setElementUnderline(bool a);
1309
inline bool elementStrikeOut() { return m_strikeOut; }
1310
void setElementStrikeOut(bool a);
1314
void clear(bool clear_all = true);
1317
// child element data
1326
DomFont(const DomFont &other);
1327
void operator = (const DomFont&other);
1330
class QT_UI4_EXPORT DomPoint {
1335
void read(const QDomElement &node);
1336
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1337
inline QString text() const { return m_text; }
1338
inline void setText(const QString &s) { m_text = s; }
1340
// attribute accessors
1341
// child element accessors
1342
inline int elementX() { return m_x; }
1343
void setElementX(int a);
1345
inline int elementY() { return m_y; }
1346
void setElementY(int a);
1350
void clear(bool clear_all = true);
1353
// child element data
1357
DomPoint(const DomPoint &other);
1358
void operator = (const DomPoint&other);
1361
class QT_UI4_EXPORT DomRect {
1366
void read(const QDomElement &node);
1367
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1368
inline QString text() const { return m_text; }
1369
inline void setText(const QString &s) { m_text = s; }
1371
// attribute accessors
1372
// child element accessors
1373
inline int elementX() { return m_x; }
1374
void setElementX(int a);
1376
inline int elementY() { return m_y; }
1377
void setElementY(int a);
1379
inline int elementWidth() { return m_width; }
1380
void setElementWidth(int a);
1382
inline int elementHeight() { return m_height; }
1383
void setElementHeight(int a);
1387
void clear(bool clear_all = true);
1390
// child element data
1396
DomRect(const DomRect &other);
1397
void operator = (const DomRect&other);
1400
class QT_UI4_EXPORT DomSizePolicy {
1405
void read(const QDomElement &node);
1406
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1407
inline QString text() const { return m_text; }
1408
inline void setText(const QString &s) { m_text = s; }
1410
// attribute accessors
1411
// child element accessors
1412
inline int elementHSizeType() { return m_hSizeType; }
1413
void setElementHSizeType(int a);
1415
inline int elementVSizeType() { return m_vSizeType; }
1416
void setElementVSizeType(int a);
1418
inline int elementHorStretch() { return m_horStretch; }
1419
void setElementHorStretch(int a);
1421
inline int elementVerStretch() { return m_verStretch; }
1422
void setElementVerStretch(int a);
1426
void clear(bool clear_all = true);
1429
// child element data
1435
DomSizePolicy(const DomSizePolicy &other);
1436
void operator = (const DomSizePolicy&other);
1439
class QT_UI4_EXPORT DomSize {
1444
void read(const QDomElement &node);
1445
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1446
inline QString text() const { return m_text; }
1447
inline void setText(const QString &s) { m_text = s; }
1449
// attribute accessors
1450
// child element accessors
1451
inline int elementWidth() { return m_width; }
1452
void setElementWidth(int a);
1454
inline int elementHeight() { return m_height; }
1455
void setElementHeight(int a);
1459
void clear(bool clear_all = true);
1462
// child element data
1466
DomSize(const DomSize &other);
1467
void operator = (const DomSize&other);
1470
class QT_UI4_EXPORT DomDate {
1475
void read(const QDomElement &node);
1476
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1477
inline QString text() const { return m_text; }
1478
inline void setText(const QString &s) { m_text = s; }
1480
// attribute accessors
1481
// child element accessors
1482
inline int elementYear() { return m_year; }
1483
void setElementYear(int a);
1485
inline int elementMonth() { return m_month; }
1486
void setElementMonth(int a);
1488
inline int elementDay() { return m_day; }
1489
void setElementDay(int a);
1493
void clear(bool clear_all = true);
1496
// child element data
1501
DomDate(const DomDate &other);
1502
void operator = (const DomDate&other);
1505
class QT_UI4_EXPORT DomTime {
1510
void read(const QDomElement &node);
1511
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1512
inline QString text() const { return m_text; }
1513
inline void setText(const QString &s) { m_text = s; }
1515
// attribute accessors
1516
// child element accessors
1517
inline int elementHour() { return m_hour; }
1518
void setElementHour(int a);
1520
inline int elementMinute() { return m_minute; }
1521
void setElementMinute(int a);
1523
inline int elementSecond() { return m_second; }
1524
void setElementSecond(int a);
1528
void clear(bool clear_all = true);
1531
// child element data
1536
DomTime(const DomTime &other);
1537
void operator = (const DomTime&other);
1540
class QT_UI4_EXPORT DomDateTime {
1545
void read(const QDomElement &node);
1546
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1547
inline QString text() const { return m_text; }
1548
inline void setText(const QString &s) { m_text = s; }
1550
// attribute accessors
1551
// child element accessors
1552
inline int elementHour() { return m_hour; }
1553
void setElementHour(int a);
1555
inline int elementMinute() { return m_minute; }
1556
void setElementMinute(int a);
1558
inline int elementSecond() { return m_second; }
1559
void setElementSecond(int a);
1561
inline int elementYear() { return m_year; }
1562
void setElementYear(int a);
1564
inline int elementMonth() { return m_month; }
1565
void setElementMonth(int a);
1567
inline int elementDay() { return m_day; }
1568
void setElementDay(int a);
1572
void clear(bool clear_all = true);
1575
// child element data
1583
DomDateTime(const DomDateTime &other);
1584
void operator = (const DomDateTime&other);
1587
class QT_UI4_EXPORT DomStringList {
1592
void read(const QDomElement &node);
1593
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1594
inline QString text() const { return m_text; }
1595
inline void setText(const QString &s) { m_text = s; }
1597
// attribute accessors
1598
// child element accessors
1599
inline QStringList elementString() { return m_string; }
1600
void setElementString(const QStringList& a);
1604
void clear(bool clear_all = true);
1607
// child element data
1608
QStringList m_string;
1610
DomStringList(const DomStringList &other);
1611
void operator = (const DomStringList&other);
1614
class QT_UI4_EXPORT DomResourcePixmap {
1616
DomResourcePixmap();
1617
~DomResourcePixmap();
1619
void read(const QDomElement &node);
1620
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1621
inline QString text() const { return m_text; }
1622
inline void setText(const QString &s) { m_text = s; }
1624
// attribute accessors
1625
inline bool hasAttributeResource() { return m_has_attr_resource; }
1626
inline QString attributeResource() { return m_attr_resource; }
1627
inline void setAttributeResource(const QString& a) { m_attr_resource = a; m_has_attr_resource = true; }
1628
inline void clearAttributeResource() { m_has_attr_resource = false; }
1630
// child element accessors
1633
void clear(bool clear_all = true);
1636
QString m_attr_resource;
1637
bool m_has_attr_resource;
1639
// child element data
1641
DomResourcePixmap(const DomResourcePixmap &other);
1642
void operator = (const DomResourcePixmap&other);
1645
class QT_UI4_EXPORT DomString {
1650
void read(const QDomElement &node);
1651
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1652
inline QString text() const { return m_text; }
1653
inline void setText(const QString &s) { m_text = s; }
1655
// attribute accessors
1656
inline bool hasAttributeNotr() { return m_has_attr_notr; }
1657
inline QString attributeNotr() { return m_attr_notr; }
1658
inline void setAttributeNotr(const QString& a) { m_attr_notr = a; m_has_attr_notr = true; }
1659
inline void clearAttributeNotr() { m_has_attr_notr = false; }
1661
// child element accessors
1664
void clear(bool clear_all = true);
1667
QString m_attr_notr;
1668
bool m_has_attr_notr;
1670
// child element data
1672
DomString(const DomString &other);
1673
void operator = (const DomString&other);
1676
class QT_UI4_EXPORT DomProperty {
1681
void read(const QDomElement &node);
1682
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1683
inline QString text() const { return m_text; }
1684
inline void setText(const QString &s) { m_text = s; }
1686
// attribute accessors
1687
inline bool hasAttributeName() { return m_has_attr_name; }
1688
inline QString attributeName() { return m_attr_name; }
1689
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
1690
inline void clearAttributeName() { m_has_attr_name = false; }
1692
inline bool hasAttributeStdset() { return m_has_attr_stdset; }
1693
inline int attributeStdset() { return m_attr_stdset; }
1694
inline void setAttributeStdset(int a) { m_attr_stdset = a; m_has_attr_stdset = true; }
1695
inline void clearAttributeStdset() { m_has_attr_stdset = false; }
1697
// child element accessors
1698
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 };
1699
inline Kind kind() { return m_kind; }
1701
inline QString elementBool() { return m_bool; }
1702
void setElementBool(const QString& a);
1704
inline DomColor* elementColor() { return m_color; }
1705
void setElementColor(DomColor* a);
1707
inline QString elementCstring() { return m_cstring; }
1708
void setElementCstring(const QString& a);
1710
inline int elementCursor() { return m_cursor; }
1711
void setElementCursor(int a);
1713
inline QString elementEnum() { return m_enum; }
1714
void setElementEnum(const QString& a);
1716
inline DomFont* elementFont() { return m_font; }
1717
void setElementFont(DomFont* a);
1719
inline DomResourcePixmap* elementIconSet() { return m_iconSet; }
1720
void setElementIconSet(DomResourcePixmap* a);
1722
inline DomResourcePixmap* elementPixmap() { return m_pixmap; }
1723
void setElementPixmap(DomResourcePixmap* a);
1725
inline DomPalette* elementPalette() { return m_palette; }
1726
void setElementPalette(DomPalette* a);
1728
inline DomPoint* elementPoint() { return m_point; }
1729
void setElementPoint(DomPoint* a);
1731
inline DomRect* elementRect() { return m_rect; }
1732
void setElementRect(DomRect* a);
1734
inline QString elementSet() { return m_set; }
1735
void setElementSet(const QString& a);
1737
inline DomSizePolicy* elementSizePolicy() { return m_sizePolicy; }
1738
void setElementSizePolicy(DomSizePolicy* a);
1740
inline DomSize* elementSize() { return m_size; }
1741
void setElementSize(DomSize* a);
1743
inline DomString* elementString() { return m_string; }
1744
void setElementString(DomString* a);
1746
inline DomStringList* elementStringList() { return m_stringList; }
1747
void setElementStringList(DomStringList* a);
1749
inline int elementNumber() { return m_number; }
1750
void setElementNumber(int a);
1752
inline float elementFloat() { return m_float; }
1753
void setElementFloat(float a);
1755
inline double elementDouble() { return m_double; }
1756
void setElementDouble(double a);
1758
inline DomDate* elementDate() { return m_date; }
1759
void setElementDate(DomDate* a);
1761
inline DomTime* elementTime() { return m_time; }
1762
void setElementTime(DomTime* a);
1764
inline DomDateTime* elementDateTime() { return m_dateTime; }
1765
void setElementDateTime(DomDateTime* a);
1769
void clear(bool clear_all = true);
1772
QString m_attr_name;
1773
bool m_has_attr_name;
1776
bool m_has_attr_stdset;
1778
// child element data
1786
DomResourcePixmap* m_iconSet;
1787
DomResourcePixmap* m_pixmap;
1788
DomPalette* m_palette;
1792
DomSizePolicy* m_sizePolicy;
1794
DomString* m_string;
1795
DomStringList* m_stringList;
1801
DomDateTime* m_dateTime;
1803
DomProperty(const DomProperty &other);
1804
void operator = (const DomProperty&other);
1807
class QT_UI4_EXPORT DomConnections {
1812
void read(const QDomElement &node);
1813
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1814
inline QString text() const { return m_text; }
1815
inline void setText(const QString &s) { m_text = s; }
1817
// attribute accessors
1818
// child element accessors
1819
inline QList<DomConnection*> elementConnection() { return m_connection; }
1820
void setElementConnection(const QList<DomConnection*>& a);
1824
void clear(bool clear_all = true);
1827
// child element data
1828
QList<DomConnection*> m_connection;
1830
DomConnections(const DomConnections &other);
1831
void operator = (const DomConnections&other);
1834
class QT_UI4_EXPORT DomConnection {
1839
void read(const QDomElement &node);
1840
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1841
inline QString text() const { return m_text; }
1842
inline void setText(const QString &s) { m_text = s; }
1844
// attribute accessors
1845
// child element accessors
1846
inline QString elementSender() { return m_sender; }
1847
void setElementSender(const QString& a);
1849
inline QString elementSignal() { return m_signal; }
1850
void setElementSignal(const QString& a);
1852
inline QString elementReceiver() { return m_receiver; }
1853
void setElementReceiver(const QString& a);
1855
inline QString elementSlot() { return m_slot; }
1856
void setElementSlot(const QString& a);
1858
inline DomConnectionHints* elementHints() { return m_hints; }
1859
void setElementHints(DomConnectionHints* a);
1863
void clear(bool clear_all = true);
1866
// child element data
1871
DomConnectionHints* m_hints;
1873
DomConnection(const DomConnection &other);
1874
void operator = (const DomConnection&other);
1877
class QT_UI4_EXPORT DomConnectionHints {
1879
DomConnectionHints();
1880
~DomConnectionHints();
1882
void read(const QDomElement &node);
1883
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1884
inline QString text() const { return m_text; }
1885
inline void setText(const QString &s) { m_text = s; }
1887
// attribute accessors
1888
// child element accessors
1889
inline QList<DomConnectionHint*> elementHint() { return m_hint; }
1890
void setElementHint(const QList<DomConnectionHint*>& a);
1894
void clear(bool clear_all = true);
1897
// child element data
1898
QList<DomConnectionHint*> m_hint;
1900
DomConnectionHints(const DomConnectionHints &other);
1901
void operator = (const DomConnectionHints&other);
1904
class QT_UI4_EXPORT DomConnectionHint {
1906
DomConnectionHint();
1907
~DomConnectionHint();
1909
void read(const QDomElement &node);
1910
QDomElement write(QDomDocument &doc, const QString &tagName = QString());
1911
inline QString text() const { return m_text; }
1912
inline void setText(const QString &s) { m_text = s; }
1914
// attribute accessors
1915
inline bool hasAttributeType() { return m_has_attr_type; }
1916
inline QString attributeType() { return m_attr_type; }
1917
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
1918
inline void clearAttributeType() { m_has_attr_type = false; }
1920
// child element accessors
1921
inline int elementX() { return m_x; }
1922
void setElementX(int a);
1924
inline int elementY() { return m_y; }
1925
void setElementY(int a);
1929
void clear(bool clear_all = true);
1932
QString m_attr_type;
1933
bool m_has_attr_type;
1935
// child element data
1939
DomConnectionHint(const DomConnectionHint &other);
1940
void operator = (const DomConnectionHint&other);