summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt.h
blob: 43e3b7f33be90ccfd3d6f6c4f866b9c2c99ac0d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
/*

Copyright (C) 2010-2011 Timothy Pearson <kb9vqf@pearsoncomputing.net>

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Library General Public License for more details.

You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB.  If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.

*/

#ifndef TQT_H
#define TQT_H

#define USE_QTX

#ifdef USE_QT4
#define QT3_SUPPORT
#endif

#ifdef TQT_METHOD
#undef TQT_METHOD
#endif
#ifdef TQT_SLOT
#undef TQT_SLOT
#endif
#ifdef TQT_SIGNAL
#undef TQT_SIGNAL
#endif

#ifdef __cplusplus
#define TQT_METHOD(a)	METHOD(a)
#define TQT_SLOT(a)	SLOT(a)
#define TQT_SIGNAL(a)	SIGNAL(a)
#endif // __cplusplus

#ifdef USE_QT3
#define TQ_OBJECT		/* UNUSED */

#define qint64			long
#define quint64			unsigned long

#define tqaccess		access
#define tqcolorTable		colorTable
#define TQSO_Default		Default
#define SO_Default		Default
#define TQ_PrimitiveElement	PrimitiveElement
#define tqqt_cast		::qt_cast
#define TQ_StrongFocus		QWidget::StrongFocus
#define TQ_NoFocus		QWidget::NoFocus
#define TQ_WheelFocus		QWidget::WheelFocus
#define TQ_ClickFocus		QWidget::ClickFocus
#define TQ_TabFocus		QWidget::TabFocus
#define TQ_FocusPolicy		QWidget::FocusPolicy
#define TQ_Horizontal		Horizontal
#define TQ_Vertical		Vertical
#define TQ_Alignment		Qt::AlignmentFlags
#define TQImage_ScaleFree	QImage::ScaleFree
#define TQ_ScaleFree		QImage::ScaleFree
#define TQ_ScaleMin		QImage::ScaleMin
#define TQ_Key_Shift		Key_Shift
#define TQ_Key_Control		Key_Control
#define TQ_Key_Alt		Key_Alt
#define TQ_Key_Meta		Key_Meta
#define TQ_Key_Super_L		Key_Super_L
#define TQ_Key_Super_R		Key_Super_R
#define TQ_Key_Hyper_L		Key_Hyper_L
#define TQ_Key_Hyper_R		Key_Hyper_R
#define TQ_ButtonState		Qt::ButtonState
#define TQ_LeftButton		LeftButton
#define TQ_MidButton		MidButton
#define TQ_RightButton		RightButton
#define TQ_ShiftButton		ShiftButton
#define TQ_ControlButton	ControlButton
#define TQ_AltButton		AltButton
#define TQ_MetaButton		MetaButton
#define TQIODevice_OpenModeFlag int

#define TQAlignCenter AlignCenter
#define TQNoBrush NoBrush

#define tqred red
#define tqgreen green
#define tqblue blue
#define tqcyan cyan
#define tqmagenta magenta
#define tqyellow yellow
#define tqdarkRed darkRed
#define tqdarkGreen darkGreen
#define tqdarkBlue darkBlue
#define tqdarkCyan darkCyan
#define tqdarkMagenta darkMagenta
#define tqdarkYellow darkYellow
#define tqwhite white
#define tqwhiteptr &Qt::white
#define tqlightGray lightGray
#define tqgray gray
#define tqdarkGray darkGray
#define tqblack black
#define tqblackptr &Qt::black
#define tqcolor0 color0
#define tqcolor1 color1

