trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: July 2013

Re: [trinity-users] Importing new applications to TDE R14

From: François Andriot <francois.andriot@...>
Date: Wed, 24 Jul 2013 20:27:27 +0200
Le 24/07/2013 20:11, Sl�vek Banko a �crit :
> Note: script convert_existing_kde3_app_to_tde still retains the advantage that
> it can be safely executed repeatedly.
>
> I'm sorry that I'm not incorporate script into GIT much earlier.
>
> I got caught up in testing convert_existing_kde3_app_to_tde script on kdocker,
> which I planned to convert from native Qt application to tde application.
> Likewise, I planned to convert to tde application also twinkle.
>
> Slavek


I've already fixed 2 issues in your script:
1) Missing "KIO;" string conversion (required for kftpgrabber)
2) KDE_LANG should NOT be translated to  TDE_LANG, at least, in ".am" files

For information, in several "Makefile.am" files, we find some KDE 
variables that must NOT be translated.
I've currently found 3:
KDE_DOCS
KDE_LANG
KDE_ICON
... because some macros in "admin" subfolder uses them. Modifying them 
result in doc, translation or icons being incorrectly installed, or not 
installed at all, which does NOT cause FTBFS...

Currently, conversion of kasablanca (bug 570) will fail because of 
TDE_LANG (translations won't be installed).

Also, I've updated QT3/TQT3 script so that it parses/replaces in ".kcfg" 
files too.

Francois

#!/bin/bash

find ./ -type f -not -iwholename '*.git*' -print0 |
xargs -r0 grep -ElI "([^a-zA-Z0-9]|^)(\
(|-l|lib)kdecorations|\
(|-l|lib)kdecore|\
(|-l|lib)kdefakes|\
(|-l|lib)kdefx|\
(|-l|lib)kdegames|\
(|-l|lib)kdeinit|\
(|-l|lib)kdepim|\
(|-l|lib)kdeprint|\
(|-l|lib)kdesasl|\
(|-l|lib)kdesu|\
(|-l|lib)kdesvnpart|\
(|-l|lib)kdeui|\
KDECORATIONS|\
KDECORE|\
KDEFAKES|\
KDEFX|\
KDEGAMES|\
KDEINIT|\
KDEPIM|\
KDEPRINT|\
KDESASL|\
KDESU|\
KDESVNPART|\
KDEUI|\
(|-l|lib)kdeaccessibility|\
(|-l|lib)kdeaddons|\
(|-l|lib)kdeadmin|\
(|-l|lib)kdeartwork|\
(|-l|lib)kdebase|\
(|-l|lib)kdebindings|\
(|-l|lib)kdeedu|\
(|-l|lib)kdegames|\
(|-l|lib)kdegraphics|\
kde-i18n|\
(|-l|lib)kdelibs|\
(|-l|lib)kdemultimedia|\
(|-l|lib)kdenetwork|\
(|-l|lib)kdepim|\
(|-l|lib)kdesdk|\
(|-l|lib)kdetoys|\
(|-l|lib)kdeutils|\
(|-l|lib)kdevelop|\
(|-l|lib)kdewebdev|\
desktop-effects-kde|\
kde-guidance|\
kde-style-lipstik|\
kde-style-qtcurve|\
kdesudo|\
kdesvn|\
kde-systemsettings|\
kwin-style-crystal|\
kwin|\
KDE_VERSION|\
kdeversion|\
startkde|\
pykde|\
KDEHOME|\
KDEDIR|\
KDE_MULTIHEAD|\
KDE_SESSION|\
kdehome|\
kdedir|\
KDEROOTHOME|\
kderoothome|\
KDE_MAKE_VERSION|\
kdm|\
KDM|\
ksocket|\
KSOCKET|\
kcache|\
KCACHE|\
KDETMP|\
KDEVARTMP|\
KDEWM|\
include/kde|\
\$\{INCLUDE_INSTALL_DIR\}/kde|\
kde-config|\
KDE_FORK_SLAVES|\
KDE_HOME_READONLY|\
KDE_NO_IPV6|\
KDE_IS_PRELINKED|\
KDE_UTF8_FILENAMES|\
KDESYCOCA|\
KDE_LANG|\
KApplication|\
KCmdLineArgs|\
KInstance|\
KAboutData|\
KCModule|\
KConfig|\
KServer|\
KSocket|\
KIO\.|\
KIO:|\
KIO_EXPORT|\
KIOInput|\
KIOJob|\
KIOConfig|\
KIOBuffer|\
KBuffer|\
kcmodule|\
kconfig_compiler|\
kunittestmodrunner|\
kioexec|\
kio_uiserver|\
kmailservice|\
ktelnetservice|\
ksendbugmail|\
(|-l|lib)kfile|\
ktradertest|\
kbuildsycoca|\
kde-menu|\
kmimelist|\
kioslave|\
kio/|\
(|-l|lib)kio\>|\
kstartupconfig|\
kdostartupconfig|\
klauncher|\
kab2kabc|\
kcmshell|\
kconf|\
khotnewstuff|\
(|-l|lib)ksycoca|\
(|-l|lib)kunittest|\
(|-l|lib)kwallet|\
kntlm|\
(|-l|lib)kparts|\
(|-l|lib)kutils|\
(|-l|lib)kspell|\
kmdi|\
(|-l|lib)kresources|\
kscript|\
kmediaplayer|\
(|-l|lib)kimproxy|\
(|-l|lib)ktexteditor|\
kcert|\
krandr|\
(|-l|lib)khtml|\
kmulti|\
kmid|\
kscreensaver|\
(|-l|lib)kdnssd|\
krsync|\
kiobuffer|\
KHTML|\
KShared|\
KStandard|\
KStartup|\
KLocale|\
KLock|\
KTrader|\
KLaunch|\
KShort|\
KStdAccel|\
KAccel|\
KAction|\
KMain|\
KTool|\
KPopup|\
KToggle|\
KRadio|\
KSelect|\
KList|\
KRecent|\
KFont|\
KPaste|\
klaunch|\
kshort|\
kstdaccel|\
kaccel|\
kaction|\
kmain|\
ktool|\
kpopup|\
ktoggle|\
kradio|\
kselect|\
klist|\
krecent|\
kfont|\
kpaste|\
kdisplay|\
KStyle|\
KIcon|\
KZone|\
KCrash|\
KCmd|\
KAbout|\
KComp|\
KGlobal|\
KProcess|\
KClipboard|\
kcompletionbox|\
kaboutapplication\.|\
kaboutdata\.|\
kaboutdialog\.|\
kaboutkde\.|\
kcmdlineargs\.|\
kapplication\.|\
kstyle\.|\
kdiroperator\.|\
klocale\.|\
kmessagebox\.|\
ktempfile\.|\
kemailsettings\.|\
kglobal\.|\
kglobalsettings\.|\
kmenubar\.|\
kprotocolmanager\.|\
kstartupinfo\.|\
kabc|\
(|-l|lib)kabc|\
makekdewidgets|\
Categories=Qt;KDE|\
X-KDE-\
)" |
tr "\n" "\0" |
xargs -r0 sed -ri \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdecorations|\1tdecorations|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdecore|\1tdecore|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdefakes|\1tdefakes|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdefx|\1tdefx|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdegames|\1tdegames|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdeinit|\1tdeinit|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdepim|\1tdepim|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdeprint|\1tdeprint|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdesasl|\1tdesasl|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdesu|\1tdesu|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdesvnpart|\1tdesvnpart|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdeui|\1tdeui|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDECORATIONS|\1TDECORATIONS|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDECORE|\1TDECORE|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEFAKES|\1TDEFAKES|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEFX|\1TDEFX|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEGAMES|\1TDEGAMES|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEINIT|\1TDEINIT|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEPIM|\1TDEPIM|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEPRINT|\1TDEPRINT|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDESASL|\1TDESASL|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDESU|\1TDESU|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDESVNPART|\1TDESVNPART|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEUI|\1TDEUI|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdeaccessibility|\1tdeaccessibility|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdeaddons|\1tdeaddons|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdeadmin|\1tdeadmin|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdeartwork|\1tdeartwork|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdebase|\1tdebase|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdebindings|\1tdebindings|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdeedu|\1tdeedu|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdegames|\1tdegames|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdegraphics|\1tdegraphics|g" \
 -e "s|([^a-zA-Z0-9]\|^)kde-i18n|\1tde-i18n|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdelibs|\1tdelibs|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdemultimedia|\1tdemultimedia|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdenetwork|\1tdenetwork|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdepim|\1tdepim|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdesdk|\1tdesdk|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdetoys|\1tdetoys|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdeutils|\1tdeutils|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdevelop|\1tdevelop|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdewebdev|\1tdewebdev|g" \
 -e "s|([^a-zA-Z0-9]\|^)desktop-effects-kde|\1desktop-effects-tde|g" \
 -e "s|([^a-zA-Z0-9]\|^)kde-guidance|\1tde-guidance|g" \
 -e "s|([^a-zA-Z0-9]\|^)kde-style-lipstik|\1tde-style-lipstik|g" \
 -e "s|([^a-zA-Z0-9]\|^)kde-style-qtcurve|\1tde-style-qtcurve|g" \
 -e "s|([^a-zA-Z0-9]\|^)kdesudo|\1tdesudo|g" \
 -e "s|([^a-zA-Z0-9]\|^)kdesvn|\1tdesvn|g" \
 -e "s|([^a-zA-Z0-9]\|^)kde-systemsettings|\1tde-systemsettings|g" \
 -e "s|([^a-zA-Z0-9]\|^)kwin-style-crystal|\1twin-style-crystal|g" \
 -e "s|([^a-zA-Z0-9]\|^)kwin|\1twin|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDE_VERSION|\1TDE_VERSION|g" \
 -e "s|([^a-zA-Z0-9]\|^)kdeversion|\1tdeversion|g" \
 -e "s|([^a-zA-Z0-9]\|^)startkde|\1starttde|g" \
 -e "s|([^a-zA-Z0-9]\|^)pykde|\1pytde|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEHOME|\1TDEHOME|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEDIR|\1TDEDIR|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDE_MULTIHEAD|\1TDE_MULTIHEAD|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDE_SESSION|\1TDE_SESSION|g" \
 -e "s|([^a-zA-Z0-9]\|^)kdehome|\1tdehome|g" \
 -e "s|([^a-zA-Z0-9]\|^)kdedir|\1tdedir|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEROOTHOME|\1TDEROOTHOME|g" \
 -e "s|([^a-zA-Z0-9]\|^)kderoothome|\1tderoothome|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDE_MAKE_VERSION|\1TDE_MAKE_VERSION|g" \
 -e "s|([^a-zA-Z0-9]\|^)kdm|\1tdm|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDM|\1TDM|g" \
 -e "s|([^a-zA-Z0-9]\|^)ksocket|\1tdesocket|g" \
 -e "s|([^a-zA-Z0-9]\|^)KSOCKET|\1TDESOCKET|g" \
 -e "s|([^a-zA-Z0-9]\|^)kcache|\1tdecache|g" \
 -e "s|([^a-zA-Z0-9]\|^)KCACHE|\1TDECACHE|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDETMP|\1TDETMP|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEVARTMP|\1TDEVARTMP|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDEWM|\1TDEWM|g" \
 -e "s|([^a-zA-Z0-9]\|^)include/kde|\1include/tde|g" \
 -e "s|([^a-zA-Z0-9]\|^)\$\{INCLUDE_INSTALL_DIR\}/kde|\1\${INCLUDE_INSTALL_DIR}/tde|g" \
 -e "s|([^a-zA-Z0-9]\|^)kde-config|\1tde-config|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDE_FORK_SLAVES|\1TDE_FORK_SLAVES|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDE_HOME_READONLY|\1TDE_HOME_READONLY|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDE_NO_IPV6|\1TDE_NO_IPV6|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDE_IS_PRELINKED|\1TDE_IS_PRELINKED|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDE_UTF8_FILENAMES|\1TDE_UTF8_FILENAMES|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDESYCOCA|\1TDESYCOCA|g" \
 -e "s|([^a-zA-Z0-9]\|^)KDE_LANG|\1TDE_LANG|g" \
 \
 -e "s|([^a-zA-Z0-9]\|^)KApplication|\1TDEApplication|g" \
 -e "s|([^a-zA-Z0-9]\|^)KCmdLineArgs|\1TDECmdLineArgs|g" \
 -e "s|([^a-zA-Z0-9]\|^)KInstance|\1TDEInstance|g" \
 -e "s|([^a-zA-Z0-9]\|^)KAboutData|\1TDEAboutData|g" \
 \
 -e "s|([^a-zA-Z0-9]\|^)KCModule|\1TDECModule|g" \
 -e "s|([^a-zA-Z0-9]\|^)KConfig|\1TDEConfig|g" \
 -e "s|([^a-zA-Z0-9]\|^)KServer|\1TDEServer|g" \
 -e "s|([^a-zA-Z0-9]\|^)KSocket|\1TDESocket|g" \
 -e "s|([^a-zA-Z0-9]\|^)KIO\.|\1TDEIO.|g" \
 -e "s|([^a-zA-Z0-9]\|^)KIO:|\1TDEIO:|g" \
 -e "s|([^a-zA-Z0-9]\|^)KIO_EXPORT|\1TDEIO_EXPORT|g" \
 -e "s|([^a-zA-Z0-9]\|^)KIOInput|\1TDEIOInput|g" \
 -e "s|([^a-zA-Z0-9]\|^)KIOJob|\1TDEIOJob|g" \
 -e "s|([^a-zA-Z0-9]\|^)KIOConfig|\1TDEIOConfig|g" \
 -e "s|([^a-zA-Z0-9]\|^)KIOBuffer|\1TDEIOBuffer|g" \
 -e "s|([^a-zA-Z0-9]\|^)KBuffer|\1TDEBuffer|g" \
 -e "s|([^a-zA-Z0-9]\|^)kcmodule|\1tdecmodule|g" \
 \
 -e "s|([^a-zA-Z0-9]\|^)kconfig_compiler|\1tdeconfig_compiler|g" \
 -e "s|([^a-zA-Z0-9]\|^)kunittestmodrunner|\1tdeunittestmodrunner|g" \
 -e "s|([^a-zA-Z0-9]\|^)kioexec|\1tdeioexec|g" \
 -e "s|([^a-zA-Z0-9]\|^)kio_uiserver|\1tdeio_uiserver|g" \
 -e "s|([^a-zA-Z0-9]\|^)kmailservice|\1tdemailservice|g" \
 -e "s|([^a-zA-Z0-9]\|^)ktelnetservice|\1tdetelnetservice|g" \
 -e "s|([^a-zA-Z0-9]\|^)ksendbugmail|\1tdesendbugmail|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kfile|\1tdefile|g" \
 -e "s|([^a-zA-Z0-9]\|^)ktradertest|\1tdetradertest|g" \
 -e "s|([^a-zA-Z0-9]\|^)kbuildsycoca|\1tdebuildsycoca|g" \
 -e "s|([^a-zA-Z0-9]\|^)kde-menu|\1tde-menu|g" \
 -e "s|([^a-zA-Z0-9]\|^)kmimelist|\1tdemimelist|g" \
 -e "s|([^a-zA-Z0-9]\|^)kioslave|\1tdeioslave|g" \
 -e "s|([^a-zA-Z0-9]\|^)kio/|\1tdeio/|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kio\>|\1tdeio|g" \
 -e "s|([^a-zA-Z0-9]\|^)kstartupconfig|\1tdestartupconfig|g" \
 -e "s|([^a-zA-Z0-9]\|^)kdostartupconfig|\1tdedostartupconfig|g" \
 -e "s|([^a-zA-Z0-9]\|^)klauncher|\1tdelauncher|g" \
 -e "s|([^a-zA-Z0-9]\|^)kab2kabc|\1tdeab2tdeabc|g" \
 -e "s|([^a-zA-Z0-9]\|^)kcmshell|\1tdecmshell|g" \
 -e "s|([^a-zA-Z0-9]\|^)kconf|\1tdeconf|g" \
 -e "s|([^a-zA-Z0-9]\|^)khotnewstuff|\1tdehotnewstuff|g" \
 \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)ksycoca|\1tdesycoca|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kunittest|\1tdeunittest|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kwallet|\1tdewallet|g" \
 -e "s|([^a-zA-Z0-9]\|^)kntlm|\1tdentlm|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kparts|\1tdeparts|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kutils|\1tdeutils|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kspell|\1tdespell|g" \
 -e "s|([^a-zA-Z0-9]\|^)kmdi|\1tdemdi|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kresources|\1tderesources|g" \
 -e "s|([^a-zA-Z0-9]\|^)kscript|\1tdescript|g" \
 -e "s|([^a-zA-Z0-9]\|^)kmediaplayer|\1tdemediaplayer|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kimproxy|\1tdeimproxy|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)ktexteditor|\1tdetexteditor|g" \
 -e "s|([^a-zA-Z0-9]\|^)kcert|\1tdecert|g" \
 -e "s|([^a-zA-Z0-9]\|^)krandr|\1tderandr|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)khtml|\1tdehtml|g" \
 -e "s|([^a-zA-Z0-9]\|^)kmulti|\1tdemulti|g" \
 -e "s|([^a-zA-Z0-9]\|^)kmid|\1tdemid|g" \
 -e "s|([^a-zA-Z0-9]\|^)kscreensaver|\1tdescreensaver|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kdnssd|\1tdednssd|g" \
 -e "s|([^a-zA-Z0-9]\|^)krsync|\1tdersync|g" \
 \
 -e "s|([^a-zA-Z0-9]\|^)kiobuffer|\1tdeiobuffer|g" \
 -e "s|([^a-zA-Z0-9]\|^)KHTML|\1TDEHTML|g" \
 -e "s|([^a-zA-Z0-9]\|^)KShared|\1TDEShared|g" \
 -e "s|([^a-zA-Z0-9]\|^)KStandard|\1TDEStandard|g" \
 -e "s|([^a-zA-Z0-9]\|^)KStartup|\1TDEStartup|g" \
 -e "s|([^a-zA-Z0-9]\|^)KLocale|\1TDELocale|g" \
 -e "s|([^a-zA-Z0-9]\|^)KLock|\1TDELock|g" \
 -e "s|([^a-zA-Z0-9]\|^)KTrader|\1TDETrader|g" \
 -e "s|([^a-zA-Z0-9]\|^)KLaunch|\1TDELaunch|g" \
 -e "s|([^a-zA-Z0-9]\|^)KShort|\1TDEShort|g" \
 -e "s|([^a-zA-Z0-9]\|^)KStdAccel|\1TDEStdAccel|g" \
 -e "s|([^a-zA-Z0-9]\|^)KAccel|\1TDEAccel|g" \
 -e "s|([^a-zA-Z0-9]\|^)KAction|\1TDEAction|g" \
 -e "s|([^a-zA-Z0-9]\|^)KMain|\1TDEMain|g" \
 -e "s|([^a-zA-Z0-9]\|^)KTool|\1TDETool|g" \
 -e "s|([^a-zA-Z0-9]\|^)KPopup|\1TDEPopup|g" \
 -e "s|([^a-zA-Z0-9]\|^)KToggle|\1TDEToggle|g" \
 -e "s|([^a-zA-Z0-9]\|^)KRadio|\1TDERadio|g" \
 -e "s|([^a-zA-Z0-9]\|^)KSelect|\1TDESelect|g" \
 -e "s|([^a-zA-Z0-9]\|^)KList|\1TDEList|g" \
 -e "s|([^a-zA-Z0-9]\|^)KRecent|\1TDERecent|g" \
 -e "s|([^a-zA-Z0-9]\|^)KFont|\1TDEFont|g" \
 -e "s|([^a-zA-Z0-9]\|^)KPaste|\1TDEPaste|g" \
 -e "s|([^a-zA-Z0-9]\|^)klaunch|\1tdelaunch|g" \
 -e "s|([^a-zA-Z0-9]\|^)kshort|\1tdeshort|g" \
 -e "s|([^a-zA-Z0-9]\|^)kstdaccel|\1tdestdaccel|g" \
 -e "s|([^a-zA-Z0-9]\|^)kaccel|\1tdeaccel|g" \
 -e "s|([^a-zA-Z0-9]\|^)kaction|\1tdeaction|g" \
 -e "s|([^a-zA-Z0-9]\|^)kmain|\1tdemain|g" \
 -e "s|([^a-zA-Z0-9]\|^)ktool|\1tdetool|g" \
 -e "s|([^a-zA-Z0-9]\|^)kpopup|\1tdepopup|g" \
 -e "s|([^a-zA-Z0-9]\|^)ktoggle|\1tdetoggle|g" \
 -e "s|([^a-zA-Z0-9]\|^)kradio|\1tderadio|g" \
 -e "s|([^a-zA-Z0-9]\|^)kselect|\1tdeselect|g" \
 -e "s|([^a-zA-Z0-9]\|^)klist|\1tdelist|g" \
 -e "s|([^a-zA-Z0-9]\|^)krecent|\1tderecent|g" \
 -e "s|([^a-zA-Z0-9]\|^)kfont|\1tdefont|g" \
 -e "s|([^a-zA-Z0-9]\|^)kpaste|\1tdepaste|g" \
 -e "s|([^a-zA-Z0-9]\|^)kdisplay|\1tdedisplay|g" \
 \
 -e "s|([^a-zA-Z0-9]\|^)KStyle|\1TDEStyle|g" \
 -e "s|([^a-zA-Z0-9]\|^)KIcon|\1TDEIcon|g" \
 -e "s|([^a-zA-Z0-9]\|^)KZone|\1TDEZone|g" \
 -e "s|([^a-zA-Z0-9]\|^)KCrash|\1TDECrash|g" \
 -e "s|([^a-zA-Z0-9]\|^)KCmd|\1TDECmd|g" \
 -e "s|([^a-zA-Z0-9]\|^)KAbout|\1TDEAbout|g" \
 -e "s|([^a-zA-Z0-9]\|^)KComp|\1TDEComp|g" \
 -e "s|([^a-zA-Z0-9]\|^)KGlobal|\1TDEGlobal|g" \
 -e "s|([^a-zA-Z0-9]\|^)KProcess|\1TDEProcess|g" \
 -e "s|([^a-zA-Z0-9]\|^)KClipboard|\1TDEClipboard|g" \
 \
 -e "s|([^a-zA-Z0-9]\|^)kcompletionbox|\1tdecompletionbox|g" \
 \
 -e "s|([^a-zA-Z0-9]\|^)kaboutapplication\.|\1tdeaboutapplication.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kaboutdata\.|\1tdeaboutdata.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kaboutdialog\.|\1tdeaboutdialog.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kaboutkde\.|\1tdeabouttde.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kcmdlineargs\.|\1tdecmdlineargs.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kapplication\.|\1tdeapplication.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kstyle\.|\1tdestyle.|g" \
 \
 -e "s|([^a-zA-Z0-9]\|^)kdiroperator\.|\1tdediroperator.|g" \
 -e "s|([^a-zA-Z0-9]\|^)klocale\.|\1tdelocale.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kmessagebox\.|\1tdemessagebox.|g" \
 -e "s|([^a-zA-Z0-9]\|^)ktempfile\.|\1tdetempfile.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kemailsettings\.|\1tdeemailsettings.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kglobal\.|\1tdeglobal.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kglobalsettings\.|\1tdeglobalsettings.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kmenubar\.|\1tdemenubar.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kprotocolmanager\.|\1tdeprotocolmanager.|g" \
 -e "s|([^a-zA-Z0-9]\|^)kstartupinfo\.|\1tdestartupinfo.|g" \
 -e "s|([^a-zA-Z0-9]\|-l\|lib\|^)kabc|\1tdeabc|g" \
 -e "s|([^a-zA-Z0-9]\|^)makekdewidgets|\1maketdewidgets|g" \
 -e "s|([^a-zA-Z0-9]\|^)Categories=Qt;KDE|\1Categories=Qt;TDE|g" \
 -e "s|([^a-zA-Z0-9]\|^)X-KDE-|\1X-TDE-|g" \
#!/bin/bash

find ./ -type f -iname "*.c*" -o -iname "*.h*" -o -iname "*.ui*" -o -name "*.kcfg" -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/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/tquiv/quiv/g' \
 \
 -e 's/\([^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)tquit/\1quit/g' \
 -e 's/^tquit/quit/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'