summaryrefslogtreecommitdiffstats
path: root/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3
blob: 0b44ad15eb4aa8882f70ff448e27d0829211e511 (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
#!/bin/bash

find ./ -type f -iname "*.c*" -o -iname "*.h*" -o -iname "*.ui*" -o -name "*.kcfg" -o -name "*.ypp" -not -iwholename '*.git*' |\
tr "\n" "\0" |\
xargs -r0 sed -i \
 -e 's/^Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/TQ\1\2/g' \
 -e 's/\([^_]\)Q\([ABCDEFGHIJKLMNOPQRSTUVWXYZ]\)\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)/\1TQ\2\3/g' \
 -e 's/Qt/TQt/g' \
 -e 's/TTQ/TQ/g' \
 -e 's/TTQ/TQ/g' \
 -e 's/TTQ/TQ/g' \
 -e 's/TTQ/TQ/g'

# Move the library
find ./ -type f -iname "*" -not -iwholename '*.git*' -print0 |\
xargs -r0 sed -i \
 -e 's/qt-mt/tqt-mt/g' \
 -e 's/qui/tqui/g'

# Back out changes we did not want to make
find ./ -type f -iname "*" -not -iwholename '*.git*' -print0 |\
xargs -r0 sed -i \
 -e 's/TQ_OBJECT/Q_OBJECT/g' \
 -e 's/TQT_/QT_/g' \
 -e 's/TQCStringList/QCStringList/g' \
 -e 's/TQMAKE/QMAKE/g' \
 -e 's/TQTDIR/QTDIR/g' \
 -e 's/OBLITQUE/OBLIQUE/g' \
 -e 's/ATQUA/AQUA/g' \
 \
 -e 's/QUType_Q/QUType_TQ/g' \
 -e 's/\([ (]\)Q\#\#/\1TQ\#\#/g' \
 -e 's/STQL/SQL/g' \
 \
 -e 's/keyCodeTQt/keyCodeQt/g' \
 -e 's/kontqui/konqui/g' \
 -e 's/tquiv/quiv/g' \
 \
 -e 's/\([^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)tquit/\1quit/g' \
 -e 's/^tquit/quit/g' \
 \
 -e 's/ACTQUIRE/ACQUIRE/g' \
 -e 's/Actquire/Acquire/g' \
 -e 's/actquire/acquire/g' \
 -e 's/LITQUID/LIQUID/g' \
 -e 's/Litquid/Liquid/g' \
 -e 's/litquid/liquid/g' \
 -e 's/OPATQUE/OPAQUE/g' \
 -e 's/Opatque/Opaque/g' \
 -e 's/opatque/opaque/g' \
 -e 's/RETQUIRE/REQUIRE/g' \
 -e 's/Retquire/Require/g' \
 -e 's/retquire/require/g'

# Apply changes that should have been made but were not
find ./ -type f -iname "*" -not -iwholename '*.git*' -print0 |\
xargs -r0 sed -i 's/aboutQt/aboutTQt/g'

# Back out linear alphabet string changes
find ./ -type f -iname "*" -not -iwholename '*.git*' -print0 |\
xargs -r0 sed -i \
 -e 's/MNOPTQR/MNOPQR/g' \
 \
 -e 's/QT_VERSION/TQT_VERSION/g' \
 -e 's/QT_BUILD_KEY/TQT_BUILD_KEY/g' \
 -e 's/Q_PACKED/TQ_PACKED/g' \
 -e 's/Q_INT64_C/TQ_INT64_C/g' \
 -e 's/Q_UINT64_C/TQ_UINT64_C/g' \
 -e 's/Q_CHECK_PTR/TQ_CHECK_PTR/g' \
 -e 's/Q_DISABLE_COPY/TQ_DISABLE_COPY/g' \
 -e 's/QT_MODULE_/TQT_MODULE_/g' \
 -e 's/TTQT_MODULE_/TQT_MODULE_/g' \
 -e 's/QT_TR_FUNCTIONS/TQT_TR_FUNCTIONS/g' \
 -e 's/RGB_MASK/TQT_RGB_MASK/g' \
 \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qRound/\1tqRound/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qSwap/\1tqSwap/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qstrlen/\1tqstrlen/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qstrncmp/\1tqstrncmp/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qUncompress/\1tqUncompress/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qCopy/\1tqCopy/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qCopyBackward/\1tqCopyBackward/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qEqual/\1tqEqual/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qFill/\1tqFill/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qFind/\1tqFind/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qCount/\1tqCount/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qHash/\1tqHash/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qAppName/\1tqAppName/g' \
 \
 -e 's/^qRound/tqRound/g' \
 -e 's/^qSwap/tqSwap/g' \
 -e 's/^qstrlen/tqstrlen/g' \
 -e 's/^qstrncmp/tqstrncmp/g' \
 -e 's/^qUncompress/tqUncompress/g' \
 -e 's/^qCopy/tqCopy/g' \
 -e 's/^qCopyBackward/tqCopyBackward/g' \
 -e 's/^qEqual/tqEqual/g' \
 -e 's/^qFill/tqFill/g' \
 -e 's/^qFind/tqFind/g' \
 -e 's/^qCount/tqCount/g' \
 -e 's/^qHash/tqHash/g' \
 -e 's/^qAppName/tqAppName/g' \
 \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qRed/\1tqRed/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qGreen/\1tqGreen/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qBlue/\1tqBlue/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qAlpha/\1tqAlpha/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qRgb/\1tqRgb/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qGray/\1tqGray/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qApp/\1tqApp/g' \
 \
 -e 's/^qRed/tqRed/g' \
 -e 's/^qGreen/tqGreen/g' \
 -e 's/^qBlue/tqBlue/g' \
 -e 's/^qAlpha/tqAlpha/g' \
 -e 's/^qRgb/tqRgb/g' \
 -e 's/^qGray/tqGray/g' \
 -e 's/^qApp/tqApp/g' \
 \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qAddPostRoutine/\1tqAddPostRoutine/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qWarning/\1tqWarning/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qSharedBuild/\1tqSharedBuild/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qNetworkProtocolRegister/\1tqNetworkProtocolRegister/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qDebug/\1tqDebug/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qCompress/\1tqCompress/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qFatal/\1tqFatal/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qSqlDriverExtDict/\1tqSqlDriverExtDict/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qSqlOpenExtDict/\1tqSqlOpenExtDict/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qInitNetworkProtocols/\1tqInitNetworkProtocols/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qSuppressObsoleteWarnings/\1tqSuppressObsoleteWarnings/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qChecksum/\1tqChecksum/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qRemovePostRoutine/\1tqRemovePostRoutine/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qInstallPath/\1tqInstallPath/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qObsolete/\1tqObsolete/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qVersion/\1tqVersion/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qSystemWarning/\1tqSystemWarning/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qSysInfo/\1tqSysInfo/g' \
 \
 -e 's/^qAddPostRoutine/tqAddPostRoutine/g' \
 -e 's/^qWarning/tqWarning/g' \
 -e 's/^qSharedBuild/tqSharedBuild/g' \
 -e 's/^qNetworkProtocolRegister/tqNetworkProtocolRegister/g' \
 -e 's/^qDebug/tqDebug/g' \
 -e 's/^qCompress/tqCompress/g' \
 -e 's/^qFatal/tqFatal/g' \
 -e 's/^qSqlDriverExtDict/tqSqlDriverExtDict/g' \
 -e 's/^qSqlOpenExtDict/tqSqlOpenExtDict/g' \
 -e 's/^qInitNetworkProtocols/tqInitNetworkProtocols/g' \
 -e 's/^qSuppressObsoleteWarnings/tqSuppressObsoleteWarnings/g' \
 -e 's/^qChecksum/tqChecksum/g' \
 -e 's/^qRemovePostRoutine/tqRemovePostRoutine/g' \
 -e 's/^qInstallPath/tqInstallPath/g' \
 -e 's/^qObsolete/tqObsolete/g' \
 -e 's/^qVersion/tqVersion/g' \
 -e 's/^qSystemWarning/tqSystemWarning/g' \
 -e 's/^qSysInfo/tqSysInfo/g' \
 \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qmemmove/\1tqmemmove/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qstrncpy/\1tqstrncpy/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qstrdup/\1tqstrdup/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qstrnicmp/\1tqstrnicmp/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qstricmp/\1tqstricmp/g' \
 \
 -e 's/^qmemmove/tqmemmove/g' \
 -e 's/^qstrncpy/tqstrncpy/g' \
 -e 's/^qstrdup/tqstrdup/g' \
 -e 's/^qstrnicmp/tqstrnicmp/g' \
 -e 's/^qstricmp/tqstricmp/g' \
 \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_get_application_thread_id/\1tqt_get_application_thread_id/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_x_user_time/\1tqt_x_user_time/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_xget_temp_gc/\1tqt_xget_temp_gc/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_has_xft/\1tqt_has_xft/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_modal_state/\1tqt_modal_state/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_check_pointer/\1tqt_check_pointer/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_preliminary_signal_spy/\1tqt_preliminary_signal_spy/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_wm_take_focus/\1tqt_wm_take_focus/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_global_mutexpool/\1tqt_global_mutexpool/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_xdisplay/\1tqt_xdisplay/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_resolve_symlinks/\1tqt_resolve_symlinks/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_qclipboard_bailout_hack/\1tqt_qclipboard_bailout_hack/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_x_time/\1tqt_x_time/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_wm_delete_window/\1tqt_wm_delete_window/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_qheader_label_return_null_strings/\1tqt_qheader_label_return_null_strings/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_xscreen/\1tqt_xscreen/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_setAccelAutoShortcuts/\1tqt_setAccelAutoShortcuts/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_sm_client_id/\1tqt_sm_client_id/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_set_table_clipper_enabled/\1tqt_set_table_clipper_enabled/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_hebrew_keyboard_hack/\1tqt_hebrew_keyboard_hack/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_use_native_dialogs/\1tqt_use_native_dialogs/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_generate_epsf/\1tqt_generate_epsf/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_xget_readonly_gc/\1tqt_xget_readonly_gc/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_use_xrender/\1tqt_use_xrender/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_set_x11_event_filter/\1tqt_set_x11_event_filter/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_xrootwin/\1tqt_xrootwin/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_wm_protocols/\1tqt_wm_protocols/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_ftp_filename_codec/\1tqt_ftp_filename_codec/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_window_role/\1tqt_window_role/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_tab_all_widgets/\1tqt_tab_all_widgets/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_wm_state/\1tqt_wm_state/g' \
 \
 -e 's/^qt_get_application_thread_id/tqt_get_application_thread_id/g' \
 -e 's/^qt_x_user_time/tqt_x_user_time/g' \
 -e 's/^qt_xget_temp_gc/tqt_xget_temp_gc/g' \
 -e 's/^qt_has_xft/tqt_has_xft/g' \
 -e 's/^qt_modal_state/tqt_modal_state/g' \
 -e 's/^qt_check_pointer/tqt_check_pointer/g' \
 -e 's/^qt_preliminary_signal_spy/tqt_preliminary_signal_spy/g' \
 -e 's/^qt_wm_take_focus/tqt_wm_take_focus/g' \
 -e 's/^qt_global_mutexpool/tqt_global_mutexpool/g' \
 -e 's/^qt_xdisplay/tqt_xdisplay/g' \
 -e 's/^qt_resolve_symlinks/tqt_resolve_symlinks/g' \
 -e 's/^qt_qclipboard_bailout_hack/tqt_qclipboard_bailout_hack/g' \
 -e 's/^qt_x_time/tqt_x_time/g' \
 -e 's/^qt_wm_delete_window/tqt_wm_delete_window/g' \
 -e 's/^qt_qheader_label_return_null_strings/tqt_qheader_label_return_null_strings/g' \
 -e 's/^qt_xscreen/tqt_xscreen/g' \
 -e 's/^qt_setAccelAutoShortcuts/tqt_setAccelAutoShortcuts/g' \
 -e 's/^qt_sm_client_id/tqt_sm_client_id/g' \
 -e 's/^qt_set_table_clipper_enabled/tqt_set_table_clipper_enabled/g' \
 -e 's/^qt_hebrew_keyboard_hack/tqt_hebrew_keyboard_hack/g' \
 -e 's/^qt_use_native_dialogs/tqt_use_native_dialogs/g' \
 -e 's/^qt_generate_epsf/tqt_generate_epsf/g' \
 -e 's/^qt_xget_readonly_gc/tqt_xget_readonly_gc/g' \
 -e 's/^qt_use_xrender/tqt_use_xrender/g' \
 -e 's/^qt_set_x11_event_filter/tqt_set_x11_event_filter/g' \
 -e 's/^qt_xrootwin/tqt_xrootwin/g' \
 -e 's/^qt_wm_protocols/tqt_wm_protocols/g' \
 -e 's/^qt_ftp_filename_codec/tqt_ftp_filename_codec/g' \
 -e 's/^qt_window_role/tqt_window_role/g' \
 -e 's/^qt_tab_all_widgets/tqt_tab_all_widgets/g' \
 -e 's/^qt_wm_state/tqt_wm_state/g' \
 \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_init/\1tqt_init/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_cleanup/\1tqt_cleanup/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_is_gui_used/\1tqt_is_gui_used/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_appType/\1tqt_appType/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_application_thread_id/\1tqt_application_thread_id/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_setMaxWindowRect/\1tqt_setMaxWindowRect/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_desktopWidget/\1tqt_desktopWidget/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_clipboard/\1tqt_clipboard/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_modal_stack/\1tqt_modal_stack/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_std_pal/\1tqt_std_pal/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_create_std_palette/\1tqt_create_std_palette/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_fix_tooltips/\1tqt_fix_tooltips/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_explicit_app_style/\1tqt_explicit_app_style/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_app_has_font/\1tqt_app_has_font/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_maxWindowRect/\1tqt_maxWindowRect/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_mutex/\1tqt_mutex/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_try_modal/\1tqt_try_modal/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_enter_modal/\1tqt_enter_modal/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_inheritedBy/\1tqt_inheritedBy/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_leave_modal/\1tqt_leave_modal/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_tryAccelEvent/\1tqt_tryAccelEvent/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_find_obj_child/\1tqt_find_obj_child/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_tryModalHelper/\1tqt_tryModalHelper/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_ucm_initialize/\1tqt_ucm_initialize/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_tryComposeUnicode/\1tqt_tryComposeUnicode/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_dispatchAccelEvent/\1tqt_dispatchAccelEvent/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_dispatchEnterLeave/\1tqt_dispatchEnterLeave/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_x11_enforce_cursor/\1tqt_x11_enforce_cursor/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_wait_for_window_manager/\1tqt_wait_for_window_manager/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_property/\1tqt_property/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_static_property/\1tqt_static_property/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_cast/\1tqt_cast/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_emit/\1tqt_emit/g' \
 -e 's/\([-()+/{*},.>!:=&[\t ]\)qt_invoke/\1tqt_invoke/g' \
 \
 -e 's/^qt_init/tqt_init/g' \
 -e 's/^qt_cleanup/tqt_cleanup/g' \
 -e 's/^qt_is_gui_used/tqt_is_gui_used/g' \
 -e 's/^qt_appType/tqt_appType/g' \
 -e 's/^qt_application_thread_id/tqt_application_thread_id/g' \
 -e 's/^qt_setMaxWindowRect/tqt_setMaxWindowRect/g' \
 -e 's/^qt_desktopWidget/tqt_desktopWidget/g' \
 -e 's/^qt_clipboard/tqt_clipboard/g' \
 -e 's/^qt_modal_stack/tqt_modal_stack/g' \
 -e 's/^qt_std_pal/tqt_std_pal/g' \
 -e 's/^qt_create_std_palette/tqt_create_std_palette/g' \
 -e 's/^qt_fix_tooltips/tqt_fix_tooltips/g' \
 -e 's/^qt_explicit_app_style/tqt_explicit_app_style/g' \
 -e 's/^qt_app_has_font/tqt_app_has_font/g' \
 -e 's/^qt_maxWindowRect/tqt_maxWindowRect/g' \
 -e 's/^qt_mutex/tqt_mutex/g' \
 -e 's/^qt_try_modal/tqt_try_modal/g' \
 -e 's/^qt_enter_modal/tqt_enter_modal/g' \
 -e 's/^qt_inheritedBy/tqt_inheritedBy/g' \
 -e 's/^qt_leave_modal/tqt_leave_modal/g' \
 -e 's/^qt_tryAccelEvent/tqt_tryAccelEvent/g' \
 -e 's/^qt_find_obj_child/tqt_find_obj_child/g' \
 -e 's/^qt_tryModalHelper/tqt_tryModalHelper/g' \
 -e 's/^qt_ucm_initialize/tqt_ucm_initialize/g' \
 -e 's/^qt_tryComposeUnicode/tqt_tryComposeUnicode/g' \
 -e 's/^qt_dispatchAccelEvent/tqt_dispatchAccelEvent/g' \
 -e 's/^qt_dispatchEnterLeave/tqt_dispatchEnterLeave/g' \
 -e 's/^qt_x11_enforce_cursor/tqt_x11_enforce_cursor/g' \
 -e 's/^qt_wait_for_window_manager/tqt_wait_for_window_manager/g' \
 -e 's/^qt_property/tqt_property/g' \
 -e 's/^qt_static_property/tqt_static_property/g' \
 -e 's/^qt_cast/tqt_cast/g' \
 -e 's/^qt_emit/tqt_emit/g' \
 -e 's/^qt_invoke/tqt_invoke/g' \
 \
 -e 's/Q_INT8/TQ_INT8/g' \
 -e 's/Q_INT16/TQ_INT16/g' \
 -e 's/Q_INT32/TQ_INT32/g' \
 -e 's/Q_INT64/TQ_INT64/g' \
 -e 's/Q_UINT8/TQ_UINT8/g' \
 -e 's/Q_UINT16/TQ_UINT16/g' \
 -e 's/Q_UINT32/TQ_UINT32/g' \
 -e 's/Q_UINT64/TQ_UINT64/g' \
 -e 's/Q_LONG/TQ_LONG/g' \
 -e 's/Q_LLONG/TQ_LLONG/g' \
 -e 's/Q_ULONG/TQ_ULONG/g' \
 -e 's/Q_ULLONG/TQ_ULLONG/g' \
 \
 -e 's/TTQ_INT/TQ_INT/g' \
 -e 's/TTQ_UINT/TQ_UINT/g' \
 \
 -e 's/Q_PROPERTY/TQ_PROPERTY/g' \
 -e 's/Q_ENUMS/TQ_ENUMS/g' \
 -e 's/Q_SETS/TQ_SETS/g' \
 -e 's/Q_OVERRIDE/TQ_OVERRIDE/g' \
 -e 's/Q_CLASSINFO/TQ_CLASSINFO/g' \
 \
 -e 's/QT_POINTER_SIZE/TQT_POINTER_SIZE/g' \
 -e 's/\([^T]\)Qt3/\1TQt3/g' \
 -e 's/qt_main_thread/tqt_main_thread/g' \
 \
 -e 's/RETQUEST/REQUEST/g' \
 -e 's/Actquire/Acquire/g' \
 -e 's/CONSETQUENTIAL/CONSEQUENTIAL/g' \
 -e 's/ETQUAL/EQUAL/g' \
 -e 's/ETQUATION/EQUATION/g' \
 -e 's/ETQUIV/EQUIV/g' \
 -e 's/Etquip/Equip/g' \
 -e 's/Intquire/Inquire/g' \
 -e 's/Martquis/Marquis/g' \
 -e 's/PRODTQUOT/PRODQUOT/g' \
 -e 's/Retquire/Require/g' \
 -e 's/Retquiring/Requiring/g' \
 -e 's/SETQUENCE/SEQUENCE/g' \
 -e 's/SETQUENT/SEQUENT/g' \
 -e 's/STQUARE/SQUARE/g' \
 -e 's/TQUALITY/QUALITY/g' \
 -e 's/TQUARTER/QUARTER/g' \
 -e 's/TQUERY/QUERY/g' \
 -e 's/TQUESTION/QUESTION/g' \
 -e 's/TQUEUE/QUEUE/g' \
 -e 's/TQUICK/QUICK/g' \
 -e 's/TQUIT/QUIT/g' \
 -e 's/TQUOTATION/QUOTATION/g' \
 -e 's/UNITQUE/UNIQUE/g' \
 -e 's/actquire/acquire/g' \
 -e 's/actquiring/acquiring/g' \
 -e 's/actquisition/acquisition/g' \
 -e 's/etquip/equip/g' \
 -e 's/intquire/inquire/g' \
 -e 's/intquiries/inquiries/g' \
 -e 's/martquis/marquis/g' \
 -e 's/relintquish/relinquish/g' \
 -e 's/retquier/requier/g' \
 -e 's/retquire/require/g' \
 -e 's/retquiring/requiring/g' \
 -e 's/retquisite/requisite/g' \
 -e 's/stquirt/squirt/g' \
 -e 's/tquick/quick/g' \
 -e 's/tquiet/quiet/g' \
 -e 's/tquirk/quirk/g' \
 -e 's/tquit/quit/g' \
 -e 's/tquiz/quiz/g' \
 -e 's/ubitquitous/ubiquitous/g' \
 -e 's/unitquifying/uniquifying/g'

# Headers
find ./ -type f -iname "*" -not -iwholename '*.git*' -print0 |\
xargs -r0 sed -i \
 -e 's/q1xcompatibility\.h/ntq1xcompatibility\.h/g' \
 -e 's/qabstractlayout\.h/ntqabstractlayout\.h/g' \
 -e 's/qaccel\.h/ntqaccel\.h/g' \
 -e 's/qaccessible\.h/ntqaccessible\.h/g' \
 -e 's/qaction\.h/ntqaction\.h/g' \
 -e 's/qapp\.h/ntqapp\.h/g' \
 -e 's/qapplication\.h/ntqapplication\.h/g' \
 -e 's/qarray\.h/ntqarray\.h/g' \
 -e 's/qasciicache\.h/ntqasciicache\.h/g' \
 -e 's/qasciidict\.h/ntqasciidict\.h/g' \
 -e 's/qassistantclient\.h/ntqassistantclient\.h/g' \
 -e 's/qasyncimageio\.h/ntqasyncimageio\.h/g' \
 -e 's/qasyncio\.h/ntqasyncio\.h/g' \
 -e 's/qbig5codec\.h/ntqbig5codec\.h/g' \
 -e 's/qbitarray\.h/ntqbitarray\.h/g' \
 -e 's/qbitarry\.h/ntqbitarry\.h/g' \
 -e 's/qbitmap\.h/ntqbitmap\.h/g' \
 -e 's/qbrush\.h/ntqbrush\.h/g' \
 -e 's/qbttngrp\.h/ntqbttngrp\.h/g' \
 -e 's/qbuffer\.h/ntqbuffer\.h/g' \
 -e 's/qbuttongroup\.h/ntqbuttongroup\.h/g' \
 -e 's/qbutton\.h/ntqbutton\.h/g' \
 -e 's/qcache\.h/ntqcache\.h/g' \
 -e 's/qcanvas\.h/ntqcanvas\.h/g' \
 -e 's/qcdestyle\.h/ntqcdestyle\.h/g' \
 -e 's/qcheckbox\.h/ntqcheckbox\.h/g' \
 -e 's/qchkbox\.h/ntqchkbox\.h/g' \
 -e 's/qcleanuphandler\.h/ntqcleanuphandler\.h/g' \
 -e 's/qclipboard\.h/ntqclipboard\.h/g' \
 -e 's/qclipbrd\.h/ntqclipbrd\.h/g' \
 -e 's/qcollect\.h/ntqcollect\.h/g' \
 -e 's/qcollection\.h/ntqcollection\.h/g' \
 -e 's/qcolordialog\.h/ntqcolordialog\.h/g' \
 -e 's/qcolor\.h/ntqcolor\.h/g' \
 -e 's/qcombobox\.h/ntqcombobox\.h/g' \
 -e 's/qcombo\.h/ntqcombo\.h/g' \
 -e 's/qcommonstyle\.h/ntqcommonstyle\.h/g' \
 -e 's/qcompactstyle\.h/ntqcompactstyle\.h/g' \
 -e 's/qconfig\.h/ntqconfig\.h/g' \
 -e 's/qconnect\.h/ntqconnect\.h/g' \
 -e 's/qconnection\.h/ntqconnection\.h/g' \
 -e 's/qcstring\.h/ntqcstring\.h/g' \
 -e 's/qcursor\.h/ntqcursor\.h/g' \
 -e 's/qdatabrowser\.h/ntqdatabrowser\.h/g' \
 -e 's/qdatastream\.h/ntqdatastream\.h/g' \
 -e 's/qdatatable\.h/ntqdatatable\.h/g' \
 -e 's/qdataview\.h/ntqdataview\.h/g' \
 -e 's/qdatetimeedit\.h/ntqdatetimeedit\.h/g' \
 -e 's/qdatetime\.h/ntqdatetime\.h/g' \
 -e 's/qdatetm\.h/ntqdatetm\.h/g' \
 -e 's/qdeepcopy\.h/ntqdeepcopy\.h/g' \
 -e 's/qdesktopwidget\.h/ntqdesktopwidget\.h/g' \
 -e 's/qdial\.h/ntqdial\.h/g' \
 -e 's/qdialog\.h/ntqdialog\.h/g' \
 -e 's/qdict\.h/ntqdict\.h/g' \
 -e 's/qdir\.h/ntqdir\.h/g' \
 -e 's/qdns\.h/ntqdns\.h/g' \
 -e 's/qdockarea\.h/ntqdockarea\.h/g' \
 -e 's/qdockwindow\.h/ntqdockwindow\.h/g' \
 -e 's/qdom\.h/ntqdom\.h/g' \
 -e 's/qdragobject\.h/ntqdragobject\.h/g' \
 -e 's/qdrawutil\.h/ntqdrawutil\.h/g' \
 -e 's/qdrawutl\.h/ntqdrawutl\.h/g' \
 -e 's/qdropsite\.h/ntqdropsite\.h/g' \
 -e 's/qdstream\.h/ntqdstream\.h/g' \
 -e 's/qeditorfactory\.h/ntqeditorfactory\.h/g' \
 -e 's/qerrormessage\.h/ntqerrormessage\.h/g' \
 -e 's/qeucjpcodec\.h/ntqeucjpcodec\.h/g' \
 -e 's/qeuckrcodec\.h/ntqeuckrcodec\.h/g' \
 -e 's/qevent\.h/ntqevent\.h/g' \
 -e 's/qeventloop\.h/ntqeventloop\.h/g' \
 -e 's/qfeatures\.h/ntqfeatures\.h/g' \
 -e 's/qfiledef\.h/ntqfiledef\.h/g' \
 -e 's/qfiledialog\.h/ntqfiledialog\.h/g' \
 -e 's/qfiledlg\.h/ntqfiledlg\.h/g' \
 -e 's/qfile\.h/ntqfile\.h/g' \
 -e 's/qfileinf\.h/ntqfileinf\.h/g' \
 -e 's/qfileinfo\.h/ntqfileinfo\.h/g' \
 -e 's/qfocusdata\.h/ntqfocusdata\.h/g' \
 -e 's/qfontdatabase\.h/ntqfontdatabase\.h/g' \
 -e 's/qfontdialog\.h/ntqfontdialog\.h/g' \
 -e 's/qfont\.h/ntqfont\.h/g' \
 -e 's/qfontinf\.h/ntqfontinf\.h/g' \
 -e 's/qfontinfo\.h/ntqfontinfo\.h/g' \
 -e 's/qfontmet\.h/ntqfontmet\.h/g' \
 -e 's/qfontmetrics\.h/ntqfontmetrics\.h/g' \
 -e 's/qframe\.h/ntqframe\.h/g' \
 -e 's/qftp\.h/ntqftp\.h/g' \
 -e 's/qgarray\.h/ntqgarray\.h/g' \
 -e 's/qgb18030codec\.h/ntqgb18030codec\.h/g' \
 -e 's/qgbkcodec\.h/ntqgbkcodec\.h/g' \
 -e 's/qgcache\.h/ntqgcache\.h/g' \
 -e 's/qgdict\.h/ntqgdict\.h/g' \
 -e 's/qgeneric\.h/ntqgeneric\.h/g' \
 -e 's/qgif\.h/ntqgif\.h/g' \
 -e 's/qglcolormap\.h/ntqglcolormap\.h/g' \
 -e 's/qgl\.h/ntqgl\.h/g' \
 -e 's/qglist\.h/ntqglist\.h/g' \
 -e 's/qglobal\.h/ntqglobal\.h/g' \
 -e 's/qgplugin\.h/ntqgplugin\.h/g' \
 -e 's/qgrid\.h/ntqgrid\.h/g' \
 -e 's/qgridview\.h/ntqgridview\.h/g' \
 -e 's/qgroupbox\.h/ntqgroupbox\.h/g' \
 -e 's/qgrpbox\.h/ntqgrpbox\.h/g' \
 -e 's/qguardedptr\.h/ntqguardedptr\.h/g' \
 -e 's/qgvector\.h/ntqgvector\.h/g' \
 -e 's/qhbox\.h/ntqhbox\.h/g' \
 -e 's/qhbuttongroup\.h/ntqhbuttongroup\.h/g' \
 -e 's/qheader\.h/ntqheader\.h/g' \
 -e 's/qhgroupbox\.h/ntqhgroupbox\.h/g' \
 -e 's/qhostaddress\.h/ntqhostaddress\.h/g' \
 -e 's/qhttp\.h/ntqhttp\.h/g' \
 -e 's/qiconset\.h/ntqiconset\.h/g' \
 -e 's/qiconview\.h/ntqiconview\.h/g' \
 -e 's/qimageformatplugin\.h/ntqimageformatplugin\.h/g' \
 -e 's/qimage\.h/ntqimage\.h/g' \
 -e 's/qinputcontextfactory\.h/ntqinputcontextfactory\.h/g' \
 -e 's/qinputcontext\.h/ntqinputcontext\.h/g' \
 -e 's/qinputcontextplugin\.h/ntqinputcontextplugin\.h/g' \
 -e 's/qinputdialog\.h/ntqinputdialog\.h/g' \
 -e 's/qintcache\.h/ntqintcache\.h/g' \
 -e 's/qintcach\.h/ntqintcach\.h/g' \
 -e 's/qintdict\.h/ntqintdict\.h/g' \
 -e 's/qinterlacestyle\.h/ntqinterlacestyle\.h/g' \
 -e 's/qiodev\.h/ntqiodev\.h/g' \
 -e 's/qiodevice\.h/ntqiodevice\.h/g' \
 -e 's/qjiscodec\.h/ntqjiscodec\.h/g' \
 -e 's/qjpegio\.h/ntqjpegio\.h/g' \
 -e 's/qjpunicode\.h/ntqjpunicode\.h/g' \
 -e 's/qkeycode\.h/ntqkeycode\.h/g' \
 -e 's/qkeysequence\.h/ntqkeysequence\.h/g' \
 -e 's/qlabel\.h/ntqlabel\.h/g' \
 -e 's/qlayout\.h/ntqlayout\.h/g' \
 -e 's/qlcdnumber\.h/ntqlcdnumber\.h/g' \
 -e 's/qlcdnum\.h/ntqlcdnum\.h/g' \
 -e 's/qlibrary\.h/ntqlibrary\.h/g' \
 -e 's/qlined\.h/ntqlined\.h/g' \
 -e 's/qlineedit\.h/ntqlineedit\.h/g' \
 -e 's/qlistbox\.h/ntqlistbox\.h/g' \
 -e 's/qlist\.h/ntqlist\.h/g' \
 -e 's/qlistview\.h/ntqlistview\.h/g' \
 -e 's/qlocale\.h/ntqlocale\.h/g' \
 -e 's/qlocalfs\.h/ntqlocalfs\.h/g' \
 -e 's/qmainwindow\.h/ntqmainwindow\.h/g' \
 -e 's/qmap\.h/ntqmap\.h/g' \
 -e 's/qmemarray\.h/ntqmemarray\.h/g' \
 -e 's/qmenubar\.h/ntqmenubar\.h/g' \
 -e 's/qmenudata\.h/ntqmenudata\.h/g' \
 -e 's/qmenudta\.h/ntqmenudta\.h/g' \
 -e 's/qmessagebox\.h/ntqmessagebox\.h/g' \
 -e 's/qmetaobject\.h/ntqmetaobject\.h/g' \
 -e 's/qmetaobj\.h/ntqmetaobj\.h/g' \
 -e 's/qmime\.h/ntqmime\.h/g' \
 -e 's/qmlined\.h/ntqmlined\.h/g' \
 -e 's/qmngio\.h/ntqmngio\.h/g' \
 -e 's/qmodules\.h/ntqmodules\.h/g' \
 -e 's/qmotifplusstyle\.h/ntqmotifplusstyle\.h/g' \
 -e 's/qmotifstyle\.h/ntqmotifstyle\.h/g' \
 -e 's/qmovie\.h/ntqmovie\.h/g' \
 -e 's/qmsgbox\.h/ntqmsgbox\.h/g' \
 -e 's/qmultilinedit\.h/ntqmultilinedit\.h/g' \
 -e 's/qmultilineedit\.h/ntqmultilineedit\.h/g' \
 -e 's/qmutex\.h/ntqmutex\.h/g' \
 -e 's/qnamespace\.h/ntqnamespace\.h/g' \
 -e 's/qnetwork\.h/ntqnetwork\.h/g' \
 -e 's/qnetworkprotocol\.h/ntqnetworkprotocol\.h/g' \
 -e 's/qnp\.h/ntqnp\.h/g' \
 -e 's/qobjcoll\.h/ntqobjcoll\.h/g' \
 -e 's/qobjdefs\.h/ntqobjdefs\.h/g' \
 -e 's/qobjectcleanuphandler\.h/ntqobjectcleanuphandler\.h/g' \
 -e 's/qobjectdefs\.h/ntqobjectdefs\.h/g' \
 -e 's/qobjectdict\.h/ntqobjectdict\.h/g' \
 -e 's/qobject\.h/ntqobject\.h/g' \
 -e 's/qobjectlist\.h/ntqobjectlist\.h/g' \
 -e 's/qpaintdc\.h/ntqpaintdc\.h/g' \
 -e 's/qpaintdevicedefs\.h/ntqpaintdevicedefs\.h/g' \
 -e 's/qpaintdevice\.h/ntqpaintdevice\.h/g' \
 -e 's/qpaintdevicemetrics\.h/ntqpaintdevicemetrics\.h/g' \
 -e 's/qpaintd\.h/ntqpaintd\.h/g' \
 -e 's/qpainter\.h/ntqpainter\.h/g' \
 -e 's/qpair\.h/ntqpair\.h/g' \
 -e 's/qpalette\.h/ntqpalette\.h/g' \
 -e 's/qpdevmet\.h/ntqpdevmet\.h/g' \
 -e 's/qpen\.h/ntqpen\.h/g' \
 -e 's/qpicture\.h/ntqpicture\.h/g' \
 -e 's/qpixmapcache\.h/ntqpixmapcache\.h/g' \
 -e 's/qpixmap\.h/ntqpixmap\.h/g' \
 -e 's/qplatinumstyle\.h/ntqplatinumstyle\.h/g' \
 -e 's/qpmcache\.h/ntqpmcache\.h/g' \
 -e 's/qpngio\.h/ntqpngio\.h/g' \
 -e 's/qpntarry\.h/ntqpntarry\.h/g' \
 -e 's/qpointarray\.h/ntqpointarray\.h/g' \
 -e 's/qpoint\.h/ntqpoint\.h/g' \
 -e 's/qpolygonscanner\.h/ntqpolygonscanner\.h/g' \
 -e 's/qpopmenu\.h/ntqpopmenu\.h/g' \
 -e 's/qpopupmenu\.h/ntqpopupmenu\.h/g' \
 -e 's/qprintdialog\.h/ntqprintdialog\.h/g' \
 -e 's/qprinter\.h/ntqprinter\.h/g' \
 -e 's/qprndlg\.h/ntqprndlg\.h/g' \
 -e 's/qprocess\.h/ntqprocess\.h/g' \
 -e 's/qprogbar\.h/ntqprogbar\.h/g' \
 -e 's/qprogdlg\.h/ntqprogdlg\.h/g' \
 -e 's/qprogressbar\.h/ntqprogressbar\.h/g' \
 -e 's/qprogressdialog\.h/ntqprogressdialog\.h/g' \
 -e 's/qpsprn\.h/ntqpsprn\.h/g' \
 -e 's/qptrcollection\.h/ntqptrcollection\.h/g' \
 -e 's/qptrdict\.h/ntqptrdict\.h/g' \
 -e 's/qptrlist\.h/ntqptrlist\.h/g' \
 -e 's/qptrqueue\.h/ntqptrqueue\.h/g' \
 -e 's/qptrstack\.h/ntqptrstack\.h/g' \
 -e 's/qptrvector\.h/ntqptrvector\.h/g' \
 -e 's/qpushbt\.h/ntqpushbt\.h/g' \
 -e 's/qpushbutton\.h/ntqpushbutton\.h/g' \
 -e 's/qqueue\.h/ntqqueue\.h/g' \
 -e 's/qradiobt\.h/ntqradiobt\.h/g' \
 -e 's/qradiobutton\.h/ntqradiobutton\.h/g' \
 -e 's/qrangecontrol\.h/ntqrangecontrol\.h/g' \
 -e 's/qrangect\.h/ntqrangect\.h/g' \
 -e 's/qrect\.h/ntqrect\.h/g' \
 -e 's/qregexp\.h/ntqregexp\.h/g' \
 -e 's/qregion\.h/ntqregion\.h/g' \
 -e 's/qrtlcodec\.h/ntqrtlcodec\.h/g' \
 -e 's/qscrbar\.h/ntqscrbar\.h/g' \
 -e 's/qscrollbar\.h/ntqscrollbar\.h/g' \
 -e 's/qscrollview\.h/ntqscrollview\.h/g' \
 -e 's/qsemaphore\.h/ntqsemaphore\.h/g' \
 -e 's/qsemimodal\.h/ntqsemimodal\.h/g' \
 -e 's/qserversocket\.h/ntqserversocket\.h/g' \
 -e 's/qsession\.h/ntqsession\.h/g' \
 -e 's/qsessionmanager\.h/ntqsessionmanager\.h/g' \
 -e 's/qsettings\.h/ntqsettings\.h/g' \
 -e 's/qsgistyle\.h/ntqsgistyle\.h/g' \
 -e 's/qshared\.h/ntqshared\.h/g' \
 -e 's/qsignal\.h/ntqsignal\.h/g' \
 -e 's/qsignalmapper\.h/ntqsignalmapper\.h/g' \
 -e 's/qsignalslotimp\.h/ntqsignalslotimp\.h/g' \
 -e 's/qsimplerichtext\.h/ntqsimplerichtext\.h/g' \
 -e 's/qsizegrip\.h/ntqsizegrip\.h/g' \
 -e 's/qsize\.h/ntqsize\.h/g' \
 -e 's/qsizepolicy\.h/ntqsizepolicy\.h/g' \
 -e 's/qsjiscodec\.h/ntqsjiscodec\.h/g' \
 -e 's/qslider\.h/ntqslider\.h/g' \
 -e 's/qsocketdevice\.h/ntqsocketdevice\.h/g' \
 -e 's/qsocket\.h/ntqsocket\.h/g' \
 -e 's/qsocketnotifier\.h/ntqsocketnotifier\.h/g' \
 -e 's/qsocknot\.h/ntqsocknot\.h/g' \
 -e 's/qsortedlist\.h/ntqsortedlist\.h/g' \
 -e 's/qsound\.h/ntqsound\.h/g' \
 -e 's/qspinbox\.h/ntqspinbox\.h/g' \
 -e 's/qsplashscreen\.h/ntqsplashscreen\.h/g' \
 -e 's/qsplitter\.h/ntqsplitter\.h/g' \
 -e 's/qsqlcursor\.h/ntqsqlcursor\.h/g' \
 -e 's/qsqldatabase\.h/ntqsqldatabase\.h/g' \
 -e 's/qsqldriver\.h/ntqsqldriver\.h/g' \
 -e 's/qsqldriverplugin\.h/ntqsqldriverplugin\.h/g' \
 -e 's/qsqleditorfactory\.h/ntqsqleditorfactory\.h/g' \
 -e 's/qsqlerror\.h/ntqsqlerror\.h/g' \
 -e 's/qsqlfield\.h/ntqsqlfield\.h/g' \
 -e 's/qsqlform\.h/ntqsqlform\.h/g' \
 -e 's/qsql\.h/ntqsql\.h/g' \
 -e 's/qsqlindex\.h/ntqsqlindex\.h/g' \
 -e 's/qsqlpropertymap\.h/ntqsqlpropertymap\.h/g' \
 -e 's/qsqlquery\.h/ntqsqlquery\.h/g' \
 -e 's/qsqlrecord\.h/ntqsqlrecord\.h/g' \
 -e 's/qsqlresult\.h/ntqsqlresult\.h/g' \
 -e 's/qsqlselectcursor\.h/ntqsqlselectcursor\.h/g' \
 -e 's/qstack\.h/ntqstack\.h/g' \
 -e 's/qstatusbar\.h/ntqstatusbar\.h/g' \
 -e 's/qstring\.h/ntqstring\.h/g' \
 -e 's/qstringlist\.h/ntqstringlist\.h/g' \
 -e 's/qstrlist\.h/ntqstrlist\.h/g' \
 -e 's/qstrvec\.h/ntqstrvec\.h/g' \
 -e 's/qstylefactory\.h/ntqstylefactory\.h/g' \
 -e 's/qstyle\.h/ntqstyle\.h/g' \
 -e 's/qstyleplugin\.h/ntqstyleplugin\.h/g' \
 -e 's/qstylesheet\.h/ntqstylesheet\.h/g' \
 -e 's/qsyntaxhighlighter\.h/ntqsyntaxhighlighter\.h/g' \
 -e 's/qtabbar\.h/ntqtabbar\.h/g' \
 -e 's/qtabdialog\.h/ntqtabdialog\.h/g' \
 -e 's/qtabdlg\.h/ntqtabdlg\.h/g' \
 -e 's/qtable\.h/ntqtable\.h/g' \
 -e 's/qtabwidget\.h/ntqtabwidget\.h/g' \
 -e 's/qtextbrowser\.h/ntqtextbrowser\.h/g' \
 -e 's/qtextcodecfactory\.h/ntqtextcodecfactory\.h/g' \
 -e 's/qtextcodec\.h/ntqtextcodec\.h/g' \
 -e 's/qtextcodecplugin\.h/ntqtextcodecplugin\.h/g' \
 -e 's/qtextedit\.h/ntqtextedit\.h/g' \
 -e 's/qtextstream\.h/ntqtextstream\.h/g' \
 -e 's/qtextview\.h/ntqtextview\.h/g' \
 -e 's/qt\.h/ntqt\.h/g' \
 -e 's/qthread\.h/ntqthread\.h/g' \
 -e 's/qthreadstorage\.h/ntqthreadstorage\.h/g' \
 -e 's/qtimer\.h/ntqtimer\.h/g' \
 -e 's/qtl\.h/ntqtl\.h/g' \
 -e 's/qtoolbar\.h/ntqtoolbar\.h/g' \
 -e 's/qtoolbox\.h/ntqtoolbox\.h/g' \
 -e 's/qtoolbutton\.h/ntqtoolbutton\.h/g' \
 -e 's/qtooltip\.h/ntqtooltip\.h/g' \
 -e 's/qtranslator\.h/ntqtranslator\.h/g' \
 -e 's/qtsciicodec\.h/ntqtsciicodec\.h/g' \
 -e 's/qtstream\.h/ntqtstream\.h/g' \
 -e 's/qurl\.h/ntqurl\.h/g' \
 -e 's/qurlinfo\.h/ntqurlinfo\.h/g' \
 -e 's/qurloperator\.h/ntqurloperator\.h/g' \
 -e 's/qutfcodec\.h/ntqutfcodec\.h/g' \
 -e 's/quuid\.h/ntquuid\.h/g' \
 -e 's/qvalidator\.h/ntqvalidator\.h/g' \
 -e 's/qvaluelist\.h/ntqvaluelist\.h/g' \
 -e 's/qvaluestack\.h/ntqvaluestack\.h/g' \
 -e 's/qvaluevector\.h/ntqvaluevector\.h/g' \
 -e 's/qvariant\.h/ntqvariant\.h/g' \
 -e 's/qvbox\.h/ntqvbox\.h/g' \
 -e 's/qvbuttongroup\.h/ntqvbuttongroup\.h/g' \
 -e 's/qvector\.h/ntqvector\.h/g' \
 -e 's/qvfbhdr\.h/ntqvfbhdr\.h/g' \
 -e 's/qvgroupbox\.h/ntqvgroupbox\.h/g' \
 -e 's/qwaitcondition\.h/ntqwaitcondition\.h/g' \
 -e 's/qwhatsthis\.h/ntqwhatsthis\.h/g' \
 -e 's/qwidcoll\.h/ntqwidcoll\.h/g' \
 -e 's/qwidgetfactory\.h/ntqwidgetfactory\.h/g' \
 -e 's/qwidget\.h/ntqwidget\.h/g' \
 -e 's/qwidgetintdict\.h/ntqwidgetintdict\.h/g' \
 -e 's/qwidgetlist\.h/ntqwidgetlist\.h/g' \
 -e 's/qwidgetplugin\.h/ntqwidgetplugin\.h/g' \
 -e 's/qwidgetstack\.h/ntqwidgetstack\.h/g' \
 -e 's/qwindefs\.h/ntqwindefs\.h/g' \
 -e 's/qwindowdefs\.h/ntqwindowdefs\.h/g' \
 -e 's/qwindowsstyle\.h/ntqwindowsstyle\.h/g' \
 -e 's/qwinexport\.h/ntqwinexport\.h/g' \
 -e 's/qwizard\.h/ntqwizard\.h/g' \
 -e 's/qwmatrix\.h/ntqwmatrix\.h/g' \
 -e 's/qworkspace\.h/ntqworkspace\.h/g' \
 -e 's/qxml\.h/ntqxml\.h/g'