#define TQAccel QAccel
#define TQAccessible QAccessible
#define TQAccessibleObject QAccessibleObject
#define TQAction QAction
#define TQActionGroup QActionGroup
#define TQApplication QApplication
#define TQAsciiCache QAsciiCache
#define TQAsciiCacheIterator QAsciiCacheIterator
#define TQAsciiDict QAsciiDict
#define TQAsciiDictIterator QAsciiDictIterator
#define TQImageConsumer QImageConsumer
#define TQImageFormat QImageFormat
#define TQImageFormatType QImageFormatType
#define TQImageDecoder QImageDecoder
#define TQAsyncIO QAsyncIO
#define TQByteArray QByteArray
#define TQDataSink QDataSink
#define TQDataSource QDataSource
#define TQIODeviceSource QIODeviceSource
#define TQDataPump QDataPump
#define TQBig5Codec QBig5Codec
#define TQBig5hkscsCodec QBig5hkscsCodec
#define TQBitVal QBitVal
#define TQBitArray QBitArray
#define TQBitmap QBitmap
#define TQBrush QBrush
#define TQBuffer QBuffer
#define TQButtonGroup QButtonGroup
#define TQButton QButton
#define TQCache QCache
#define TQCacheIterator QCacheIterator
#define TQCanvasChunk QCanvasChunk
#define TQCanvasItemList QCanvasItemList
#define TQCanvasItemExtra QCanvasItemExtra
#define TQCanvasItem QCanvasItem
#define TQCanvasData QCanvasData
#define TQCanvas QCanvas
#define TQCanvasViewData QCanvasViewData
#define TQCanvasView QCanvasView
#define TQCanvasPixmap QCanvasPixmap
#define TQCanvasPixmapArray QCanvasPixmapArray
#define TQCanvasSprite QCanvasSprite
#define TQPolygonalProcessor QPolygonalProcessor
#define TQPDevCmdParam QPDevCmdParam
#define TQCanvasPolygonalItem QCanvasPolygonalItem
#define TQCanvasRectangle QCanvasRectangle
#define TQCanvasPolygon QCanvasPolygon
#define TQCanvasSpline QCanvasSpline
#define TQCanvasLine QCanvasLine
#define TQCanvasEllipse QCanvasEllipse
#define TQCanvasTextExtra QCanvasTextExtra
#define TQCanvasText QCanvasText
#define TQCDEStyle QCDEStyle
#define TQCheckBox QCheckBox
#define TQCleanupHandler QCleanupHandler
#define TQClipboard QClipboard
#define TQSessionManager QSessionManager
#define TQSingleCleanupHandler QSingleCleanupHandler
#define TQSharedCleanupHandler QSharedCleanupHandler
#define TQSharedDoubleBuffer QSharedDoubleBuffer
#define TQShared QShared
#define TQColor QColor
#define TQColorDialog QColorDialog
#define TQStringPairList QStringPairList
#define TQLineEdit QLineEdit
#define TQValidator QValidator
#define TQListBox QListBox
#define TQComboBoxData QComboBoxData
#define TQComboTableItem QComboTableItem
#define TQWheelEvent QWheelEvent
#define TQComboBox QComboBox
#define TQCommonStyle QCommonStyle
#define TQCompactStyle QCompactStyle
#define TQConnection QConnection
#define TQCString QCString
#define TQCursor QCursor
#define TQSqlForm QSqlForm
#define TQDataBrowserPrivate QDataBrowserPrivate
#define TQDataBrowser QDataBrowser
#define TQDataStream QDataStream
#define TQPainter QPainter
#define TQSqlField QSqlField
#define TQSqlPropertyMap QSqlPropertyMap
#define TQDataTablePrivate QDataTablePrivate
#define TQDataTable QDataTable
#define TQDataView QDataView
#define TQDateEdit QDateEdit
#define TQTimeEdit QTimeEdit
#define TQDateTimeEdit QDateTimeEdit
#define TQDateTimeEditBase QDateTimeEditBase
#define TQDate QDate
#define TQTime QTime
#define TQDateTime QDateTime
#define TQDeepCopy QDeepCopy
#define TQDesktopWidget QDesktopWidget
#define TQDial QDial
#define TQDialog QDialog
#define TQDict QDict
#define TQDictIterator QDictIterator
#define TQDir QDir
#define TQDirLineEdit QDirLineEdit
#define TQDirMultiLineEdit QDirMultiLineEdit
#define TQDns QDns
#define TQDnsSocket QDnsSocket
#define TQDockArea QDockArea
#define TQDockAreaLayout QDockAreaLayout
#define TQDockWindow QDockWindow
#define TQDomImplementation QDomImplementation
#define TQDomNodeList QDomNodeList
#define TQDomDocumentType QDomDocumentType
#define TQDomDocument QDomDocument
#define TQDomNamedNodeMap QDomNamedNodeMap
#define TQDomDocumentFragment QDomDocumentFragment
#define TQDomCharacterData QDomCharacterData
#define TQDomAttr QDomAttr
#define TQDomElement QDomElement
#define TQDomText QDomText
#define TQDomComment QDomComment
#define TQDomCDATASection QDomCDATASection
#define TQDomNotation QDomNotation
#define TQDomEntity QDomEntity
#define TQDomEntityReference QDomEntityReference
#define TQDomProcessingInstruction QDomProcessingInstruction
#define TQDomNode QDomNode
#define TQDragObject QDragObject
#define TQStoredDrag QStoredDrag
#define TQTextDrag QTextDrag
#define TQImageDrag QImageDrag
#define TQUriDrag QUriDrag
#define TQColorDrag QColorDrag
#define TQDropSite QDropSite
#define TQEditorFactory QEditorFactory
#define TQErrorMessage QErrorMessage
#define TQEucJpCodec QEucJpCodec
#define TQEucKrCodec QEucKrCodec
#define TQEvent QEvent
#define TQTimerEvent QTimerEvent
#define TQMouseEvent QMouseEvent
#define TQWheelEvent QWheelEvent
#define TQTabletEvent QTabletEvent
#define TQKeyEvent QKeyEvent
#define TQFocusEvent QFocusEvent
#define TQPaintEvent QPaintEvent
#define TQMoveEvent QMoveEvent
#define TQResizeEvent QResizeEvent
#define TQRgb QRgb
#define TQCloseEvent QCloseEvent
#define TQIconDragEvent QIconDragEvent
#define TQShowEvent QShowEvent
#define TQHideEvent QHideEvent
#define TQContextMenuEvent QContextMenuEvent
#define TQIMEvent QIMEvent
#define TQIMComposeEvent QIMComposeEvent
#define TQDropEvent QDropEvent
#define TQDragMoveEvent QDragMoveEvent
#define TQDragEnterEvent QDragEnterEvent
#define TQDragResponseEvent QDragResponseEvent
#define TQDragLeaveEvent QDragLeaveEvent
#define TQChildEvent QChildEvent
#define TQCustomEvent QCustomEvent
#define TQEventLoop QEventLoop
#define TQFileIconProvider QFileIconProvider
#define TQFilePreview QFilePreview
#define TQFileDialog QFileDialog
#define TQFile QFile
#define TQFileInfo QFileInfo
#define TQFileInfoList QFileInfoList
#define TQFileInfoListIterator QFileInfoListIterator
#define TQFocusData QFocusData
#define TQFontDatabase QFontDatabase
#define TQFont QFont
#define TQFontInfo QFontInfo
#define TQFontMetrics QFontMetrics
#define TQFrame QFrame
#define TQFtp QFtp
#define TQGArray QGArray
#define TQGb18030Codec QGb18030Codec
#define TQGbkCodec QGbkCodec
#define TQGb2312Codec QGb2312Codec
#define TQGCache QGCache
#define TQGCacheIterator QGCacheIterator
#define TQBaseBucket QBaseBucket
#define TQStringBucket QStringBucket
#define TQAsciiBucket QAsciiBucket
#define TQIntBucket QIntBucket
#define TQPtrBucket QPtrBucket
#define TQGDict QGDict
#define TQGDictIterator QGDictIterator
#define TQGLColormap QGLColormap
#define TQGL QGL
#define TQGLFormat QGLFormat
#define TQGLContext QGLContext
#define TQGLWidget QGLWidget
#define TQLNode QLNode
#define TQGList QGList
#define TQGListIterator QGListIterator
#define TQGListStdIterator QGListStdIterator
#define TQGPlugin QGPlugin
#define TQGrid QGrid
#define TQGridView QGridView
#define TQGroupBox QGroupBox
#define TQGuardedPtr QGuardedPtr
#define TQGuardedPtrPrivate QGuardedPtrPrivate
#define TQGVector QGVector
#define TQHBox QHBox
#define TQHButtonGroup QHButtonGroup
#define TQHeader QHeader
#define TQHGroupBox QHGroupBox
#define TQHostAddress QHostAddress
#define TQHttpHeader QHttpHeader
#define TQHttpResponseHeader QHttpResponseHeader
#define TQHttpRequestHeader QHttpRequestHeader
#define TQHttp QHttp
#define TQIconSet QIconSet
#define TQIconFactory QIconFactory
#define TQIconDragItem QIconDragItem
#define TQIconDrag QIconDrag
#define TQIconViewItem QIconViewItem
#define TQIconView QIconView
#define TQImageFormatPlugin QImageFormatPlugin
#define TQImageTextKeyLang QImageTextKeyLang
#define TQImage QImage
#define TQImageIO QImageIO
#define TQInputContextFactory QInputContextFactory
#define TQInputContext QInputContext
#define TQIntCache QIntCache
#define TQIntCacheIterator QIntCacheIterator
#define TQIntDict QIntDict
#define TQIntDictIterator QIntDictIterator
#define TQIODevice QIODevice
#define TQJisCodec QJisCodec
#define TQJpUnicodeConv QJpUnicodeConv
#define TQKeySequence QKeySequence
#define TQLabel QLabel
#define TQGLayoutIterator QGLayoutIterator
#define TQLayoutIterator QLayoutIterator
#define TQLayoutItem QLayoutItem
#define TQLayoutWidget QLayoutWidget
#define TQSpacerItem QSpacerItem
#define TQWidgetItem QWidgetItem
#define TQLayout QLayout
#define TQGridLayout QGridLayout
#define TQBoxLayout QBoxLayout
#define TQHBoxLayout QHBoxLayout
#define TQVBoxLayout QVBoxLayout
#define TQLCDNumber QLCDNumber
#define TQLibrary QLibrary
#define TQLineEdit QLineEdit
#define TQListBoxItem QListBoxItem
#define TQListBoxText QListBoxText
#define TQListBoxPixmap QListBoxPixmap
#define TQListViewItem QListViewItem
#define TQListView QListView
#define TQCheckListItem QCheckListItem
#define TQListViewItemIterator QListViewItemIterator
#define TQLocale QLocale
#define TQLocalFs QLocalFs
#define TQMainWindow QMainWindow
#define TQMapIterator QMapIterator
#define TQMapConstIterator QMapConstIterator
#define TQMapPrivateBase QMapPrivateBase
#define TQMapPrivate QMapPrivate
#define TQMap QMap
#define TQMemArray QMemArray
#define TQMenuBar QMenuBar
#define TQMenuItem QMenuItem
#define TQCustomMenuItem QCustomMenuItem
#define TQMenuData QMenuData
#define TQMessageBox QMessageBox
#define TQMetaData QMetaData
#define TQMetaProperty QMetaProperty
#define TQMetaObject QMetaObject
#define TQMetaObjectCleanUp QMetaObjectCleanUp
#define TQMimeSource QMimeSource
#define TQMimeSourceFactory QMimeSourceFactory
#define TQWindowsMime QWindowsMime
#define TQMacMime QMacMime
#define TQMotifPlusStyle QMotifPlusStyle
#define TQMotifStyle QMotifStyle
#define TQMovie QMovie
#define TQMultiLineEdit QMultiLineEdit
#define TQMutex QMutex
#define TQMutexLocker QMutexLocker
#define TQt Qt
#define TQInternal QInternal
#define TQNetworkProtocolFactoryBase QNetworkProtocolFactoryBase
#define TQNetworkProtocolFactory QNetworkProtocolFactory
#define TQNetworkProtocol QNetworkProtocol
#define TQNetworkOperation QNetworkOperation
#define TQObjectCleanupHandler QObjectCleanupHandler
#define TQObjectDictionary QObjectDictionary
#define TQObject QObject
#define TQObjectUserData QObjectUserData
#define TQObject QObject
#define TQObjectList QObjectList
#define TQObjectListIterator QObjectListIterator
#define TQObjectListIt QObjectListIt
#define TQPaintDevice QPaintDevice
#define TQPaintDeviceMetrics QPaintDeviceMetrics
#define TQColorGroup QColorGroup
#define TQPair QPair
#define TQPalette QPalette
#define TQPen QPen
#define TQPicture QPicture
#define TQPixmapCache QPixmapCache
#define TQPixmap QPixmap
#define TQPlatinumStyle QPlatinumStyle
#define TQPNGImageWriter QPNGImageWriter
#define TQPNGImagePacker QPNGImagePacker
#define TQPointArray QPointArray
#define TQPoint QPoint
#define TQPolygonScanner QPolygonScanner
#define TQPopupMenu QPopupMenu
#define TQPrintDialog QPrintDialog
#define TQPrinter QPrinter
#define TQProcess QProcess
#define TQProgressBar QProgressBar
#define TQProgressDialog QProgressDialog
#define TQPtrCollection QPtrCollection
#define TQPtrDict QPtrDict
#define TQPtrDictIterator QPtrDictIterator
#define TQPtrListStdIterator QPtrListStdIterator
#define TQPtrList QPtrList
#define TQPtrListIterator QPtrListIterator
#define TQPtrQueue QPtrQueue
#define TQPtrStack QPtrStack
#define TQPtrVector QPtrVector
#define TQPushButton QPushButton
#define TQRadioButton QRadioButton
#define TQRangeControl QRangeControl
#define TQSpinWidget QSpinWidget
#define TQRect QRect
#define TQRegExp QRegExp
#define TQRegion QRegion
#define TQHebrewCodec QHebrewCodec
#define TQScrollBar QScrollBar
#define TQScrollView QScrollView
#define TQSemaphore QSemaphore
#define TQSemiModal QSemiModal
#define TQServerSocket QServerSocket
#define TQSettings QSettings
#define TQSGIStyle QSGIStyle
#define TQSignal QSignal
#define TQSignalMapper QSignalMapper
#define TQConnectionList QConnectionList
#define TQConnectionListIt QConnectionListIt
#define TQSignalVec QSignalVec
#define TQSimpleRichText QSimpleRichText
#define TQSizeGrip QSizeGrip
#define TQSize QSize
#define TQSizePolicy QSizePolicy
#define TQSjisCodec QSjisCodec
#define TQSlider QSlider
#define TQSocketDevice QSocketDevice
#define TQSocket QSocket
#define TQSocketNotifier QSocketNotifier
#define TQSortedList QSortedList
#define TQSound QSound
#define TQSpinBox QSpinBox
#define TQSplashScreen QSplashScreen
#define TQSplitter QSplitter
#define TQSqlCursor QSqlCursor
#define TQSqlDatabase QSqlDatabase
#define TQSqlDriver QSqlDriver
#define TQSqlDriverPlugin QSqlDriverPlugin
#define TQSqlEditorFactory QSqlEditorFactory
#define TQSqlError QSqlError
#define TQSqlFieldPrivate QSqlFieldPrivate
#define TQSqlField QSqlField
#define TQSqlFieldInfo QSqlFieldInfo
#define TQSql QSql
#define TQSqlIndex QSqlIndex
#define TQSqlQuery QSqlQuery
#define TQSqlResultShared QSqlResultShared
#define TQSqlRecordShared QSqlRecordShared
#define TQSqlRecord QSqlRecord
#define TQSqlRecordInfo QSqlRecordInfo
#define TQSqlResult QSqlResult
#define TQSqlSelectCursorPrivate QSqlSelectCursorPrivate
#define TQSqlSelectCursor QSqlSelectCursor
#define TQStatusBar QStatusBar
#define TQChar QChar
#define TQString QString
#define TQCharRef QCharRef
#define TQConstString QConstString
#define TQStringList QStringList
#define TQStrListIterator QStrListIterator
#define TQStrIList QStrIList
#define TQStrList QStrList
#define TQStrVec QStrVec
#define TQStrIVec QStrIVec
#define TQStyleFactory QStyleFactory
#define TQStyleOption QStyleOption
#define TQStyle QStyle
#define TQStyleHintReturn QStyleHintReturn
#define TQStylePlugin QStylePlugin
#define TQStyleSheetItem QStyleSheetItem
#define TQStyleSheet QStyleSheet
#define TQSyntaxHighlighter QSyntaxHighlighter
#define TQTab QTab
#define TQTabBar QTabBar
#define TQTabDialog QTabDialog
#define TQTableSelection QTableSelection
#define TQTableItem QTableItem
#define TQCheckTableItem QCheckTableItem
#define TQTable QTable
#define TQTabWidget QTabWidget
#define TQTextBrowser QTextBrowser
#define TQTextCodecFactory QTextCodecFactory
#define TQTextEncoder QTextEncoder
#define TQTextDecoder QTextDecoder
#define TQTextCodec QTextCodec
#define TQTextCodecPlugin QTextCodecPlugin
#define TQTextEdit QTextEdit
#define TQTextStream QTextStream
#define TQTextIStream QTextIStream
#define TQTextOStream QTextOStream
#define TQTSManip QTSManip
#define TQTextView QTextView
#define TQThread QThread
#define TQThreadStorageData QThreadStorageData
#define TQThreadStorage QThreadStorage
#define TQTimer QTimer
#define TQTextOStreamIterator QTextOStreamIterator
#define TQBackInsertIterator QBackInsertIterator
#define TQtMsgType QtMsgType
#define TQtMsgHandler QtMsgHandler
#define TQToolBar QToolBar
#define TQToolBox QToolBox
#define TQToolButton QToolButton
#define TQToolTipGroup QToolTipGroup
#define TQToolTip QToolTip
#define TQTranslator QTranslator
#define TQTranslatorMessage QTranslatorMessage
#define TQTsciiCodec QTsciiCodec
#define TQUrl QUrl
#define TQUrlInfo QUrlInfo
#define TQUrlOperator QUrlOperator
#define TQUtf8Codec QUtf8Codec
#define TQUtf16Codec QUtf16Codec
#define TQValidator QValidator
#define TQIntValidator QIntValidator
#define TQDoubleValidator QDoubleValidator
#define TQRegExpValidator QRegExpValidator
#define TQValueListNode QValueListNode
#define TQValueListIterator QValueListIterator
#define TQValueListConstIterator QValueListConstIterator
#define TQValueListPrivate QValueListPrivate
#define TQValueList QValueList
#define TQValueStack QValueStack
#define TQValueVectorPrivate QValueVectorPrivate
#define TQValueVector QValueVector
#define TQVariant QVariant
#define TQVBox QVBox
#define TQVButtonGroup QVButtonGroup
#define TQVGroupBox QVGroupBox
#define TQWaitCondition QWaitCondition
#define TQWhatsThis QWhatsThis
#define TQWidgetFactory QWidgetFactory
#define TQWidget QWidget
#define TQWidgetIntDict QWidgetIntDict
#define TQWidgetIntDictIt QWidgetIntDictIt
#define TQWidgetList QWidgetList
#define TQWidgetListIt QWidgetListIt
#define TQWidgetPlugin QWidgetPlugin
#define TQWidgetContainerPlugin QWidgetContainerPlugin
#define TQWidgetStack QWidgetStack
#define TQWidgetStackAccelManager QWidgetStackAccelManager
#define TQWindowsStyle QWindowsStyle
#define TQWizard QWizard
#define TQWMatrix QWMatrix
#define TQWorkspace QWorkspace
#define TQXEmbed QXEmbed
#define TQXmlNamespaceSupport QXmlNamespaceSupport
#define TQXmlAttributes QXmlAttributes
#define TQXmlInputSource QXmlInputSource
#define TQXmlParseException QXmlParseException
#define TQXmlReader QXmlReader
#define TQXmlSimpleReader QXmlSimpleReader
#define TQXmlLocator QXmlLocator
#define TQXmlContentHandler QXmlContentHandler
#define TQXmlErrorHandler QXmlErrorHandler
#define TQXmlDTDHandler QXmlDTDHandler
#define TQXmlEntityResolver QXmlEntityResolver
#define TQXmlLexicalHandler QXmlLexicalHandler
#define TQXmlDeclHandler QXmlDeclHandler
#define TQXmlDefaultHandler QXmlDefaultHandler
#define TQUnknownInterface QUnknownInterface

