summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/Qt.java
blob: 886fbb70d1488164e794e8404d13dfb26a5d4e1b (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import java.io.*;
import java.text.MessageFormat;
import java.lang.reflect.*;
import java.util.Calendar;
import java.util.Date;

public class Qt implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected Qt(Class dummy){}

	public static final int NoButton = 0x0000;
	public static final int LeftButton = 0x0001;
	public static final int RightButton = 0x0002;
	public static final int MidButton = 0x0004;
	public static final int MouseButtonMask = 0x0007;
	public static final int ShiftButton = 0x0100;
	public static final int ControlButton = 0x0200;
	public static final int AltButton = 0x0400;
	public static final int MetaButton = 0x0800;
	public static final int KeyButtonMask = 0x0f00;
	public static final int Keypad = 0x4000;

	public static final int Horizontal = 0;
	public static final int Vertical = 1;

	public static final int Ascending = 0;
	public static final int Descending = 1;

	public static final int AlignAuto = 0x0000;
	public static final int AlignLeft = 0x0001;
	public static final int AlignRight = 0x0002;
	public static final int AlignHCenter = 0x0004;
	public static final int AlignJustify = 0x0008;
	public static final int AlignHorizontal_Mask = AlignLeft|AlignRight|AlignHCenter|AlignJustify;
	public static final int AlignTop = 0x0010;
	public static final int AlignBottom = 0x0020;
	public static final int AlignVCenter = 0x0040;
	public static final int AlignVertical_Mask = AlignTop|AlignBottom|AlignVCenter;
	public static final int AlignCenter = AlignVCenter|AlignHCenter;

	public static final int SingleLine = 0x0080;
	public static final int DontClip = 0x0100;
	public static final int ExpandTabs = 0x0200;
	public static final int ShowPrefix = 0x0400;
	public static final int WordBreak = 0x0800;
	public static final int BreakAnywhere = 0x1000;
	public static final int DontPrint = 0x2000;
	public static final int Underline = 0x01000000;
	public static final int Overline = 0x02000000;
	public static final int StrikeOut = 0x04000000;
	public static final int IncludeTrailingSpaces = 0x08000000;
	public static final int NoAccel = 0x4000;

	public static final int WState_Created = 0x00000001;
	public static final int WState_Disabled = 0x00000002;
	public static final int WState_Visible = 0x00000004;
	public static final int WState_ForceHide = 0x00000008;
	public static final int WState_OwnCursor = 0x00000010;
	public static final int WState_MouseTracking = 0x00000020;
	public static final int WState_CompressKeys = 0x00000040;
	public static final int WState_BlockUpdates = 0x00000080;
	public static final int WState_InPaintEvent = 0x00000100;
	public static final int WState_Reparented = 0x00000200;
	public static final int WState_ConfigPending = 0x00000400;
	public static final int WState_Resized = 0x00000800;
	public static final int WState_AutoMask = 0x00001000;
	public static final int WState_Polished = 0x00002000;
	public static final int WState_DND = 0x00004000;
	public static final int WState_Reserved0 = 0x00008000;
	public static final int WState_FullScreen = 0x00010000;
	public static final int WState_OwnSizePolicy = 0x00020000;
	public static final int WState_CreatedHidden = 0x00040000;
	public static final int WState_Maximized = 0x00080000;
	public static final int WState_Minimized = 0x00100000;
	public static final int WState_ForceDisabled = 0x00200000;
	public static final int WState_Exposed = 0x00400000;
	public static final int WState_HasMouse = 0x00800000;

	public static final int WType_TopLevel = 0x00000001;
	public static final int WType_Dialog = 0x00000002;
	public static final int WType_Popup = 0x00000004;
	public static final int WType_Desktop = 0x00000008;
	public static final int WType_Mask = 0x0000000f;
	public static final int WStyle_Customize = 0x00000010;
	public static final int WStyle_NormalBorder = 0x00000020;
	public static final int WStyle_DialogBorder = 0x00000040;
	public static final int WStyle_NoBorder = 0x00002000;
	public static final int WStyle_Title = 0x00000080;
	public static final int WStyle_SysMenu = 0x00000100;
	public static final int WStyle_Minimize = 0x00000200;
	public static final int WStyle_Maximize = 0x00000400;
	public static final int WStyle_MinMax = WStyle_Minimize|WStyle_Maximize;
	public static final int WStyle_Tool = 0x00000800;
	public static final int WStyle_StaysOnTop = 0x00001000;
	public static final int WStyle_ContextHelp = 0x00004000;
	public static final int WStyle_Reserved = 0x00008000;
	public static final int WStyle_Mask = 0x0000fff0;
	public static final int WDestructiveClose = 0x00010000;
	public static final int WPaintDesktop = 0x00020000;
	public static final int WPaintUnclipped = 0x00040000;
	public static final int WPaintClever = 0x00080000;
	public static final int WResizeNoErase = 0x00100000;
	public static final int WMouseNoMask = 0x00200000;
	public static final int WStaticContents = 0x00400000;
	public static final int WRepaintNoErase = 0x00800000;
	public static final int WX11BypassWM = 0x00000000;
	public static final int WWinOwnDC = 0x01000000;
	public static final int WMacNoSheet = 0x00000000;
	public static final int WMacDrawer = 0x00000000;
	public static final int WGroupLeader = 0x02000000;
	public static final int WShowModal = 0x04000000;
	public static final int WNoMousePropagation = 0x08000000;
	public static final int WSubWindow = 0x10000000;
	public static final int WStyle_Splash = WStyle_NoBorder|WMacNoSheet|WStyle_Tool|WWinOwnDC;
	public static final int WNoAutoErase = WRepaintNoErase|WResizeNoErase;
	public static final int WNorthWestGravity = WStaticContents;
	public static final int WType_Modal = WType_Dialog|WShowModal;
	public static final int WStyle_Dialog = WType_Dialog;
	public static final int WStyle_NoBorderEx = WStyle_NoBorder;

	public static final int WindowNoState = 0x00000000;
	public static final int WindowMinimized = 0x00000001;
	public static final int WindowMaximized = 0x00000002;
	public static final int WindowFullScreen = 0x00000004;
	public static final int WindowActive = 0x00000008;

	public static final int ColorMode_Mask = 0x00000003;
	public static final int AutoColor = 0x00000000;
	public static final int ColorOnly = 0x00000003;
	public static final int MonoOnly = 0x00000002;
	public static final int AlphaDither_Mask = 0x0000000c;
	public static final int ThresholdAlphaDither = 0x00000000;
	public static final int OrderedAlphaDither = 0x00000004;
	public static final int DiffuseAlphaDither = 0x00000008;
	public static final int NoAlpha = 0x0000000c;
	public static final int Dither_Mask = 0x00000030;
	public static final int DiffuseDither = 0x00000000;
	public static final int OrderedDither = 0x00000010;
	public static final int ThresholdDither = 0x00000020;
	public static final int DitherMode_Mask = 0x000000c0;
	public static final int AutoDither = 0x00000000;
	public static final int PreferDither = 0x00000040;
	public static final int AvoidDither = 0x00000080;

	public static final int TransparentMode = 0;
	public static final int OpaqueMode = 1;

	public static final int PixelUnit = 0;
	public static final int LoMetricUnit = 1;
	public static final int HiMetricUnit = 2;
	public static final int LoEnglishUnit = 3;
	public static final int HiEnglishUnit = 4;
	public static final int TwipsUnit = 5;

	public static final int MacStyle = 0;
	public static final int WindowsStyle = 1;
	public static final int Win3Style = 2;
	public static final int PMStyle = 3;
	public static final int MotifStyle = 4;

	public static final int NoMatch = 0;
	public static final int PartialMatch = 1;
	public static final int Identical = 2;

	public static final int META = 0x00100000;
	public static final int SHIFT = 0x00200000;
	public static final int CTRL = 0x00400000;
	public static final int ALT = 0x00800000;
	public static final int MODIFIER_MASK = 0x00f00000;
	public static final int UNICODE_ACCEL = 0x10000000;
	public static final int ASCII_ACCEL = UNICODE_ACCEL;

	public static final int Key_Escape = 0x1000;
	public static final int Key_Tab = 0x1001;
	public static final int Key_Backtab = 0x1002;
	public static final int Key_BackTab = Key_Backtab;
	public static final int Key_Backspace = 0x1003;
	public static final int Key_BackSpace = Key_Backspace;
	public static final int Key_Return = 0x1004;
	public static final int Key_Enter = 0x1005;
	public static final int Key_Insert = 0x1006;
	public static final int Key_Delete = 0x1007;
	public static final int Key_Pause = 0x1008;
	public static final int Key_Print = 0x1009;
	public static final int Key_SysReq = 0x100a;
	public static final int Key_Clear = 0x100b;
	public static final int Key_Home = 0x1010;
	public static final int Key_End = 0x1011;
	public static final int Key_Left = 0x1012;
	public static final int Key_Up = 0x1013;
	public static final int Key_Right = 0x1014;
	public static final int Key_Down = 0x1015;
	public static final int Key_Prior = 0x1016;
	public static final int Key_PageUp = Key_Prior;
	public static final int Key_Next = 0x1017;
	public static final int Key_PageDown = Key_Next;
	public static final int Key_Shift = 0x1020;
	public static final int Key_Control = 0x1021;
	public static final int Key_Meta = 0x1022;
	public static final int Key_Alt = 0x1023;
	public static final int Key_CapsLock = 0x1024;
	public static final int Key_NumLock = 0x1025;
	public static final int Key_ScrollLock = 0x1026;
	public static final int Key_F1 = 0x1030;
	public static final int Key_F2 = 0x1031;
	public static final int Key_F3 = 0x1032;
	public static final int Key_F4 = 0x1033;
	public static final int Key_F5 = 0x1034;
	public static final int Key_F6 = 0x1035;
	public static final int Key_F7 = 0x1036;
	public static final int Key_F8 = 0x1037;
	public static final int Key_F9 = 0x1038;
	public static final int Key_F10 = 0x1039;
	public static final int Key_F11 = 0x103a;
	public static final int Key_F12 = 0x103b;
	public static final int Key_F13 = 0x103c;
	public static final int Key_F14 = 0x103d;
	public static final int Key_F15 = 0x103e;
	public static final int Key_F16 = 0x103f;
	public static final int Key_F17 = 0x1040;
	public static final int Key_F18 = 0x1041;
	public static final int Key_F19 = 0x1042;
	public static final int Key_F20 = 0x1043;
	public static final int Key_F21 = 0x1044;
	public static final int Key_F22 = 0x1045;
	public static final int Key_F23 = 0x1046;
	public static final int Key_F24 = 0x1047;
	public static final int Key_F25 = 0x1048;
	public static final int Key_F26 = 0x1049;
	public static final int Key_F27 = 0x104a;
	public static final int Key_F28 = 0x104b;
	public static final int Key_F29 = 0x104c;
	public static final int Key_F30 = 0x104d;
	public static final int Key_F31 = 0x104e;
	public static final int Key_F32 = 0x104f;
	public static final int Key_F33 = 0x1050;
	public static final int Key_F34 = 0x1051;
	public static final int Key_F35 = 0x1052;
	public static final int Key_Super_L = 0x1053;
	public static final int Key_Super_R = 0x1054;
	public static final int Key_Menu = 0x1055;
	public static final int Key_Hyper_L = 0x1056;
	public static final int Key_Hyper_R = 0x1057;
	public static final int Key_Help = 0x1058;
	public static final int Key_Direction_L = 0x1059;
	public static final int Key_Direction_R = 0x1060;
	public static final int Key_Space = 0x20;
	public static final int Key_Any = Key_Space;
	public static final int Key_Exclam = 0x21;
	public static final int Key_QuoteDbl = 0x22;
	public static final int Key_NumberSign = 0x23;
	public static final int Key_Dollar = 0x24;
	public static final int Key_Percent = 0x25;
	public static final int Key_Ampersand = 0x26;
	public static final int Key_Apostrophe = 0x27;
	public static final int Key_ParenLeft = 0x28;
	public static final int Key_ParenRight = 0x29;
	public static final int Key_Asterisk = 0x2a;
	public static final int Key_Plus = 0x2b;
	public static final int Key_Comma = 0x2c;
	public static final int Key_Minus = 0x2d;
	public static final int Key_Period = 0x2e;
	public static final int Key_Slash = 0x2f;
	public static final int Key_0 = 0x30;
	public static final int Key_1 = 0x31;
	public static final int Key_2 = 0x32;
	public static final int Key_3 = 0x33;
	public static final int Key_4 = 0x34;
	public static final int Key_5 = 0x35;
	public static final int Key_6 = 0x36;
	public static final int Key_7 = 0x37;
	public static final int Key_8 = 0x38;
	public static final int Key_9 = 0x39;
	public static final int Key_Colon = 0x3a;
	public static final int Key_Semicolon = 0x3b;
	public static final int Key_Less = 0x3c;
	public static final int Key_Equal = 0x3d;
	public static final int Key_Greater = 0x3e;
	public static final int Key_Question = 0x3f;
	public static final int Key_At = 0x40;
	public static final int Key_A = 0x41;
	public static final int Key_B = 0x42;
	public static final int Key_C = 0x43;
	public static final int Key_D = 0x44;
	public static final int Key_E = 0x45;
	public static final int Key_F = 0x46;
	public static final int Key_G = 0x47;
	public static final int Key_H = 0x48;
	public static final int Key_I = 0x49;
	public static final int Key_J = 0x4a;
	public static final int Key_K = 0x4b;
	public static final int Key_L = 0x4c;
	public static final int Key_M = 0x4d;
	public static final int Key_N = 0x4e;
	public static final int Key_O = 0x4f;
	public static final int Key_P = 0x50;
	public static final int Key_Q = 0x51;
	public static final int Key_R = 0x52;
	public static final int Key_S = 0x53;
	public static final int Key_T = 0x54;
	public static final int Key_U = 0x55;
	public static final int Key_V = 0x56;
	public static final int Key_W = 0x57;
	public static final int Key_X = 0x58;
	public static final int Key_Y = 0x59;
	public static final int Key_Z = 0x5a;
	public static final int Key_BracketLeft = 0x5b;
	public static final int Key_Backslash = 0x5c;
	public static final int Key_BracketRight = 0x5d;
	public static final int Key_AsciiCircum = 0x5e;
	public static final int Key_Underscore = 0x5f;
	public static final int Key_QuoteLeft = 0x60;
	public static final int Key_BraceLeft = 0x7b;
	public static final int Key_Bar = 0x7c;
	public static final int Key_BraceRight = 0x7d;
	public static final int Key_AsciiTilde = 0x7e;
	public static final int Key_nobreakspace = 0x0a0;
	public static final int Key_exclamdown = 0x0a1;
	public static final int Key_cent = 0x0a2;
	public static final int Key_sterling = 0x0a3;
	public static final int Key_currency = 0x0a4;
	public static final int Key_yen = 0x0a5;
	public static final int Key_brokenbar = 0x0a6;
	public static final int Key_section = 0x0a7;
	public static final int Key_diaeresis = 0x0a8;
	public static final int Key_copyright = 0x0a9;
	public static final int Key_ordfeminine = 0x0aa;
	public static final int Key_guillemotleft = 0x0ab;
	public static final int Key_notsign = 0x0ac;
	public static final int Key_hyphen = 0x0ad;
	public static final int Key_registered = 0x0ae;
	public static final int Key_macron = 0x0af;
	public static final int Key_degree = 0x0b0;
	public static final int Key_plusminus = 0x0b1;
	public static final int Key_twosuperior = 0x0b2;
	public static final int Key_threesuperior = 0x0b3;
	public static final int Key_acute = 0x0b4;
	public static final int Key_mu = 0x0b5;
	public static final int Key_paragraph = 0x0b6;
	public static final int Key_periodcentered = 0x0b7;
	public static final int Key_cedilla = 0x0b8;
	public static final int Key_onesuperior = 0x0b9;
	public static final int Key_masculine = 0x0ba;
	public static final int Key_guillemotright = 0x0bb;
	public static final int Key_onequarter = 0x0bc;
	public static final int Key_onehalf = 0x0bd;
	public static final int Key_threequarters = 0x0be;
	public static final int Key_questiondown = 0x0bf;
	public static final int Key_Agrave = 0x0c0;
	public static final int Key_Aacute = 0x0c1;
	public static final int Key_Acircumflex = 0x0c2;
	public static final int Key_Atilde = 0x0c3;
	public static final int Key_Adiaeresis = 0x0c4;
	public static final int Key_Aring = 0x0c5;
	public static final int Key_AE = 0x0c6;
	public static final int Key_Ccedilla = 0x0c7;
	public static final int Key_Egrave = 0x0c8;
	public static final int Key_Eacute = 0x0c9;
	public static final int Key_Ecircumflex = 0x0ca;
	public static final int Key_Ediaeresis = 0x0cb;
	public static final int Key_Igrave = 0x0cc;
	public static final int Key_Iacute = 0x0cd;
	public static final int Key_Icircumflex = 0x0ce;
	public static final int Key_Idiaeresis = 0x0cf;
	public static final int Key_ETH = 0x0d0;
	public static final int Key_Ntilde = 0x0d1;
	public static final int Key_Ograve = 0x0d2;
	public static final int Key_Oacute = 0x0d3;
	public static final int Key_Ocircumflex = 0x0d4;
	public static final int Key_Otilde = 0x0d5;
	public static final int Key_Odiaeresis = 0x0d6;
	public static final int Key_multiply = 0x0d7;
	public static final int Key_Ooblique = 0x0d8;
	public static final int Key_Ugrave = 0x0d9;
	public static final int Key_Uacute = 0x0da;
	public static final int Key_Ucircumflex = 0x0db;
	public static final int Key_Udiaeresis = 0x0dc;
	public static final int Key_Yacute = 0x0dd;
	public static final int Key_THORN = 0x0de;
	public static final int Key_ssharp = 0x0df;
	public static final int Key_agrave = 0x0e0;
	public static final int Key_aacute = 0x0e1;
	public static final int Key_acircumflex = 0x0e2;
	public static final int Key_atilde = 0x0e3;
	public static final int Key_adiaeresis = 0x0e4;
	public static final int Key_aring = 0x0e5;
	public static final int Key_ae = 0x0e6;
	public static final int Key_ccedilla = 0x0e7;
	public static final int Key_egrave = 0x0e8;
	public static final int Key_eacute = 0x0e9;
	public static final int Key_ecircumflex = 0x0ea;
	public static final int Key_ediaeresis = 0x0eb;
	public static final int Key_igrave = 0x0ec;
	public static final int Key_iacute = 0x0ed;
	public static final int Key_icircumflex = 0x0ee;
	public static final int Key_idiaeresis = 0x0ef;
	public static final int Key_eth = 0x0f0;
	public static final int Key_ntilde = 0x0f1;
	public static final int Key_ograve = 0x0f2;
	public static final int Key_oacute = 0x0f3;
	public static final int Key_ocircumflex = 0x0f4;
	public static final int Key_otilde = 0x0f5;
	public static final int Key_odiaeresis = 0x0f6;
	public static final int Key_division = 0x0f7;
	public static final int Key_oslash = 0x0f8;
	public static final int Key_ugrave = 0x0f9;
	public static final int Key_uacute = 0x0fa;
	public static final int Key_ucircumflex = 0x0fb;
	public static final int Key_udiaeresis = 0x0fc;
	public static final int Key_yacute = 0x0fd;
	public static final int Key_thorn = 0x0fe;
	public static final int Key_ydiaeresis = 0x0ff;
	public static final int Key_Back = 0x1061;
	public static final int Key_Forward = 0x1062;
	public static final int Key_Stop = 0x1063;
	public static final int Key_Refresh = 0x1064;
	public static final int Key_VolumeDown = 0x1070;
	public static final int Key_VolumeMute = 0x1071;
	public static final int Key_VolumeUp = 0x1072;
	public static final int Key_BassBoost = 0x1073;
	public static final int Key_BassUp = 0x1074;
	public static final int Key_BassDown = 0x1075;
	public static final int Key_TrebleUp = 0x1076;
	public static final int Key_TrebleDown = 0x1077;
	public static final int Key_MediaPlay = 0x1080;
	public static final int Key_MediaStop = 0x1081;
	public static final int Key_MediaPrev = 0x1082;
	public static final int Key_MediaNext = 0x1083;
	public static final int Key_MediaRecord = 0x1084;
	public static final int Key_HomePage = 0x1090;
	public static final int Key_Favorites = 0x1091;
	public static final int Key_Search = 0x1092;
	public static final int Key_Standby = 0x1093;
	public static final int Key_OpenUrl = 0x1094;
	public static final int Key_LaunchMail = 0x10a0;
	public static final int Key_LaunchMedia = 0x10a1;
	public static final int Key_Launch0 = 0x10a2;
	public static final int Key_Launch1 = 0x10a3;
	public static final int Key_Launch2 = 0x10a4;
	public static final int Key_Launch3 = 0x10a5;
	public static final int Key_Launch4 = 0x10a6;
	public static final int Key_Launch5 = 0x10a7;
	public static final int Key_Launch6 = 0x10a8;
	public static final int Key_Launch7 = 0x10a9;
	public static final int Key_Launch8 = 0x10aa;
	public static final int Key_Launch9 = 0x10ab;
	public static final int Key_LaunchA = 0x10ac;
	public static final int Key_LaunchB = 0x10ad;
	public static final int Key_LaunchC = 0x10ae;
	public static final int Key_LaunchD = 0x10af;
	public static final int Key_LaunchE = 0x10b0;
	public static final int Key_LaunchF = 0x10b1;
	public static final int Key_MediaLast = 0x1fff;
	public static final int Key_unknown = 0xffff;

	public static final int UpArrow = 0;
	public static final int DownArrow = 1;
	public static final int LeftArrow = 2;
	public static final int RightArrow = 3;

	public static final int CopyROP = 0;
	public static final int OrROP = 1;
	public static final int XorROP = 2;
	public static final int NotAndROP = 3;
	public static final int EraseROP = NotAndROP;
	public static final int NotCopyROP = 4;
	public static final int NotOrROP = 5;
	public static final int NotXorROP = 6;
	public static final int AndROP = 7;
	public static final int NotEraseROP = AndROP;
	public static final int NotROP = 8;
	public static final int ClearROP = 9;
	public static final int SetROP = 10;
	public static final int NopROP = 11;
	public static final int AndNotROP = 12;
	public static final int OrNotROP = 13;
	public static final int NandROP = 14;
	public static final int NorROP = 15;
	public static final int LastROP = NorROP;

	public static final int NoPen = 0;
	public static final int SolidLine = 1;
	public static final int DashLine = 2;
	public static final int DotLine = 3;
	public static final int DashDotLine = 4;
	public static final int DashDotDotLine = 5;
	public static final int MPenStyle = 0x0f;

	public static final int FlatCap = 0x00;
	public static final int SquareCap = 0x10;
	public static final int RoundCap = 0x20;
	public static final int MPenCapStyle = 0x30;

	public static final int MiterJoin = 0x00;
	public static final int BevelJoin = 0x40;
	public static final int RoundJoin = 0x80;
	public static final int MPenJoinStyle = 0xc0;

	public static final int NoBrush = 0;
	public static final int SolidPattern = 1;
	public static final int Dense1Pattern = 2;
	public static final int Dense2Pattern = 3;
	public static final int Dense3Pattern = 4;
	public static final int Dense4Pattern = 5;
	public static final int Dense5Pattern = 6;
	public static final int Dense6Pattern = 7;
	public static final int Dense7Pattern = 8;
	public static final int HorPattern = 9;
	public static final int VerPattern = 10;
	public static final int CrossPattern = 11;
	public static final int BDiagPattern = 12;
	public static final int FDiagPattern = 13;
	public static final int DiagCrossPattern = 14;
	public static final int CustomPattern = 24;

	public static final int MV_Unknown = 0x0000;
	public static final int MV_9 = 0x0001;
	public static final int MV_10_DOT_0 = 0x0002;
	public static final int MV_10_DOT_1 = 0x0003;
	public static final int MV_10_DOT_2 = 0x0004;
	public static final int MV_10_DOT_3 = 0x0005;
	public static final int MV_10_DOT_4 = 0x0006;
	public static final int MV_CHEETAH = MV_10_DOT_0;
	public static final int MV_PUMA = MV_10_DOT_1;
	public static final int MV_JAGUAR = MV_10_DOT_2;
	public static final int MV_PANTHER = MV_10_DOT_3;
	public static final int MV_TIGER = MV_10_DOT_4;

	public static final int WV_32s = 0x0001;
	public static final int WV_95 = 0x0002;
	public static final int WV_98 = 0x0003;
	public static final int WV_Me = 0x0004;
	public static final int WV_DOS_based = 0x000f;
	public static final int WV_NT = 0x0010;
	public static final int WV_2000 = 0x0020;
	public static final int WV_XP = 0x0030;
	public static final int WV_2003 = 0x0040;
	public static final int WV_NT_based = 0x00f0;
	public static final int WV_CE = 0x0100;
	public static final int WV_CENET = 0x0200;
	public static final int WV_CE_based = 0x0f00;

	public static final int UI_General = 0;
	public static final int UI_AnimateMenu = 1;
	public static final int UI_FadeMenu = 2;
	public static final int UI_AnimateCombo = 3;
	public static final int UI_AnimateTooltip = 4;
	public static final int UI_FadeTooltip = 5;
	public static final int UI_AnimateToolBox = 6;

	public static final int ArrowCursor = 0;
	public static final int UpArrowCursor = 1;
	public static final int CrossCursor = 2;
	public static final int WaitCursor = 3;
	public static final int IbeamCursor = 4;
	public static final int SizeVerCursor = 5;
	public static final int SizeHorCursor = 6;
	public static final int SizeBDiagCursor = 7;
	public static final int SizeFDiagCursor = 8;
	public static final int SizeAllCursor = 9;
	public static final int BlankCursor = 10;
	public static final int SplitVCursor = 11;
	public static final int SplitHCursor = 12;
	public static final int PointingHandCursor = 13;
	public static final int ForbiddenCursor = 14;
	public static final int WhatsThisCursor = 15;
	public static final int BusyCursor = 16;
	public static final int LastCursor = BusyCursor;
	public static final int BitmapCursor = 24;

	public static final int PlainText = 0;
	public static final int RichText = 1;
	public static final int AutoText = 2;
	public static final int LogText = 3;

	public static final int AnchorName = 0;
	public static final int AnchorHref = 1;

	public static final int DockUnmanaged = 0;
	public static final int DockTornOff = 1;
	public static final int DockTop = 2;
	public static final int DockBottom = 3;
	public static final int DockRight = 4;
	public static final int DockLeft = 5;
	public static final int DockMinimized = 6;
	public static final int Unmanaged = DockUnmanaged;
	public static final int TornOff = DockTornOff;
	public static final int Top = DockTop;
	public static final int Bottom = DockBottom;
	public static final int Right = DockRight;
	public static final int Left = DockLeft;
	public static final int Minimized = DockMinimized;

	public static final int TextDate = 0;
	public static final int ISODate = 1;
	public static final int LocalDate = 2;

	public static final int LocalTime = 0;
	public static final int UTC = 1;

	public static final int FixedColor = 0;
	public static final int FixedPixmap = 1;
	public static final int NoBackground = 2;
	public static final int PaletteForeground = 3;
	public static final int PaletteButton = 4;
	public static final int PaletteLight = 5;
	public static final int PaletteMidlight = 6;
	public static final int PaletteDark = 7;
	public static final int PaletteMid = 8;
	public static final int PaletteText = 9;
	public static final int PaletteBrightText = 10;
	public static final int PaletteBase = 11;
	public static final int PaletteBackground = 12;
	public static final int PaletteShadow = 13;
	public static final int PaletteHighlight = 14;
	public static final int PaletteHighlightedText = 15;
	public static final int PaletteButtonText = 16;
	public static final int PaletteLink = 17;
	public static final int PaletteLinkVisited = 18;
	public static final int X11ParentRelative = 19;

	public static final int CaseSensitive = 0x00001;
	public static final int BeginsWith = 0x00002;
	public static final int EndsWith = 0x00004;
	public static final int Contains = 0x00008;
	public static final int ExactMatch = 0x00010;

	public static final int TopLeft = 0x00000;
	public static final int TopRight = 0x00001;
	public static final int BottomLeft = 0x00002;
	public static final int BottomRight = 0x00003;

	public Qt() {
		newQt();
	}
	private native void newQt();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
	/**	**************************************************
		  TQPoint stream functions
		**************************************************		@short                                                                                TQPoint stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQPoint arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQPoint arg2);
	/**	**************************************************
		  TQPoint inline functions
		**************************************************		@short                                                                                TQPoint inline functions
	*/
	public static native boolean op_equals(TQPoint p1, TQPoint p2);
	public static native boolean op_not_equals(TQPoint p1, TQPoint p2);
	public static native TQPoint op_plus(TQPoint p1, TQPoint p2);
	public static native TQPoint op_minus(TQPoint p1, TQPoint p2);
	public static native TQPoint op_mult(TQPoint p, int c);
	public static native TQPoint op_mult(int c, TQPoint p);
	public static native TQPoint op_mult(TQPoint p, double c);
	public static native TQPoint op_mult(double c, TQPoint p);
	public static native TQPoint op_minus(TQPoint p);
	public static native TQPoint op_div(TQPoint p, int c);
	public static native TQPoint op_div(TQPoint p, double c);
	/**	**************************************************
		  TQRegion stream functions
		**************************************************		@short                                                                                TQRegion stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQRegion arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQRegion arg2);
	/**	**************************************************
		  Misc. TQBitArray operator functions
		**************************************************		@short                                                                                Misc.
	*/
	// TQBitArray op_and(const TQBitArray& arg1,const TQBitArray& arg2); >>>> NOT CONVERTED
	// TQBitArray op_or(const TQBitArray& arg1,const TQBitArray& arg2); >>>> NOT CONVERTED
	// TQBitArray op_xor(const TQBitArray& arg1,const TQBitArray& arg2); >>>> NOT CONVERTED
	/**	**************************************************
		  TQBitArray stream functions
		**************************************************		@short                                                                                TQBitArray stream functions
	*/
	// TQDataStream& op_write(TQDataStream& arg1,const TQBitArray& arg2); >>>> NOT CONVERTED
	// TQDataStream& op_read(TQDataStream& arg1,TQBitArray& arg2); >>>> NOT CONVERTED
	/**	**************************************************
		  TQColorGroup/TQPalette stream functions
		**************************************************		@short                                                                                TQColorGroup/TQPalette stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQColorGroup arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQColorGroup arg2);
	public static native TQDataStream op_write(TQDataStream arg1, TQPalette arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQPalette arg2);
	// TQTextStream& op_read(TQTextStream& arg1,TQTSFUNC arg2); >>>> NOT CONVERTED
	// TQTextStream& op_write(TQTextStream& arg1,TQTSFUNC arg2); >>>> NOT CONVERTED
	// TQTextStream& op_write(TQTextStream& arg1,TQTSManip arg2); >>>> NOT CONVERTED
	public static native TQTextStream bin(TQTextStream s);
	public static native TQTextStream oct(TQTextStream s);
	public static native TQTextStream dec(TQTextStream s);
	public static native TQTextStream hex(TQTextStream s);
	public static native TQTextStream endl(TQTextStream s);
	public static native TQTextStream flush(TQTextStream s);
	public static native TQTextStream ws(TQTextStream s);
	public static native TQTextStream reset(TQTextStream s);
	// TQTSManip qSetW(int arg1); >>>> NOT CONVERTED
	// TQTSManip qSetFill(int arg1); >>>> NOT CONVERTED
	// TQTSManip qSetPrecision(int arg1); >>>> NOT CONVERTED
	// TQDataStream& op_read(TQDataStream& arg1,TQGList& arg2); >>>> NOT CONVERTED
	// TQDataStream& op_write(TQDataStream& arg1,const TQGList& arg2); >>>> NOT CONVERTED
	public static native void qDrawShadeLine(TQPainter p, int x1, int y1, int x2, int y2, TQColorGroup g, boolean sunken, int lineWidth, int midLineWidth);
	public static native void qDrawShadeLine(TQPainter p, int x1, int y1, int x2, int y2, TQColorGroup g, boolean sunken, int lineWidth);
	public static native void qDrawShadeLine(TQPainter p, int x1, int y1, int x2, int y2, TQColorGroup g, boolean sunken);
	public static native void qDrawShadeLine(TQPainter p, int x1, int y1, int x2, int y2, TQColorGroup g);
	public static native void qDrawShadeLine(TQPainter p, TQPoint p1, TQPoint p2, TQColorGroup g, boolean sunken, int lineWidth, int midLineWidth);
	public static native void qDrawShadeLine(TQPainter p, TQPoint p1, TQPoint p2, TQColorGroup g, boolean sunken, int lineWidth);
	public static native void qDrawShadeLine(TQPainter p, TQPoint p1, TQPoint p2, TQColorGroup g, boolean sunken);
	public static native void qDrawShadeLine(TQPainter p, TQPoint p1, TQPoint p2, TQColorGroup g);
	public static native void qDrawShadeRect(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, int lineWidth, int midLineWidth, TQBrush fill);
	public static native void qDrawShadeRect(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, int lineWidth, int midLineWidth);
	public static native void qDrawShadeRect(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, int lineWidth);
	public static native void qDrawShadeRect(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken);
	public static native void qDrawShadeRect(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6);
	public static native void qDrawShadeRect(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, int lineWidth, int midLineWidth, TQBrush fill);
	public static native void qDrawShadeRect(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, int lineWidth, int midLineWidth);
	public static native void qDrawShadeRect(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, int lineWidth);
	public static native void qDrawShadeRect(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken);
	public static native void qDrawShadeRect(TQPainter p, TQRect r, TQColorGroup arg3);
	public static native void qDrawShadePanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, int lineWidth, TQBrush fill);
	public static native void qDrawShadePanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, int lineWidth);
	public static native void qDrawShadePanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken);
	public static native void qDrawShadePanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6);
	public static native void qDrawShadePanel(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, int lineWidth, TQBrush fill);
	public static native void qDrawShadePanel(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, int lineWidth);
	public static native void qDrawShadePanel(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken);
	public static native void qDrawShadePanel(TQPainter p, TQRect r, TQColorGroup arg3);
	public static native void qDrawWinButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken, TQBrush fill);
	public static native void qDrawWinButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken);
	public static native void qDrawWinButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g);
	public static native void qDrawWinButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken, TQBrush fill);
	public static native void qDrawWinButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken);
	public static native void qDrawWinButton(TQPainter p, TQRect r, TQColorGroup g);
	public static native void qDrawWinPanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, TQBrush fill);
	public static native void qDrawWinPanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken);
	public static native void qDrawWinPanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6);
	public static native void qDrawWinPanel(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, TQBrush fill);
	public static native void qDrawWinPanel(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken);
	public static native void qDrawWinPanel(TQPainter p, TQRect r, TQColorGroup arg3);
	public static native void qDrawPlainRect(TQPainter p, int x, int y, int w, int h, TQColor arg6, int lineWidth, TQBrush fill);
	public static native void qDrawPlainRect(TQPainter p, int x, int y, int w, int h, TQColor arg6, int lineWidth);
	public static native void qDrawPlainRect(TQPainter p, int x, int y, int w, int h, TQColor arg6);
	public static native void qDrawPlainRect(TQPainter p, TQRect r, TQColor arg3, int lineWidth, TQBrush fill);
	public static native void qDrawPlainRect(TQPainter p, TQRect r, TQColor arg3, int lineWidth);
	public static native void qDrawPlainRect(TQPainter p, TQRect r, TQColor arg3);
	public static native TQRect qItemRect(TQPainter p, int gs, int x, int y, int w, int h, int flags, boolean enabled, TQPixmap pixmap, String text, int len);
	public static native TQRect qItemRect(TQPainter p, int gs, int x, int y, int w, int h, int flags, boolean enabled, TQPixmap pixmap, String text);
	public static native void qDrawItem(TQPainter p, int gs, int x, int y, int w, int h, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len, TQColor penColor);
	public static native void qDrawItem(TQPainter p, int gs, int x, int y, int w, int h, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len);
	public static native void qDrawItem(TQPainter p, int gs, int x, int y, int w, int h, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text);
	public static native void qDrawArrow(TQPainter p, int type, int style, boolean down, int x, int y, int w, int h, TQColorGroup g, boolean enabled);
	/**	**************************************************
		  TQCursor stream functions
		**************************************************		@short                                                                                TQCursor stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQCursor arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQCursor arg2);
	public static native String tqAppName();
	// void tqAddPostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED
	// void tqRemovePostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED
	public static native byte[] tqCompress(char[] data, int nbytes);
	public static native byte[] tqUncompress(char[] data, int nbytes);
	public static native byte[] tqCompress(byte[] data);
	public static native byte[] tqUncompress(byte[] data);
	public static native TQTextStream op_write(TQTextStream arg1, TQDomNode arg2);
	public static native TQWMatrix op_mult(TQWMatrix arg1, TQWMatrix arg2);
	/**	**************************************************
		  TQWMatrix stream functions
		**************************************************		@short                                                                                TQWMatrix stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQWMatrix arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQWMatrix arg2);
	/**	**************************************************
		  TQBrush stream functions
		**************************************************		@short                                                                                TQBrush stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQBrush arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQBrush arg2);
	public static native TQDataStream op_write(TQDataStream arg1, TQImage arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQImage arg2);
	public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src, int sx, int sy, int sw, int sh, int conversion_flags);
	public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src, int sx, int sy, int sw, int sh);
	public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src, int sx, int sy, int sw);
	public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src, int sx, int sy);
	public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src, int sx);
	public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src);
	public static native TQDataStream op_read(TQDataStream s, TQVariant p);
	public static native TQDataStream op_write(TQDataStream s, TQVariant p);
	public static native TQDataStream op_read(TQDataStream s, int p);
	public static native TQDataStream op_write(TQDataStream s, int p);
	/**	*************************************************
		 $Id$
		
		* Definition of OpenGL classes for Qt
		
		* Created : 970112
		
		* Copyright (C) 1992-2005 Trolltech AS.  All rights reserved.
		
		* This file is part of the opengl module of the Qt GUI Toolkit.
		
		* This file may be distributed under the terms of the Q Public License
		 as defined by Trolltech AS of Norway and appearing in the file
		 LICENSE.TQPL included in the packaging of this file.
		
		* This file may be distributed and/or modified under the terms of the
		 GNU General Public License version 2 as published by the Free Software
		 Foundation and appearing in the file LICENSE.GPL included in the
		 packaging of this file.
		
		* Licensees holding valid Qt Enterprise Edition licenses may use this
		 file in accordance with the Qt Commercial License Agreement provided
		 with the Software.
		
		* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
		 WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
		
		* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
		   information about Qt Commercial License Agreements.
		 See http://www.trolltech.com/qpl/ for TQPL licensing information.
		 See http://www.trolltech.com/gpl/ for GPL licensing information.
		
		* Contact info@trolltech.com if any conditions of this licensing are
		 not clear to you.
		
		**********************************************		@short                                                                               $Id: qt/qgl.
	*/
	public static native String qGLVersion();
	public static native boolean op_equals(TQGLFormat arg1, TQGLFormat arg2);
	public static native boolean op_not_equals(TQGLFormat arg1, TQGLFormat arg2);
	/**	**************************************************
		  TQFont stream functions
		**************************************************		@short                                                                                TQFont stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQFont arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQFont arg2);
	/**	**************************************************
		  TQSize stream functions
		**************************************************		@short                                                                                TQSize stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQSize arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQSize arg2);
	/**	**************************************************
		  TQSize inline functions
		**************************************************		@short                                                                                TQSize inline functions
	*/
	public static native boolean op_equals(TQSize s1, TQSize s2);
	public static native boolean op_not_equals(TQSize s1, TQSize s2);
	public static native TQSize op_plus(TQSize s1, TQSize s2);
	public static native TQSize op_minus(TQSize s1, TQSize s2);
	public static native TQSize op_mult(TQSize s, int c);
	public static native TQSize op_mult(int c, TQSize s);
	public static native TQSize op_mult(TQSize s, double c);
	public static native TQSize op_mult(double c, TQSize s);
	public static native TQSize op_div(TQSize s, int c);
	public static native TQSize op_div(TQSize s, double c);
	public static native TQDataStream op_read(TQDataStream arg1, String[] arg2);
	public static native TQDataStream op_write(TQDataStream arg1, String[] arg2);
	/**	**************************************************
		  TQPixmap stream functions
		**************************************************		@short                                                                                TQPixmap stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQPixmap arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQPixmap arg2);
	public static native void copyBlt(TQPixmap dst, int dx, int dy, TQPixmap src, int sx, int sy, int sw, int sh);
	public static native void copyBlt(TQPixmap dst, int dx, int dy, TQPixmap src, int sx, int sy, int sw);
	public static native void copyBlt(TQPixmap dst, int dx, int dy, TQPixmap src, int sx, int sy);
	public static native void copyBlt(TQPixmap dst, int dx, int dy, TQPixmap src, int sx);
	public static native void copyBlt(TQPixmap dst, int dx, int dy, TQPixmap src);
	/**	*************************************************
		 $Id$
		
		* Definition of tqInitNetworkProtocols function.
		
		* Created : 970521
		
		* Copyright (C) 1992-2005 Trolltech AS.  All rights reserved.
		
		* This file is part of the network module of the Qt GUI Toolkit.
		
		* This file may be distributed under the terms of the Q Public License
		 as defined by Trolltech AS of Norway and appearing in the file
		 LICENSE.TQPL included in the packaging of this file.
		
		* This file may be distributed and/or modified under the terms of the
		 GNU General Public License version 2 as published by the Free Software
		 Foundation and appearing in the file LICENSE.GPL included in the
		 packaging of this file.
		
		* Licensees holding valid Qt Enterprise Edition licenses may use this
		 file in accordance with the Qt Commercial License Agreement provided
		 with the Software.
		
		* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
		 WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
		
		* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
		   information about Qt Commercial License Agreements.
		 See http://www.trolltech.com/qpl/ for TQPL licensing information.
		 See http://www.trolltech.com/gpl/ for GPL licensing information.
		
		* Contact info@trolltech.com if any conditions of this licensing are
		 not clear to you.
		
		**********************************************		@short                                                                               $Id: qt/qnetwork.
	*/
	public static native void tqInitNetworkProtocols();
	/**	**************************************************
		  TQPointArray stream functions
		**************************************************		@short                                                                                TQPointArray stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQPointArray arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQPointArray arg2);
	/**	**************************************************
		  TQPen stream functions
		**************************************************		@short                                                                                TQPen stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQPen arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQPen arg2);
	public static native int tqRed(int rgb);
	public static native int tqGreen(int rgb);
	public static native int tqBlue(int rgb);
	public static native int tqAlpha(int rgb);
	public static native int tqRgb(int r, int g, int b);
	public static native int tqRgba(int r, int g, int b, int a);
	public static native int tqGray(int r, int g, int b);
	public static native int tqGray(int rgb);
	/**	**************************************************
		  TQColor stream functions
		**************************************************		@short                                                                                TQColor stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQColor arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQColor arg2);
	public static native TQTextStream op_write(TQTextStream arg1, TQSplitter arg2);
	public static native TQTextStream op_read(TQTextStream arg1, TQSplitter arg2);
	public static native TQDataStream op_write(TQDataStream arg1, TQUuid arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQUuid arg2);
	/**	**************************************************
		  Date and time stream functions
		**************************************************		@short                                                                                Date and time stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, Calendar arg2);
	public static native TQDataStream op_read(TQDataStream arg1, Calendar arg2);
	public static native TQDataStream op_write(TQDataStream arg1, Date arg2);
	public static native TQDataStream op_read(TQDataStream arg1, Date arg2);
	public static native TQDataStream op_write(TQDataStream arg1, TQKeySequence arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQKeySequence arg2);
	/**	**************************************************
		  TQPicture stream functions
		**************************************************		@short                                                                                TQPicture stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQPicture arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQPicture arg2);
	public static native TQTextStream op_write(TQTextStream arg1, TQMainWindow arg2);
	public static native TQTextStream op_read(TQTextStream arg1, TQMainWindow arg2);
	// TQDataStream& op_read(TQDataStream& arg1,TQGVector& arg2); >>>> NOT CONVERTED
	// TQDataStream& op_write(TQDataStream& arg1,const TQGVector& arg2); >>>> NOT CONVERTED
	public static native int tqRound(double d);
	public static native String tqVersion();
	public static native boolean tqSysInfo(int[] wordSize, boolean[] bigEndian);
	public static native boolean tqSharedBuild();
	public static native void tqSystemWarning(String arg1, int code);
	public static native void tqSystemWarning(String arg1);
	// QtMsgHandler qInstallMsgHandler(QtMsgHandler arg1); >>>> NOT CONVERTED
	public static native void tqSuppressObsoleteWarnings(boolean arg1);
	public static native void tqSuppressObsoleteWarnings();
	public static native void tqObsolete(String arg1, String oldfunc, String newfunc);
	public static native void tqObsolete(String arg1, String oldfunc);
	public static native void tqObsolete(String message);
	public static native String tqInstallPath();
	public static native String tqInstallPathDocs();
	public static native String tqInstallPathHeaders();
	public static native String tqInstallPathLibs();
	public static native String tqInstallPathBins();
	public static native String tqInstallPathPlugins();
	public static native String tqInstallPathData();
	public static native String tqInstallPathTranslations();
	public static native String tqInstallPathSysconf();
	public static native TQTextStream op_write(TQTextStream arg1, TQDockArea arg2);
	public static native TQTextStream op_read(TQTextStream arg1, TQDockArea arg2);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy, int sw, int sh, int arg9, boolean ignoreMask);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy, int sw, int sh, int arg9);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy, int sw, int sh);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy, int sw);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src, int sx, int sy, int sw, int sh, int conversion_flags);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src, int sx, int sy, int sw, int sh);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src, int sx, int sy, int sw);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src, int sx, int sy);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src, int sx);
	public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src);
	/**	**************************************************
		  Inline functions
		**************************************************		@short                                                                                Inline functions
	*/
	public static native void bitBlt(TQPaintDeviceInterface dst, TQPoint dp, TQPaintDeviceInterface src, TQRect sr, int rop, boolean ignoreMask);
	public static native void bitBlt(TQPaintDeviceInterface dst, TQPoint dp, TQPaintDeviceInterface src, TQRect sr, int rop);
	public static native void bitBlt(TQPaintDeviceInterface dst, TQPoint dp, TQPaintDeviceInterface src, TQRect sr);
	public static native void bitBlt(TQPaintDeviceInterface dst, TQPoint dp, TQPaintDeviceInterface src);
	public static native boolean op_equals(TQRect arg1, TQRect arg2);
	public static native boolean op_not_equals(TQRect arg1, TQRect arg2);
	/**	**************************************************
		  TQRect stream functions
		**************************************************		@short                                                                                TQRect stream functions
	*/
	public static native TQDataStream op_write(TQDataStream arg1, TQRect arg2);
	public static native TQDataStream op_read(TQDataStream arg1, TQRect arg2);
	/** This member allows a typecast of an instance which wraps a Qt instance,
		to a more specialized type. Invokes the private qtjava.dynamicCast()
		via reflection, as that method isn't part of the public Qt api */
	public static QtSupport dynamicCast(String type, QtSupport source) {
		Method		method = null;
		
		try {
			method = qtjava.class.getDeclaredMethod(	"dynamicCast",
														new Class[] { String.class, QtSupport.class } );
		} catch (NoSuchMethodException e1) {
			Qt.qWarning("No such method : qtjava.dynamicCast()");
		}

		try {
			method.setAccessible(true);
			Object result = method.invoke(qtjava.class, new Object[] { type, source } );
			return (QtSupport) result;
		} catch (InvocationTargetException e) {
			Qt.qWarning("Invocation failed : qtjava.dynamicCast()");
			return null;
		} catch (IllegalAccessException e) {
			Qt.qWarning("Invocation failed : qtjava.dynamicCast()");
			return null;
		}
	}
	
	public static native TQColor color0();
	public static native TQColor color1();
	public static native TQColor black();
	public static native TQColor white();
	public static native TQColor darkGray();
	public static native TQColor gray();
	public static native TQColor lightGray();
	public static native TQColor red();
	public static native TQColor green();
	public static native TQColor blue();
	public static native TQColor cyan();
	public static native TQColor magenta();
	public static native TQColor yellow();
	public static native TQColor darkRed();
	public static native TQColor darkGreen();
	public static native TQColor darkBlue();
	public static native TQColor darkCyan();
	public static native TQColor darkMagenta();
	public static native TQColor darkYellow();
	
    // Global cursors

	public static native TQCursor arrowCursor();	// standard arrow cursor
	public static native TQCursor upArrowCursor();	// upwards arrow
	public static native TQCursor crossCursor();	// crosshair
	public static native TQCursor waitCursor();	// hourglass/watch
	public static native TQCursor ibeamCursor();	// ibeam/text entry
	public static native TQCursor sizeVerCursor();	// vertical resize
	public static native TQCursor sizeHorCursor();	// horizontal resize
	public static native TQCursor sizeBDiagCursor();	// diagonal resize (/)
	public static native TQCursor sizeFDiagCursor();	// diagonal resize ()
	public static native TQCursor sizeAllCursor();	// all directions resize
	public static native TQCursor blankCursor();	// blank/invisible cursor
	public static native TQCursor splitVCursor();	// vertical bar with left-right
						// arrows
	public static native TQCursor splitHCursor();	// horizontal bar with up-down
						// arrows
	public static native TQCursor pointingHandCursor();	// pointing hand
	public static native TQCursor forbiddenCursor();	// forbidden cursor (slashed circle)
	public static native TQCursor whatsThisCursor();	// arrow with a question mark
	
	public static native TQApplication tqApp();
	
	public static native void tqDebug(String message);
	public static void tqDebug(String pattern, Object[] arguments) {
		tqDebug(MessageFormat.format(pattern, arguments));
	}
	
	public static native void tqWarning(String message);
	public static void tqWarning(String pattern, Object[] arguments) {
		tqWarning(MessageFormat.format(pattern, arguments));
	}
	
	public static native void tqFatal(String message);
	public static void tqFatal(String pattern, Object[] arguments) {
		tqFatal(MessageFormat.format(pattern, arguments));
	}
	
	private static String sqeezeOut(String from, char toss) {
		char[] chars = from.toCharArray();
		int len = chars.length;
		int put = 0;
		
		for (int i = 0; i < len; i++) {
			if (chars[i] != toss) {
				chars[put++] = chars[i];
			}
		}
		
		return new String(chars, 0, put);
	}
	
	/** Prepend a '2' to a signal string and remove any spaces */
	public static String SIGNAL(String signal) {
		return "2" + sqeezeOut(signal, ' ');
	}
	
	/** Prepend a '1' to a slot string and remove any spaces */
	public static String SLOT(String slot) {
		return "1" + sqeezeOut(slot, ' ');
	}
	
	/** Convert from a UTF-8 string to Unicode - the java equivalent to TQString::fromUtf8() */
	public String fromUtf8(byte[] bytes) {
		String result = null;
		
		try {
			result = new String(bytes, "UTF-8");
		} catch (UnsupportedEncodingException e) {
			tqWarning("UTF-8 encoding not supported");
		} finally {
			return result;
		}
	}
	
}