summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt741
-rw-r--r--qtinterface/TQt.pc.cmake10
-rwxr-xr-xqtinterface/tmoc.cmake16
-rwxr-xr-xqtinterface/tqt-replace-stream.cmake499
-rwxr-xr-xqtinterface/tqt-replace.cmake502
-rw-r--r--qtinterface/tqt.h.cmake1329
6 files changed, 3097 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..84ef3c5
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,741 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+cmake_minimum_required( VERSION 2.6 )
+
+project( tqt )
+set( TQT_MAJOR_VERSION 3 )
+set( TQT_MINOR_VERSION 5 )
+set( TQT_MICRO_VERSION 12 )
+set( TQT_VERSION "${TQT_MAJOR_VERSION}.${TQT_MINOR_VERSION}.${TQT_MICRO_VERSION}" )
+
+if( BUILD_QT4 )
+ find_package( Qt4 REQUIRED )
+ set( QT_VER 4 )
+else( BUILD_QT4 )
+ set( QT_MT_REQUIRED TRUE )
+ find_package( Qt3 REQUIRED )
+ set( QT_VER 3 )
+endif( BUILD_QT4 )
+
+
+##### paths setup ###############################
+
+if( NOT BIN_INSTALL_DIR )
+ set( BIN_INSTALL_DIR bin )
+endif ( NOT BIN_INSTALL_DIR )
+
+if( NOT LIB_INSTALL_DIR )
+ set( LIB_INSTALL_DIR lib )
+endif( NOT LIB_INSTALL_DIR )
+
+if( NOT INCLUDE_INSTALL_DIR )
+ set( INCLUDE_INSTALL_DIR include/tqt )
+endif( NOT INCLUDE_INSTALL_DIR )
+
+if( NOT PKGCONFIG_INSTALL_DIR )
+ set( PKGCONFIG_INSTALL_DIR lib/pkgconfig )
+endif( NOT PKGCONFIG_INSTALL_DIR )
+
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}/qtinterface # for tqt.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/qtinterface
+ ${QT_INCLUDE_DIR}
+)
+
+set( tqt_TOOLS
+ qtinterface/moc-tqt
+ qtinterface/mcopidl-tqt
+ qtinterface/dcopidl-tqt
+ qtinterface/dcopidlng-tqt
+ qtinterface/dcopidl2cpp-tqt
+ qtinterface/convert_qt_tqt1
+ qtinterface/convert_qt_tqt2
+ qtinterface/convert_qt_tqt3
+ ${CMAKE_CURRENT_BINARY_DIR}/qtinterface/tmoc
+ ${CMAKE_CURRENT_BINARY_DIR}/qtinterface/tqt-replace
+ ${CMAKE_CURRENT_BINARY_DIR}/qtinterface/tqt-replace-stream
+)
+
+set( tqt_INCS
+ ${CMAKE_CURRENT_BINARY_DIR}/qtinterface/tqt.h
+ qtinterface/tqaccel.h
+ qtinterface/tqaccessible.h
+ qtinterface/tqaction.h
+ qtinterface/tqapplication.h
+ qtinterface/tqasyncio.h
+ qtinterface/tqbuttongroup.h
+ qtinterface/tqbutton.h
+ qtinterface/tqcanvas.h
+ qtinterface/tqcdestyle.h
+ qtinterface/tqcheckbox.h
+ qtinterface/tqclipboard.h
+ qtinterface/tqcolordialog.h
+ qtinterface/tqcombobox.h
+ qtinterface/tqcommonstyle.h
+ qtinterface/tqdatabrowser.h
+ qtinterface/tqdatatable.h
+ qtinterface/tqdataview.h
+ qtinterface/tqdatetimeedit.h
+ qtinterface/tqdesktopwidget.h
+ qtinterface/tqdial.h
+ qtinterface/tqdialog.h
+ qtinterface/tqdns.h
+ qtinterface/tqdockarea.h
+ qtinterface/tqdockwindow.h
+ qtinterface/tqdragobject.h
+ qtinterface/tqerrormessage.h
+ qtinterface/tqeventloop.h
+ qtinterface/tqfiledialog.h
+ qtinterface/tqfontdialog.h
+ qtinterface/tqframe.h
+ qtinterface/tqftp.h
+ qtinterface/tqgl.h
+ qtinterface/tqgplugin.h
+ qtinterface/tqgrid.h
+ qtinterface/tqgridview.h
+ qtinterface/tqgroupbox.h
+ qtinterface/tqguardedptr.h
+ qtinterface/tqhbox.h
+ qtinterface/tqhbuttongroup.h
+ qtinterface/tqheader.h
+ qtinterface/tqhgroupbox.h
+ qtinterface/tqhttp.h
+ qtinterface/tqiconview.h
+ qtinterface/tqimageformatplugin.h
+ qtinterface/tqinputdialog.h
+ qtinterface/tqlabel.h
+ qtinterface/tqlayout.h
+ qtinterface/tqlcdnumber.h
+ qtinterface/tqlineedit.h
+ qtinterface/tqlistbox.h
+ qtinterface/tqlistview.h
+ qtinterface/tqlocalfs.h
+ qtinterface/tqmainwindow.h
+ qtinterface/tqmenubar.h
+ qtinterface/tqmessagebox.h
+ qtinterface/tqmotifplusstyle.h
+ qtinterface/tqmotifstyle.h
+ qtinterface/tqmultilineedit.h
+ qtinterface/tqnetworkprotocol.h
+ qtinterface/tqnp.h
+ qtinterface/tqobjectcleanuphandler.h
+ qtinterface/tqobject.h
+ qtinterface/tqplatinumstyle.h
+ qtinterface/tqpopupmenu.h
+ qtinterface/tqprintdialog.h
+ qtinterface/tqprocess.h
+ qtinterface/tqprogressbar.h
+ qtinterface/tqprogressdialog.h
+ qtinterface/tqpushbutton.h
+ qtinterface/tqradiobutton.h
+ qtinterface/tqrangecontrol.h
+ qtinterface/tqscrollbar.h
+ qtinterface/tqscrollview.h
+ qtinterface/tqsemimodal.h
+ qtinterface/tqserversocket.h
+ qtinterface/tqsessionmanager.h
+ qtinterface/tqsgistyle.h
+ qtinterface/tqsignal.h
+ qtinterface/tqsignalmapper.h
+ qtinterface/tqsizegrip.h
+ qtinterface/tqslider.h
+ qtinterface/tqsocket.h
+ qtinterface/tqsocketnotifier.h
+ qtinterface/tqsound.h
+ qtinterface/tqspinbox.h
+ qtinterface/tqsplashscreen.h
+ qtinterface/tqsplitter.h
+ qtinterface/tqsqldatabase.h
+ qtinterface/tqsqldriver.h
+ qtinterface/tqsqldriverplugin.h
+ qtinterface/tqsqlform.h
+ qtinterface/tqsqlquery.h
+ qtinterface/tqstatusbar.h
+ qtinterface/tqstyle.h
+ qtinterface/tqstyleplugin.h
+ qtinterface/tqstylesheet.h
+ qtinterface/tqtabbar.h
+ qtinterface/tqtabdialog.h
+ qtinterface/tqtable.h
+ qtinterface/tqtabwidget.h
+ qtinterface/tqtextbrowser.h
+ qtinterface/tqtextcodecplugin.h
+ qtinterface/tqtextedit.h
+ qtinterface/tqtextview.h
+ qtinterface/tqtimer.h
+ qtinterface/tqtoolbar.h
+ qtinterface/tqtoolbox.h
+ qtinterface/tqtoolbutton.h
+ qtinterface/tqtooltip.h
+ qtinterface/tqtranslator.h
+ qtinterface/tqurloperator.h
+ qtinterface/tqvalidator.h
+ qtinterface/tqvbox.h
+ qtinterface/tqvbuttongroup.h
+ qtinterface/tqvgroupbox.h
+ qtinterface/tqwidget.h
+ qtinterface/tqwidgetplugin.h
+ qtinterface/tqwidgetstack.h
+ qtinterface/tqwindowsstyle.h
+ qtinterface/tqwizard.h
+ qtinterface/tqworkspace.h
+ qtinterface/tqapp.h
+ qtinterface/tqarray.h
+ qtinterface/tqbitarry.h
+ qtinterface/tqbttngrp.h
+ qtinterface/tqchkbox.h
+ qtinterface/tqclipbrd.h
+ qtinterface/tqcollect.h
+ qtinterface/tqcollection.h
+ qtinterface/tqcombo.h
+ qtinterface/tqconfig.h
+ qtinterface/tqconnect.h
+ qtinterface/tqdatetm.h
+ qtinterface/tqdrawutl.h
+ qtinterface/tqdstream.h
+ qtinterface/tqfeatures.h
+ qtinterface/tqfiledef.h
+ qtinterface/tqfiledlg.h
+ qtinterface/tqfileinf.h
+ qtinterface/tqfontinf.h
+ qtinterface/tqfontmet.h
+ qtinterface/tqgbkcodec.h
+ qtinterface/tqgeneric.h
+ qtinterface/tqgif.h
+ qtinterface/tqglobal.h
+ qtinterface/tqgrpbox.h
+ qtinterface/tqintcach.h
+ qtinterface/tqiodev.h
+ qtinterface/tqjpegio.h
+ qtinterface/tqkeycode.h
+ qtinterface/tqlined.h
+ qtinterface/tqlist.h
+ qtinterface/tqmenudta.h
+ qtinterface/tqmetaobj.h
+ qtinterface/tqmlined.h
+ qtinterface/tqmngio.h
+ qtinterface/tqmodules.h
+ qtinterface/tqmsgbox.h
+ qtinterface/tqmultilinedit.h
+ qtinterface/tqnetwork.h
+ qtinterface/tqobjcoll.h
+ qtinterface/tqobjdefs.h
+ qtinterface/tqpaintdc.h
+ qtinterface/tqpaintd.h
+ qtinterface/tqpdevmet.h
+ qtinterface/tqpmcache.h
+ qtinterface/tqpntarry.h
+ qtinterface/tqpopmenu.h
+ qtinterface/tqprndlg.h
+ qtinterface/tqprogbar.h
+ qtinterface/tqprogdlg.h
+ qtinterface/tqpushbt.h
+ qtinterface/tqqueue.h
+ qtinterface/tqradiobt.h
+ qtinterface/tqrangect.h
+ qtinterface/tqscrbar.h
+ qtinterface/tqsession.h
+ qtinterface/tqsocknot.h
+ qtinterface/tqstack.h
+ qtinterface/tqtabdlg.h
+ qtinterface/tqtstream.h
+ qtinterface/tqvector.h
+ qtinterface/tqwidcoll.h
+ qtinterface/tqwindefs.h
+ qtinterface/tqwindowdefs.h
+ qtinterface/tqwinexport.h
+ qtinterface/tq1xcompatibility.h
+ qtinterface/tqabstractlayout.h
+ qtinterface/tqasciicache.h
+ qtinterface/tqasciidict.h
+ qtinterface/tqasyncimageio.h
+ qtinterface/tqbig5codec.h
+ qtinterface/tqbitarray.h
+ qtinterface/tqbitmap.h
+ qtinterface/tqbrush.h
+ qtinterface/tqbuffer.h
+ qtinterface/tqcache.h
+ qtinterface/tqcleanuphandler.h
+ qtinterface/tqcolor.h
+ qtinterface/tqcompactstyle.h
+ qtinterface/tqconnection.h
+ qtinterface/tqcstring.h
+ qtinterface/tqcursor.h
+ qtinterface/tqdatastream.h
+ qtinterface/tqdatetime.h
+ qtinterface/tqdeepcopy.h
+ qtinterface/tqdict.h
+ qtinterface/tqdir.h
+ qtinterface/tqdom.h
+ qtinterface/tqdrawutil.h
+ qtinterface/tqdropsite.h
+ qtinterface/tqeditorfactory.h
+ qtinterface/tqeucjpcodec.h
+ qtinterface/tqeuckrcodec.h
+ qtinterface/tqevent.h
+ qtinterface/tqfile.h
+ qtinterface/tqfileinfo.h
+ qtinterface/tqfocusdata.h
+ qtinterface/tqfontdatabase.h
+ qtinterface/tqfont.h
+ qtinterface/tqfontinfo.h
+ qtinterface/tqfontmetrics.h
+ qtinterface/tqgarray.h
+ qtinterface/tqgb18030codec.h
+ qtinterface/tqgcache.h
+ qtinterface/tqgdict.h
+ qtinterface/tqglcolormap.h
+ qtinterface/tqglist.h
+ qtinterface/tqgvector.h
+ qtinterface/tqhostaddress.h
+ qtinterface/tqiconset.h
+ qtinterface/tqimage.h
+ qtinterface/tqintcache.h
+ qtinterface/tqintdict.h
+ qtinterface/tqinterlacestyle.h
+ qtinterface/tqiodevice.h
+ qtinterface/tqjiscodec.h
+ qtinterface/tqjpunicode.h
+ qtinterface/tqkeysequence.h
+ qtinterface/tqlibrary.h
+ qtinterface/tqlocale.h
+ qtinterface/tqmap.h
+ qtinterface/tqmemarray.h
+ qtinterface/tqmenudata.h
+ qtinterface/tqmetaobject.h
+ qtinterface/tqmime.h
+ qtinterface/tqmovie.h
+ qtinterface/tqmutex.h
+ qtinterface/tqnamespace.h
+ qtinterface/tqobjectdict.h
+ qtinterface/tqobjectlist.h
+ qtinterface/tqpaintdevice.h
+ qtinterface/tqpaintdevicemetrics.h
+ qtinterface/tqpainter.h
+ qtinterface/tqpair.h
+ qtinterface/tqpalette.h
+ qtinterface/tqpen.h
+ qtinterface/tqpicture.h
+ qtinterface/tqpixmapcache.h
+ qtinterface/tqpixmap.h
+ qtinterface/tqpngio.h
+ qtinterface/tqpointarray.h
+ qtinterface/tqpoint.h
+ qtinterface/tqpolygonscanner.h
+ qtinterface/tqprinter.h
+ qtinterface/tqptrcollection.h
+ qtinterface/tqptrdict.h
+ qtinterface/tqptrlist.h
+ qtinterface/tqptrqueue.h
+ qtinterface/tqptrstack.h
+ qtinterface/tqptrvector.h
+ qtinterface/tqrect.h
+ qtinterface/tqregexp.h
+ qtinterface/tqregion.h
+ qtinterface/tqrtlcodec.h
+ qtinterface/tqsemaphore.h
+ qtinterface/tqsettings.h
+ qtinterface/tqshared.h
+ qtinterface/tqsignalslotimp.h
+ qtinterface/tqsimplerichtext.h
+ qtinterface/tqsize.h
+ qtinterface/tqsizepolicy.h
+ qtinterface/tqsjiscodec.h
+ qtinterface/tqsocketdevice.h
+ qtinterface/tqsortedlist.h
+ qtinterface/tqsqlcursor.h
+ qtinterface/tqsqleditorfactory.h
+ qtinterface/tqsqlerror.h
+ qtinterface/tqsqlfield.h
+ qtinterface/tqsql.h
+ qtinterface/tqsqlindex.h
+ qtinterface/tqsqlpropertymap.h
+ qtinterface/tqsqlrecord.h
+ qtinterface/tqsqlresult.h
+ qtinterface/tqsqlselectcursor.h
+ qtinterface/tqstring.h
+ qtinterface/tqstringlist.h
+ qtinterface/tqstrlist.h
+ qtinterface/tqstrvec.h
+ qtinterface/tqstylefactory.h
+ qtinterface/tqsyntaxhighlighter.h
+ qtinterface/tqtextcodecfactory.h
+ qtinterface/tqtextcodec.h
+ qtinterface/tqtextstream.h
+ qtinterface/tqthread.h
+ qtinterface/tqthreadstorage.h
+ qtinterface/tqtl.h
+ qtinterface/tqtsciicodec.h
+ qtinterface/tqurl.h
+ qtinterface/tqurlinfo.h
+ qtinterface/tqutfcodec.h
+ qtinterface/tquuid.h
+ qtinterface/tqvaluelist.h
+ qtinterface/tqvaluestack.h
+ qtinterface/tqvaluevector.h
+ qtinterface/tqvariant.h
+ qtinterface/tqvfbhdr.h
+ qtinterface/tqwaitcondition.h
+ qtinterface/tqwhatsthis.h
+ qtinterface/tqwidgetfactory.h
+ qtinterface/tqwidgetintdict.h
+ qtinterface/tqwidgetlist.h
+ qtinterface/tqwmatrix.h
+ qtinterface/tqxml.h
+ qtinterface/private/tqucomextra_p.h
+ qtinterface/tqlistiterator.h
+)
+
+set( tqt_SRCS
+ qtinterface/tqt.cpp
+ qtinterface/tqaccel.cpp
+ qtinterface/tqaccessible.cpp
+ qtinterface/tqaction.cpp
+ qtinterface/tqapplication.cpp
+ qtinterface/tqasyncio.cpp
+ qtinterface/tqbuttongroup.cpp
+ qtinterface/tqbutton.cpp
+ qtinterface/tqcanvas.cpp
+ qtinterface/tqcdestyle.cpp
+ qtinterface/tqcheckbox.cpp
+ qtinterface/tqclipboard.cpp
+ qtinterface/tqcolordialog.cpp
+ qtinterface/tqcombobox.cpp
+ qtinterface/tqcommonstyle.cpp
+ qtinterface/tqdatabrowser.cpp
+ qtinterface/tqdatatable.cpp
+ qtinterface/tqdataview.cpp
+ qtinterface/tqdatetimeedit.cpp
+ qtinterface/tqdesktopwidget.cpp
+ qtinterface/tqdial.cpp
+ qtinterface/tqdialog.cpp
+ qtinterface/tqdns.cpp
+ qtinterface/tqdockarea.cpp
+ qtinterface/tqdockwindow.cpp
+ qtinterface/tqdragobject.cpp
+ qtinterface/tqerrormessage.cpp
+ qtinterface/tqeventloop.cpp
+ qtinterface/tqframe.cpp
+ qtinterface/tqftp.cpp
+ qtinterface/tqfiledialog.cpp
+ qtinterface/tqfontdialog.cpp
+ qtinterface/tqgl.cpp
+ qtinterface/tqgplugin.cpp
+ qtinterface/tqgrid.cpp
+ qtinterface/tqgridview.cpp
+ qtinterface/tqgroupbox.cpp
+ qtinterface/tqguardedptr.cpp
+ qtinterface/tqhbox.cpp
+ qtinterface/tqhbuttongroup.cpp
+ qtinterface/tqheader.cpp
+ qtinterface/tqhgroupbox.cpp
+ qtinterface/tqhttp.cpp
+ qtinterface/tqiconview.cpp
+ qtinterface/tqimageformatplugin.cpp
+ qtinterface/tqinputdialog.cpp
+ qtinterface/tqlabel.cpp
+ qtinterface/tqlayout.cpp
+ qtinterface/tqlcdnumber.cpp
+ qtinterface/tqlineedit.cpp
+ qtinterface/tqlistbox.cpp
+ qtinterface/tqlistview.cpp
+ qtinterface/tqlocalfs.cpp
+ qtinterface/tqmainwindow.cpp
+ qtinterface/tqmenubar.cpp
+ qtinterface/tqmessagebox.cpp
+ qtinterface/tqmotifplusstyle.cpp
+ qtinterface/tqmotifstyle.cpp
+ qtinterface/tqmultilineedit.cpp
+ qtinterface/tqnetworkprotocol.cpp
+ qtinterface/tqnp.cpp
+ qtinterface/tqobjectcleanuphandler.cpp
+ qtinterface/tqobject.cpp
+ qtinterface/tqplatinumstyle.cpp
+ qtinterface/tqpopupmenu.cpp
+ qtinterface/tqprintdialog.cpp
+ qtinterface/tqprocess.cpp
+ qtinterface/tqprogressbar.cpp
+ qtinterface/tqprogressdialog.cpp
+ qtinterface/tqpushbutton.cpp
+ qtinterface/tqradiobutton.cpp
+ qtinterface/tqrangecontrol.cpp
+ qtinterface/tqscrollbar.cpp
+ qtinterface/tqscrollview.cpp
+ qtinterface/tqsemimodal.cpp
+ qtinterface/tqserversocket.cpp
+ qtinterface/tqsessionmanager.cpp
+ qtinterface/tqsgistyle.cpp
+ qtinterface/tqsignal.cpp
+ qtinterface/tqsignalmapper.cpp
+ qtinterface/tqsizegrip.cpp
+ qtinterface/tqslider.cpp
+ qtinterface/tqsocket.cpp
+ qtinterface/tqsocketnotifier.cpp
+ qtinterface/tqsound.cpp
+ qtinterface/tqspinbox.cpp
+ qtinterface/tqsplashscreen.cpp
+ qtinterface/tqsplitter.cpp
+ qtinterface/tqsqldatabase.cpp
+ qtinterface/tqsqldriver.cpp
+ qtinterface/tqsqldriverplugin.cpp
+ qtinterface/tqsqlform.cpp
+ qtinterface/tqsqlquery.cpp
+ qtinterface/tqstatusbar.cpp
+ qtinterface/tqstyle.cpp
+ qtinterface/tqstyleplugin.cpp
+ qtinterface/tqstylesheet.cpp
+ qtinterface/tqtabbar.cpp
+ qtinterface/tqtabdialog.cpp
+ qtinterface/tqtable.cpp
+ qtinterface/tqtabwidget.cpp
+ qtinterface/tqtextbrowser.cpp
+ qtinterface/tqtextcodecplugin.cpp
+ qtinterface/tqtextedit.cpp
+ qtinterface/tqtextview.cpp
+ qtinterface/tqtimer.cpp
+ qtinterface/tqtoolbar.cpp
+ qtinterface/tqtoolbox.cpp
+ qtinterface/tqtoolbutton.cpp
+ qtinterface/tqtooltip.cpp
+ qtinterface/tqtranslator.cpp
+ qtinterface/tqurloperator.cpp
+ qtinterface/tqvalidator.cpp
+ qtinterface/tqvbox.cpp
+ qtinterface/tqvbuttongroup.cpp
+ qtinterface/tqvgroupbox.cpp
+ qtinterface/tqwidget.cpp
+ qtinterface/tqwidgetplugin.cpp
+ qtinterface/tqwidgetstack.cpp
+ qtinterface/tqwindowsstyle.cpp
+ qtinterface/tqwizard.cpp
+ qtinterface/tqworkspace.cpp
+ qtinterface/tq1xcompatibility.cpp
+ qtinterface/tqabstractlayout.cpp
+ qtinterface/tqasciicache.cpp
+ qtinterface/tqasciidict.cpp
+ qtinterface/tqasyncimageio.cpp
+ qtinterface/tqbig5codec.cpp
+ qtinterface/tqbitarray.cpp
+ qtinterface/tqbitmap.cpp
+ qtinterface/tqbrush.cpp
+ qtinterface/tqbuffer.cpp
+ qtinterface/tqcache.cpp
+ qtinterface/tqcleanuphandler.cpp
+ qtinterface/tqcolor.cpp
+ qtinterface/tqcompactstyle.cpp
+ qtinterface/tqconnection.cpp
+ qtinterface/tqcstring.cpp
+ qtinterface/tqcursor.cpp
+ qtinterface/tqdatastream.cpp
+ qtinterface/tqdatetime.cpp
+ qtinterface/tqdeepcopy.cpp
+ qtinterface/tqdict.cpp
+ qtinterface/tqdir.cpp
+ qtinterface/tqdom.cpp
+ qtinterface/tqdrawutil.cpp
+ qtinterface/tqdropsite.cpp
+ qtinterface/tqeditorfactory.cpp
+ qtinterface/tqeucjpcodec.cpp
+ qtinterface/tqeuckrcodec.cpp
+ qtinterface/tqevent.cpp
+ qtinterface/tqfile.cpp
+ qtinterface/tqfileinfo.cpp
+ qtinterface/tqfocusdata.cpp
+ qtinterface/tqfontdatabase.cpp
+ qtinterface/tqfont.cpp
+ qtinterface/tqfontinfo.cpp
+ qtinterface/tqfontmetrics.cpp
+ qtinterface/tqgarray.cpp
+ qtinterface/tqgb18030codec.cpp
+ qtinterface/tqgcache.cpp
+ qtinterface/tqgdict.cpp
+ qtinterface/tqglcolormap.cpp
+ qtinterface/tqglist.cpp
+ qtinterface/tqgvector.cpp
+ qtinterface/tqhostaddress.cpp
+ qtinterface/tqiconset.cpp
+ qtinterface/tqimage.cpp
+ qtinterface/tqintcache.cpp
+ qtinterface/tqintdict.cpp
+ qtinterface/tqinterlacestyle.cpp
+ qtinterface/tqiodevice.cpp
+ qtinterface/tqjiscodec.h
+ qtinterface/tqjpunicode.cpp
+ qtinterface/tqkeysequence.cpp
+ qtinterface/tqlibrary.cpp
+ qtinterface/tqlocale.cpp
+ qtinterface/tqmap.cpp
+ qtinterface/tqmemarray.cpp
+ qtinterface/tqmenudata.cpp
+ qtinterface/tqmetaobject.cpp
+ qtinterface/tqmime.cpp
+ qtinterface/tqmovie.cpp
+ qtinterface/tqmutex.cpp
+ qtinterface/tqnamespace.cpp
+ qtinterface/tqobjectdict.cpp
+ qtinterface/tqobjectlist.cpp
+ qtinterface/tqpaintdevice.cpp
+ qtinterface/tqpaintdevicemetrics.cpp
+ qtinterface/tqpainter.cpp
+ qtinterface/tqpair.cpp
+ qtinterface/tqpalette.cpp
+ qtinterface/tqpen.cpp
+ qtinterface/tqpicture.cpp
+ qtinterface/tqpixmapcache.cpp
+ qtinterface/tqpixmap.cpp
+ qtinterface/tqpngio.cpp
+ qtinterface/tqpointarray.cpp
+ qtinterface/tqpoint.cpp
+ qtinterface/tqpolygonscanner.cpp
+ qtinterface/tqprinter.cpp
+ qtinterface/tqptrcollection.cpp
+ qtinterface/tqptrdict.cpp
+ qtinterface/tqptrlist.cpp
+ qtinterface/tqptrqueue.cpp
+ qtinterface/tqptrstack.cpp
+ qtinterface/tqptrvector.cpp
+ qtinterface/tqrect.cpp
+ qtinterface/tqregexp.cpp
+ qtinterface/tqregion.cpp
+ qtinterface/tqrtlcodec.cpp
+ qtinterface/tqsemaphore.cpp
+ qtinterface/tqsettings.cpp
+ qtinterface/tqshared.cpp
+ qtinterface/tqsignalslotimp.cpp
+ qtinterface/tqsimplerichtext.cpp
+ qtinterface/tqsize.cpp
+ qtinterface/tqsizepolicy.cpp
+ qtinterface/tqsjiscodec.cpp
+ qtinterface/tqsocketdevice.cpp
+ qtinterface/tqsortedlist.cpp
+ qtinterface/tqsqlcursor.cpp
+ qtinterface/tqsqleditorfactory.cpp
+ qtinterface/tqsqlerror.cpp
+ qtinterface/tqsqlfield.cpp
+ qtinterface/tqsql.cpp
+ qtinterface/tqsqlindex.cpp
+ qtinterface/tqsqlpropertymap.cpp
+ qtinterface/tqsqlrecord.cpp
+ qtinterface/tqsqlresult.cpp
+ qtinterface/tqsqlselectcursor.cpp
+ qtinterface/tqstring.cpp
+ qtinterface/tqstringlist.cpp
+ qtinterface/tqstrlist.cpp
+ qtinterface/tqstrvec.cpp
+ qtinterface/tqstylefactory.cpp
+ qtinterface/tqsyntaxhighlighter.cpp
+ qtinterface/tqtextcodecfactory.cpp
+ qtinterface/tqtextcodec.cpp
+ qtinterface/tqtextstream.cpp
+ qtinterface/tqthread.cpp
+ qtinterface/tqthreadstorage.cpp
+ qtinterface/tqtl.cpp
+ qtinterface/tqtsciicodec.cpp
+ qtinterface/tqurl.cpp
+ qtinterface/tqurlinfo.cpp
+ qtinterface/tqutfcodec.cpp
+ qtinterface/tquuid.cpp
+ qtinterface/tqvaluelist.cpp
+ qtinterface/tqvaluestack.cpp
+ qtinterface/tqvaluevector.cpp
+ qtinterface/tqvariant.cpp
+ qtinterface/tqvfbhdr.cpp
+ qtinterface/tqwaitcondition.cpp
+ qtinterface/tqwhatsthis.cpp
+ qtinterface/tqwidgetfactory.cpp
+ qtinterface/tqwidgetintdict.cpp
+ qtinterface/tqwidgetlist.cpp
+ qtinterface/tqwmatrix.cpp
+ qtinterface/tqxml.cpp
+ qtinterface/private/tqucomextra_p.cpp
+ qtinterface/tqlistiterator.cpp
+)
+
+#################################################
+#
+# On some systems (without immqt) qinputcontext.h
+# and qinputcontextfactory.h can missing, so we
+# must to exclude it from compiling/installing.
+#
+
+if( NOT WITHOUT_INPUTCONTEXT )
+
+ include( CheckIncludeFile )
+ set( bak_CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} )
+ set( CMAKE_REQUIRED_DEFINITIONS -I${QT_INCLUDE_DIR} -DQINPUTCONTEXT_H -DQINPUTCONTEXTFACTORY_H )
+
+ check_include_file( "qinputcontext.h" HAVE_QINPUTCONTEXT_H )
+ if( HAVE_QINPUTCONTEXT_H )
+ set( tqt_INCS ${tqt_INCS} qtinterface/tqinputcontext.h )
+ set( tqt_SRCS ${tqt_SRCS} qtinterface/tqinputcontext.cpp )
+ endif( HAVE_QINPUTCONTEXT_H )
+
+ check_include_file( "qinputcontextfactory.h" HAVE_QINPUTCONTEXTFACTORY_H )
+ if( HAVE_QINPUTCONTEXTFACTORY_H )
+ set( tqt_INCS ${tqt_INCS} qtinterface/tqinputcontextfactory.h )
+ set( tqt_SRCS ${tqt_SRCS} qtinterface/tqinputcontextfactory.cpp )
+ endif( HAVE_QINPUTCONTEXTFACTORY_H )
+
+ set( CMAKE_REQUIRED_DEFINITIONS ${bak_CMAKE_REQUIRED_DEFINITIONS} )
+ unset( bak_CMAKE_REQUIRED_DEFINITIONS )
+
+endif( NOT WITHOUT_INPUTCONTEXT )
+
+#
+#################################################
+
+
+configure_file( qtinterface/tmoc.cmake qtinterface/tmoc @ONLY )
+configure_file( qtinterface/tqt-replace.cmake qtinterface/tqt-replace @ONLY )
+configure_file( qtinterface/tqt-replace-stream.cmake qtinterface/tqt-replace-stream @ONLY )
+configure_file( qtinterface/tqt.h.cmake qtinterface/tqt.h @ONLY )
+
+add_definitions( ${QT_DEFINITIONS} )
+set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
+add_library( tqt SHARED ${tqt_SRCS} )
+set_target_properties( tqt PROPERTIES VERSION 4.2.0 SOVERSION 4 )
+target_link_libraries( tqt ${QT_LIBRARIES} )
+
+
+##### split QT_DEFINITIONS and QT_LIBRARIES for using in TQt.pc
+
+foreach( DEF ${QT_DEFINITIONS} )
+ set( PKGCONFIG_QT_DEFINITIONS "${PKGCONFIG_QT_DEFINITIONS} ${DEF}" )
+endforeach( DEF ${QT_DEFINITIONS} )
+
+# a pretty ugly hack for extracting Qt library parameters
+get_filename_component( QT_LIBRARY_DIR ${QT_QT_LIBRARY} PATH )
+set( PKGCONFIG_QT_LIBRARIES "-L${QT_LIBRARY_DIR}" )
+foreach( LIB ${QT_LIBRARIES} )
+ get_filename_component( LIB ${LIB} NAME_WE )
+ string( REGEX REPLACE "^lib" "" LIB ${LIB} )
+ string( REGEX REPLACE "^-l" "" LIB ${LIB} )
+ # we don't need qassistantclient, I think
+ if( NOT ${LIB} STREQUAL "qassistantclient" )
+ set( PKGCONFIG_QT_LIBRARIES "${PKGCONFIG_QT_LIBRARIES} -l${LIB}" )
+ endif( NOT ${LIB} STREQUAL "qassistantclient" )
+endforeach( LIB ${PKGCONFIG_QT_LIBRARIES} )
+
+
+##### write TQt.pc ##############################
+
+configure_file( qtinterface/TQt.pc.cmake qtinterface/TQt.pc @ONLY )
+
+
+##### install ###################################
+
+install( FILES ${CMAKE_CURRENT_BINARY_DIR}/qtinterface/TQt.pc DESTINATION ${PKGCONFIG_INSTALL_DIR} )
+install( PROGRAMS ${tqt_TOOLS} DESTINATION ${BIN_INSTALL_DIR} )
+install( TARGETS tqt LIBRARY DESTINATION ${LIB_INSTALL_DIR} )
+install( FILES ${tqt_INCS} DESTINATION ${INCLUDE_INSTALL_DIR} )
+install( DIRECTORY qtinterface/tqt4/Qt DESTINATION ${INCLUDE_INSTALL_DIR} PATTERN ".svn" EXCLUDE )
diff --git a/qtinterface/TQt.pc.cmake b/qtinterface/TQt.pc.cmake
new file mode 100644
index 0000000..7592990
--- /dev/null
+++ b/qtinterface/TQt.pc.cmake
@@ -0,0 +1,10 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+libdir=${prefix}/@LIB_INSTALL_DIR@
+includedir=${prefix}/@INCLUDE_INSTALL_DIR@
+
+Name: TQt
+Description: Interface and abstraction library for Qt and Trinity
+Version: @TQT_VERSION@
+Libs: -L${libdir} -ltqt @PKGCONFIG_QT_LIBRARIES@
+Cflags: @PKGCONFIG_QT_DEFINITIONS@ -I@QT_INCLUDE_DIR@ -I${includedir}
diff --git a/qtinterface/tmoc.cmake b/qtinterface/tmoc.cmake
new file mode 100755
index 0000000..7745e22
--- /dev/null
+++ b/qtinterface/tmoc.cmake
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+#
+# Very simple moc wrapper, for using with cmake
+#
+
+if [ -z "$1" ]; then
+ echo "Usage: tmoc <input_file> -o <out_file>"
+else
+ input_file="$1"
+ out_file="$3"
+ @CMAKE_INSTALL_PREFIX@/@BIN_INSTALL_DIR@/tqt-replace-stream "${input_file}" | \
+ @QT_MOC_EXECUTABLE@ | \
+ sed "/#include <qmetaobject.h>/ i #undef QT_NO_COMPAT\n#include \"${input_file}\"" \
+ > "${out_file}"
+fi
diff --git a/qtinterface/tqt-replace-stream.cmake b/qtinterface/tqt-replace-stream.cmake
new file mode 100755
index 0000000..3267ce6
--- /dev/null
+++ b/qtinterface/tqt-replace-stream.cmake
@@ -0,0 +1,499 @@
+#!/bin/bash
+QT_VER=@QT_VER@
+
+if [[ $1 == "" ]]; then
+ echo "Usage: tqt-replace-stream <filename>"
+else
+ if [[ $QT_VER == 3 ]]; then
+ cat $1 | \
+ sed 's/TQ\([^T]\)/Q\1/g' | \
+ sed 's/TQT\([^_]\)/QT\1/g'
+ fi
+
+ if [[ $QT_VER == 4 ]]; then
+ cat $1 | \
+ sed 's/TQAccel/Q3Accel/g' | \
+ sed 's/TQAccessible/QAccessible/g' | \
+ sed 's/TQAccessibleObject/QAccessibleObject/g' | \
+ sed 's/TQAction/Q3Action/g' | \
+ sed 's/TQActionGroup/Q3ActionGroup/g' | \
+ sed 's/TQApplication/QApplication/g' | \
+ sed 's/TQAsciiCache/Q3AsciiCache/g' | \
+ sed 's/TQAsciiCacheIterator/Q3AsciiCacheIterator/g' | \
+ sed 's/TQAsciiDict/Q3AsciiDict/g' | \
+ sed 's/TQAsciiDictIterator/Q3AsciiDictIterator/g' | \
+ sed 's/TQImageConsumer/QImageConsumer/g' | \
+ sed 's/TQImageFormat/QImageFormat/g' | \
+ sed 's/TQImageFormatType/QImageFormatType/g' | \
+ sed 's/TQImageDecoder/QImageDecoder/g' | \
+ sed 's/TQAsyncIO/QAsyncIO/g' | \
+ sed 's/TQByteArray/QByteArray/g' | \
+ sed 's/TQDataSink/QDataSink/g' | \
+ sed 's/TQDataSource/QDataSource/g' | \
+ sed 's/TQIODeviceSource/QIODeviceSource/g' | \
+ sed 's/TQDataPump/QDataPump/g' | \
+ sed 's/TQBig5Codec/QBig5Codec/g' | \
+ sed 's/TQBig5hkscsCodec/QBig5hkscsCodec/g' | \
+ sed 's/TQBitVal/QBitVal/g' | \
+ sed 's/TQBitArray/QBitArray/g' | \
+ sed 's/TQBitmap/QBitmap/g' | \
+ sed 's/TQBrush/QBrush/g' | \
+ sed 's/TQBuffer/QBuffer/g' | \
+ sed 's/TQButtonGroup/Q3ButtonGroup/g' | \
+ sed 's/TQButton/Q3Button/g' | \
+ sed 's/TQCache/Q3Cache/g' | \
+ sed 's/TQCacheIterator/Q3CacheIterator/g' | \
+ sed 's/TQCanvasChunk/Q3CanvasChunk/g' | \
+ sed 's/TQCanvasItemList/Q3CanvasItemList/g' | \
+ sed 's/TQCanvasItemExtra/Q3CanvasItemExtra/g' | \
+ sed 's/TQCanvasItem/Q3CanvasItem/g' | \
+ sed 's/TQCanvasData/Q3CanvasData/g' | \
+ sed 's/TQCanvas/Q3Canvas/g' | \
+ sed 's/TQCanvasViewData/Q3CanvasViewData/g' | \
+ sed 's/TQCanvasView/Q3CanvasView/g' | \
+ sed 's/TQCanvasPixmap/Q3CanvasPixmap/g' | \
+ sed 's/TQCanvasPixmapArray/Q3CanvasPixmapArray/g' | \
+ sed 's/TQCanvasSprite/Q3CanvasSprite/g' | \
+ sed 's/TQPolygonalProcessor/QPolygonalProcessor/g' | \
+ sed 's/TQCanvasPolygonalItem/Q3CanvasPolygonalItem/g' | \
+ sed 's/TQCanvasRectangle/Q3CanvasRectangle/g' | \
+ sed 's/TQCanvasPolygon/Q3CanvasPolygon/g' | \
+ sed 's/TQCanvasSpline/Q3CanvasSpline/g' | \
+ sed 's/TQCanvasLine/Q3CanvasLine/g' | \
+ sed 's/TQCanvasEllipse/Q3CanvasEllipse/g' | \
+ sed 's/TQCanvasTextExtra/Q3CanvasTextExtra/g' | \
+ sed 's/TQCanvasText/Q3CanvasText/g' | \
+ sed 's/TQCDEStyle/QCDEStyle/g' | \
+ sed 's/TQCheckBox/QCheckBox/g' | \
+ sed 's/TQCleanupHandler/QCleanupHandler/g' | \
+ sed 's/TQSingleCleanupHandler/QSingleCleanupHandler/g' | \
+ sed 's/TQSharedCleanupHandler/QSharedCleanupHandler/g' | \
+ sed 's/TQShared/Q3Shared/g' | \
+ sed 's/TQColor/QColor/g' | \
+ sed 's/TQColorDialog/QColorDialog/g' | \
+# sed 's/TQStrList/QStrList/g' | \
+# sed 's/TQStringList/QStringList/g' | \
+ sed 's/TQStringPairList/Q3StringPairList/g' | \
+ sed 's/TQLineEdit/QLineEdit/g' | \
+ sed 's/TQValidator/QValidator/g' | \
+ sed 's/TQListBox/QListBox/g' | \
+ sed 's/TQComboBoxData/Q3ComboBoxData/g' | \
+ sed 's/TQComboTableItem/Q3ComboTableItem/g' | \
+ sed 's/TQWheelEvent/QWheelEvent/g' | \
+ sed 's/TQComboBox/Q3ComboBox/g' | \
+ sed 's/TQCommonStyle/QCommonStyle/g' | \
+ sed 's/TQCompactStyle/QCompactStyle/g' | \
+ sed 's/TQConnection/QConnection/g' | \
+ sed 's/TQCString/Q3CString/g' | \
+ sed 's/TQCursor/QCursor/g' | \
+ sed 's/TQSqlForm/QSqlForm/g' | \
+ sed 's/TQDataBrowserPrivate/Q3DataBrowserPrivate/g' | \
+ sed 's/TQDataBrowser/Q3DataBrowser/g' | \
+ sed 's/TQDataStream/QDataStream/g' | \
+ sed 's/TQPainter/QPainter/g' | \
+ sed 's/TQSqlField/QSqlField/g' | \
+ sed 's/TQSqlPropertyMap/QSqlPropertyMap/g' | \
+ sed 's/TQDataTablePrivate/QDataTablePrivate/g' | \
+ sed 's/TQDataTable/Q3DataTable/g' | \
+ sed 's/TQDataView/Q3DataView/g' | \
+ sed 's/TQDateEdit/Q3DateEdit/g' | \
+ sed 's/TQTimeEdit/Q3TimeEdit/g' | \
+ sed 's/TQDateTimeEdit/Q3DateTimeEdit/g' | \
+ sed 's/TQDateTimeEditBase/Q3DateTimeEditBase/g' | \
+ sed 's/TQDate/QDate/g' | \
+ sed 's/TQTime/QTime/g' | \
+ sed 's/TQDateTime/Q3DateTime/g' | \
+ sed 's/TQDeepCopy/Q3DeepCopy/g' | \
+ sed 's/TQDesktopWidget/QDesktopWidget/g' | \
+ sed 's/TQDial/QDial/g' | \
+ sed 's/TQDialog/QDialog/g' | \
+ sed 's/TQDict/Q3Dict/g' | \
+ sed 's/TQDictIterator/Q3DictIterator/g' | \
+ sed 's/TQDir/QDir/g' | \
+ sed 's/TQDirLineEdit/QDirLineEdit/g' | \
+ sed 's/TQDirMultiLineEdit/QDirMultiLineEdit/g' | \
+ sed 's/TQDns/Q3Dns/g' | \
+ sed 's/TQDnsSocket/QDnsSocket/g' | \
+ sed 's/TQDockArea/Q3DockArea/g' | \
+ sed 's/TQDockAreaLayout/QDockAreaLayout/g' | \
+ sed 's/TQDockWindow/Q3DockWindow/g' | \
+ sed 's/TQDomImplementation/QDomImplementation/g' | \
+ sed 's/TQDomNodeList/QDomNodeList/g' | \
+ sed 's/TQDomDocumentType/QDomDocumentType/g' | \
+ sed 's/TQDomDocument/QDomDocument/g' | \
+ sed 's/TQDomNamedNodeMap/QDomNamedNodeMap/g' | \
+ sed 's/TQDomDocumentFragment/QDomDocumentFragment/g' | \
+ sed 's/TQDomCharacterData/QDomCharacterData/g' | \
+ sed 's/TQDomAttr/QDomAttr/g' | \
+ sed 's/TQDomElement/QDomElement/g' | \
+ sed 's/TQDomText/QDomText/g' | \
+ sed 's/TQDomComment/QDomComment/g' | \
+ sed 's/TQDomCDATASection/QDomCDATASection/g' | \
+ sed 's/TQDomNotation/QDomNotation/g' | \
+ sed 's/TQDomEntity/QDomEntity/g' | \
+ sed 's/TQDomEntityReference/QDomEntityReference/g' | \
+ sed 's/TQDomProcessingInstruction/QDomProcessingInstruction/g' | \
+ sed 's/TQDomNode/QDomNode/g' | \
+ sed 's/TQDragObject/Q3DragObject/g' | \
+ sed 's/TQStoredDrag/Q3StoredDrag/g' | \
+ sed 's/TQTextDrag/Q3TextDrag/g' | \
+ sed 's/TQImageDrag/Q3ImageDrag/g' | \
+ sed 's/TQUriDrag/Q3UriDrag/g' | \
+ sed 's/TQColorDrag/Q3ColorDrag/g' | \
+ sed 's/TQDropSite/Q3DropSite/g' | \
+ sed 's/TQEditorFactory/Q3EditorFactory/g' | \
+ sed 's/TQErrorMessage/QErrorMessage/g' | \
+ sed 's/TQEucJpCodec/QEucJpCodec/g' | \
+ sed 's/TQEucKrCodec/QEucKrCodec/g' | \
+ sed 's/TQEvent/QEvent/g' | \
+ sed 's/TQTimerEvent/QTimerEvent/g' | \
+ sed 's/TQMouseEvent/QMouseEvent/g' | \
+ sed 's/TQWheelEvent/QWheelEvent/g' | \
+ sed 's/TQTabletEvent/QTabletEvent/g' | \
+ sed 's/TQKeyEvent/QKeyEvent/g' | \
+ sed 's/TQFocusEvent/QFocusEvent/g' | \
+ sed 's/TQPaintEvent/QPaintEvent/g' | \
+ sed 's/TQMoveEvent/QMoveEvent/g' | \
+ sed 's/TQResizeEvent/QResizeEvent/g' | \
+ sed 's/TQCloseEvent/QCloseEvent/g' | \
+ sed 's/TQIconDragEvent/QIconDragEvent/g' | \
+ sed 's/TQShowEvent/QShowEvent/g' | \
+ sed 's/TQHideEvent/QHideEvent/g' | \
+ sed 's/TQContextMenuEvent/QContextMenuEvent/g' | \
+ sed 's/TQIMEvent/QIMEvent/g' | \
+ sed 's/TQIMComposeEvent/QIMComposeEvent/g' | \
+ sed 's/TQDropEvent/QDropEvent/g' | \
+ sed 's/TQDragMoveEvent/QDragMoveEvent/g' | \
+ sed 's/TQDragEnterEvent/QDragEnterEvent/g' | \
+ sed 's/TQDragResponseEvent/QDragResponseEvent/g' | \
+ sed 's/TQDragLeaveEvent/QDragLeaveEvent/g' | \
+ sed 's/TQChildEvent/QChildEvent/g' | \
+ sed 's/TQCustomEvent/QCustomEvent/g' | \
+ sed 's/TQEventLoop/QEventLoop/g' | \
+ sed 's/TQFileIconProvider/Q3FileIconProvider/g' | \
+ sed 's/TQFilePreview/Q3FilePreview/g' | \
+ sed 's/TQFileDialog/Q3FileDialog/g' | \
+ sed 's/TQFile/QFile/g' | \
+ sed 's/TQFileInfo/QFileInfo/g' | \
+ sed 's/TQFileInfoList/QFileInfoList/g' | \
+ sed 's/TQFileInfoListIterator/QFileInfoListIterator/g' | \
+ sed 's/TQFocusData/QFocusData/g' | \
+ sed 's/TQFontDatabase/QFontDatabase/g' | \
+ sed 's/TQFont/QFont/g' | \
+ sed 's/TQFontInfo/QFontInfo/g' | \
+ sed 's/TQFontMetrics/QFontMetrics/g' | \
+ sed 's/TQFrame/Q3Frame/g' | \
+ sed 's/TQFtp/Q3Ftp/g' | \
+ sed 's/TQGArray/QGArray/g' | \
+ sed 's/TQGb18030Codec/QGb18030Codec/g' | \
+ sed 's/TQGbkCodec/QGbkCodec/g' | \
+ sed 's/TQGb2312Codec/QGb2312Codec/g' | \
+ sed 's/TQGCache/QGCache/g' | \
+ sed 's/TQGCacheIterator/QGCacheIterator/g' | \
+ sed 's/TQBaseBucket/QBaseBucket/g' | \
+ sed 's/TQStringBucket/QStringBucket/g' | \
+ sed 's/TQAsciiBucket/QAsciiBucket/g' | \
+ sed 's/TQIntBucket/QIntBucket/g' | \
+ sed 's/TQPtrBucket/QPtrBucket/g' | \
+ sed 's/TQGDict/QGDict/g' | \
+ sed 's/TQGDictIterator/QGDictIterator/g' | \
+ sed 's/TQGLColormap/QGLColormap/g' | \
+ sed 's/TQGL/QGL/g' | \
+ sed 's/TQGLFormat/QGLFormat/g' | \
+ sed 's/TQGLContext/QGLContext/g' | \
+ sed 's/TQGLWidget/QGLWidget/g' | \
+ sed 's/TQLNode/QLNode/g' | \
+ sed 's/TQGList/QGList/g' | \
+ sed 's/TQGListIterator/QGListIterator/g' | \
+ sed 's/TQGListStdIterator/QGListStdIterator/g' | \
+ sed 's/TQGPlugin/QGPlugin/g' | \
+ sed 's/TQGrid/Q3Grid/g' | \
+ sed 's/TQGridView/Q3GridView/g' | \
+ sed 's/TQGroupBox/Q3GroupBox/g' | \
+ sed 's/TQGuardedPtr/QGuardedPtr/g' | \
+ sed 's/TQGuardedPtrPrivate/QGuardedPtrPrivate/g' | \
+ sed 's/TQGVector/QGVector/g' | \
+ sed 's/TQHBox/Q3HBox/g' | \
+ sed 's/TQHButtonGroup/Q3HButtonGroup/g' | \
+ sed 's/TQHeader/Q3Header/g' | \
+ sed 's/TQHGroupBox/Q3HGroupBox/g' | \
+ sed 's/TQHostAddress/QHostAddress/g' | \
+ sed 's/TQHttpHeader/Q3HttpHeader/g' | \
+ sed 's/TQHttpResponseHeader/Q3HttpResponseHeader/g' | \
+ sed 's/TQHttpRequestHeader/Q3HttpRequestHeader/g' | \
+ sed 's/TQHttp/Q3Http/g' | \
+ sed 's/TQIconSet/QIconSet/g' | \
+ sed 's/TQIconFactory/QIconFactory/g' | \
+ sed 's/TQIconDragItem/Q3IconDragItem/g' | \
+ sed 's/TQIconDrag/Q3IconDrag/g' | \
+ sed 's/TQIconViewItem/Q3IconViewItem/g' | \
+ sed 's/TQIconView/Q3IconView/g' | \
+ sed 's/TQImageFormatPlugin/QImageFormatPlugin/g' | \
+ sed 's/TQImageTextKeyLang/QImageTextKeyLang/g' | \
+ sed 's/TQImage/QImage/g' | \
+ sed 's/TQImageIO/QImageIO/g' | \
+ sed 's/TQInputContextFactory/QInputContextFactory/g' | \
+ sed 's/TQInputContext/QInputContext/g' | \
+ sed 's/TQIntCache/Q3IntCache/g' | \
+ sed 's/TQIntCacheIterator/Q3IntCacheIterator/g' | \
+ sed 's/TQIntDict/Q3IntDict/g' | \
+ sed 's/TQIntDictIterator/Q3IntDictIterator/g' | \
+ sed 's/TQIODevice/QIODevice/g' | \
+ sed 's/TQJisCodec/QJisCodec/g' | \
+ sed 's/TQJpUnicodeConv/QJpUnicodeConv/g' | \
+ sed 's/TQKeySequence/QKeySequence/g' | \
+ sed 's/TQLabel/QLabel/g' | \
+ sed 's/TQGLayoutIterator/QGLayoutIterator/g' | \
+ sed 's/TQLayoutIterator/QLayoutIterator/g' | \
+ sed 's/TQLayoutItem/QLayoutItem/g' | \
+ sed 's/TQSpacerItem/QSpacerItem/g' | \
+ sed 's/TQWidgetItem/QWidgetItem/g' | \
+ sed 's/TQLayout/QLayout/g' | \
+ sed 's/TQGridLayout/QGridLayout/g' | \
+ sed 's/TQBoxLayout/QBoxLayout/g' | \
+ sed 's/TQHBoxLayout/QHBoxLayout/g' | \
+ sed 's/TQVBoxLayout/QVBoxLayout/g' | \
+ sed 's/TQLCDNumber/QLCDNumber/g' | \
+ sed 's/TQLibrary/QLibrary/g' | \
+ sed 's/TQLineEdit/QLineEdit/g' | \
+ sed 's/TQListBox/Q3ListBox/g' | \
+ sed 's/TQListBoxItem/Q3ListBoxItem/g' | \
+ sed 's/TQListBoxText/Q3ListBoxText/g' | \
+ sed 's/TQListBoxPixmap/Q3ListBoxPixmap/g' | \
+ sed 's/TQListViewItem/Q3ListViewItem/g' | \
+ sed 's/TQListView/Q3ListView/g' | \
+ sed 's/TQCheckListItem/Q3CheckListItem/g' | \
+ sed 's/TQListViewItemIterator/Q3ListViewItemIterator/g' | \
+ sed 's/TQLocale/QLocale/g' | \
+ sed 's/TQLocalFs/Q3LocalFs/g' | \
+ sed 's/TQMainWindow/Q3MainWindow/g' | \
+ sed 's/TQMapIterator/QMapIterator/g' | \
+ sed 's/TQMapConstIterator/QMapConstIterator/g' | \
+ sed 's/TQMapPrivateBase/QMapPrivateBase/g' | \
+ sed 's/TQMapPrivate/QMapPrivate/g' | \
+ sed 's/TQMap/QMap/g' | \
+ sed 's/TQMemArray/Q3MemArray/g' | \
+ sed 's/TQMenuBar/QMenuBar/g' | \
+ sed 's/TQMenuItem/QMenuItem/g' | \
+ sed 's/TQCustomMenuItem/QCustomMenuItem/g' | \
+ sed 's/TQMenuData/QMenuData/g' | \
+ sed 's/TQMessageBox/QMessageBox/g' | \
+ sed 's/TQMetaProperty/QMetaProperty/g' | \
+ sed 's/TQMetaObject/QMetaObject/g' | \
+ sed 's/TQMetaObjectCleanUp/QMetaObjectCleanUp/g' | \
+ sed 's/TQMimeSource/QMimeSource/g' | \
+ sed 's/TQMimeSourceFactory/Q3MimeSourceFactory/g' | \
+ sed 's/TQWindowsMime/QWindowsMime/g' | \
+ sed 's/TQMacMime/QMacMime/g' | \
+ sed 's/TQMotifPlusStyle/QMotifPlusStyle/g' | \
+ sed 's/TQMotifStyle/QMotifStyle/g' | \
+ sed 's/TQMovie/QMovie/g' | \
+ sed 's/TQMultiLineEdit/Q3MultiLineEdit/g' | \
+ sed 's/TQMutex/QMutex/g' | \
+ sed 's/TQMutexLocker/QMutexLocker/g' | \
+ sed 's/TQt/Qt/g' | \
+ sed 's/TQInternal/QInternal/g' | \
+ sed 's/TQNetworkProtocolFactoryBase/QNetworkProtocolFactoryBase/g' | \
+ sed 's/TQNetworkProtocolFactory/QNetworkProtocolFactory/g' | \
+ sed 's/TQNetworkProtocol/Q3NetworkProtocol/g' | \
+ sed 's/TQNetworkOperation/Q3NetworkOperation/g' | \
+ sed 's/TQObjectCleanupHandler/QObjectCleanupHandler/g' | \
+ sed 's/TQObjectDictionary/QObjectDictionary/g' | \
+ sed 's/TQObject/QObject/g' | \
+ sed 's/TQObjectUserData/QObjectUserData/g' | \
+ sed 's/TQObject/QObject/g' | \
+ sed 's/TQObjectList/QObjectList/g' | \
+ sed 's/TQObjectListIterator/QObjectListIterator/g' | \
+ sed 's/TQObjectListIt/QObjectListIt/g' | \
+ sed 's/TQPaintDevice/QPaintDevice/g' | \
+ sed 's/TQPaintDeviceMetrics/Q3PaintDeviceMetrics/g' | \
+ sed 's/TQPainter/Q3Painter/g' | \
+ sed 's/TQColorGroup/QColorGroup/g' | \
+ sed 's/TQPalette/QPalette/g' | \
+ sed 's/TQPen/QPen/g' | \
+ sed 's/TQPicture/Q3Picture/g' | \
+ sed 's/TQPixmapCache/QPixmapCache/g' | \
+ sed 's/TQPixmap/QPixmap/g' | \
+ sed 's/TQPlatinumStyle/QPlatinumStyle/g' | \
+ sed 's/TQPNGImageWriter/QPNGImageWriter/g' | \
+ sed 's/TQPNGImagePacker/QPNGImagePacker/g' | \
+ sed 's/TQPointArray/Q3PointArray/g' | \
+ sed 's/TQPoint/QPoint/g' | \
+ sed 's/TQPolygonScanner/QPolygonScanner/g' | \
+ sed 's/TQPopupMenu/Q3PopupMenu/g' | \
+ sed 's/TQPrintDialog/QPrintDialog/g' | \
+ sed 's/TQPrinter/QPrinter/g' | \
+ sed 's/TQProcess/Q3Process/g' | \
+ sed 's/TQProgressBar/QP3rogressBar/g' | \
+ sed 's/TQProgressDialog/Q3ProgressDialog/g' | \
+ sed 's/TQPtrCollection/Q3PtrCollection/g' | \
+ sed 's/TQPtrDict/Q3PtrDict/g' | \
+ sed 's/TQPtrDictIterator/Q3PtrDictIterator/g' | \
+ sed 's/TQPtrListStdIterator/Q3PtrListStdIterator/g' | \
+ sed 's/TQPtrList/Q3PtrList/g' | \
+ sed 's/TQPtrListIterator/Q3PtrListIterator/g' | \
+ sed 's/TQPtrQueue/Q3PtrQueue/g' | \
+ sed 's/TQPtrStack/Q3PtrStack/g' | \
+ sed 's/TQPtrVector/Q3PtrVector/g' | \
+ sed 's/TQPushButton/QPushButton/g' | \
+ sed 's/TQRadioButton/QRadioButton/g' | \
+ sed 's/TQRangeControl/Q3RangeControl/g' | \
+ sed 's/TQSpinWidget/QSpinWidget/g' | \
+ sed 's/TQRect/QRect/g' | \
+ sed 's/TQRegExp/QRegExp/g' | \
+ sed 's/TQRegion/QRegion/g' | \
+ sed 's/TQHebrewCodec/QHebrewCodec/g' | \
+ sed 's/TQScrollBar/QScrollBar/g' | \
+ sed 's/TQScrollView/Q3ScrollView/g' | \
+ sed 's/TQSemaphore/Q3Semaphore/g' | \
+ sed 's/TQSemiModal/QSemiModal/g' | \
+ sed 's/TQServerSocket/Q3ServerSocket/g' | \
+ sed 's/TQSettings/QSettings/g' | \
+ sed 's/TQSGIStyle/QSGIStyle/g' | \
+ sed 's/TQSignal/Q3Signal/g' | \
+ sed 's/TQSignalMapper/QSignalMapper/g' | \
+ sed 's/TQConnectionList/QConnectionList/g' | \
+ sed 's/TQConnectionListIt/QConnectionListIt/g' | \
+ sed 's/TQSignalVec/QSignalVec/g' | \
+ sed 's/TQSimpleRichText/Q3SimpleRichText/g' | \
+ sed 's/TQSizeGrip/QSizeGrip/g' | \
+ sed 's/TQSize/QSize/g' | \
+ sed 's/TQSizePolicy/QSizePolicy/g' | \
+ sed 's/TQSjisCodec/QSjisCodec/g' | \
+ sed 's/TQSlider/QSlider/g' | \
+ sed 's/TQSocketDevice/Q3SocketDevice/g' | \
+ sed 's/TQSocket/Q3Socket/g' | \
+ sed 's/TQSocketNotifier/QSocketNotifier/g' | \
+ sed 's/TQSortedList/QSortedList/g' | \
+ sed 's/TQSound/QSound/g' | \
+ sed 's/TQSpinBox/QSpinBox/g' | \
+ sed 's/TQSplashScreen/QSplashScreen/g' | \
+ sed 's/TQSplitter/QSplitter/g' | \
+ sed 's/TQSqlCursor/Q3SqlCursor/g' | \
+ sed 's/TQSqlDatabase/QSqlDatabase/g' | \
+ sed 's/TQSqlDriver/QSqlDriver/g' | \
+ sed 's/TQSqlDriverPlugin/QSqlDriverPlugin/g' | \
+ sed 's/TQSqlEditorFactory/Q3SqlEditorFactory/g' | \
+ sed 's/TQSqlError/QSqlError/g' | \
+ sed 's/TQSqlFieldPrivate/QSqlFieldPrivate/g' | \
+ sed 's/TQSqlField/QSqlField/g' | \
+ sed 's/TQSqlFieldInfo/Q3SqlFieldInfo/g' | \
+ sed 's/TQSqlForm/Q3SqlForm/g' | \
+ sed 's/TQSql/QSql/g' | \
+ sed 's/TQSqlIndex/QSqlIndex/g' | \
+ sed 's/TQSqlPropertyMap/Q3SqlPropertyMap/g' | \
+ sed 's/TQSqlQuery/QSqlQuery/g' | \
+ sed 's/TQSqlResultShared/QSqlResultShared/g' | \
+ sed 's/TQSqlRecordShared/QSqlRecordShared/g' | \
+ sed 's/TQSqlRecord/QSqlRecord/g' | \
+ sed 's/TQSqlRecordInfo/Q3SqlRecordInfo/g' | \
+ sed 's/TQSqlResult/QSqlResult/g' | \
+ sed 's/TQSqlSelectCursorPrivate/QSqlSelectCursorPrivate/g' | \
+ sed 's/TQSqlSelectCursor/Q3SqlSelectCursor/g' | \
+ sed 's/TQStatusBar/QStatusBar/g' | \
+ sed 's/TQChar/QChar/g' | \
+ sed 's/TQString/QString/g' | \
+ sed 's/TQCharRef/QCharRef/g' | \
+ sed 's/TQConstString/QConstString/g' | \
+# sed 's/TQStringList/QStringList/g' | \
+# sed 's/TQStrListIterator/Q3StrListIterator/g' | \
+# sed 's/TQStrIList/Q3StrIList/g' | \
+# sed 's/TQStrList/Q3StrList/g' | \
+# sed 's/TQStrVec/QStrVec/g' | \
+# sed 's/TQStrIVec/QStrIVec/g' | \
+ sed 's/TQStyleFactory/QStyleFactory/g' | \
+ sed 's/TQStyleOption/QStyleOption/g' | \
+ sed 's/TQStyle/QStyle/g' | \
+ sed 's/TQStyleHintReturn/QStyleHintReturn/g' | \
+ sed 's/TQStylePlugin/QStylePlugin/g' | \
+ sed 's/TQStyleSheetItem/Q3StyleSheetItem/g' | \
+ sed 's/TQStyleSheet/Q3StyleSheet/g' | \
+ sed 's/TQSyntaxHighlighter/Q3SyntaxHighlighter/g' | \
+ sed 's/TQTab/QTab/g' | \
+ sed 's/TQTabBar/QTabBar/g' | \
+ sed 's/TQTabDialog/Q3TabDialog/g' | \
+ sed 's/TQTableSelection/Q3TableSelection/g' | \
+ sed 's/TQTableItem/Q3TableItem/g' | \
+ sed 's/TQComboTableItem/QComboTableItem/g' | \
+ sed 's/TQCheckTableItem/Q3CheckTableItem/g' | \
+ sed 's/TQTable/Q3Table/g' | \
+ sed 's/TQTabWidget/QTabWidget/g' | \
+ sed 's/TQTextBrowser/Q3TextBrowser/g' | \
+ sed 's/TQTextCodecFactory/QTextCodecFactory/g' | \
+ sed 's/TQTextEncoder/QTextEncoder/g' | \
+ sed 's/TQTextDecoder/QTextDecoder/g' | \
+ sed 's/TQTextCodec/QTextCodec/g' | \
+ sed 's/TQTextCodecPlugin/QTextCodecPlugin/g' | \
+ sed 's/TQTextEdit/Q3TextEdit/g' | \
+ sed 's/TQTextStream/Q3TextStream/g' | \
+ sed 's/TQTextIStream/QTextIStream/g' | \
+ sed 's/TQTextOStream/QTextOStream/g' | \
+ sed 's/TQTSManip/QTSManip/g' | \
+ sed 's/TQTextView/Q3TextView/g' | \
+ sed 's/TQThread/QThread/g' | \
+ sed 's/TQThreadStorageData/QThreadStorageData/g' | \
+ sed 's/TQThreadStorage/QThreadStorage/g' | \
+ sed 's/TQTimer/QTimer/g' | \
+ sed 's/TQTextOStreamIterator/QTextOStreamIterator/g' | \
+ sed 's/TQBackInsertIterator/QBackInsertIterator/g' | \
+ sed 's/TQtMsgType/QtMsgType/g' | \
+ sed 's/TQtMsgHandler/QtMsgHandler/g' | \
+ sed 's/TQToolBar/Q3ToolBar/g' | \
+ sed 's/TQToolBox/QToolBox/g' | \
+ sed 's/TQToolButton/QToolButton/g' | \
+ sed 's/TQToolTipGroup/QToolTipGroup/g' | \
+ sed 's/TQToolTip/QToolTip/g' | \
+ sed 's/TQTsciiCodec/QTsciiCodec/g' | \
+ sed 's/TQUrl/Q3Url/g' | \
+ sed 's/TQUrlInfo/QUrlInfo/g' | \
+ sed 's/TQUrlOperator/Q3UrlOperator/g' | \
+ sed 's/TQUtf8Codec/QUtf8Codec/g' | \
+ sed 's/TQUtf16Codec/QUtf16Codec/g' | \
+ sed 's/TQValidator/QValidator/g' | \
+ sed 's/TQIntValidator/QIntValidator/g' | \
+ sed 's/TQDoubleValidator/QDoubleValidator/g' | \
+ sed 's/TQRegExpValidator/QRegExpValidator/g' | \
+ sed 's/TQValueListNode/QValueListNode/g' | \
+ sed 's/TQValueListIterator/Q3ValueListIterator/g' | \
+ sed 's/TQValueListConstIterator/Q3ValueListConstIterator/g' | \
+ sed 's/TQValueListPrivate/QValueListPrivate/g' | \
+ sed 's/TQValueList/Q3ValueList/g' | \
+ sed 's/TQValueStack/Q3ValueStack/g' | \
+ sed 's/TQValueVectorPrivate/QValueVectorPrivate/g' | \
+ sed 's/TQValueVector/Q3ValueVector/g' | \
+ sed 's/TQVariant/QVariant/g' | \
+ sed 's/TQVBox/Q3VBox/g' | \
+ sed 's/TQVButtonGroup/Q3VButtonGroup/g' | \
+ sed 's/TQVGroupBox/Q3VGroupBox/g' | \
+ sed 's/TQWaitCondition/QWaitCondition/g' | \
+ sed 's/TQWhatsThis/Q3WhatsThis/g' | \
+ sed 's/TQWidgetFactory/QWidgetFactory/g' | \
+ sed 's/TQWidget/QWidget/g' | \
+ sed 's/TQWidgetIntDict/QWidgetIntDict/g' | \
+ sed 's/TQWidgetIntDictIt/QWidgetIntDictIt/g' | \
+ sed 's/TQWidgetList/QWidgetList/g' | \
+ sed 's/TQWidgetListIt/QWidgetListIt/g' | \
+ sed 's/TQWidgetPlugin/QWidgetPlugin/g' | \
+ sed 's/TQWidgetContainerPlugin/QWidgetContainerPlugin/g' | \
+ sed 's/TQWidgetStack/Q3WidgetStack/g' | \
+ sed 's/TQWidgetStackAccelManager/Q3WidgetStackAccelManager/g' | \
+ sed 's/TQWindowsStyle/QWindowsStyle/g' | \
+ sed 's/TQWizard/Q3Wizard/g' | \
+ sed 's/TQWMatrix/QWMatrix/g' | \
+ sed 's/TQWorkspace/QWorkspace/g' | \
+ sed 's/TQXmlNamespaceSupport/QXmlNamespaceSupport/g' | \
+ sed 's/TQXmlAttributes/QXmlAttributes/g' | \
+ sed 's/TQXmlInputSource/QXmlInputSource/g' | \
+ sed 's/TQXmlParseException/QXmlParseException/g' | \
+ sed 's/TQXmlReader/QXmlReader/g' | \
+ sed 's/TQXmlSimpleReader/QXmlSimpleReader/g' | \
+ sed 's/TQXmlLocator/QXmlLocator/g' | \
+ sed 's/TQXmlContentHandler/QXmlContentHandler/g' | \
+ sed 's/TQXmlErrorHandler/QXmlErrorHandler/g' | \
+ sed 's/TQXmlDTDHandler/QXmlDTDHandler/g' | \
+ sed 's/TQXmlEntityResolver/QXmlEntityResolver/g' | \
+ sed 's/TQXmlLexicalHandler/QXmlLexicalHandler/g' | \
+ sed 's/TQXmlDeclHandler/QXmlDeclHandler/g' | \
+ sed 's/TQXmlDefaultHandler/QXmlDefaultHandler/g'
+ fi
+fi
diff --git a/qtinterface/tqt-replace.cmake b/qtinterface/tqt-replace.cmake
new file mode 100755
index 0000000..95da614
--- /dev/null
+++ b/qtinterface/tqt-replace.cmake
@@ -0,0 +1,502 @@
+#!/bin/bash
+QT_VER=@QT_VER@
+
+if [[ $1 == "" ]]; then
+ echo "Usage: tqt-replace <input_file>"
+else
+ if [[ $QT_VER == 3 ]]; then
+ sed -i 's/TQ\([^T]\)/Q\1/g' "$1"
+ sed -i 's/TQT\([^_]\)/QT\1/g' "$1"
+ exit 0
+ fi
+
+ if [[ $QT_VER == 4 ]]; then
+ sed -i 's/TQAccel/Q3Accel/g' "$1"
+ sed -i 's/TQAccessible/QAccessible/g' "$1"
+ sed -i 's/TQAccessibleObject/QAccessibleObject/g' "$1"
+ sed -i 's/TQAction/Q3Action/g' "$1"
+ sed -i 's/TQActionGroup/Q3ActionGroup/g' "$1"
+ sed -i 's/TQApplication/QApplication/g' "$1"
+ sed -i 's/TQAsciiCache/Q3AsciiCache/g' "$1"
+ sed -i 's/TQAsciiCacheIterator/Q3AsciiCacheIterator/g' "$1"
+ sed -i 's/TQAsciiDict/Q3AsciiDict/g' "$1"
+ sed -i 's/TQAsciiDictIterator/Q3AsciiDictIterator/g' "$1"
+ sed -i 's/TQImageConsumer/QImageConsumer/g' "$1"
+ sed -i 's/TQImageFormat/QImageFormat/g' "$1"
+ sed -i 's/TQImageFormatType/QImageFormatType/g' "$1"
+ sed -i 's/TQImageDecoder/QImageDecoder/g' "$1"
+ sed -i 's/TQAsyncIO/QAsyncIO/g' "$1"
+ sed -i 's/TQByteArray/QByteArray/g' "$1"
+ sed -i 's/TQDataSink/QDataSink/g' "$1"
+ sed -i 's/TQDataSource/QDataSource/g' "$1"
+ sed -i 's/TQIODeviceSource/QIODeviceSource/g' "$1"
+ sed -i 's/TQDataPump/QDataPump/g' "$1"
+ sed -i 's/TQBig5Codec/QBig5Codec/g' "$1"
+ sed -i 's/TQBig5hkscsCodec/QBig5hkscsCodec/g' "$1"
+ sed -i 's/TQBitVal/QBitVal/g' "$1"
+ sed -i 's/TQBitArray/QBitArray/g' "$1"
+ sed -i 's/TQBitmap/QBitmap/g' "$1"
+ sed -i 's/TQBrush/QBrush/g' "$1"
+ sed -i 's/TQBuffer/QBuffer/g' "$1"
+ sed -i 's/TQButtonGroup/Q3ButtonGroup/g' "$1"
+ sed -i 's/TQButton/Q3Button/g' "$1"
+ sed -i 's/TQCache/Q3Cache/g' "$1"
+ sed -i 's/TQCacheIterator/Q3CacheIterator/g' "$1"
+ sed -i 's/TQCanvasChunk/Q3CanvasChunk/g' "$1"
+ sed -i 's/TQCanvasItemList/Q3CanvasItemList/g' "$1"
+ sed -i 's/TQCanvasItemExtra/Q3CanvasItemExtra/g' "$1"
+ sed -i 's/TQCanvasItem/Q3CanvasItem/g' "$1"
+ sed -i 's/TQCanvasData/Q3CanvasData/g' "$1"
+ sed -i 's/TQCanvas/Q3Canvas/g' "$1"
+ sed -i 's/TQCanvasViewData/Q3CanvasViewData/g' "$1"
+ sed -i 's/TQCanvasView/Q3CanvasView/g' "$1"
+ sed -i 's/TQCanvasPixmap/Q3CanvasPixmap/g' "$1"
+ sed -i 's/TQCanvasPixmapArray/Q3CanvasPixmapArray/g' "$1"
+ sed -i 's/TQCanvasSprite/Q3CanvasSprite/g' "$1"
+ sed -i 's/TQPolygonalProcessor/QPolygonalProcessor/g' "$1"
+ sed -i 's/TQCanvasPolygonalItem/Q3CanvasPolygonalItem/g' "$1"
+ sed -i 's/TQCanvasRectangle/Q3CanvasRectangle/g' "$1"
+ sed -i 's/TQCanvasPolygon/Q3CanvasPolygon/g' "$1"
+ sed -i 's/TQCanvasSpline/Q3CanvasSpline/g' "$1"
+ sed -i 's/TQCanvasLine/Q3CanvasLine/g' "$1"
+ sed -i 's/TQCanvasEllipse/Q3CanvasEllipse/g' "$1"
+ sed -i 's/TQCanvasTextExtra/Q3CanvasTextExtra/g' "$1"
+ sed -i 's/TQCanvasText/Q3CanvasText/g' "$1"
+ sed -i 's/TQCDEStyle/QCDEStyle/g' "$1"
+ sed -i 's/TQCheckBox/QCheckBox/g' "$1"
+ sed -i 's/TQCleanupHandler/QCleanupHandler/g' "$1"
+ sed -i 's/TQSingleCleanupHandler/QSingleCleanupHandler/g' "$1"
+ sed -i 's/TQSharedCleanupHandler/QSharedCleanupHandler/g' "$1"
+ sed -i 's/TQShared/Q3Shared/g' "$1"
+ sed -i 's/TQColor/QColor/g' "$1"
+ sed -i 's/TQColorDialog/QColorDialog/g' "$1"
+# sed -i 's/TQStrList/QStrList/g' "$1"
+# sed -i 's/TQStringList/QStringList/g' "$1"
+ sed -i 's/TQStringPairList/Q3StringPairList/g' "$1"
+ sed -i 's/TQLineEdit/QLineEdit/g' "$1"
+ sed -i 's/TQValidator/QValidator/g' "$1"
+ sed -i 's/TQListBox/QListBox/g' "$1"
+ sed -i 's/TQComboBoxData/Q3ComboBoxData/g' "$1"
+ sed -i 's/TQComboTableItem/Q3ComboTableItem/g' "$1"
+ sed -i 's/TQWheelEvent/QWheelEvent/g' "$1"
+ sed -i 's/TQComboBox/Q3ComboBox/g' "$1"
+ sed -i 's/TQCommonStyle/QCommonStyle/g' "$1"
+ sed -i 's/TQCompactStyle/QCompactStyle/g' "$1"
+ sed -i 's/TQConnection/QConnection/g' "$1"
+ sed -i 's/TQCString/Q3CString/g' "$1"
+ sed -i 's/TQCursor/QCursor/g' "$1"
+ sed -i 's/TQSqlForm/QSqlForm/g' "$1"
+ sed -i 's/TQDataBrowserPrivate/Q3DataBrowserPrivate/g' "$1"
+ sed -i 's/TQDataBrowser/Q3DataBrowser/g' "$1"
+ sed -i 's/TQDataStream/QDataStream/g' "$1"
+ sed -i 's/TQPainter/QPainter/g' "$1"
+ sed -i 's/TQSqlField/QSqlField/g' "$1"
+ sed -i 's/TQSqlPropertyMap/QSqlPropertyMap/g' "$1"
+ sed -i 's/TQDataTablePrivate/QDataTablePrivate/g' "$1"
+ sed -i 's/TQDataTable/Q3DataTable/g' "$1"
+ sed -i 's/TQDataView/Q3DataView/g' "$1"
+ sed -i 's/TQDateEdit/Q3DateEdit/g' "$1"
+ sed -i 's/TQTimeEdit/Q3TimeEdit/g' "$1"
+ sed -i 's/TQDateTimeEdit/Q3DateTimeEdit/g' "$1"
+ sed -i 's/TQDateTimeEditBase/Q3DateTimeEditBase/g' "$1"
+ sed -i 's/TQDate/QDate/g' "$1"
+ sed -i 's/TQTime/QTime/g' "$1"
+ sed -i 's/TQDateTime/Q3DateTime/g' "$1"
+ sed -i 's/TQDeepCopy/Q3DeepCopy/g' "$1"
+ sed -i 's/TQDesktopWidget/QDesktopWidget/g' "$1"
+ sed -i 's/TQDial/QDial/g' "$1"
+ sed -i 's/TQDialog/QDialog/g' "$1"
+ sed -i 's/TQDict/Q3Dict/g' "$1"
+ sed -i 's/TQDictIterator/Q3DictIterator/g' "$1"
+ sed -i 's/TQDir/QDir/g' "$1"
+ sed -i 's/TQDirLineEdit/QDirLineEdit/g' "$1"
+ sed -i 's/TQDirMultiLineEdit/QDirMultiLineEdit/g' "$1"
+ sed -i 's/TQDns/Q3Dns/g' "$1"
+ sed -i 's/TQDnsSocket/QDnsSocket/g' "$1"
+ sed -i 's/TQDockArea/Q3DockArea/g' "$1"
+ sed -i 's/TQDockAreaLayout/QDockAreaLayout/g' "$1"
+ sed -i 's/TQDockWindow/Q3DockWindow/g' "$1"
+ sed -i 's/TQDomImplementation/QDomImplementation/g' "$1"
+ sed -i 's/TQDomNodeList/QDomNodeList/g' "$1"
+ sed -i 's/TQDomDocumentType/QDomDocumentType/g' "$1"
+ sed -i 's/TQDomDocument/QDomDocument/g' "$1"
+ sed -i 's/TQDomNamedNodeMap/QDomNamedNodeMap/g' "$1"
+ sed -i 's/TQDomDocumentFragment/QDomDocumentFragment/g' "$1"
+ sed -i 's/TQDomCharacterData/QDomCharacterData/g' "$1"
+ sed -i 's/TQDomAttr/QDomAttr/g' "$1"
+ sed -i 's/TQDomElement/QDomElement/g' "$1"
+ sed -i 's/TQDomText/QDomText/g' "$1"
+ sed -i 's/TQDomComment/QDomComment/g' "$1"
+ sed -i 's/TQDomCDATASection/QDomCDATASection/g' "$1"
+ sed -i 's/TQDomNotation/QDomNotation/g' "$1"
+ sed -i 's/TQDomEntity/QDomEntity/g' "$1"
+ sed -i 's/TQDomEntityReference/QDomEntityReference/g' "$1"
+ sed -i 's/TQDomProcessingInstruction/QDomProcessingInstruction/g' "$1"
+ sed -i 's/TQDomNode/QDomNode/g' "$1"
+ sed -i 's/TQDragObject/Q3DragObject/g' "$1"
+ sed -i 's/TQStoredDrag/Q3StoredDrag/g' "$1"
+ sed -i 's/TQTextDrag/Q3TextDrag/g' "$1"
+ sed -i 's/TQImageDrag/Q3ImageDrag/g' "$1"
+ sed -i 's/TQUriDrag/Q3UriDrag/g' "$1"
+ sed -i 's/TQColorDrag/Q3ColorDrag/g' "$1"
+ sed -i 's/TQDropSite/Q3DropSite/g' "$1"
+ sed -i 's/TQEditorFactory/Q3EditorFactory/g' "$1"
+ sed -i 's/TQErrorMessage/QErrorMessage/g' "$1"
+ sed -i 's/TQEucJpCodec/QEucJpCodec/g' "$1"
+ sed -i 's/TQEucKrCodec/QEucKrCodec/g' "$1"
+ sed -i 's/TQEvent/QEvent/g' "$1"
+ sed -i 's/TQTimerEvent/QTimerEvent/g' "$1"
+ sed -i 's/TQMouseEvent/QMouseEvent/g' "$1"
+ sed -i 's/TQWheelEvent/QWheelEvent/g' "$1"
+ sed -i 's/TQTabletEvent/QTabletEvent/g' "$1"
+ sed -i 's/TQKeyEvent/QKeyEvent/g' "$1"
+ sed -i 's/TQFocusEvent/QFocusEvent/g' "$1"
+ sed -i 's/TQPaintEvent/QPaintEvent/g' "$1"
+ sed -i 's/TQMoveEvent/QMoveEvent/g' "$1"
+ sed -i 's/TQResizeEvent/QResizeEvent/g' "$1"
+ sed -i 's/TQCloseEvent/QCloseEvent/g' "$1"
+ sed -i 's/TQIconDragEvent/QIconDragEvent/g' "$1"
+ sed -i 's/TQShowEvent/QShowEvent/g' "$1"
+ sed -i 's/TQHideEvent/QHideEvent/g' "$1"
+ sed -i 's/TQContextMenuEvent/QContextMenuEvent/g' "$1"
+ sed -i 's/TQIMEvent/QIMEvent/g' "$1"
+ sed -i 's/TQIMComposeEvent/QIMComposeEvent/g' "$1"
+ sed -i 's/TQDropEvent/QDropEvent/g' "$1"
+ sed -i 's/TQDragMoveEvent/QDragMoveEvent/g' "$1"
+ sed -i 's/TQDragEnterEvent/QDragEnterEvent/g' "$1"
+ sed -i 's/TQDragResponseEvent/QDragResponseEvent/g' "$1"
+ sed -i 's/TQDragLeaveEvent/QDragLeaveEvent/g' "$1"
+ sed -i 's/TQChildEvent/QChildEvent/g' "$1"
+ sed -i 's/TQCustomEvent/QCustomEvent/g' "$1"
+ sed -i 's/TQEventLoop/QEventLoop/g' "$1"
+ sed -i 's/TQFileIconProvider/Q3FileIconProvider/g' "$1"
+ sed -i 's/TQFilePreview/Q3FilePreview/g' "$1"
+ sed -i 's/TQFileDialog/Q3FileDialog/g' "$1"
+ sed -i 's/TQFile/QFile/g' "$1"
+ sed -i 's/TQFileInfo/QFileInfo/g' "$1"
+ sed -i 's/TQFileInfoList/QFileInfoList/g' "$1"
+ sed -i 's/TQFileInfoListIterator/QFileInfoListIterator/g' "$1"
+ sed -i 's/TQFocusData/QFocusData/g' "$1"
+ sed -i 's/TQFontDatabase/QFontDatabase/g' "$1"
+ sed -i 's/TQFont/QFont/g' "$1"
+ sed -i 's/TQFontInfo/QFontInfo/g' "$1"
+ sed -i 's/TQFontMetrics/QFontMetrics/g' "$1"
+ sed -i 's/TQFrame/Q3Frame/g' "$1"
+ sed -i 's/TQFtp/Q3Ftp/g' "$1"
+ sed -i 's/TQGArray/QGArray/g' "$1"
+ sed -i 's/TQGb18030Codec/QGb18030Codec/g' "$1"
+ sed -i 's/TQGbkCodec/QGbkCodec/g' "$1"
+ sed -i 's/TQGb2312Codec/QGb2312Codec/g' "$1"
+ sed -i 's/TQGCache/QGCache/g' "$1"
+ sed -i 's/TQGCacheIterator/QGCacheIterator/g' "$1"
+ sed -i 's/TQBaseBucket/QBaseBucket/g' "$1"
+ sed -i 's/TQStringBucket/QStringBucket/g' "$1"
+ sed -i 's/TQAsciiBucket/QAsciiBucket/g' "$1"
+ sed -i 's/TQIntBucket/QIntBucket/g' "$1"
+ sed -i 's/TQPtrBucket/QPtrBucket/g' "$1"
+ sed -i 's/TQGDict/QGDict/g' "$1"
+ sed -i 's/TQGDictIterator/QGDictIterator/g' "$1"
+ sed -i 's/TQGLColormap/QGLColormap/g' "$1"
+ sed -i 's/TQGL/QGL/g' "$1"
+ sed -i 's/TQGLFormat/QGLFormat/g' "$1"
+ sed -i 's/TQGLContext/QGLContext/g' "$1"
+ sed -i 's/TQGLWidget/QGLWidget/g' "$1"
+ sed -i 's/TQLNode/QLNode/g' "$1"
+ sed -i 's/TQGList/QGList/g' "$1"
+ sed -i 's/TQGListIterator/QGListIterator/g' "$1"
+ sed -i 's/TQGListStdIterator/QGListStdIterator/g' "$1"
+ sed -i 's/TQGPlugin/QGPlugin/g' "$1"
+ sed -i 's/TQGrid/Q3Grid/g' "$1"
+ sed -i 's/TQGridView/Q3GridView/g' "$1"
+ sed -i 's/TQGroupBox/Q3GroupBox/g' "$1"
+ sed -i 's/TQGuardedPtr/QGuardedPtr/g' "$1"
+ sed -i 's/TQGuardedPtrPrivate/QGuardedPtrPrivate/g' "$1"
+ sed -i 's/TQGVector/QGVector/g' "$1"
+ sed -i 's/TQHBox/Q3HBox/g' "$1"
+ sed -i 's/TQHButtonGroup/Q3HButtonGroup/g' "$1"
+ sed -i 's/TQHeader/Q3Header/g' "$1"
+ sed -i 's/TQHGroupBox/Q3HGroupBox/g' "$1"
+ sed -i 's/TQHostAddress/QHostAddress/g' "$1"
+ sed -i 's/TQHttpHeader/Q3HttpHeader/g' "$1"
+ sed -i 's/TQHttpResponseHeader/Q3HttpResponseHeader/g' "$1"
+ sed -i 's/TQHttpRequestHeader/Q3HttpRequestHeader/g' "$1"
+ sed -i 's/TQHttp/Q3Http/g' "$1"
+ sed -i 's/TQIconSet/QIconSet/g' "$1"
+ sed -i 's/TQIconFactory/QIconFactory/g' "$1"
+ sed -i 's/TQIconDragItem/Q3IconDragItem/g' "$1"
+ sed -i 's/TQIconDrag/Q3IconDrag/g' "$1"
+ sed -i 's/TQIconViewItem/Q3IconViewItem/g' "$1"
+ sed -i 's/TQIconView/Q3IconView/g' "$1"
+ sed -i 's/TQImageFormatPlugin/QImageFormatPlugin/g' "$1"
+ sed -i 's/TQImageTextKeyLang/QImageTextKeyLang/g' "$1"
+ sed -i 's/TQImage/QImage/g' "$1"
+ sed -i 's/TQImageIO/QImageIO/g' "$1"
+ sed -i 's/TQInputContextFactory/QInputContextFactory/g' "$1"
+ sed -i 's/TQInputContext/QInputContext/g' "$1"
+ sed -i 's/TQIntCache/Q3IntCache/g' "$1"
+ sed -i 's/TQIntCacheIterator/Q3IntCacheIterator/g' "$1"
+ sed -i 's/TQIntDict/Q3IntDict/g' "$1"
+ sed -i 's/TQIntDictIterator/Q3IntDictIterator/g' "$1"
+ sed -i 's/TQIODevice/QIODevice/g' "$1"
+ sed -i 's/TQJisCodec/QJisCodec/g' "$1"
+ sed -i 's/TQJpUnicodeConv/QJpUnicodeConv/g' "$1"
+ sed -i 's/TQKeySequence/QKeySequence/g' "$1"
+ sed -i 's/TQLabel/QLabel/g' "$1"
+ sed -i 's/TQGLayoutIterator/QGLayoutIterator/g' "$1"
+ sed -i 's/TQLayoutIterator/QLayoutIterator/g' "$1"
+ sed -i 's/TQLayoutItem/QLayoutItem/g' "$1"
+ sed -i 's/TQSpacerItem/QSpacerItem/g' "$1"
+ sed -i 's/TQWidgetItem/QWidgetItem/g' "$1"
+ sed -i 's/TQLayout/QLayout/g' "$1"
+ sed -i 's/TQGridLayout/QGridLayout/g' "$1"
+ sed -i 's/TQBoxLayout/QBoxLayout/g' "$1"
+ sed -i 's/TQHBoxLayout/QHBoxLayout/g' "$1"
+ sed -i 's/TQVBoxLayout/QVBoxLayout/g' "$1"
+ sed -i 's/TQLCDNumber/QLCDNumber/g' "$1"
+ sed -i 's/TQLibrary/QLibrary/g' "$1"
+ sed -i 's/TQLineEdit/QLineEdit/g' "$1"
+ sed -i 's/TQListBox/Q3ListBox/g' "$1"
+ sed -i 's/TQListBoxItem/Q3ListBoxItem/g' "$1"
+ sed -i 's/TQListBoxText/Q3ListBoxText/g' "$1"
+ sed -i 's/TQListBoxPixmap/Q3ListBoxPixmap/g' "$1"
+ sed -i 's/TQListViewItem/Q3ListViewItem/g' "$1"
+ sed -i 's/TQListView/Q3ListView/g' "$1"
+ sed -i 's/TQCheckListItem/Q3CheckListItem/g' "$1"
+ sed -i 's/TQListViewItemIterator/Q3ListViewItemIterator/g' "$1"
+ sed -i 's/TQLocale/QLocale/g' "$1"
+ sed -i 's/TQLocalFs/Q3LocalFs/g' "$1"
+ sed -i 's/TQMainWindow/Q3MainWindow/g' "$1"
+ sed -i 's/TQMapIterator/QMapIterator/g' "$1"
+ sed -i 's/TQMapConstIterator/QMapConstIterator/g' "$1"
+ sed -i 's/TQMapPrivateBase/QMapPrivateBase/g' "$1"
+ sed -i 's/TQMapPrivate/QMapPrivate/g' "$1"
+ sed -i 's/TQMap/QMap/g' "$1"
+ sed -i 's/TQMemArray/Q3MemArray/g' "$1"
+ sed -i 's/TQMenuBar/QMenuBar/g' "$1"
+ sed -i 's/TQMenuItem/QMenuItem/g' "$1"
+ sed -i 's/TQCustomMenuItem/QCustomMenuItem/g' "$1"
+ sed -i 's/TQMenuData/QMenuData/g' "$1"
+ sed -i 's/TQMessageBox/QMessageBox/g' "$1"
+ sed -i 's/TQMetaProperty/QMetaProperty/g' "$1"
+ sed -i 's/TQMetaObject/QMetaObject/g' "$1"
+ sed -i 's/TQMetaObjectCleanUp/QMetaObjectCleanUp/g' "$1"
+ sed -i 's/TQMimeSource/QMimeSource/g' "$1"
+ sed -i 's/TQMimeSourceFactory/Q3MimeSourceFactory/g' "$1"
+ sed -i 's/TQWindowsMime/QWindowsMime/g' "$1"
+ sed -i 's/TQMacMime/QMacMime/g' "$1"
+ sed -i 's/TQMotifPlusStyle/QMotifPlusStyle/g' "$1"
+ sed -i 's/TQMotifStyle/QMotifStyle/g' "$1"
+ sed -i 's/TQMovie/QMovie/g' "$1"
+ sed -i 's/TQMultiLineEdit/Q3MultiLineEdit/g' "$1"
+ sed -i 's/TQMutex/QMutex/g' "$1"
+ sed -i 's/TQMutexLocker/QMutexLocker/g' "$1"
+ sed -i 's/TQt/Qt/g' "$1"
+ sed -i 's/TQInternal/QInternal/g' "$1"
+ sed -i 's/TQNetworkProtocolFactoryBase/QNetworkProtocolFactoryBase/g' "$1"
+ sed -i 's/TQNetworkProtocolFactory/QNetworkProtocolFactory/g' "$1"
+ sed -i 's/TQNetworkProtocol/Q3NetworkProtocol/g' "$1"
+ sed -i 's/TQNetworkOperation/Q3NetworkOperation/g' "$1"
+ sed -i 's/TQObjectCleanupHandler/QObjectCleanupHandler/g' "$1"
+ sed -i 's/TQObjectDictionary/QObjectDictionary/g' "$1"
+ sed -i 's/TQObject/QObject/g' "$1"
+ sed -i 's/TQObjectUserData/QObjectUserData/g' "$1"
+ sed -i 's/TQObject/QObject/g' "$1"
+ sed -i 's/TQObjectList/QObjectList/g' "$1"
+ sed -i 's/TQObjectListIterator/QObjectListIterator/g' "$1"
+ sed -i 's/TQObjectListIt/QObjectListIt/g' "$1"
+ sed -i 's/TQPaintDevice/QPaintDevice/g' "$1"
+ sed -i 's/TQPaintDeviceMetrics/Q3PaintDeviceMetrics/g' "$1"
+ sed -i 's/TQPainter/Q3Painter/g' "$1"
+ sed -i 's/TQColorGroup/QColorGroup/g' "$1"
+ sed -i 's/TQPalette/QPalette/g' "$1"
+ sed -i 's/TQPen/QPen/g' "$1"
+ sed -i 's/TQPicture/Q3Picture/g' "$1"
+ sed -i 's/TQPixmapCache/QPixmapCache/g' "$1"
+ sed -i 's/TQPixmap/QPixmap/g' "$1"
+ sed -i 's/TQPlatinumStyle/QPlatinumStyle/g' "$1"
+ sed -i 's/TQPNGImageWriter/QPNGImageWriter/g' "$1"
+ sed -i 's/TQPNGImagePacker/QPNGImagePacker/g' "$1"
+ sed -i 's/TQPointArray/Q3PointArray/g' "$1"
+ sed -i 's/TQPoint/QPoint/g' "$1"
+ sed -i 's/TQPolygonScanner/QPolygonScanner/g' "$1"
+ sed -i 's/TQPopupMenu/Q3PopupMenu/g' "$1"
+ sed -i 's/TQPrintDialog/QPrintDialog/g' "$1"
+ sed -i 's/TQPrinter/QPrinter/g' "$1"
+ sed -i 's/TQProcess/Q3Process/g' "$1"
+ sed -i 's/TQProgressBar/QP3rogressBar/g' "$1"
+ sed -i 's/TQProgressDialog/Q3ProgressDialog/g' "$1"
+ sed -i 's/TQPtrCollection/Q3PtrCollection/g' "$1"
+ sed -i 's/TQPtrDict/Q3PtrDict/g' "$1"
+ sed -i 's/TQPtrDictIterator/Q3PtrDictIterator/g' "$1"
+ sed -i 's/TQPtrListStdIterator/Q3PtrListStdIterator/g' "$1"
+ sed -i 's/TQPtrList/Q3PtrList/g' "$1"
+ sed -i 's/TQPtrListIterator/Q3PtrListIterator/g' "$1"
+ sed -i 's/TQPtrQueue/Q3PtrQueue/g' "$1"
+ sed -i 's/TQPtrStack/Q3PtrStack/g' "$1"
+ sed -i 's/TQPtrVector/Q3PtrVector/g' "$1"
+ sed -i 's/TQPushButton/QPushButton/g' "$1"
+ sed -i 's/TQRadioButton/QRadioButton/g' "$1"
+ sed -i 's/TQRangeControl/Q3RangeControl/g' "$1"
+ sed -i 's/TQSpinWidget/QSpinWidget/g' "$1"
+ sed -i 's/TQRect/QRect/g' "$1"
+ sed -i 's/TQRegExp/QRegExp/g' "$1"
+ sed -i 's/TQRegion/QRegion/g' "$1"
+ sed -i 's/TQHebrewCodec/QHebrewCodec/g' "$1"
+ sed -i 's/TQScrollBar/QScrollBar/g' "$1"
+ sed -i 's/TQScrollView/Q3ScrollView/g' "$1"
+ sed -i 's/TQSemaphore/Q3Semaphore/g' "$1"
+ sed -i 's/TQSemiModal/QSemiModal/g' "$1"
+ sed -i 's/TQServerSocket/Q3ServerSocket/g' "$1"
+ sed -i 's/TQSettings/QSettings/g' "$1"
+ sed -i 's/TQSGIStyle/QSGIStyle/g' "$1"
+ sed -i 's/TQSignal/Q3Signal/g' "$1"
+ sed -i 's/TQSignalMapper/QSignalMapper/g' "$1"
+ sed -i 's/TQConnectionList/QConnectionList/g' "$1"
+ sed -i 's/TQConnectionListIt/QConnectionListIt/g' "$1"
+ sed -i 's/TQSignalVec/QSignalVec/g' "$1"
+ sed -i 's/TQSimpleRichText/Q3SimpleRichText/g' "$1"
+ sed -i 's/TQSizeGrip/QSizeGrip/g' "$1"
+ sed -i 's/TQSize/QSize/g' "$1"
+ sed -i 's/TQSizePolicy/QSizePolicy/g' "$1"
+ sed -i 's/TQSjisCodec/QSjisCodec/g' "$1"
+ sed -i 's/TQSlider/QSlider/g' "$1"
+ sed -i 's/TQSocketDevice/Q3SocketDevice/g' "$1"
+ sed -i 's/TQSocket/Q3Socket/g' "$1"
+ sed -i 's/TQSocketNotifier/QSocketNotifier/g' "$1"
+ sed -i 's/TQSortedList/QSortedList/g' "$1"
+ sed -i 's/TQSound/QSound/g' "$1"
+ sed -i 's/TQSpinBox/QSpinBox/g' "$1"
+ sed -i 's/TQSplashScreen/QSplashScreen/g' "$1"
+ sed -i 's/TQSplitter/QSplitter/g' "$1"
+ sed -i 's/TQSqlCursor/Q3SqlCursor/g' "$1"
+ sed -i 's/TQSqlDatabase/QSqlDatabase/g' "$1"
+ sed -i 's/TQSqlDriver/QSqlDriver/g' "$1"
+ sed -i 's/TQSqlDriverPlugin/QSqlDriverPlugin/g' "$1"
+ sed -i 's/TQSqlEditorFactory/Q3SqlEditorFactory/g' "$1"
+ sed -i 's/TQSqlError/QSqlError/g' "$1"
+ sed -i 's/TQSqlFieldPrivate/QSqlFieldPrivate/g' "$1"
+ sed -i 's/TQSqlField/QSqlField/g' "$1"
+ sed -i 's/TQSqlFieldInfo/Q3SqlFieldInfo/g' "$1"
+ sed -i 's/TQSqlForm/Q3SqlForm/g' "$1"
+ sed -i 's/TQSql/QSql/g' "$1"
+ sed -i 's/TQSqlIndex/QSqlIndex/g' "$1"
+ sed -i 's/TQSqlPropertyMap/Q3SqlPropertyMap/g' "$1"
+ sed -i 's/TQSqlQuery/QSqlQuery/g' "$1"
+ sed -i 's/TQSqlResultShared/QSqlResultShared/g' "$1"
+ sed -i 's/TQSqlRecordShared/QSqlRecordShared/g' "$1"
+ sed -i 's/TQSqlRecord/QSqlRecord/g' "$1"
+ sed -i 's/TQSqlRecordInfo/Q3SqlRecordInfo/g' "$1"
+ sed -i 's/TQSqlResult/QSqlResult/g' "$1"
+ sed -i 's/TQSqlSelectCursorPrivate/QSqlSelectCursorPrivate/g' "$1"
+ sed -i 's/TQSqlSelectCursor/Q3SqlSelectCursor/g' "$1"
+ sed -i 's/TQStatusBar/QStatusBar/g' "$1"
+ sed -i 's/TQChar/QChar/g' "$1"
+ sed -i 's/TQString/QString/g' "$1"
+ sed -i 's/TQCharRef/QCharRef/g' "$1"
+ sed -i 's/TQConstString/QConstString/g' "$1"
+# sed -i 's/TQStringList/QStringList/g' "$1"
+# sed -i 's/TQStrListIterator/Q3StrListIterator/g' "$1"
+# sed -i 's/TQStrIList/Q3StrIList/g' "$1"
+# sed -i 's/TQStrList/Q3StrList/g' "$1"
+# sed -i 's/TQStrVec/QStrVec/g' "$1"
+# sed -i 's/TQStrIVec/QStrIVec/g' "$1"
+ sed -i 's/TQStyleFactory/QStyleFactory/g' "$1"
+ sed -i 's/TQStyleOption/QStyleOption/g' "$1"
+ sed -i 's/TQStyle/QStyle/g' "$1"
+ sed -i 's/TQStyleHintReturn/QStyleHintReturn/g' "$1"
+ sed -i 's/TQStylePlugin/QStylePlugin/g' "$1"
+ sed -i 's/TQStyleSheetItem/Q3StyleSheetItem/g' "$1"
+ sed -i 's/TQStyleSheet/Q3StyleSheet/g' "$1"
+ sed -i 's/TQSyntaxHighlighter/Q3SyntaxHighlighter/g' "$1"
+ sed -i 's/TQTab/QTab/g' "$1"
+ sed -i 's/TQTabBar/QTabBar/g' "$1"
+ sed -i 's/TQTabDialog/Q3TabDialog/g' "$1"
+ sed -i 's/TQTableSelection/Q3TableSelection/g' "$1"
+ sed -i 's/TQTableItem/Q3TableItem/g' "$1"
+ sed -i 's/TQComboTableItem/QComboTableItem/g' "$1"
+ sed -i 's/TQCheckTableItem/Q3CheckTableItem/g' "$1"
+ sed -i 's/TQTable/Q3Table/g' "$1"
+ sed -i 's/TQTabWidget/QTabWidget/g' "$1"
+ sed -i 's/TQTextBrowser/Q3TextBrowser/g' "$1"
+ sed -i 's/TQTextCodecFactory/QTextCodecFactory/g' "$1"
+ sed -i 's/TQTextEncoder/QTextEncoder/g' "$1"
+ sed -i 's/TQTextDecoder/QTextDecoder/g' "$1"
+ sed -i 's/TQTextCodec/QTextCodec/g' "$1"
+ sed -i 's/TQTextCodecPlugin/QTextCodecPlugin/g' "$1"
+ sed -i 's/TQTextEdit/Q3TextEdit/g' "$1"
+ sed -i 's/TQTextStream/Q3TextStream/g' "$1"
+ sed -i 's/TQTextIStream/QTextIStream/g' "$1"
+ sed -i 's/TQTextOStream/QTextOStream/g' "$1"
+ sed -i 's/TQTSManip/QTSManip/g' "$1"
+ sed -i 's/TQTextView/Q3TextView/g' "$1"
+ sed -i 's/TQThread/QThread/g' "$1"
+ sed -i 's/TQThreadStorageData/QThreadStorageData/g' "$1"
+ sed -i 's/TQThreadStorage/QThreadStorage/g' "$1"
+ sed -i 's/TQTimer/QTimer/g' "$1"
+ sed -i 's/TQTextOStreamIterator/QTextOStreamIterator/g' "$1"
+ sed -i 's/TQBackInsertIterator/QBackInsertIterator/g' "$1"
+ sed -i 's/TQtMsgType/QtMsgType/g' "$1"
+ sed -i 's/TQtMsgHandler/QtMsgHandler/g' "$1"
+ sed -i 's/TQToolBar/Q3ToolBar/g' "$1"
+ sed -i 's/TQToolBox/QToolBox/g' "$1"
+ sed -i 's/TQToolButton/QToolButton/g' "$1"
+ sed -i 's/TQToolTipGroup/QToolTipGroup/g' "$1"
+ sed -i 's/TQToolTip/QToolTip/g' "$1"
+ sed -i 's/TQTsciiCodec/QTsciiCodec/g' "$1"
+ sed -i 's/TQUrl/Q3Url/g' "$1"
+ sed -i 's/TQUrlInfo/QUrlInfo/g' "$1"
+ sed -i 's/TQUrlOperator/Q3UrlOperator/g' "$1"
+ sed -i 's/TQUtf8Codec/QUtf8Codec/g' "$1"
+ sed -i 's/TQUtf16Codec/QUtf16Codec/g' "$1"
+ sed -i 's/TQValidator/QValidator/g' "$1"
+ sed -i 's/TQIntValidator/QIntValidator/g' "$1"
+ sed -i 's/TQDoubleValidator/QDoubleValidator/g' "$1"
+ sed -i 's/TQRegExpValidator/QRegExpValidator/g' "$1"
+ sed -i 's/TQValueListNode/QValueListNode/g' "$1"
+ sed -i 's/TQValueListIterator/Q3ValueListIterator/g' "$1"
+ sed -i 's/TQValueListConstIterator/Q3ValueListConstIterator/g' "$1"
+ sed -i 's/TQValueListPrivate/QValueListPrivate/g' "$1"
+ sed -i 's/TQValueList/Q3ValueList/g' "$1"
+ sed -i 's/TQValueStack/Q3ValueStack/g' "$1"
+ sed -i 's/TQValueVectorPrivate/QValueVectorPrivate/g' "$1"
+ sed -i 's/TQValueVector/Q3ValueVector/g' "$1"
+ sed -i 's/TQVariant/QVariant/g' "$1"
+ sed -i 's/TQVBox/Q3VBox/g' "$1"
+ sed -i 's/TQVButtonGroup/Q3VButtonGroup/g' "$1"
+ sed -i 's/TQVGroupBox/Q3VGroupBox/g' "$1"
+ sed -i 's/TQWaitCondition/QWaitCondition/g' "$1"
+ sed -i 's/TQWhatsThis/Q3WhatsThis/g' "$1"
+ sed -i 's/TQWidgetFactory/QWidgetFactory/g' "$1"
+ sed -i 's/TQWidget/QWidget/g' "$1"
+ sed -i 's/TQWidgetIntDict/QWidgetIntDict/g' "$1"
+ sed -i 's/TQWidgetIntDictIt/QWidgetIntDictIt/g' "$1"
+ sed -i 's/TQWidgetList/QWidgetList/g' "$1"
+ sed -i 's/TQWidgetListIt/QWidgetListIt/g' "$1"
+ sed -i 's/TQWidgetPlugin/QWidgetPlugin/g' "$1"
+ sed -i 's/TQWidgetContainerPlugin/QWidgetContainerPlugin/g' "$1"
+ sed -i 's/TQWidgetStack/Q3WidgetStack/g' "$1"
+ sed -i 's/TQWidgetStackAccelManager/Q3WidgetStackAccelManager/g' "$1"
+ sed -i 's/TQWindowsStyle/QWindowsStyle/g' "$1"
+ sed -i 's/TQWizard/Q3Wizard/g' "$1"
+ sed -i 's/TQWMatrix/QWMatrix/g' "$1"
+ sed -i 's/TQWorkspace/QWorkspace/g' "$1"
+ sed -i 's/TQXmlNamespaceSupport/QXmlNamespaceSupport/g' "$1"
+ sed -i 's/TQXmlAttributes/QXmlAttributes/g' "$1"
+ sed -i 's/TQXmlInputSource/QXmlInputSource/g' "$1"
+ sed -i 's/TQXmlParseException/QXmlParseException/g' "$1"
+ sed -i 's/TQXmlReader/QXmlReader/g' "$1"
+ sed -i 's/TQXmlSimpleReader/QXmlSimpleReader/g' "$1"
+ sed -i 's/TQXmlLocator/QXmlLocator/g' "$1"
+ sed -i 's/TQXmlContentHandler/QXmlContentHandler/g' "$1"
+ sed -i 's/TQXmlErrorHandler/QXmlErrorHandler/g' "$1"
+ sed -i 's/TQXmlDTDHandler/QXmlDTDHandler/g' "$1"
+ sed -i 's/TQXmlEntityResolver/QXmlEntityResolver/g' "$1"
+ sed -i 's/TQXmlLexicalHandler/QXmlLexicalHandler/g' "$1"
+ sed -i 's/TQXmlDeclHandler/QXmlDeclHandler/g' "$1"
+ sed -i 's/TQXmlDefaultHandler/QXmlDefaultHandler/g' "$1"
+ exit 0
+
+# echo "ERROR: Not Yet Implemented"
+# exit 1
+ fi
+fi
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake
new file mode 100644
index 0000000..6db0d61
--- /dev/null
+++ b/qtinterface/tqt.h.cmake
@@ -0,0 +1,1329 @@
+/*
+
+Copyright (C) 2010 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public
+License as published by the Free Software Foundation; either
+version 2 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Library General Public License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with this library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA.
+
+*/
+
+#ifndef TQT_H
+#define TQT_H
+
+#define USE_QT@QT_VER@
+
+#ifdef USE_QT4
+#define QT3_SUPPORT
+#endif
+
+#ifdef TQT_METHOD
+#undef TQT_METHOD
+#endif
+#ifdef TQT_SLOT
+#undef TQT_SLOT
+#endif
+#ifdef TQT_SIGNAL
+#undef TQT_SIGNAL
+#endif
+
+#ifdef __cplusplus
+#define TQT_METHOD(a) METHOD(a)
+#define TQT_SLOT(a) SLOT(a)
+#define TQT_SIGNAL(a) SIGNAL(a)
+#endif // __cplusplus
+
+#ifdef USE_QT3
+#define qint64 long
+#define quint64 unsigned long
+
+#define tqchildren children
+#define tqaccess access
+#define tqcolorTable colorTable
+#define tqmask mask
+#define TQSO_Default Default
+#define tqqt_cast ::qt_cast
+#define TQ_Horizontal Horizontal
+#define TQ_Vertical Vertical
+#define TQImage_ScaleFree QImage::ScaleFree
+#define TQ_Key_Shift Key_Shift
+#define TQ_Key_Control Key_Control
+#define TQ_Key_Alt Key_Alt
+#define TQ_Key_Meta Key_Meta
+#define TQ_Key_Super_L Key_Super_L
+#define TQ_Key_Super_R Key_Super_R
+#define TQ_Key_Hyper_L Key_Hyper_L
+#define TQ_Key_Hyper_R Key_Hyper_R
+#define TQ_ButtonState Qt::ButtonState
+#define TQ_LeftButton LeftButton
+#define TQ_MidButton MidButton
+#define TQ_RightButton RightButton
+#define TQ_ShiftButton ShiftButton
+#define TQ_ControlButton ControlButton
+#define TQ_AltButton AltButton
+#define TQ_MetaButton MetaButton
+#define TQIODevice_OpenModeFlag int
+
+#define TQAlignCenter AlignCenter
+#define TQNoBrush NoBrush
+
+#define tqred red
+#define tqgreen green
+#define tqblue blue
+#define tqcyan cyan
+#define tqmagenta magenta
+#define tqyellow yellow
+#define tqdarkRed darkRed
+#define tqdarkGreen darkGreen
+#define tqdarkBlue darkBlue
+#define tqdarkCyan darkCyan
+#define tqdarkMagenta darkMagenta
+#define tqdarkYellow darkYellow
+#define tqwhite white
+#define tqwhiteptr &Qt::white
+#define tqlightGray lightGray
+#define tqgray gray
+#define tqdarkGray darkGray
+#define tqblack black
+#define tqblackptr &Qt::black
+#define tqcolor0 color0
+#define tqcolor1 color1
+
+#define TQAccel QAccel
+#define TQAccessible QAccessible
+#define TQAccessibleObject QAccessibleObject
+#define TQAction QAction
+#define TQActionGroup QActionGroup
+#define TQApplication QApplication
+#define TQAsciiCache QAsciiCache
+#define TQAsciiCacheIterator QAsciiCacheIterator
+#define TQAsciiDict QAsciiDict
+#define TQAsciiDictIterator QAsciiDictIterator
+#define TQImageConsumer QImageConsumer
+#define TQImageFormat QImageFormat
+#define TQImageFormatType QImageFormatType
+#define TQImageDecoder QImageDecoder
+#define TQAsyncIO QAsyncIO
+#define TQByteArray QByteArray
+#define TQDataSink QDataSink
+#define TQDataSource QDataSource
+#define TQIODeviceSource QIODeviceSource
+#define TQDataPump QDataPump
+#define TQBig5Codec QBig5Codec
+#define TQBig5hkscsCodec QBig5hkscsCodec
+#define TQBitVal QBitVal
+#define TQBitArray QBitArray
+#define TQBitmap QBitmap
+#define TQBrush QBrush
+#define TQBuffer QBuffer
+#define TQButtonGroup QButtonGroup
+#define TQButton QButton
+#define TQCache QCache
+#define TQCacheIterator QCacheIterator
+#define TQCanvasChunk QCanvasChunk
+#define TQCanvasItemList QCanvasItemList
+#define TQCanvasItemExtra QCanvasItemExtra
+#define TQCanvasItem QCanvasItem
+#define TQCanvasData QCanvasData
+#define TQCanvas QCanvas
+#define TQCanvasViewData QCanvasViewData
+#define TQCanvasView QCanvasView
+#define TQCanvasPixmap QCanvasPixmap
+#define TQCanvasPixmapArray QCanvasPixmapArray
+#define TQCanvasSprite QCanvasSprite
+#define TQPolygonalProcessor QPolygonalProcessor
+#define TQCanvasPolygonalItem QCanvasPolygonalItem
+#define TQCanvasRectangle QCanvasRectangle
+#define TQCanvasPolygon QCanvasPolygon
+#define TQCanvasSpline QCanvasSpline
+#define TQCanvasLine QCanvasLine
+#define TQCanvasEllipse QCanvasEllipse
+#define TQCanvasTextExtra QCanvasTextExtra
+#define TQCanvasText QCanvasText
+#define TQCDEStyle QCDEStyle
+#define TQCheckBox QCheckBox
+#define TQCleanupHandler QCleanupHandler
+#define TQSingleCleanupHandler QSingleCleanupHandler
+#define TQSharedCleanupHandler QSharedCleanupHandler
+#define TQShared QShared
+#define TQColor QColor
+#define TQColorDialog QColorDialog
+#define TQStringPairList QStringPairList
+#define TQLineEdit QLineEdit
+#define TQValidator QValidator
+#define TQListBox QListBox
+#define TQComboBoxData QComboBoxData
+#define TQComboTableItem QComboTableItem
+#define TQWheelEvent QWheelEvent
+#define TQComboBox QComboBox
+#define TQCommonStyle QCommonStyle
+#define TQCompactStyle QCompactStyle
+#define TQConnection QConnection
+#define TQCString QCString
+#define TQCursor QCursor
+#define TQSqlForm QSqlForm
+#define TQDataBrowserPrivate QDataBrowserPrivate
+#define TQDataBrowser QDataBrowser
+#define TQDataStream QDataStream
+#define TQPainter QPainter
+#define TQSqlField QSqlField
+#define TQSqlPropertyMap QSqlPropertyMap
+#define TQDataTablePrivate QDataTablePrivate
+#define TQDataTable QDataTable
+#define TQDataView QDataView
+#define TQDateEdit QDateEdit
+#define TQTimeEdit QTimeEdit
+#define TQDateTimeEdit QDateTimeEdit
+#define TQDateTimeEditBase QDateTimeEditBase
+#define TQDate QDate
+#define TQTime QTime
+#define TQDateTime QDateTime
+#define TQDeepCopy QDeepCopy
+#define TQDesktopWidget QDesktopWidget
+#define TQDial QDial
+#define TQDialog QDialog
+#define TQDict QDict
+#define TQDictIterator QDictIterator
+#define TQDir QDir
+#define TQDirLineEdit QDirLineEdit
+#define TQDirMultiLineEdit QDirMultiLineEdit
+#define TQDns QDns
+#define TQDnsSocket QDnsSocket
+#define TQDockArea QDockArea
+#define TQDockAreaLayout QDockAreaLayout
+#define TQDockWindow QDockWindow
+#define TQDomImplementation QDomImplementation
+#define TQDomNodeList QDomNodeList
+#define TQDomDocumentType QDomDocumentType
+#define TQDomDocument QDomDocument
+#define TQDomNamedNodeMap QDomNamedNodeMap
+#define TQDomDocumentFragment QDomDocumentFragment
+#define TQDomCharacterData QDomCharacterData
+#define TQDomAttr QDomAttr
+#define TQDomElement QDomElement
+#define TQDomText QDomText
+#define TQDomComment QDomComment
+#define TQDomCDATASection QDomCDATASection
+#define TQDomNotation QDomNotation
+#define TQDomEntity QDomEntity
+#define TQDomEntityReference QDomEntityReference
+#define TQDomProcessingInstruction QDomProcessingInstruction
+#define TQDomNode QDomNode
+#define TQDragObject QDragObject
+#define TQStoredDrag QStoredDrag
+#define TQTextDrag QTextDrag
+#define TQImageDrag QImageDrag
+#define TQUriDrag QUriDrag
+#define TQColorDrag QColorDrag
+#define TQDropSite QDropSite
+#define TQEditorFactory QEditorFactory
+#define TQErrorMessage QErrorMessage
+#define TQEucJpCodec QEucJpCodec
+#define TQEucKrCodec QEucKrCodec
+#define TQEvent QEvent
+#define TQTimerEvent QTimerEvent
+#define TQMouseEvent QMouseEvent
+#define TQWheelEvent QWheelEvent
+#define TQTabletEvent QTabletEvent
+#define TQKeyEvent QKeyEvent
+#define TQFocusEvent QFocusEvent
+#define TQPaintEvent QPaintEvent
+#define TQMoveEvent QMoveEvent
+#define TQResizeEvent QResizeEvent
+#define TQCloseEvent QCloseEvent
+#define TQIconDragEvent QIconDragEvent
+#define TQShowEvent QShowEvent
+#define TQHideEvent QHideEvent
+#define TQContextMenuEvent QContextMenuEvent
+#define TQIMEvent QIMEvent
+#define TQIMComposeEvent QIMComposeEvent
+#define TQDropEvent QDropEvent
+#define TQDragMoveEvent QDragMoveEvent
+#define TQDragEnterEvent QDragEnterEvent
+#define TQDragResponseEvent QDragResponseEvent
+#define TQDragLeaveEvent QDragLeaveEvent
+#define TQChildEvent QChildEvent
+#define TQCustomEvent QCustomEvent
+#define TQEventLoop QEventLoop
+#define TQFileIconProvider QFileIconProvider
+#define TQFilePreview QFilePreview
+#define TQFileDialog QFileDialog
+#define TQFile QFile
+#define TQFileInfo QFileInfo
+#define TQFileInfoList QFileInfoList
+#define TQFileInfoListIterator QFileInfoListIterator
+#define TQFocusData QFocusData
+#define TQFontDatabase QFontDatabase
+#define TQFont QFont
+#define TQFontInfo QFontInfo
+#define TQFontMetrics QFontMetrics
+#define TQFrame QFrame
+#define TQFtp QFtp
+#define TQGArray QGArray
+#define TQGb18030Codec QGb18030Codec
+#define TQGbkCodec QGbkCodec
+#define TQGb2312Codec QGb2312Codec
+#define TQGCache QGCache
+#define TQGCacheIterator QGCacheIterator
+#define TQBaseBucket QBaseBucket
+#define TQStringBucket QStringBucket
+#define TQAsciiBucket QAsciiBucket
+#define TQIntBucket QIntBucket
+#define TQPtrBucket QPtrBucket
+#define TQGDict QGDict
+#define TQGDictIterator QGDictIterator
+#define TQGLColormap QGLColormap
+#define TQGL QGL
+#define TQGLFormat QGLFormat
+#define TQGLContext QGLContext
+#define TQGLWidget QGLWidget
+#define TQLNode QLNode
+#define TQGList QGList
+#define TQGListIterator QGListIterator
+#define TQGListStdIterator QGListStdIterator
+#define TQGPlugin QGPlugin
+#define TQGrid QGrid
+#define TQGridView QGridView
+#define TQGroupBox QGroupBox
+#define TQGuardedPtr QGuardedPtr
+#define TQGuardedPtrPrivate QGuardedPtrPrivate
+#define TQGVector QGVector
+#define TQHBox QHBox
+#define TQHButtonGroup QHButtonGroup
+#define TQHeader QHeader
+#define TQHGroupBox QHGroupBox
+#define TQHostAddress QHostAddress
+#define TQHttpHeader QHttpHeader
+#define TQHttpResponseHeader QHttpResponseHeader
+#define TQHttpRequestHeader QHttpRequestHeader
+#define TQHttp QHttp
+#define TQIconSet QIconSet
+#define TQIconFactory QIconFactory
+#define TQIconDragItem QIconDragItem
+#define TQIconDrag QIconDrag
+#define TQIconViewItem QIconViewItem
+#define TQIconView QIconView
+#define TQImageFormatPlugin QImageFormatPlugin
+#define TQImageTextKeyLang QImageTextKeyLang
+#define TQImage QImage
+#define TQImageIO QImageIO
+#define TQInputContextFactory QInputContextFactory
+#define TQInputContext QInputContext
+#define TQIntCache QIntCache
+#define TQIntCacheIterator QIntCacheIterator
+#define TQIntDict QIntDict
+#define TQIntDictIterator QIntDictIterator
+#define TQIODevice QIODevice
+#define TQJisCodec QJisCodec
+#define TQJpUnicodeConv QJpUnicodeConv
+#define TQKeySequence QKeySequence
+#define TQLabel QLabel
+#define TQGLayoutIterator QGLayoutIterator
+#define TQLayoutIterator QLayoutIterator
+#define TQLayoutItem QLayoutItem
+#define TQSpacerItem QSpacerItem
+#define TQWidgetItem QWidgetItem
+#define TQLayout QLayout
+#define TQGridLayout QGridLayout
+#define TQBoxLayout QBoxLayout
+#define TQHBoxLayout QHBoxLayout
+#define TQVBoxLayout QVBoxLayout
+#define TQLCDNumber QLCDNumber
+#define TQLibrary QLibrary
+#define TQLineEdit QLineEdit
+#define TQListBoxItem QListBoxItem
+#define TQListBoxText QListBoxText
+#define TQListBoxPixmap QListBoxPixmap
+#define TQListViewItem QListViewItem
+#define TQListView QListView
+#define TQCheckListItem QCheckListItem
+#define TQListViewItemIterator QListViewItemIterator
+#define TQLocale QLocale
+#define TQLocalFs QLocalFs
+#define TQMainWindow QMainWindow
+#define TQMapIterator QMapIterator
+#define TQMapConstIterator QMapConstIterator
+#define TQMapPrivateBase QMapPrivateBase
+#define TQMapPrivate QMapPrivate
+#define TQMap QMap
+#define TQMemArray QMemArray
+#define TQMenuBar QMenuBar
+#define TQMenuItem QMenuItem
+#define TQCustomMenuItem QCustomMenuItem
+#define TQMenuData QMenuData
+#define TQMessageBox QMessageBox
+#define TQMetaProperty QMetaProperty
+#define TQMetaObject QMetaObject
+#define TQMetaObjectCleanUp QMetaObjectCleanUp
+#define TQMimeSource QMimeSource
+#define TQMimeSourceFactory QMimeSourceFactory
+#define TQWindowsMime QWindowsMime
+#define TQMacMime QMacMime
+#define TQMotifPlusStyle QMotifPlusStyle
+#define TQMotifStyle QMotifStyle
+#define TQMovie QMovie
+#define TQMultiLineEdit QMultiLineEdit
+#define TQMutex QMutex
+#define TQMutexLocker QMutexLocker
+#define TQt Qt
+#define TQInternal QInternal
+#define TQNetworkProtocolFactoryBase QNetworkProtocolFactoryBase
+#define TQNetworkProtocolFactory QNetworkProtocolFactory
+#define TQNetworkProtocol QNetworkProtocol
+#define TQNetworkOperation QNetworkOperation
+#define TQObjectCleanupHandler QObjectCleanupHandler
+#define TQObjectDictionary QObjectDictionary
+#define TQObject QObject
+#define TQObjectUserData QObjectUserData
+#define TQObject QObject
+#define TQObjectList QObjectList
+#define TQObjectListIterator QObjectListIterator
+#define TQObjectListIt QObjectListIt
+#define TQPaintDevice QPaintDevice
+#define TQPaintDeviceMetrics QPaintDeviceMetrics
+#define TQColorGroup QColorGroup
+#define TQPair QPair
+#define TQPalette QPalette
+#define TQPen QPen
+#define TQPicture QPicture
+#define TQPixmapCache QPixmapCache
+#define TQPixmap QPixmap
+#define TQPlatinumStyle QPlatinumStyle
+#define TQPNGImageWriter QPNGImageWriter
+#define TQPNGImagePacker QPNGImagePacker
+#define TQPointArray QPointArray
+#define TQPoint QPoint
+#define TQPolygonScanner QPolygonScanner
+#define TQPopupMenu QPopupMenu
+#define TQPrintDialog QPrintDialog
+#define TQPrinter QPrinter
+#define TQProcess QProcess
+#define TQProgressBar QProgressBar
+#define TQProgressDialog QProgressDialog
+#define TQPtrCollection QPtrCollection
+#define TQPtrDict QPtrDict
+#define TQPtrDictIterator QPtrDictIterator
+#define TQPtrListStdIterator QPtrListStdIterator
+#define TQPtrList QPtrList
+#define TQPtrListIterator QPtrListIterator
+#define TQPtrQueue QPtrQueue
+#define TQPtrStack QPtrStack
+#define TQPtrVector QPtrVector
+#define TQPushButton QPushButton
+#define TQRadioButton QRadioButton
+#define TQRangeControl QRangeControl
+#define TQSpinWidget QSpinWidget
+#define TQRect QRect
+#define TQRegExp QRegExp
+#define TQRegion QRegion
+#define TQHebrewCodec QHebrewCodec
+#define TQScrollBar QScrollBar
+#define TQScrollView QScrollView
+#define TQSemaphore QSemaphore
+#define TQSemiModal QSemiModal
+#define TQServerSocket QServerSocket
+#define TQSettings QSettings
+#define TQSGIStyle QSGIStyle
+#define TQSignal QSignal
+#define TQSignalMapper QSignalMapper
+#define TQConnectionList QConnectionList
+#define TQConnectionListIt QConnectionListIt
+#define TQSignalVec QSignalVec
+#define TQSimpleRichText QSimpleRichText
+#define TQSizeGrip QSizeGrip
+#define TQSize QSize
+#define TQSizePolicy QSizePolicy
+#define TQSjisCodec QSjisCodec
+#define TQSlider QSlider
+#define TQSocketDevice QSocketDevice
+#define TQSocket QSocket
+#define TQSocketNotifier QSocketNotifier
+#define TQSortedList QSortedList
+#define TQSound QSound
+#define TQSpinBox QSpinBox
+#define TQSplashScreen QSplashScreen
+#define TQSplitter QSplitter
+#define TQSqlCursor QSqlCursor
+#define TQSqlDatabase QSqlDatabase
+#define TQSqlDriver QSqlDriver
+#define TQSqlDriverPlugin QSqlDriverPlugin
+#define TQSqlEditorFactory QSqlEditorFactory
+#define TQSqlError QSqlError
+#define TQSqlFieldPrivate QSqlFieldPrivate
+#define TQSqlField QSqlField
+#define TQSqlFieldInfo QSqlFieldInfo
+#define TQSql QSql
+#define TQSqlIndex QSqlIndex
+#define TQSqlQuery QSqlQuery
+#define TQSqlResultShared QSqlResultShared
+#define TQSqlRecordShared QSqlRecordShared
+#define TQSqlRecord QSqlRecord
+#define TQSqlRecordInfo QSqlRecordInfo
+#define TQSqlResult QSqlResult
+#define TQSqlSelectCursorPrivate QSqlSelectCursorPrivate
+#define TQSqlSelectCursor QSqlSelectCursor
+#define TQStatusBar QStatusBar
+#define TQChar QChar
+#define TQString QString
+#define TQCharRef QCharRef
+#define TQConstString QConstString
+#define TQStringList QStringList
+#define TQStrListIterator QStrListIterator
+#define TQStrIList QStrIList
+#define TQStrList QStrList
+#define TQStrVec QStrVec
+#define TQStrIVec QStrIVec
+#define TQStyleFactory QStyleFactory
+#define TQStyleOption QStyleOption
+#define TQStyle QStyle
+#define TQStyleHintReturn QStyleHintReturn
+#define TQStylePlugin QStylePlugin
+#define TQStyleSheetItem QStyleSheetItem
+#define TQStyleSheet QStyleSheet
+#define TQSyntaxHighlighter QSyntaxHighlighter
+#define TQTab QTab
+#define TQTabBar QTabBar
+#define TQTabDialog QTabDialog
+#define TQTableSelection QTableSelection
+#define TQTableItem QTableItem
+#define TQCheckTableItem QCheckTableItem
+#define TQTable QTable
+#define TQTabWidget QTabWidget
+#define TQTextBrowser QTextBrowser
+#define TQTextCodecFactory QTextCodecFactory
+#define TQTextEncoder QTextEncoder
+#define TQTextDecoder QTextDecoder
+#define TQTextCodec QTextCodec
+#define TQTextCodecPlugin QTextCodecPlugin
+#define TQTextEdit QTextEdit
+#define TQTextStream QTextStream
+#define TQTextIStream QTextIStream
+#define TQTextOStream QTextOStream
+#define TQTSManip QTSManip
+#define TQTextView QTextView
+#define TQThread QThread
+#define TQThreadStorageData QThreadStorageData
+#define TQThreadStorage QThreadStorage
+#define TQTimer QTimer
+#define TQTextOStreamIterator QTextOStreamIterator
+#define TQBackInsertIterator QBackInsertIterator
+#define TQtMsgType QtMsgType
+#define TQtMsgHandler QtMsgHandler
+#define TQToolBar QToolBar
+#define TQToolBox QToolBox
+#define TQToolButton QToolButton
+#define TQToolTipGroup QToolTipGroup
+#define TQToolTip QToolTip
+#define TQTranslator QTranslator
+#define TQTranslatorMessage QTranslatorMessage
+#define TQTsciiCodec QTsciiCodec
+#define TQUrl QUrl
+#define TQUrlInfo QUrlInfo
+#define TQUrlOperator QUrlOperator
+#define TQUtf8Codec QUtf8Codec
+#define TQUtf16Codec QUtf16Codec
+#define TQValidator QValidator
+#define TQIntValidator QIntValidator
+#define TQDoubleValidator QDoubleValidator
+#define TQRegExpValidator QRegExpValidator
+#define TQValueListNode QValueListNode
+#define TQValueListIterator QValueListIterator
+#define TQValueListConstIterator QValueListConstIterator
+#define TQValueListPrivate QValueListPrivate
+#define TQValueList QValueList
+#define TQValueStack QValueStack
+#define TQValueVectorPrivate QValueVectorPrivate
+#define TQValueVector QValueVector
+#define TQVariant QVariant
+#define TQVBox QVBox
+#define TQVButtonGroup QVButtonGroup
+#define TQVGroupBox QVGroupBox
+#define TQWaitCondition QWaitCondition
+#define TQWhatsThis QWhatsThis
+#define TQWidgetFactory QWidgetFactory
+#define TQWidget QWidget
+#define TQWidgetIntDict QWidgetIntDict
+#define TQWidgetIntDictIt QWidgetIntDictIt
+#define TQWidgetList QWidgetList
+#define TQWidgetListIt QWidgetListIt
+#define TQWidgetPlugin QWidgetPlugin
+#define TQWidgetContainerPlugin QWidgetContainerPlugin
+#define TQWidgetStack QWidgetStack
+#define TQWidgetStackAccelManager QWidgetStackAccelManager
+#define TQWindowsStyle QWindowsStyle
+#define TQWizard QWizard
+#define TQWMatrix QWMatrix
+#define TQWorkspace QWorkspace
+#define TQXmlNamespaceSupport QXmlNamespaceSupport
+#define TQXmlAttributes QXmlAttributes
+#define TQXmlInputSource QXmlInputSource
+#define TQXmlParseException QXmlParseException
+#define TQXmlReader QXmlReader
+#define TQXmlSimpleReader QXmlSimpleReader
+#define TQXmlLocator QXmlLocator
+#define TQXmlContentHandler QXmlContentHandler
+#define TQXmlErrorHandler QXmlErrorHandler
+#define TQXmlDTDHandler QXmlDTDHandler
+#define TQXmlEntityResolver QXmlEntityResolver
+#define TQXmlLexicalHandler QXmlLexicalHandler
+#define TQXmlDeclHandler QXmlDeclHandler
+#define TQXmlDefaultHandler QXmlDefaultHandler
+#endif
+
+#ifdef USE_QT4
+
+//#define TQT_QT_STRING_LIST_TYPE QStringList
+//#define TQT_QT_STRING_LIST_TYPE Q3StrList
+#define TQT_QT_STRING_LIST_TYPE TQStrList
+
+#ifdef __cplusplus
+class TQT_QT_STRING_LIST_TYPE;
+class QUObject;
+
+#include <tqt4/Qt/qglobal.h>
+#include <tqt4/Qt/qchar.h>
+#include <tqt4/Qt/qnamespace.h>
+#include <tqt4/Qt/qobjectdefs.h>
+#include <tqt4/Qt/qlist.h>
+#include <tqt4/Qt/qbytearray.h>
+#include <tqt4/Qt/qstring.h>
+#include <tqt4/Qt/qobject.h>
+#include <tqucomextra_p.h>
+#define QT_NO_QOBJECT
+#include <tqt4/Qt/qiodevice.h>
+#undef QT_NO_QOBJECT
+#include <tqt4/Qt/qdatastream.h>
+#include <tqt4/Qt/qvariant.h>
+#include <tqt4/Qt/qmetaobject.h>
+#include <tqeventloop.h>
+#include <tqt4/Qt/qpaintdevice.h>
+#include <tqt4/Qt/qvector.h>
+#include <tqt4/Qt/qimage.h>
+#include <tqt4/Qt/qpixmap.h>
+#include <tqt4/Qt/qwidget.h>
+#include <tqt4/Qt/q3painter.h>
+#include <tqt4/Qt/qicon.h>
+#include <tqt4/Qt/qstyle.h>
+#include <tqt4/Qt/qtabbar.h>
+#include <tqt4/Qt/qstyleoption.h>
+#include <tqt4/Qt/qcommonstyle.h>
+#include <tqt4/Qt/qapplication.h>
+#include <tqt4/Qt/q3cstring.h>
+#include <tqt4/Qt/q3pointarray.h>
+#include <tqt4/Qt/qslider.h>
+#include <tqt4/Qt/qscrollbar.h>
+#include <tqt4/Qt/qfileinfo.h>
+#include <tqt4/Qt/qmenu.h>
+#include <tqt4/Qt/q3popupmenu.h>
+#include <tqt4/Qt/qmenudata.h>
+#include <tqt4/Qt/qdir.h>
+#include <tqt4/Qt/qtooltip.h>
+#include <tqt4/Qt/qmovie.h>
+#include <tqt4/Qt/q3whatsthis.h>
+#include <tqt4/Qt/qtextcodec.h>
+
+#include <Qt/q3strlist.h>
+#include <Qt/qx11info_x11.h>
+
+#include <Qt/q3combobox.h>
+#include <Qt/q3groupbox.h>
+#include <Qt/q3progressbar.h>
+#include <Qt/q3textstream.h>
+#include <Qt/q3valuelist.h>
+#include <Qt/q3url.h>
+#include <Qt/qdesktopwidget.h>
+#include <Qt/qevent.h>
+
+#include <tqlistiterator.h>
+
+#include <tqstringlist.h>
+#endif // __cplusplus
+
+#define tqchildren ptrchildren
+#define tqaccess access()
+#define tqcolorTable ptrColorTable
+#define tqmask ptrmask
+#define TQSO_Default SO_Default
+#define tqqt_cast qobject_cast
+#define TQ_Horizontal Qt::Horizontal
+#define TQ_Vertical Qt::Vertical
+#define TQImage_ScaleFree Qt::ScaleFree
+#define TQ_Key_Shift Qt::Key_Shift
+#define TQ_Key_Control Qt::Key_Control
+#define TQ_Key_Alt Qt::Key_Alt
+#define TQ_Key_Meta Qt::Key_Meta
+#define TQ_Key_Super_L Qt::Key_Super_L
+#define TQ_Key_Super_R Qt::Key_Super_R
+#define TQ_Key_Hyper_L Qt::Key_Hyper_L
+#define TQ_Key_Hyper_R Qt::Key_Hyper_R
+#define TQ_ButtonState ButtonState
+#define TQ_LeftButton Qt::LeftButton
+#define TQ_MidButton Qt::MidButton
+#define TQ_RightButton Qt::RightButton
+#define TQ_ShiftButton Qt::ShiftButton
+#define TQ_ControlButton Qt::ControlButton
+#define TQ_AltButton Qt::AltButton
+#define TQ_MetaButton Qt::MetaButton
+#define TQIODevice_OpenModeFlag QIODevice::OpenModeFlag
+
+#define TQAlignCenter Qt::AlignCenter
+#define TQNoBrush Qt::NoBrush
+
+#define QMetaData QMetaMethod
+//#define qt_xdisplay QPaintDevice::x11Display
+#define qt_xdisplay QX11Info::display
+//#define qt_xrootwin QPaintDevice::x11AppRootWindow
+#define qt_xrootwin QX11Info::appRootWindow
+//#define qt_xscreen QPaintDevice::x11Screen
+#define qt_xscreen QX11Info::appScreen
+#define qt_xget_temp_gc QPaintDevice::qt_xget_temp_gc
+#define TickSetting TickPosition
+#define ButtonState Qt::ButtonState
+//#define qHeapSort qStableSort
+#define qHeapSort tqHeapSort
+
+#define ColorOnly Qt::ColorOnly
+#define MonoOnly Qt::MonoOnly
+#define ColorMode_Mask Qt::ColorMode_Mask
+
+#define tqred Qt::red
+#define tqgreen Qt::green
+#define tqblue Qt::blue
+#define tqcyan Qt::cyan
+#define tqmagenta Qt::magenta
+#define tqyellow Qt::yellow
+#define tqdarkRed Qt::darkRed
+#define tqdarkGreen Qt::darkGreen
+#define tqdarkBlue Qt::darkBlue
+#define tqdarkCyan Qt::darkCyan
+#define tqdarkMagenta Qt::darkMagenta
+#define tqdarkYellow Qt::darkYellow
+#define tqwhite Qt::white
+// #define tqwhiteptr &((QColor)Qt::white)
+#define tqlightGray Qt::lightGray
+#define tqgray Qt::gray
+#define tqdarkGray Qt::darkGray
+#define tqblack Qt::black
+// #define tqblackptr &((QColor)Qt::black)
+#define tqcolor0 Qt::color0
+#define tqcolor1 Qt::color1
+
+#define tqblackptr &tqblackptr_core
+
+#define SubRect SubElement
+#define SR_PushButtonContents SE_PushButtonContents
+#define SR_PushButtonFocusRect SE_PushButtonFocusRect
+#define SR_CheckBoxIndicator SE_CheckBoxIndicator
+#define SR_CheckBoxContents SE_CheckBoxContents
+#define SR_CheckBoxFocusRect SE_CheckBoxFocusRect
+#define SR_RadioButtonIndicator SE_RadioButtonIndicator
+#define SR_RadioButtonContents SE_RadioButtonContents
+#define SR_RadioButtonFocusRect SE_RadioButtonFocusRect
+#define SR_ComboBoxFocusRect SE_ComboBoxFocusRect
+#define SR_SliderFocusRect SE_SliderFocusRect
+#define SR_DockWindowHandleRect SE_DockWindowHandleRect
+#define SR_ProgressBarGroove SE_ProgressBarGroove
+#define SR_ProgressBarContents SE_ProgressBarContents
+#define SR_ProgressBarLabel SE_ProgressBarLabel
+#define SR_ToolButtonContents SE_ToolButtonContents
+#define SR_DialogButtonAccept SE_DialogButtonAccept
+#define SR_DialogButtonReject SE_DialogButtonReject
+#define SR_DialogButtonApply SE_DialogButtonApply
+#define SR_DialogButtonHelp SE_DialogButtonHelp
+#define SR_DialogButtonAll SE_DialogButtonAll
+#define SR_DialogButtonAbort SE_DialogButtonAbort
+#define SR_DialogButtonIgnore SE_DialogButtonIgnore
+#define SR_DialogButtonRetry SE_DialogButtonRetry
+#define SR_DialogButtonCustom SE_DialogButtonCustom
+#define SR_ToolBoxTabContents SE_ToolBoxTabContents
+#define SR_CustomBase SE_CustomBase
+
+#define StylePixmap StandardPixmap
+// #define SP_TitleBarMinButton SC_TitleBarMinButton
+// #define SP_TitleBarMaxButton SC_TitleBarMaxButton
+// #define SP_TitleBarCloseButton SC_TitleBarCloseButton
+// #define SP_TitleBarNormalButton SC_TitleBarNormalButton
+// #define SP_TitleBarShadeButton SC_TitleBarShadeButton
+// #define SP_TitleBarUnshadeButton SC_TitleBarUnshadeButton
+#define SP_DockWindowCloseButton SP_DockWidgetCloseButton
+// #define SP_MessageBoxInformation SC_MessageBoxInformation
+// #define SP_MessageBoxWarning SC_MessageBoxWarning
+// #define SP_MessageBoxCritical SC_MessageBoxCritical
+// #define SP_MessageBoxQuestion SC_MessageBoxQuestion
+// #define SP_CustomBase SC_CustomBase
+
+#define StyleFlags StateFlags
+#define Style_Default QStyle::State_Default
+#define Style_Enabled QStyle::State_Enabled
+#define Style_Raised QStyle::State_Raised
+#define Style_Sunken QStyle::State_Sunken
+#define Style_Off QStyle::State_Off
+#define Style_NoChange QStyle::State_NoChange
+#define Style_On QStyle::State_On
+#define Style_Down QStyle::State_DownArrow
+#define Style_Horizontal QStyle::State_Horizontal
+#define Style_HasFocus QStyle::State_HasFocus
+#define Style_To QStyle::State_To
+#define Style_Bottom QStyle::State_Bottom
+#define Style_FocusAtBorder QStyle::State_FocusAtBorder
+#define Style_AutoRaise QStyle::State_AutoRaise
+#define Style_MouseOver QStyle::State_MouseOver
+#define Style_Up QStyle::State_UpArrow
+#define Style_Selected QStyle::State_Selected
+#define Style_Active QStyle::State_Active
+#define Style_ButtonDefault QStyle::State_ButtonDefault
+
+#define PE_ArrowDown PE_IndicatorArrowDown
+#define PE_ArrowUp PE_IndicatorArrowUp
+#define PE_ButtonTool PE_PanelButtonTool
+#define PE_DockWindowHandle PE_IndicatorToolBarHandle
+#define PE_DockWindowSeparator PE_Q3DockWindowSeparator
+// Verify this one -------------v
+#define PE_FocusRect PE_FrameFocusRect
+#define PE_Panel PE_Frame
+#define PE_RubberBand CE_RubberBand
+#define PE_ScrollBarAddLine CE_ScrollBarAddLine
+#define PE_ScrollBarAddPage CE_ScrollBarAddPage
+#define PE_ScrollBarFirst CE_ScrollBarFirst
+#define PE_ScrollBarLast CE_ScrollBarLast
+#define PE_ScrollBarSlider CE_ScrollBarSlider
+#define PE_ScrollBarSubLine CE_ScrollBarSubLine
+#define PE_ScrollBarSubPage CE_ScrollBarSubPage
+
+#define SC_ListView SC_Q3ListView
+#define SC_ListViewBranch SC_Q3ListViewBranch
+#define SC_ListViewExpand SC_Q3ListViewExpand
+
+#define CC_ListView CC_Q3ListView
+
+#define WState Qt::WidgetAttribute
+#define WState_Polished Qt::WA_WState_Polished
+//#define WState_ForceHide Qt::WA_WState_ForceHide
+#define WState_ForceHide Qt::WA_WState_Hidden
+
+#define WStyle_Customize Qt::WStyle_Customize
+#define WType_Popup Qt::WType_Popup
+#define WX11BypassWM Qt::WX11BypassWM
+
+#define SH_PopupMenu_Scrollable SH_Menu_Scrollable
+#define SH_PopupMenu_SloppySubMenus SH_Menu_SloppySubMenus
+#define SH_PopupMenu_SubMenuPopupDelay SH_Menu_SubMenuPopupDelay
+#define SH_PopupMenu_AllowActiveAndDisabled SH_Menu_AllowActiveAndDisabled
+#define SH_PopupMenu_MouseTracking SH_Menu_MouseTracking
+
+#define CE_PopupMenuScroller CE_MenuScroller
+
+#define PM_DockWindowHandleExtent PM_DockWidgetHandleExtent
+#define PM_MenuBarFrameWidth PM_ToolBarFrameWidth
+#define PM_DockWindowFrameWidth PM_DockWidgetFrameWidth
+#define PM_PopupMenuScrollerHeight PM_MenuScrollerHeight
+
+#define TQAccel Q3Accel
+#define TQAccessible QAccessible
+#define TQAccessibleObject QAccessibleObject
+#define TQAction Q3Action
+#define TQActionGroup Q3ActionGroup
+#define TQApplication QApplication
+#define TQAsciiCache Q3AsciiCache
+#define TQAsciiCacheIterator Q3AsciiCacheIterator
+#define TQAsciiDict Q3AsciiDict
+#define TQAsciiDictIterator Q3AsciiDictIterator
+#define TQImageConsumer QImageConsumer
+#define TQImageFormat QImageFormat
+#define TQImageFormatType QImageFormatType
+#define TQImageDecoder QImageDecoder
+#define TQAsyncIO QAsyncIO
+#define TQByteArray QByteArray
+#define TQDataSink QDataSink
+#define TQDataSource QDataSource
+#define TQIODeviceSource QIODeviceSource
+#define TQDataPump QDataPump
+#define TQBig5Codec QBig5Codec
+#define TQBig5hkscsCodec QBig5hkscsCodec
+#define TQBitVal QBitVal
+#define TQBitArray QBitArray
+#define TQBitmap QBitmap
+#define TQBrush QBrush
+#define TQBuffer QBuffer
+#define TQButtonGroup Q3ButtonGroup
+#define TQButton Q3Button
+#define TQCache Q3Cache
+#define TQCacheIterator Q3CacheIterator
+#define TQCanvasChunk Q3CanvasChunk
+#define TQCanvasItemList Q3CanvasItemList
+#define TQCanvasItemExtra Q3CanvasItemExtra
+#define TQCanvasItem Q3CanvasItem
+#define TQCanvasData Q3CanvasData
+#define TQCanvas Q3Canvas
+#define TQCanvasViewData Q3CanvasViewData
+#define TQCanvasView Q3CanvasView
+#define TQCanvasPixmap Q3CanvasPixmap
+#define TQCanvasPixmapArray Q3CanvasPixmapArray
+#define TQCanvasSprite Q3CanvasSprite
+#define TQPolygonalProcessor QPolygonalProcessor
+#define TQCanvasPolygonalItem Q3CanvasPolygonalItem
+#define TQCanvasRectangle Q3CanvasRectangle
+#define TQCanvasPolygon Q3CanvasPolygon
+#define TQCanvasSpline Q3CanvasSpline
+#define TQCanvasLine Q3CanvasLine
+#define TQCanvasEllipse Q3CanvasEllipse
+#define TQCanvasTextExtra Q3CanvasTextExtra
+#define TQCanvasText Q3CanvasText
+#define TQCDEStyle QCDEStyle
+#define TQCheckBox QCheckBox
+// #define TQCleanupHandler QCleanupHandler
+// #define TQSingleCleanupHandler QSingleCleanupHandler
+// #define TQSharedCleanupHandler QSharedCleanupHandler
+#define TQShared Q3Shared
+#define TQColor QColor
+#define TQColorDialog QColorDialog
+#define TQStringPairList Q3StringPairList
+#define TQLineEdit QLineEdit
+#define TQValidator QValidator
+#define TQComboBoxData Q3ComboBoxData
+#define TQComboTableItem Q3ComboTableItem
+#define TQWheelEvent QWheelEvent
+#define TQComboBox Q3ComboBox
+#define TQCommonStyle QCommonStyle
+#define TQCompactStyle QCompactStyle
+#define TQConnection QConnection
+#define TQCString Q3CString
+#define TQCursor QCursor
+#define TQDataBrowserPrivate Q3DataBrowserPrivate
+#define TQDataBrowser Q3DataBrowser
+#define TQDataStream QDataStream
+#define TQSqlField QSqlField
+#define TQDataTablePrivate QDataTablePrivate
+#define TQDataTable Q3DataTable
+#define TQDataView Q3DataView
+#define TQDateEdit Q3DateEdit
+#define TQTimeEdit Q3TimeEdit
+#define TQDateTimeEdit Q3DateTimeEdit
+#define TQDateTimeEditBase Q3DateTimeEditBase
+#define TQDate QDate
+#define TQTime QTime
+#define TQDateTime QDateTime
+#define TQDeepCopy Q3DeepCopy
+#define TQDesktopWidget QDesktopWidget
+#define TQDial QDial
+#define TQDialog QDialog
+#define TQDict Q3Dict
+#define TQDictIterator Q3DictIterator
+#define TQDir QDir
+#define TQDirLineEdit QDirLineEdit
+#define TQDirMultiLineEdit QDirMultiLineEdit
+#define TQDns Q3Dns
+#define TQDnsSocket QDnsSocket
+#define TQDockArea Q3DockArea
+#define TQDockAreaLayout QDockAreaLayout
+#define TQDockWindow Q3DockWindow
+#define TQDomImplementation QDomImplementation
+#define TQDomNodeList QDomNodeList
+#define TQDomDocumentType QDomDocumentType
+#define TQDomDocument QDomDocument
+#define TQDomNamedNodeMap QDomNamedNodeMap
+#define TQDomDocumentFragment QDomDocumentFragment
+#define TQDomCharacterData QDomCharacterData
+#define TQDomAttr QDomAttr
+#define TQDomElement QDomElement
+#define TQDomText QDomText
+#define TQDomComment QDomComment
+#define TQDomCDATASection QDomCDATASection
+#define TQDomNotation QDomNotation
+#define TQDomEntity QDomEntity
+#define TQDomEntityReference QDomEntityReference
+#define TQDomProcessingInstruction QDomProcessingInstruction
+#define TQDomNode QDomNode
+#define TQDragObject Q3DragObject
+#define TQStoredDrag Q3StoredDrag
+#define TQTextDrag Q3TextDrag
+#define TQImageDrag Q3ImageDrag
+#define TQUriDrag Q3UriDrag
+#define TQColorDrag Q3ColorDrag
+#define TQDropSite Q3DropSite
+#define TQEditorFactory Q3EditorFactory
+#define TQErrorMessage QErrorMessage
+#define TQEucJpCodec QEucJpCodec
+#define TQEucKrCodec QEucKrCodec
+#define TQEvent QEvent
+#define TQTimerEvent QTimerEvent
+#define TQMouseEvent QMouseEvent
+#define TQWheelEvent QWheelEvent
+#define TQTabletEvent QTabletEvent
+#define TQKeyEvent QKeyEvent
+#define TQFocusEvent QFocusEvent
+#define TQPaintEvent QPaintEvent
+#define TQMoveEvent QMoveEvent
+#define TQResizeEvent QResizeEvent
+#define TQCloseEvent QCloseEvent
+#define TQIconDragEvent QIconDragEvent
+#define TQShowEvent QShowEvent
+#define TQHideEvent QHideEvent
+#define TQContextMenuEvent QContextMenuEvent
+#define TQIMEvent QIMEvent
+#define TQIMComposeEvent QIMComposeEvent
+#define TQDropEvent QDropEvent
+#define TQDragMoveEvent QDragMoveEvent
+#define TQDragEnterEvent QDragEnterEvent
+#define TQDragResponseEvent QDragResponseEvent
+#define TQDragLeaveEvent QDragLeaveEvent
+#define TQChildEvent QChildEvent
+#define TQCustomEvent QCustomEvent
+//#define TQEventLoop QAbstractEventDispatcher
+#define TQFileIconProvider Q3FileIconProvider
+#define TQFilePreview Q3FilePreview
+#define TQFileDialog Q3FileDialog
+#define TQFile QFile
+#define TQFileInfo QFileInfo
+#define TQFileInfoList QFileInfoList
+//typedef QList<QFileInfo> TQFileInfoList;
+//typedef QList<QFileInfo *> TQFileInfoList;
+//#define TQFileInfoListIterator TQListIterator<QFileInfo>
+#define TQFileInfoListIterator TQListIteratorRetPtr<QFileInfo>
+//#define TQFileInfoListIterator TQListIterator<QFileInfo *>
+#define TQFocusData QFocusData
+#define TQFontDatabase QFontDatabase
+#define TQFont QFont
+#define TQFontInfo QFontInfo
+#define TQFontMetrics QFontMetrics
+#define TQFrame Q3Frame
+#define TQFtp Q3Ftp
+#define TQGArray QGArray
+#define TQGb18030Codec QGb18030Codec
+#define TQGbkCodec QGbkCodec
+#define TQGb2312Codec QGb2312Codec
+#define TQGCache QGCache
+#define TQGCacheIterator QGCacheIterator
+#define TQBaseBucket QBaseBucket
+#define TQStringBucket QStringBucket
+#define TQAsciiBucket QAsciiBucket
+#define TQIntBucket QIntBucket
+#define TQPtrBucket QPtrBucket
+#define TQGDict Q3GDict
+#define TQGDictIterator Q3GDictIterator
+#define TQGLColormap QGLColormap
+#define TQGL QGL
+#define TQGLFormat QGLFormat
+#define TQGLContext QGLContext
+#define TQGLWidget QGLWidget
+#define TQLNode QLNode
+#define TQGList Q3GList
+#define TQGListIterator Q3GListIterator
+#define TQGListStdIterator Q3GListStdIterator
+#define TQGPlugin QGPlugin
+#define TQGrid Q3Grid
+#define TQGridView Q3GridView
+#define TQGroupBox Q3GroupBox
+#define TQGuardedPtr QPointer
+#define TQGuardedPtrPrivate QPointerPrivate
+#define TQGVector QGVector
+#define TQHBox Q3HBox
+#define TQHButtonGroup Q3HButtonGroup
+#define TQHeader Q3Header
+#define TQHGroupBox Q3HGroupBox
+#define TQHostAddress QHostAddress
+#define TQHttpHeader Q3HttpHeader
+#define TQHttpResponseHeader Q3HttpResponseHeader
+#define TQHttpRequestHeader Q3HttpRequestHeader
+#define TQHttp Q3Http
+#define TQIconSet QIcon
+//#define TQIconFactory QIconFactory
+#define TQIconDragItem Q3IconDragItem
+#define TQIconDrag Q3IconDrag
+#define TQIconViewItem Q3IconViewItem
+#define TQIconView Q3IconView
+#define TQImageFormatPlugin QImageFormatPlugin
+#define TQImageTextKeyLang QImageTextKeyLang
+#define TQImage QImage
+//#define TQImageIO QImageIO
+#define TQInputContextFactory QInputContextFactory
+#define TQInputContext QInputContext
+#define TQIntCache Q3IntCache
+#define TQIntCacheIterator Q3IntCacheIterator
+#define TQIntDict Q3IntDict
+#define TQIntDictIterator Q3IntDictIterator
+#define TQIODevice QIODevice
+#define TQJisCodec QJisCodec
+#define TQJpUnicodeConv QJpUnicodeConv
+#define TQKeySequence QKeySequence
+#define TQLabel QLabel
+#define TQGLayoutIterator QGLayoutIterator
+#define TQLayoutIterator QLayoutIterator
+#define TQLayoutItem QLayoutItem
+#define TQSpacerItem QSpacerItem
+#define TQWidgetItem QWidgetItem
+#define TQLayout QLayout
+#define TQGridLayout QGridLayout
+#define TQBoxLayout QBoxLayout
+#define TQHBoxLayout QHBoxLayout
+#define TQVBoxLayout QVBoxLayout
+#define TQLCDNumber QLCDNumber
+#define TQLibrary QLibrary
+#define TQLineEdit QLineEdit
+#define TQListBox Q3ListBox
+#define TQListBoxItem Q3ListBoxItem
+#define TQListBoxText Q3ListBoxText
+#define TQListBoxPixmap Q3ListBoxPixmap
+#define TQListViewItem Q3ListViewItem
+#define TQListView Q3ListView
+#define TQCheckListItem Q3CheckListItem
+#define TQListViewItemIterator Q3ListViewItemIterator
+#define TQLocale QLocale
+#define TQLocalFs Q3LocalFs
+#define TQMainWindow Q3MainWindow
+//#define TQMapIterator QMapIterator
+//#define TQMapIterator QMap::iterator
+//#define TQMapConstIterator QMapConstIterator
+//#define TQMapConstIterator QMapIterator
+//#define TQMapPrivateBase QMapPrivateBase
+//#define TQMapPrivate QMapPrivate
+//#define TQMap QMap
+#define TQMemArray Q3MemArray
+#define TQMenuBar QMenuBar
+#define TQMenuItem QMenuItem
+#define TQCustomMenuItem QCustomMenuItem
+#define TQMenuData QMenuData
+#define TQMessageBox QMessageBox
+#define TQMetaProperty QMetaProperty
+#define TQMetaObject const QMetaObject
+#define TQMetaObjectCleanUp QMetaObjectCleanUp
+#define TQMimeSource QMimeSource
+#define TQMimeSourceFactory Q3MimeSourceFactory
+#define TQWindowsMime QWindowsMime
+#define TQMacMime QMacMime
+#define TQMotifPlusStyle QMotifPlusStyle
+#define TQMotifStyle QMotifStyle
+//#define TQMovie QMovie
+#define TQMultiLineEdit Q3MultiLineEdit
+#define TQMutex QMutex
+#define TQMutexLocker QMutexLocker
+#define TQt Qt
+#define TQInternal QInternal
+#define TQNetworkProtocolFactoryBase QNetworkProtocolFactoryBase
+#define TQNetworkProtocolFactory QNetworkProtocolFactory
+#define TQNetworkProtocol Q3NetworkProtocol
+#define TQNetworkOperation Q3NetworkOperation
+#define TQObjectCleanupHandler QObjectCleanupHandler
+#define TQObjectDictionary QObjectDictionary
+#define TQObject QObject
+#define TQObjectUserData QObjectUserData
+#define TQObject QObject
+//#define TQObjectList QObjectList
+#define TQObjectList TQPtrList<QObject>
+//#define TQObjectListIterator TQListIterator<QObject *>
+#define TQObjectListIterator TQPtrListIterator<QObject>
+#define TQObjectListIt TQObjectListIterator
+#define TQPaintDevice QPaintDevice
+#define TQPaintDeviceMetrics Q3PaintDeviceMetrics
+#define TQPainter Q3Painter
+#define TQColorGroup QColorGroup
+//#define TQPair QPair
+#define TQPalette QPalette
+#define TQPen QPen
+#define TQPicture Q3Picture
+#define TQPixmapCache QPixmapCache
+#define TQPixmap QPixmap
+#define TQPlatinumStyle QPlatinumStyle
+#define TQPNGImageWriter QPNGImageWriter
+#define TQPNGImagePacker QPNGImagePacker
+#define TQPointArray Q3PointArray
+#define TQPoint QPoint
+#define TQPolygonScanner QPolygonScanner
+#define TQPopupMenu Q3PopupMenu
+#define TQPrintDialog QPrintDialog
+#define TQPrinter QPrinter
+#define TQProcess Q3Process
+#define TQProgressBar Q3ProgressBar
+#define TQProgressDialog Q3ProgressDialog
+#define TQPtrCollection Q3PtrCollection
+#define TQPtrDict Q3PtrDict
+#define TQPtrDictIterator Q3PtrDictIterator
+// #define TQPtrListStdIterator Q3PtrListStdIterator
+// #define TQPtrList Q3PtrList
+// #define TQPtrListIterator Q3PtrListIterator
+//#define TQPtrListIterator QListIterator
+#define TQPtrQueue Q3PtrQueue
+#define TQPtrStack Q3PtrStack
+#define TQPtrVector Q3PtrVector
+#define TQPushButton QPushButton
+#define TQRadioButton QRadioButton
+#define TQRangeControl Q3RangeControl
+#define TQSpinWidget QSpinWidget
+#define TQRect QRect
+#define TQRegExp QRegExp
+#define TQRegion QRegion
+#define TQHebrewCodec QHebrewCodec
+#define TQScrollBar QScrollBar
+#define TQScrollView Q3ScrollView
+#define TQSemaphore Q3Semaphore
+#define TQSemiModal QSemiModal
+#define TQServerSocket Q3ServerSocket
+#define TQSettings QSettings
+#define TQSGIStyle QSGIStyle
+#define TQSignal Q3Signal
+#define TQSignalMapper QSignalMapper
+#define TQConnectionList QConnectionList
+#define TQConnectionListIt QConnectionListIt
+#define TQSignalVec QSignalVec
+#define TQSimpleRichText Q3SimpleRichText
+#define TQSizeGrip QSizeGrip
+#define TQSize QSize
+#define TQSizePolicy QSizePolicy
+#define TQSjisCodec QSjisCodec
+#define TQSlider QSlider
+#define TQSocketDevice Q3SocketDevice
+#define TQSocket Q3Socket
+#define TQSocketNotifier QSocketNotifier
+#define TQSortedList QSortedList
+#define TQSound QSound
+#define TQSpinBox QSpinBox
+#define TQSplashScreen QSplashScreen
+#define TQSplitter QSplitter
+#define TQSqlCursor Q3SqlCursor
+#define TQSqlDatabase QSqlDatabase
+#define TQSqlDriver QSqlDriver
+#define TQSqlDriverPlugin QSqlDriverPlugin
+#define TQSqlEditorFactory Q3SqlEditorFactory
+#define TQSqlError QSqlError
+#define TQSqlFieldPrivate QSqlFieldPrivate
+#define TQSqlField QSqlField
+#define TQSqlFieldInfo Q3SqlFieldInfo
+#define TQSqlForm Q3SqlForm
+#define TQSql QSql
+#define TQSqlIndex QSqlIndex
+#define TQSqlPropertyMap Q3SqlPropertyMap
+#define TQSqlQuery QSqlQuery
+#define TQSqlResultShared QSqlResultShared
+#define TQSqlRecordShared QSqlRecordShared
+#define TQSqlRecord QSqlRecord
+#define TQSqlRecordInfo Q3SqlRecordInfo
+#define TQSqlResult QSqlResult
+#define TQSqlSelectCursorPrivate QSqlSelectCursorPrivate
+#define TQSqlSelectCursor Q3SqlSelectCursor
+#define TQStatusBar QStatusBar
+#define TQChar QChar
+#define TQString QString
+#define TQCharRef QCharRef
+#define TQConstString QConstString
+//#define TQStringList QStringList
+// #define TQStrListIterator Q3StrListIterator
+// #define TQStrIList Q3StrIList
+// #define TQStrList Q3StrList
+#define TQStrVec QStrVec
+#define TQStrIVec QStrIVec
+#define TQStyleFactory QStyleFactory
+#define TQStyleOption QStyleOption
+#define TQStyle QStyle
+#define TQStyleHintReturn QStyleHintReturn
+#define TQStylePlugin QStylePlugin
+#define TQStyleSheetItem Q3StyleSheetItem
+#define TQStyleSheet Q3StyleSheet
+#define TQSyntaxHighlighter Q3SyntaxHighlighter
+#define TQTab QTab
+#define TQTabBar QTabBar
+#define TQTabDialog Q3TabDialog
+#define TQTableSelection Q3TableSelection
+#define TQTableItem Q3TableItem
+#define TQCheckTableItem Q3CheckTableItem
+#define TQTable Q3Table
+#define TQTabWidget QTabWidget
+#define TQTextBrowser Q3TextBrowser
+#define TQTextCodecFactory QTextCodecFactory
+#define TQTextEncoder QTextEncoder
+#define TQTextDecoder QTextDecoder
+#define TQTextCodec QTextCodec
+#define TQTextCodecPlugin QTextCodecPlugin
+#define TQTextEdit Q3TextEdit
+#define TQTextStream Q3TextStream
+#define TQTextIStream QTextIStream
+#define TQTextOStream QTextOStream
+#define TQTSManip QTSManip
+#define TQTextView Q3TextView
+#define TQThread QThread
+#define TQThreadStorageData QThreadStorageData
+#define TQThreadStorage QThreadStorage
+#define TQTimer QTimer
+#define TQTextOStreamIterator QTextOStreamIterator
+#define TQBackInsertIterator QBackInsertIterator
+#define TQtMsgType QtMsgType
+#define TQtMsgHandler QtMsgHandler
+#define TQToolBar Q3ToolBar
+#define TQToolBox QToolBox
+#define TQToolButton QToolButton
+#define TQToolTipGroup QToolTipGroup
+#define TQToolTip QToolTip
+#define TQTranslator QTranslator
+#define TQTranslatorMessage QTranslatorMessage
+#define TQTsciiCodec QTsciiCodec
+#define TQUrl Q3Url
+#define TQUrlInfo QUrlInfo
+#define TQUrlOperator Q3UrlOperator
+#define TQUtf8Codec QUtf8Codec
+#define TQUtf16Codec QUtf16Codec
+#define TQValidator QValidator
+#define TQIntValidator QIntValidator
+#define TQDoubleValidator QDoubleValidator
+#define TQRegExpValidator QRegExpValidator
+// #define TQValueListNode QValueListNode
+// #define TQValueListIterator Q3ValueListIterator
+// #define TQValueListConstIterator Q3ValueListConstIterator
+// #define TQValueListPrivate QValueListPrivate
+// #define TQValueList Q3ValueList
+#define TQValueStack Q3ValueStack
+#define TQValueVectorPrivate QValueVectorPrivate
+#define TQValueVector Q3ValueVector
+#define TQVariant QVariant
+#define TQVBox Q3VBox
+#define TQVButtonGroup Q3VButtonGroup
+#define TQVGroupBox Q3VGroupBox
+#define TQWaitCondition QWaitCondition
+#define TQWhatsThis Q3WhatsThis
+#define TQWidgetFactory QWidgetFactory
+#define TQWidget QWidget
+#define TQWidgetIntDict QWidgetIntDict
+#define TQWidgetIntDictIt QWidgetIntDictIt
+// #define TQWidgetList QWidgetList
+// #define TQWidgetListIt QWidgetListIt
+#define TQWidgetPlugin QWidgetPlugin
+#define TQWidgetContainerPlugin QWidgetContainerPlugin
+#define TQWidgetStack Q3WidgetStack
+#define TQWidgetStackAccelManager Q3WidgetStackAccelManager
+#define TQWindowsStyle QWindowsStyle
+#define TQWizard Q3Wizard
+#define TQWMatrix QMatrix
+#define TQWorkspace QWorkspace
+#define TQXmlNamespaceSupport QXmlNamespaceSupport
+#define TQXmlAttributes QXmlAttributes
+#define TQXmlInputSource QXmlInputSource
+#define TQXmlParseException QXmlParseException
+#define TQXmlReader QXmlReader
+#define TQXmlSimpleReader QXmlSimpleReader
+#define TQXmlLocator QXmlLocator
+#define TQXmlContentHandler QXmlContentHandler
+#define TQXmlErrorHandler QXmlErrorHandler
+#define TQXmlDTDHandler QXmlDTDHandler
+#define TQXmlEntityResolver QXmlEntityResolver
+#define TQXmlLexicalHandler QXmlLexicalHandler
+#define TQXmlDeclHandler QXmlDeclHandler
+#define TQXmlDefaultHandler QXmlDefaultHandler
+#endif
+
+// Undo any damage caused by the tqt-replace utility
+//#define QCStringList TQCStringList
+//#define QtWIN TQtWIN
+
+//#include "kdemacros.h.in"
+//#define TQT_EXPORT KDE_EXPORT
+
+#endif /* TQT_H */