#define tqRound	qRound
#define tqstrlen	qstrlen
#define tqstrncmp	qstrncmp
#define tqUncompress	qUncompress
#define tqCopy	qCopy
#define tqEqual	qEqual
#define tqFill	qFill
#define tqFind	qFind
#define tqCount	qCount
#define tqSwap	qSwap
#define tqSystemWarning	qSystemWarning
#define tqSuppressObsoleteWarnings	qSuppressObsoleteWarnings

#define tqmoc	moc
#define TQMOC	MOC
#define TQRGB_MASK	RGB_MASK

#define TQ_INT8		Q_INT8
#define TQ_INT16	Q_INT16
#define TQ_INT32	Q_INT32
#define TQ_INT64	Q_INT64
#define TQ_UINT8	Q_UINT8
#define TQ_UINT16	Q_UINT16
#define TQ_UINT32	Q_UINT32
#define TQ_UINT64	Q_UINT64

#define TQ_LONG		Q_LONG
#define TQ_LLONG	Q_LLONG
#define TQ_ULONG	Q_ULONG
#define TQ_ULLONG	Q_ULLONG

#define tqRed	qRed
#define tqGreen	qGreen
#define tqBlue	qBlue
#define tqAlpha	qAlpha
#define tqRgb	qRgb
#define tqRgba	qRgba
#define tqGray	qGray
#define tqCompress	qCompress
#define tqInstallMsgHandler	qInstallMsgHandler
#define tqparentWidget	parentWidget
#define tqchildAt	childAt
#define tqAppName	qAppName
#define tqApp	qApp

#define tqCursorShape	CursorShape
#define tqshape	shape
#define tqStatus	Status
#define tqmetaObject	metaObject
#define tqfind	find
#define tqchildren	children
#define tqsetObjectName	setObjectName
#define tqtopLevelWidget	topLevelWidget
#define tqparent	parent
#define tqmask	mask
#define tqfocusWidget	focusWidget
#define tqcontains	contains
#define tqunicode	unicode
#define tqreplace	replace
#define tqsignals	signals
#define tqslots	slots
#define tqworldMatrix	worldMatrix
#define tqsizeHint	sizeHint
#define tqminimumSize	minimumSize
#define tqmaximumSize	maximumSize
#define tqgeometry	geometry
#define tqspacerItem	spacerItem
#define tqlayout	layout
#define tqsetAlignment	setAlignment
#define tqinvalidate	invalidate
#define tqalignment	alignment
#define tqdevice	device
#define tqfromLatin1	fromLatin1
#define tqreceivers	receivers
#define tqencodedData	encodedData
#define tqcurrentDate	currentDate
#define tqstyleHint	styleHint
#define tqitemRect	itemRect
#define tqvisualRect	visualRect
#define tqdrawControl	drawControl
#define tqsetSizePolicy	setSizePolicy
#define tqpixelMetric	pixelMetric
#define tqdrawComplexControl	drawComplexControl
#define tqrepaint	repaint
#define tqcolorGroup	colorGroup
#define tqdrawTextItem	drawTextItem
#define tqsetLibraryPaths	setLibraryPaths
#define tqsetColorGroup	setColorGroup
#define tqfindRev	findRev
#define tqfindProperty	findProperty
#define tqfindSlot	findSlot
#define tqcurrentDateTime	currentDateTime
#define tqfindItem	findItem
#define tqtopLevelWidgets	topLevelWidgets
#define tqcontainsRef	containsRef
#define tqfindIndex	findIndex
#define tqfindRef	findRef
#define tqminimumSizeHint	minimumSizeHint
#define tqmaximumSizeHint	maximumSizeHint
#define tqreplaceChild	replaceChild
#define tqrepaintContents	repaintContents
#define tqrepaintCell	repaintCell
#define tqrepaintItem	repaintItem
#define tqfindSignal	findSignal
#define settqStatus	setStatus
#define tqfindNextRef	findNextRef
#define connecttqStatus	connectStatus
#define disconnecttqStatus	disconnectStatus
#define tqrepaintChanged	repaintChanged
#define tqinvalidateHeight	invalidateHeight
#define tqlayoutTabs	layoutTabs
#define tqreplacement	replacement
#define tqsuperClass	superClass
#define tqinvertPixels	invertPixels
#define setqStatus	setStatus
#define tqparentNode	parentNode
#define tqsuperClassName	superClassName
#define tqclipboard	clipboard
#define tqfamilies	families
#define tqstartsWith	startsWith
#define tqrects	rects
#define tqsetFont	setFont
#define tqsetPalette	setPalette
#define tqpalette	palette
#define tqstyle		style
#define tqstyles	styles
#define tqsizePolicy	sizePolicy
#define tqparentMenu	parentMenu
#define tqsmoothSizes	smoothSizes
#define tqstandardSizes	standardSizes
#define tqresize	resize
#define tqstaticMetaObject	staticMetaObject
#define tqopen	open
#define tqtext	text
#define tqdrawPolyline	drawPolyline
#define tqbrush	brush
#define tqat	at
#define tqresizeMode	resizeMode
#define connectqStatus	connectStatus
#define disconnectqStatus	disconnectStatus
#define tqendsWith	endsWith
#define tqdrawConvexPolygon	drawConvexPolygon
#define tqallWidgets	allWidgets
#define tqcapturedTexts	capturedTexts

#define tqdrawPrimitive			drawPrimitive
#define tqdrawControlMask		drawControlMask
#define tqsizeFromContents		sizeFromContents
#define tqdrawComplexControlMask	drawComplexControlMask

#define TQCOORD		QCOORD
#define TQCOORD_MAX	QCOORD_MAX
#define TQ_SETS		Q_SETS
#define TQ_PROPERTY	Q_PROPERTY
#define TQMIN		QMIN
#define TQMAX		QMAX
#define TQABS		QABS
#define tqqt_cast	qt_cast
#define tqMakePair	qMakePair
#define qt_tqfind_obj_child	qt_find_obj_child
#define tqt_ucm_query_verification_data	qt_ucm_query_verification_data

#define TQUObject		QUObject
#define static_TQUType_int	static_QUType_int
#define static_TQUType_TQString	static_QUType_QString
#define static_TQUType_ptr	static_QUType_ptr
#define static_TQUType_bool	static_QUType_bool

#define tqt_mo_access access

// BEGIN BLOCK ONE
// This block of text is taken (mostly) straight from TQt for Qt4 tqtglobaldefines.h
// It will need to be updated now and then as TQt for Qt4 changes

#define TQT_TQOBJECT(x) (static_cast<TQObject*>(static_cast<QObject*>(x)))
#define TQT_TQWIDGET(x) (static_cast<TQWidget*>(static_cast<QWidget*>(x)))
#define TQT_TQSIZEPOLICY(x) (static_cast<TQSizePolicy*>(static_cast<QSizePolicy*>(x)))
#define TQT_TQLAYOUT(x) (static_cast<TQLayout*>(static_cast<QLayout*>(x)))
#define TQT_TQPAINTER(x) (static_cast<TQPainter*>(static_cast<QPainter*>(x)))
#define TQT_TQPAINTDEVICE(x) (static_cast<TQPaintDevice*>(static_cast<QPaintDevice*>(x)))
#define TQT_TQLAYOUTITEM(x) (static_cast<TQLayoutItem*>(static_cast<QLayoutItem*>(x)))
#define TQT_TQIODEVICE(x) (static_cast<TQIODevice*>(static_cast<QIODevice*>(x)))
#define TQT_TQCOLOR(x) (static_cast<TQColor*>(static_cast<QColor*>(x)))
#define TQT_TQCHAR(x) TQChar(x)
#define TQT_TQSTRING(x) TQString(x)
#define TQT_TQBUFFER(x) (static_cast<TQBuffer*>(static_cast<QBuffer*>(x)))
#define TQT_TQWMATRIX(x) (static_cast<TQWMatrix*>(static_cast<QMatrix*>(x)))
#define TQT_TQFILE(x) (static_cast<TQFile*>(static_cast<QFile*>(x)))
#define TQT_TQBYTEARRAY(x) (static_cast<TQByteArray*>(static_cast<QByteArray*>(x)))
#define TQT_TQMIMESOURCE(x) (static_cast<TQMimeSource*>(static_cast<QMimeSource*>(x)))
#define TQT_TQWEXTRA(x) (static_cast<TQWExtra*>(static_cast<QWExtra*>(x)))
#define TQT_TQPIXMAP(x) (static_cast<TQPixmap*>(static_cast<QPixmap*>(x)))
#define TQT_TQCLIPBOARD(x) (static_cast<TQClipboard*>(static_cast<QClipboard*>(x)))
#define TQT_TQPRINTER(x) (static_cast<TQPrinter*>(static_cast<QPrinter*>(x)))
#define TQT_TQVARIANT(x) (static_cast<TQVariant*>(static_cast<QVariant*>(x)))
#define TQT_TQMETAOBJECT(x) (static_cast<TQMetaObject*>(static_cast<QMetaObject*>(x)))
#define TQT_TQSTYLEOPTION(x) (static_cast<TQStyleOption*>(static_cast<TQStyleOption*>(x)))
#define TQT_TQEVENT(x) (static_cast<TQEvent*>(static_cast<QEvent*>(x)))
#define TQT_TQKEYEVENT(x) (static_cast<TQKeyEvent*>(static_cast<QKeyEvent*>(static_cast<QEvent*>(x))))
#define TQT_TQSHOWEVENT(x) (static_cast<TQShowEvent*>(static_cast<QShowEvent*>(static_cast<QEvent*>(x))))
#define TQT_TQMOUSEEVENT(x) (static_cast<TQMouseEvent*>(static_cast<QMouseEvent*>(static_cast<QEvent*>(x))))
#define TQT_TQWHEELEVENT(x) (static_cast<TQWheelEvent*>(static_cast<QWheelEvent*>(static_cast<QEvent*>(x))))
#define TQT_TQFOCUSEVENT(x) (static_cast<TQFocusEvent*>(static_cast<QFocusEvent*>(static_cast<QEvent*>(x))))
#define TQT_TQPAINTEVENT(x) (static_cast<TQPaintEvent*>(static_cast<QPaintEvent*>(static_cast<QEvent*>(x))))
#define TQT_TQCHILDEVENT(x) (static_cast<TQChildEvent*>(static_cast<QChildEvent*>(static_cast<QEvent*>(x))))
#define TQT_TQRESIZEEVENT(x) (static_cast<TQResizeEvent*>(static_cast<QResizeEvent*>(static_cast<QEvent*>(x))))

#define TQT_TQOBJECT_OBJECT(x) x
#define TQT_TQSIZEPOLICY_OBJECT(x) x
#define TQT_TQLAYOUT_OBJECT(x) x
#define TQT_TQCOLOR_OBJECT(x) x
#define TQT_TQSTRING_OBJECT(x) x
#define TQT_TQSTRLIST_OBJECT(x) x
#define TQT_TQSTRINGLIST_OBJECT(x) x
#define TQT_TQWMATRIX_OBJECT(x) x
#define TQT_TQRECT_OBJECT(x) x
#define TQT_TQBYTEARRAY_OBJECT(x) x
#define TQT_TQPIXMAP_OBJECT(x) x
#define TQT_TQTIME_OBJECT(x) x
#define TQT_TQDATE_OBJECT(x) x
#define TQT_TQDATETIME_OBJECT(x) x
#define TQT_TQBRUSH_OBJECT(x) x
#define TQT_TQPALETTE_OBJECT(x) x
#define TQT_TQPOINT_OBJECT(x) x
#define TQT_TQREGION_OBJECT(x) x
#define TQT_TQIMAGE_OBJECT(x) x
#define TQT_TQPAINTDEVICE_OBJECT(x) x
#define TQT_TQVARIANT_OBJECT(x) x
#define TQT_TQIODEVICE_OBJECT(x) x
#define TQT_TQSTYLEOPTION_OBJECT(x) x

#define TQT_TQOBJECT_CONST(x) (static_cast<const TQObject*>(static_cast<const TQObject*>(x)))
#define TQT_TQWIDGET_CONST(x) (static_cast<const TQWidget*>(static_cast<const QWidget*>(x)))
#define TQT_TQMIMESOURCE_CONST(x) (static_cast<const TQMimeSource*>(static_cast<const QMimeSource*>(x)))
#define TQT_TQBRUSH_CONST(x) (static_cast<const TQBrush*>(static_cast<const QBrush*>(x)))
#define TQT_TQPIXMAP_CONST(x) (static_cast<const TQPixmap*>(static_cast<const QPixmap*>(x)))
#define TQT_TQCOLOR_CONST(x) (static_cast<const TQColor*>(static_cast<const QColor*>(x)))
#define TQT_TQPRINTER_CONST(x) (static_cast<const TQPrinter*>(static_cast<const QPrinter*>(x)))
#define TQT_TQIODEVICE_CONST(x) (static_cast<const TQIODevice*>(static_cast<const QIODevice*>(x)))
#define TQT_TQVARIANT_CONST(x) (static_cast<const TQVariant*>(static_cast<const QVariant*>(x)))
#define TQT_TQMETAOBJECT_CONST(x) (static_cast<const TQMetaObject*>(static_cast<const QMetaObject*>(x)))
#define TQT_TQSTYLEOPTION_CONST(x) (static_cast<const TQStyleOption*>(static_cast<const TQStyleOption*>(x)))

#define TQT_BASE_OBJECT_NAME QObject
#define TQT_BASE_OBJECT(x) (static_cast<TQT_BASE_OBJECT_NAME*>(x))
#define TQT_BASE_OBJECT_CONST(x) (static_cast<const TQT_BASE_OBJECT_NAME*>(x))

#define setTqmaximumSize	setMaximumSize
#define setTqminimumSize	setMinimumSize
#define setTqalignment		tqsetAlignment
#define setTqgeometry		setGeometry

// END BLOCK ONE

#define tqarrowCursor		Qt::arrowCursor
#define tqupArrowCursor		Qt::upArrowCursor
#define tqcrossCursor		Qt::crossCursor
#define tqwaitCursor		Qt::waitCursor
#define tqibeamCursor		Qt::ibeamCursor
#define tqsizeVerCursor		Qt::sizeVerCursor
#define tqsizeHorCursor		Qt::sizeHorCursor
#define tqsizeBDiagCursor	Qt::sizeBDiagCursor
#define tqsizeFDiagCursor	Qt::sizeFDiagCursor
#define tqsizeAllCursor		Qt::sizeAllCursor
#define tqblankCursor		Qt::blankCursor
#define tqsplitVCursor		Qt::splitVCursor
#define tqsplitHCursor		Qt::splitHCursor
#define tqpointingHandCursor	Qt::pointingHandCursor
#define tqforbiddenCursor	Qt::forbiddenCursor
#define tqwhatsThisCursor	Qt::whatsThisCursor
#define tqbusyCursor		Qt::busyCursor

#endif // USE_QT3

#ifdef USE_QT4

//#define TQT_QT_STRING_LIST_TYPE QStringList
//#define TQT_QT_STRING_LIST_TYPE Q3StrList
#define TQT_QT_STRING_LIST_TYPE TQStrList

#ifdef __cplusplus
class TQT_QT_STRING_LIST_TYPE;
class QUObject;

#include <tqt4/Qt/qglobal.h>
#include <tqt4/Qt/qchar.h>
#include <tqt4/Qt/qnamespace.h>
#include <tqt4/Qt/qobjectdefs.h>
#include <tqt4/Qt/qlist.h>
#include <tqt4/Qt/qbytearray.h>
#include <tqt4/Qt/qstring.h>
#include <tqt4/Qt/qobject.h>
#include <tqucomextra_p.h>
#define QT_NO_QOBJECT
#include <tqt4/Qt/qiodevice.h>
#undef QT_NO_QOBJECT
#include <tqt4/Qt/qdatastream.h>
#include <tqt4/Qt/qvariant.h>
#include <tqt4/Qt/qmetaobject.h>
#include <tqeventloop.h>
#include <tqt4/Qt/qpaintdevice.h>
#include <tqt4/Qt/qvector.h>
#include <tqt4/Qt/qimage.h>
#include <tqt4/Qt/qpixmap.h>
#include <tqt4/Qt/qwidget.h>
#include <tqt4/Qt/q3painter.h>
#include <tqt4/Qt/qicon.h>
#include <tqt4/Qt/qstyle.h>
#include <tqt4/Qt/qtabbar.h>
#include <tqt4/Qt/qstyleoption.h>
#include <tqt4/Qt/qcommonstyle.h>
#include <tqt4/Qt/qapplication.h>
#include <tqt4/Qt/q3cstring.h>
#include <tqt4/Qt/q3pointarray.h>
#include <tqt4/Qt/qslider.h>
#include <tqt4/Qt/qscrollbar.h>
#include <tqt4/Qt/qfileinfo.h>
#include <tqt4/Qt/qmenu.h>
#include <tqt4/Qt/q3popupmenu.h>
#include <tqt4/Qt/qmenudata.h>
#include <tqt4/Qt/qdir.h>
#include <tqt4/Qt/qtooltip.h>
#include <tqt4/Qt/qmovie.h>
#include <tqt4/Qt/q3whatsthis.h>
#include <tqt4/Qt/qtextcodec.h>

#include <Qt/q3strlist.h>
#include <Qt/qx11info_x11.h>

#include <Qt/q3combobox.h>
#include <Qt/q3groupbox.h>
#include <Qt/q3progressbar.h>
#include <Qt/q3textstream.h>
#include <Qt/q3valuelist.h>
#include <Qt/q3url.h>
#include <Qt/qdesktopwidget.h>
#include <Qt/qevent.h>

#include <tqlistiterator.h>

#include <tqstringlist.h>
#endif // __cplusplus

#define tqchildren		ptrchildren
#define tqaccess		access()
#define tqcolorTable		ptrColorTable
#define tqmask			ptrmask
#define TQSO_Default		SO_Default
#define tqqt_cast		qobject_cast
#define TQ_Horizontal		Qt::Horizontal
#define TQ_Vertical		Qt::Vertical
#define TQImage_ScaleFree	Qt::ScaleFree
#define TQ_Key_Shift		Qt::Key_Shift
#define TQ_Key_Control		Qt::Key_Control
#define TQ_Key_Alt		Qt::Key_Alt
#define TQ_Key_Meta		Qt::Key_Meta
#define TQ_Key_Super_L		Qt::Key_Super_L
#define TQ_Key_Super_R		Qt::Key_Super_R
#define TQ_Key_Hyper_L		Qt::Key_Hyper_L
#define TQ_Key_Hyper_R		Qt::Key_Hyper_R
#define TQ_ButtonState		ButtonState
#define TQ_LeftButton		Qt::LeftButton
#define TQ_MidButton		Qt::MidButton
#define TQ_RightButton		Qt::RightButton
#define TQ_ShiftButton		Qt::ShiftButton
#define TQ_ControlButton	Qt::ControlButton
#define TQ_AltButton		Qt::AltButton
#define TQ_MetaButton		Qt::MetaButton
#define TQIODevice_OpenModeFlag QIODevice::OpenModeFlag

#define TQAlignCenter Qt::AlignCenter
#define TQNoBrush Qt::NoBrush

#define QMetaData QMetaMethod
//#define qt_xdisplay QPaintDevice::x11Display
#define qt_xdisplay QX11Info::display
//#define qt_xrootwin QPaintDevice::x11AppRootWindow
#define qt_xrootwin QX11Info::appRootWindow
//#define qt_xscreen QPaintDevice::x11Screen
#define qt_xscreen QX11Info::appScreen
#define qt_xget_temp_gc QPaintDevice::qt_xget_temp_gc
#define TickSetting TickPosition
#define ButtonState Qt::ButtonState
//#define qHeapSort qStableSort
#define qHeapSort tqHeapSort

#define ColorOnly Qt::ColorOnly
#define MonoOnly Qt::MonoOnly
#define ColorMode_Mask Qt::ColorMode_Mask

#define tqred Qt::red
#define tqgreen Qt::green
#define tqblue Qt::blue
#define tqcyan Qt::cyan
#define tqmagenta Qt::magenta
#define tqyellow Qt::yellow
#define tqdarkRed Qt::darkRed
#define tqdarkGreen Qt::darkGreen
#define tqdarkBlue Qt::darkBlue
#define tqdarkCyan Qt::darkCyan
#define tqdarkMagenta Qt::darkMagenta
#define tqdarkYellow Qt::darkYellow
#define tqwhite Qt::white
// #define tqwhiteptr &((QColor)Qt::white)
#define tqlightGray Qt::lightGray
#define tqgray Qt::gray
#define tqdarkGray Qt::darkGray
#define tqblack Qt::black
// #define tqblackptr &((QColor)Qt::black)
#define tqcolor0 Qt::color0
#define tqcolor1 Qt::color1

#define tqblackptr &tqblackptr_core

#define SubRect			SubElement
#define SR_PushButtonContents	SE_PushButtonContents
#define SR_PushButtonFocusRect	SE_PushButtonFocusRect
#define SR_CheckBoxIndicator	SE_CheckBoxIndicator
#define SR_CheckBoxContents	SE_CheckBoxContents
#define SR_CheckBoxFocusRect	SE_CheckBoxFocusRect
#define SR_RadioButtonIndicator	SE_RadioButtonIndicator
#define SR_RadioButtonContents	SE_RadioButtonContents
#define SR_RadioButtonFocusRect	SE_RadioButtonFocusRect
#define SR_ComboBoxFocusRect	SE_ComboBoxFocusRect
#define SR_SliderFocusRect	SE_SliderFocusRect
#define SR_DockWindowHandleRect	SE_DockWindowHandleRect
#define SR_ProgressBarGroove	SE_ProgressBarGroove
#define SR_ProgressBarContents	SE_ProgressBarContents
#define SR_ProgressBarLabel	SE_ProgressBarLabel
#define SR_ToolButtonContents	SE_ToolButtonContents
#define SR_DialogButtonAccept	SE_DialogButtonAccept
#define SR_DialogButtonReject	SE_DialogButtonReject
#define SR_DialogButtonApply	SE_DialogButtonApply
#define SR_DialogButtonHelp	SE_DialogButtonHelp
#define SR_DialogButtonAll	SE_DialogButtonAll
#define SR_DialogButtonAbort	SE_DialogButtonAbort
#define SR_DialogButtonIgnore	SE_DialogButtonIgnore
#define SR_DialogButtonRetry	SE_DialogButtonRetry
#define SR_DialogButtonCustom	SE_DialogButtonCustom
#define SR_ToolBoxTabContents	SE_ToolBoxTabContents
#define SR_CustomBase		SE_CustomBase

#define StylePixmap			StandardPixmap
// #define SP_TitleBarMinButton		SC_TitleBarMinButton
// #define SP_TitleBarMaxButton		SC_TitleBarMaxButton
// #define SP_TitleBarCloseButton		SC_TitleBarCloseButton
// #define SP_TitleBarNormalButton		SC_TitleBarNormalButton
// #define SP_TitleBarShadeButton		SC_TitleBarShadeButton
// #define SP_TitleBarUnshadeButton	SC_TitleBarUnshadeButton
#define SP_DockWindowCloseButton	SP_DockWidgetCloseButton
// #define SP_MessageBoxInformation	SC_MessageBoxInformation
// #define SP_MessageBoxWarning		SC_MessageBoxWarning
// #define SP_MessageBoxCritical		SC_MessageBoxCritical
// #define SP_MessageBoxQuestion		SC_MessageBoxQuestion
// #define SP_CustomBase			SC_CustomBase

#define StyleFlags		StateFlags
#define Style_Default		QStyle::State_Default
#define Style_Enabled		QStyle::State_Enabled
#define Style_Raised		QStyle::State_Raised
#define Style_Sunken		QStyle::State_Sunken
#define Style_Off		QStyle::State_Off
#define Style_NoChange		QStyle::State_NoChange
#define Style_On		QStyle::State_On
#define Style_Down		QStyle::State_DownArrow
#define Style_Horizontal	QStyle::State_Horizontal
#define Style_HasFocus		QStyle::State_HasFocus
#define Style_To		QStyle::State_To
#define Style_Bottom		QStyle::State_Bottom
#define Style_FocusAtBorder	QStyle::State_FocusAtBorder
#define Style_AutoRaise		QStyle::State_AutoRaise
#define Style_MouseOver		QStyle::State_MouseOver
#define Style_Up		QStyle::State_UpArrow
#define Style_Selected		QStyle::State_Selected
#define Style_Active		QStyle::State_Active
#define Style_ButtonDefault	QStyle::State_ButtonDefault

#define PE_ArrowDown		PE_IndicatorArrowDown
#define PE_ArrowUp		PE_IndicatorArrowUp
#define PE_ButtonTool		PE_PanelButtonTool
#define	PE_DockWindowHandle	PE_IndicatorToolBarHandle
#define PE_DockWindowSeparator	PE_Q3DockWindowSeparator
// Verify this one -------------v
#define PE_FocusRect		PE_FrameFocusRect
#define PE_Panel		PE_Frame
#define PE_RubberBand		CE_RubberBand
#define PE_ScrollBarAddLine	CE_ScrollBarAddLine
#define PE_ScrollBarAddPage	CE_ScrollBarAddPage
#define PE_ScrollBarFirst	CE_ScrollBarFirst
#define PE_ScrollBarLast	CE_ScrollBarLast
#define PE_ScrollBarSlider	CE_ScrollBarSlider
#define PE_ScrollBarSubLine	CE_ScrollBarSubLine
#define PE_ScrollBarSubPage	CE_ScrollBarSubPage

#define SC_ListView		SC_Q3ListView
#define SC_ListViewBranch	SC_Q3ListViewBranch
#define SC_ListViewExpand	SC_Q3ListViewExpand

#define CC_ListView		CC_Q3ListView

#define WState			Qt::WidgetAttribute
#define	WState_Polished		Qt::WA_WState_Polished
//#define WState_ForceHide	Qt::WA_WState_ForceHide
#define WState_ForceHide	Qt::WA_WState_Hidden

#define WStyle_Customize	Qt::WStyle_Customize
#define WType_Popup		Qt::WType_Popup
#define WX11BypassWM		Qt::WX11BypassWM

#define SH_PopupMenu_Scrollable			SH_Menu_Scrollable
#define SH_PopupMenu_SloppySubMenus		SH_Menu_SloppySubMenus
#define SH_PopupMenu_SubMenuPopupDelay		SH_Menu_SubMenuPopupDelay
#define SH_PopupMenu_AllowActiveAndDisabled	SH_Menu_AllowActiveAndDisabled
#define SH_PopupMenu_MouseTracking		SH_Menu_MouseTracking

#define	CE_PopupMenuScroller			CE_MenuScroller

#define PM_DockWindowHandleExtent		PM_DockWidgetHandleExtent
#define PM_MenuBarFrameWidth			PM_ToolBarFrameWidth
#define PM_DockWindowFrameWidth			PM_DockWidgetFrameWidth
#define PM_PopupMenuScrollerHeight		PM_MenuScrollerHeight

#define TQAccel Q3Accel
#define TQAccessible QAccessible
#define TQAccessibleObject QAccessibleObject
#define TQAction Q3Action
#define TQActionGroup Q3ActionGroup
#define TQApplication QApplication
#define TQAsciiCache Q3AsciiCache
#define TQAsciiCacheIterator Q3AsciiCacheIterator
#define TQAsciiDict Q3AsciiDict
#define TQAsciiDictIterator Q3AsciiDictIterator
#define TQImageConsumer QImageConsumer
#define TQImageFormat QImageFormat
#define TQImageFormatType QImageFormatType
#define TQImageDecoder QImageDecoder
#define TQAsyncIO QAsyncIO
#define TQByteArray QByteArray
#define TQDataSink QDataSink
#define TQDataSource QDataSource
#define TQIODeviceSource QIODeviceSource
#define TQDataPump QDataPump
#define TQBig5Codec QBig5Codec
#define TQBig5hkscsCodec QBig5hkscsCodec
#define TQBitVal QBitVal
#define TQBitArray QBitArray
#define TQBitmap QBitmap
#define TQBrush QBrush
#define TQBuffer QBuffer
#define TQButtonGroup Q3ButtonGroup
#define TQButton Q3Button
#define TQCache Q3Cache
#define TQCacheIterator Q3CacheIterator
#define TQCanvasChunk Q3CanvasChunk
#define TQCanvasItemList Q3CanvasItemList
#define TQCanvasItemExtra Q3CanvasItemExtra
#define TQCanvasItem Q3CanvasItem
#define TQCanvasData Q3CanvasData
#define TQCanvas Q3Canvas
#define TQCanvasViewData Q3CanvasViewData
#define TQCanvasView Q3CanvasView
#define TQCanvasPixmap Q3CanvasPixmap
#define TQCanvasPixmapArray Q3CanvasPixmapArray
#define TQCanvasSprite Q3CanvasSprite
#define TQPolygonalProcessor QPolygonalProcessor
#define TQCanvasPolygonalItem Q3CanvasPolygonalItem
#define TQCanvasRectangle Q3CanvasRectangle
#define TQCanvasPolygon Q3CanvasPolygon
#define TQCanvasSpline Q3CanvasSpline
#define TQCanvasLine Q3CanvasLine
#define TQCanvasEllipse Q3CanvasEllipse
#define TQCanvasTextExtra Q3CanvasTextExtra
#define TQCanvasText Q3CanvasText
#define TQCDEStyle QCDEStyle
#define TQCheckBox QCheckBox
// #define TQCleanupHandler QCleanupHandler
// #define TQSingleCleanupHandler QSingleCleanupHandler
// #define TQSharedCleanupHandler QSharedCleanupHandler
#define TQShared Q3Shared
#define TQColor QColor
#define TQColorDialog QColorDialog
#define TQStringPairList Q3StringPairList
#define TQLineEdit QLineEdit
#define TQValidator QValidator
#define TQComboBoxData Q3ComboBoxData
#define TQComboTableItem Q3ComboTableItem
#define TQWheelEvent QWheelEvent
#define TQComboBox Q3ComboBox
#define TQCommonStyle QCommonStyle
#define TQCompactStyle QCompactStyle
#define TQConnection QConnection
#define TQCString Q3CString
#define TQCursor QCursor
#define TQDataBrowserPrivate Q3DataBrowserPrivate
#define TQDataBrowser Q3DataBrowser
#define TQDataStream QDataStream
#define TQSqlField QSqlField
#define TQDataTablePrivate QDataTablePrivate
#define TQDataTable Q3DataTable
#define TQDataView Q3DataView
#define TQDateEdit Q3DateEdit
#define TQTimeEdit Q3TimeEdit
#define TQDateTimeEdit Q3DateTimeEdit
#define TQDateTimeEditBase Q3DateTimeEditBase
#define TQDate QDate
#define TQTime QTime
#define TQDateTime QDateTime
#define TQDeepCopy Q3DeepCopy
#define TQDesktopWidget QDesktopWidget
#define TQDial QDial
#define TQDialog QDialog
#define TQDict Q3Dict
#define TQDictIterator Q3DictIterator
#define TQDir QDir
#define TQDirLineEdit QDirLineEdit
#define TQDirMultiLineEdit QDirMultiLineEdit
#define TQDns Q3Dns
#define TQDnsSocket QDnsSocket
#define TQDockArea Q3DockArea
#define TQDockAreaLayout QDockAreaLayout
#define TQDockWindow Q3DockWindow
#define TQDomImplementation QDomImplementation
#define TQDomNodeList QDomNodeList
#define TQDomDocumentType QDomDocumentType
#define TQDomDocument QDomDocument
#define TQDomNamedNodeMap QDomNamedNodeMap
#define TQDomDocumentFragment QDomDocumentFragment
#define TQDomCharacterData QDomCharacterData
#define TQDomAttr QDomAttr
#define TQDomElement QDomElement
#define TQDomText QDomText
#define TQDomComment QDomComment
#define TQDomCDATASection QDomCDATASection
#define TQDomNotation QDomNotation
#define TQDomEntity QDomEntity
#define TQDomEntityReference QDomEntityReference
#define TQDomProcessingInstruction QDomProcessingInstruction
#define TQDomNode QDomNode
#define TQDragObject Q3DragObject
#define TQStoredDrag Q3StoredDrag
#define TQTextDrag Q3TextDrag
#define TQImageDrag Q3ImageDrag
#define TQUriDrag Q3UriDrag
#define TQColorDrag Q3ColorDrag
#define TQDropSite Q3DropSite
#define TQEditorFactory Q3EditorFactory
#define TQErrorMessage QErrorMessage
#define TQEucJpCodec QEucJpCodec
#define TQEucKrCodec QEucKrCodec
#define TQEvent QEvent
#define TQTimerEvent QTimerEvent
#define TQMouseEvent QMouseEvent
#define TQWheelEvent QWheelEvent
#define TQTabletEvent QTabletEvent
#define TQKeyEvent QKeyEvent
#define TQFocusEvent QFocusEvent
#define TQPaintEvent QPaintEvent
#define TQMoveEvent QMoveEvent
#define TQResizeEvent QResizeEvent
#define TQCloseEvent QCloseEvent
#define TQIconDragEvent QIconDragEvent
#define TQShowEvent QShowEvent
#define TQHideEvent QHideEvent
#define TQContextMenuEvent QContextMenuEvent
#define TQIMEvent QIMEvent
#define TQIMComposeEvent QIMComposeEvent
#define TQDropEvent QDropEvent
#define TQDragMoveEvent QDragMoveEvent
#define TQDragEnterEvent QDragEnterEvent
#define TQDragResponseEvent QDragResponseEvent
#define TQDragLeaveEvent QDragLeaveEvent
#define TQChildEvent QChildEvent
#define TQCustomEvent QCustomEvent
//#define TQEventLoop QAbstractEventDispatcher
#define TQFileIconProvider Q3FileIconProvider
#define TQFilePreview Q3FilePreview
#define TQFileDialog Q3FileDialog
#define TQFile QFile
#define TQFileInfo QFileInfo
#define TQFileInfoList QFileInfoList
//typedef QList<QFileInfo> TQFileInfoList;
//typedef QList<QFileInfo *> TQFileInfoList;
//#define TQFileInfoListIterator TQListIterator<QFileInfo>
#define TQFileInfoListIterator TQListIteratorRetPtr<QFileInfo>
//#define TQFileInfoListIterator TQListIterator<QFileInfo *>
#define TQFocusData QFocusData
#define TQFontDatabase QFontDatabase
#define TQFont QFont
#define TQFontInfo QFontInfo
#define TQFontMetrics QFontMetrics
#define TQFrame Q3Frame
#define TQFtp Q3Ftp
#define TQGArray QGArray
#define TQGb18030Codec QGb18030Codec
#define TQGbkCodec QGbkCodec
#define TQGb2312Codec QGb2312Codec
#define TQGCache QGCache
#define TQGCacheIterator QGCacheIterator
#define TQBaseBucket QBaseBucket
#define TQStringBucket QStringBucket
#define TQAsciiBucket QAsciiBucket
#define TQIntBucket QIntBucket
#define TQPtrBucket QPtrBucket
#define TQGDict Q3GDict
#define TQGDictIterator Q3GDictIterator
#define TQGLColormap QGLColormap
#define TQGL QGL
#define TQGLFormat QGLFormat
#define TQGLContext QGLContext
#define TQGLWidget QGLWidget
#define TQLNode QLNode
#define TQGList Q3GList
#define TQGListIterator Q3GListIterator
#define TQGListStdIterator Q3GListStdIterator
#define TQGPlugin QGPlugin
#define TQGrid Q3Grid
#define TQGridView Q3GridView
#define TQGroupBox Q3GroupBox
#define TQGuardedPtr QPointer
#define TQGuardedPtrPrivate QPointerPrivate
#define TQGVector QGVector
#define TQHBox Q3HBox
#define TQHButtonGroup Q3HButtonGroup
#define TQHeader Q3Header
#define TQHGroupBox Q3HGroupBox
#define TQHostAddress QHostAddress
#define TQHttpHeader Q3HttpHeader
#define TQHttpResponseHeader Q3HttpResponseHeader
#define TQHttpRequestHeader Q3HttpRequestHeader
#define TQHttp Q3Http
#define TQIconSet QIcon
//#define TQIconFactory QIconFactory
#define TQIconDragItem Q3IconDragItem
#define TQIconDrag Q3IconDrag
#define TQIconViewItem Q3IconViewItem
#define TQIconView Q3IconView
#define TQImageFormatPlugin QImageFormatPlugin
#define TQImageTextKeyLang QImageTextKeyLang
#define TQImage QImage
//#define TQImageIO QImageIO
#define TQInputContextFactory QInputContextFactory
#define TQInputContext QInputContext
#define TQIntCache Q3IntCache
#define TQIntCacheIterator Q3IntCacheIterator
#define TQIntDict Q3IntDict
#define TQIntDictIterator Q3IntDictIterator
#define TQIODevice QIODevice
#define TQJisCodec QJisCodec
#define TQJpUnicodeConv QJpUnicodeConv
#define TQKeySequence QKeySequence
#define TQLabel QLabel
#define TQGLayoutIterator QGLayoutIterator
#define TQLayoutIterator QLayoutIterator
#define TQLayoutItem QLayoutItem
#define TQSpacerItem QSpacerItem
#define TQWidgetItem QWidgetItem
#define TQLayout QLayout
#define TQGridLayout QGridLayout
#define TQBoxLayout QBoxLayout
#define TQHBoxLayout QHBoxLayout
#define TQVBoxLayout QVBoxLayout
#define TQLCDNumber QLCDNumber
#define TQLibrary QLibrary
#define TQLineEdit QLineEdit
#define TQListBox Q3ListBox
#define TQListBoxItem Q3ListBoxItem
#define TQListBoxText Q3ListBoxText
#define TQListBoxPixmap Q3ListBoxPixmap
#define TQListViewItem Q3ListViewItem
#define TQListView Q3ListView
#define TQCheckListItem Q3CheckListItem
#define TQListViewItemIterator Q3ListViewItemIterator
#define TQLocale QLocale
#define TQLocalFs Q3LocalFs
#define TQMainWindow Q3MainWindow
//#define TQMapIterator QMapIterator
//#define TQMapIterator QMap::iterator
//#define TQMapConstIterator QMapConstIterator
//#define TQMapConstIterator QMapIterator
//#define TQMapPrivateBase QMapPrivateBase
//#define TQMapPrivate QMapPrivate
//#define TQMap QMap
#define TQMemArray Q3MemArray
#define TQMenuBar QMenuBar
#define TQMenuItem QMenuItem
#define TQCustomMenuItem QCustomMenuItem
#define TQMenuData QMenuData
#define TQMessageBox QMessageBox
#define TQMetaProperty QMetaProperty
#define TQMetaObject const QMetaObject
#define TQMetaObjectCleanUp QMetaObjectCleanUp
#define TQMimeSource QMimeSource
#define TQMimeSourceFactory Q3MimeSourceFactory
#define TQWindowsMime QWindowsMime
#define TQMacMime QMacMime
#define TQMotifPlusStyle QMotifPlusStyle
#define TQMotifStyle QMotifStyle
//#define TQMovie QMovie
#define TQMultiLineEdit Q3MultiLineEdit
#define TQMutex QMutex
#define TQMutexLocker QMutexLocker
#define TQt Qt
#define TQInternal QInternal
#define TQNetworkProtocolFactoryBase QNetworkProtocolFactoryBase
#define TQNetworkProtocolFactory QNetworkProtocolFactory
#define TQNetworkProtocol Q3NetworkProtocol
#define TQNetworkOperation Q3NetworkOperation
#define TQObjectCleanupHandler QObjectCleanupHandler
#define TQObjectDictionary QObjectDictionary
#define TQObject QObject
#define TQObjectUserData QObjectUserData
#define TQObject QObject
//#define TQObjectList QObjectList
#define TQObjectList TQPtrList<QObject>
//#define TQObjectListIterator TQListIterator<QObject *>
#define TQObjectListIterator TQPtrListIterator<QObject>
#define TQObjectListIt TQObjectListIterator
#define TQPaintDevice QPaintDevice
#define TQPaintDeviceMetrics Q3PaintDeviceMetrics
#define TQPainter Q3Painter
#define TQColorGroup QColorGroup
//#define TQPair QPair
#define TQPalette QPalette
#define TQPen QPen
#define TQPicture Q3Picture
#define TQPixmapCache QPixmapCache
#define TQPixmap QPixmap
#define TQPlatinumStyle QPlatinumStyle
#define TQPNGImageWriter QPNGImageWriter
#define TQPNGImagePacker QPNGImagePacker
#define TQPointArray Q3PointArray
#define TQPoint QPoint
#define TQPolygonScanner QPolygonScanner
#define TQPopupMenu Q3PopupMenu
#define TQPrintDialog QPrintDialog
#define TQPrinter QPrinter
#define TQProcess Q3Process
#define TQProgressBar Q3ProgressBar
#define TQProgressDialog Q3ProgressDialog
#define TQPtrCollection Q3PtrCollection
#define TQPtrDict Q3PtrDict
#define TQPtrDictIterator Q3PtrDictIterator
// #define TQPtrListStdIterator Q3PtrListStdIterator
// #define TQPtrList Q3PtrList
// #define TQPtrListIterator Q3PtrListIterator
//#define TQPtrListIterator QListIterator
#define TQPtrQueue Q3PtrQueue
#define TQPtrStack Q3PtrStack
#define TQPtrVector Q3PtrVector
#define TQPushButton QPushButton
#define TQRadioButton QRadioButton
#define TQRangeControl Q3RangeControl
#define TQSpinWidget QSpinWidget
#define TQRect QRect
#define TQRegExp QRegExp
#define TQRegion QRegion
#define TQHebrewCodec QHebrewCodec
#define TQScrollBar QScrollBar
#define TQScrollView Q3ScrollView
#define TQSemaphore Q3Semaphore
#define TQSemiModal QSemiModal
#define TQServerSocket Q3ServerSocket
#define TQSettings QSettings
#define TQSGIStyle QSGIStyle
#define TQSignal Q3Signal
#define TQSignalMapper QSignalMapper
#define TQConnectionList QConnectionList
#define TQConnectionListIt QConnectionListIt
#define TQSignalVec QSignalVec
#define TQSimpleRichText Q3SimpleRichText
#define TQSizeGrip QSizeGrip
#define TQSize QSize
#define TQSizePolicy QSizePolicy
#define TQSjisCodec QSjisCodec
#define TQSlider QSlider
#define TQSocketDevice Q3SocketDevice
#define TQSocket Q3Socket
#define TQSocketNotifier QSocketNotifier
#define TQSortedList QSortedList
#define TQSound QSound
#define TQSpinBox QSpinBox
#define TQSplashScreen QSplashScreen
#define TQSplitter QSplitter
#define TQSqlCursor Q3SqlCursor
#define TQSqlDatabase QSqlDatabase
#define TQSqlDriver QSqlDriver
#define TQSqlDriverPlugin QSqlDriverPlugin
#define TQSqlEditorFactory Q3SqlEditorFactory
#define TQSqlError QSqlError
#define TQSqlFieldPrivate QSqlFieldPrivate
#define TQSqlField QSqlField
#define TQSqlFieldInfo Q3SqlFieldInfo
#define TQSqlForm Q3SqlForm
#define TQSql QSql
#define TQSqlIndex QSqlIndex
#define TQSqlPropertyMap Q3SqlPropertyMap
#define TQSqlQuery QSqlQuery
#define TQSqlResultShared QSqlResultShared
#define TQSqlRecordShared QSqlRecordShared
#define TQSqlRecord QSqlRecord
#define TQSqlRecordInfo Q3SqlRecordInfo
#define TQSqlResult QSqlResult
#define TQSqlSelectCursorPrivate QSqlSelectCursorPrivate
#define TQSqlSelectCursor Q3SqlSelectCursor
#define TQStatusBar QStatusBar
#define TQChar QChar
#define TQString QString
#define TQCharRef QCharRef
#define TQConstString QConstString
//#define TQStringList QStringList
// #define TQStrListIterator Q3StrListIterator
// #define TQStrIList Q3StrIList
// #define TQStrList Q3StrList
#define TQStrVec QStrVec
#define TQStrIVec QStrIVec
#define TQStyleFactory QStyleFactory
#define TQStyleOption QStyleOption
#define TQStyle QStyle
#define TQStyleHintReturn QStyleHintReturn
#define TQStylePlugin QStylePlugin
#define TQStyleSheetItem Q3StyleSheetItem
#define TQStyleSheet Q3StyleSheet
#define TQSyntaxHighlighter Q3SyntaxHighlighter
#define TQTab QTab
#define TQTabBar QTabBar
#define TQTabDialog Q3TabDialog
#define TQTableSelection Q3TableSelection
#define TQTableItem Q3TableItem
#define TQCheckTableItem Q3CheckTableItem
#define TQTable Q3Table
#define TQTabWidget QTabWidget
#define TQTextBrowser Q3TextBrowser
#define TQTextCodecFactory QTextCodecFactory
#define TQTextEncoder QTextEncoder
#define TQTextDecoder QTextDecoder
#define TQTextCodec QTextCodec
#define TQTextCodecPlugin QTextCodecPlugin
#define TQTextEdit Q3TextEdit
#define TQTextStream Q3TextStream
#define TQTextIStream QTextIStream
#define TQTextOStream QTextOStream
#define TQTSManip QTSManip
#define TQTextView Q3TextView
#define TQThread QThread
#define TQThreadStorageData QThreadStorageData
#define TQThreadStorage QThreadStorage
#define TQTimer QTimer
#define TQTextOStreamIterator QTextOStreamIterator
#define TQBackInsertIterator QBackInsertIterator
#define TQtMsgType QtMsgType
#define TQtMsgHandler QtMsgHandler
#define TQToolBar Q3ToolBar
#define TQToolBox QToolBox
#define TQToolButton QToolButton
#define TQToolTipGroup QToolTipGroup
#define TQToolTip QToolTip
#define TQTranslator QTranslator
#define TQTranslatorMessage QTranslatorMessage
#define TQTsciiCodec QTsciiCodec
#define TQUrl Q3Url
#define TQUrlInfo QUrlInfo
#define TQUrlOperator Q3UrlOperator
#define TQUtf8Codec QUtf8Codec
#define TQUtf16Codec QUtf16Codec
#define TQValidator QValidator
#define TQIntValidator QIntValidator
#define TQDoubleValidator QDoubleValidator
#define TQRegExpValidator QRegExpValidator
// #define TQValueListNode QValueListNode
// #define TQValueListIterator Q3ValueListIterator
// #define TQValueListConstIterator Q3ValueListConstIterator
// #define TQValueListPrivate QValueListPrivate
// #define TQValueList Q3ValueList
#define TQValueStack Q3ValueStack
#define TQValueVectorPrivate QValueVectorPrivate
#define TQValueVector Q3ValueVector
#define TQVariant QVariant
#define TQVBox Q3VBox
#define TQVButtonGroup Q3VButtonGroup
#define TQVGroupBox Q3VGroupBox
#define TQWaitCondition QWaitCondition
#define TQWhatsThis Q3WhatsThis
#define TQWidgetFactory QWidgetFactory
#define TQWidget QWidget
#define TQWidgetIntDict QWidgetIntDict
#define TQWidgetIntDictIt QWidgetIntDictIt
// #define TQWidgetList QWidgetList
// #define TQWidgetListIt QWidgetListIt
#define TQWidgetPlugin QWidgetPlugin
#define TQWidgetContainerPlugin QWidgetContainerPlugin
#define TQWidgetStack Q3WidgetStack
#define TQWidgetStackAccelManager Q3WidgetStackAccelManager
#define TQWindowsStyle QWindowsStyle
#define TQWizard Q3Wizard
#define TQWMatrix QMatrix
#define TQWorkspace QWorkspace
#define TQXmlNamespaceSupport QXmlNamespaceSupport
#define TQXmlAttributes QXmlAttributes
#define TQXmlInputSource QXmlInputSource
#define TQXmlParseException QXmlParseException
#define TQXmlReader QXmlReader
#define TQXmlSimpleReader QXmlSimpleReader
#define TQXmlLocator QXmlLocator
#define TQXmlContentHandler QXmlContentHandler
#define TQXmlErrorHandler QXmlErrorHandler
#define TQXmlDTDHandler QXmlDTDHandler
#define TQXmlEntityResolver QXmlEntityResolver
#define TQXmlLexicalHandler QXmlLexicalHandler
#define TQXmlDeclHandler QXmlDeclHandler
#define TQXmlDefaultHandler QXmlDefaultHandler
#endif

// Undo any damage caused by the tqt-replace utility
//#define QCStringList TQCStringList
//#define QtWIN TQtWIN

//#include "kdemacros.h.in"
//#define TQT_EXPORT KDE_EXPORT

#endif /* TQT_H */