diff options
Diffstat (limited to 'qtinterface')
569 files changed, 0 insertions, 27316 deletions
diff --git a/qtinterface/CMakeLists.txt b/qtinterface/CMakeLists.txt deleted file mode 100644 index db7a8ec..0000000 --- a/qtinterface/CMakeLists.txt +++ /dev/null @@ -1,191 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# (C) 2011-2012 Timothy Pearson -# kb9vqf (AT) pearsoncomputing (DOT) net -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -set( IFACE "interface_tqt3" ) - -include_directories( - ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/private - ${TQT_INCLUDE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/${IFACE} - ${CMAKE_CURRENT_SOURCE_DIR}/${IFACE}/private - ${CMAKE_BINARY_DIR} -) - -link_directories( - ${TQT_LIBRARY_DIR} -) - - -##### headers ################################### - -configure_file( tqt.h.cmake tqt.h @ONLY ) - -install( FILES - ${CMAKE_CURRENT_BINARY_DIR}/tqt.h ${IFACE}/tqtglobaldefines.h ${IFACE}/tqaccel.h ${IFACE}/tqaccessible.h - ${IFACE}/tqaction.h ${IFACE}/tqapplication.h ${IFACE}/tqasyncio.h ${IFACE}/tqbuttongroup.h ${IFACE}/tqbutton.h ${IFACE}/tqcanvas.h - ${IFACE}/tqcdestyle.h ${IFACE}/tqcheckbox.h ${IFACE}/tqclipboard.h ${IFACE}/tqcolordialog.h ${IFACE}/tqcombobox.h - ${IFACE}/tqcommonstyle.h ${IFACE}/tqdatabrowser.h ${IFACE}/tqdatatable.h ${IFACE}/tqdataview.h ${IFACE}/tqdatetimeedit.h - ${IFACE}/tqdesktopwidget.h ${IFACE}/tqdial.h ${IFACE}/tqdialog.h ${IFACE}/tqdns.h ${IFACE}/tqdockarea.h ${IFACE}/tqdockwindow.h - ${IFACE}/tqdragobject.h ${IFACE}/tqerrormessage.h ${IFACE}/tqeventloop.h ${IFACE}/tqfiledialog.h ${IFACE}/tqfontdialog.h - ${IFACE}/tqframe.h ${IFACE}/tqftp.h ${IFACE}/tqgl.h ${IFACE}/tqgplugin.h ${IFACE}/tqgrid.h ${IFACE}/tqgridview.h ${IFACE}/tqgroupbox.h - ${IFACE}/tqguardedptr.h ${IFACE}/tqhbox.h ${IFACE}/tqhbuttongroup.h ${IFACE}/tqheader.h ${IFACE}/tqhgroupbox.h - ${IFACE}/tqhttp.h ${IFACE}/tqiconview.h ${IFACE}/tqimageformatplugin.h ${IFACE}/tqinputdialog.h ${IFACE}/tqlabel.h - ${IFACE}/tqlayout.h ${IFACE}/tqlcdnumber.h ${IFACE}/tqlineedit.h ${IFACE}/tqlistbox.h ${IFACE}/tqlistview.h ${IFACE}/tqlocalfs.h - ${IFACE}/tqmainwindow.h ${IFACE}/tqmenubar.h ${IFACE}/tqmessagebox.h ${IFACE}/tqmotifplusstyle.h ${IFACE}/tqmotifstyle.h - ${IFACE}/tqmultilineedit.h ${IFACE}/tqnetworkprotocol.h ${IFACE}/tqnp.h ${IFACE}/tqobjectcleanuphandler.h - ${IFACE}/tqobject.h ${IFACE}/tqplatinumstyle.h ${IFACE}/tqpopupmenu.h ${IFACE}/tqprintdialog.h ${IFACE}/tqprocess.h - ${IFACE}/tqprogressbar.h ${IFACE}/tqprogressdialog.h ${IFACE}/tqpushbutton.h ${IFACE}/tqradiobutton.h - ${IFACE}/tqrangecontrol.h ${IFACE}/tqscrollbar.h ${IFACE}/tqscrollview.h ${IFACE}/tqserversocket.h - ${IFACE}/tqsessionmanager.h ${IFACE}/tqsgistyle.h ${IFACE}/tqsignal.h ${IFACE}/tqsignalmapper.h ${IFACE}/tqsizegrip.h - ${IFACE}/tqslider.h ${IFACE}/tqsocket.h ${IFACE}/tqsocketnotifier.h ${IFACE}/tqsound.h ${IFACE}/tqspinbox.h ${IFACE}/tqsplashscreen.h - ${IFACE}/tqsplitter.h ${IFACE}/tqsqldatabase.h ${IFACE}/tqsqldriver.h ${IFACE}/tqsqldriverplugin.h ${IFACE}/tqsqlform.h - ${IFACE}/tqsqlquery.h ${IFACE}/tqstatusbar.h ${IFACE}/tqstyle.h ${IFACE}/tqstyleplugin.h ${IFACE}/tqstylesheet.h ${IFACE}/tqtabbar.h - ${IFACE}/tqtabdialog.h ${IFACE}/tqtable.h ${IFACE}/tqtabwidget.h ${IFACE}/tqtextbrowser.h ${IFACE}/tqtextcodecplugin.h - ${IFACE}/tqtextedit.h ${IFACE}/tqtextview.h ${IFACE}/tqtimer.h ${IFACE}/tqtoolbar.h ${IFACE}/tqtoolbox.h ${IFACE}/tqtoolbutton.h - ${IFACE}/tqtooltip.h ${IFACE}/tqtranslator.h ${IFACE}/tqurloperator.h ${IFACE}/tqvalidator.h ${IFACE}/tqvbox.h - ${IFACE}/tqvbuttongroup.h ${IFACE}/tqvgroupbox.h ${IFACE}/tqwidget.h ${IFACE}/tqwidgetplugin.h ${IFACE}/tqwidgetstack.h - ${IFACE}/tqwindowsstyle.h ${IFACE}/tqwizard.h ${IFACE}/tqworkspace.h ${IFACE}/tqassistantclient.h - ${IFACE}/tqconfig.h ${IFACE}/tqfeatures.h ${IFACE}/tqgbkcodec.h ${IFACE}/tqgeneric.h ${IFACE}/tqgif.h - ${IFACE}/tqglobal.h ${IFACE}/tqjpegio.h ${IFACE}/tqkeycode.h ${IFACE}/tqmngio.h ${IFACE}/tqmodules.h - ${IFACE}/tqnetwork.h ${IFACE}/tqobjectdefs.h ${IFACE}/tqsession.h ${IFACE}/tqwindowdefs.h ${IFACE}/tqwinexport.h - ${IFACE}/tqabstractlayout.h ${IFACE}/tqasciicache.h ${IFACE}/tqasciidict.h ${IFACE}/tqasyncimageio.h ${IFACE}/tqbig5codec.h - ${IFACE}/tqbitarray.h ${IFACE}/tqbitmap.h ${IFACE}/tqbrush.h ${IFACE}/tqbuffer.h ${IFACE}/tqcache.h ${IFACE}/tqcleanuphandler.h - ${IFACE}/tqcolor.h ${IFACE}/tqcompactstyle.h ${IFACE}/tqconnection.h ${IFACE}/tqcstring.h ${IFACE}/tqcursor.h ${IFACE}/tqdatastream.h - ${IFACE}/tqdatetime.h ${IFACE}/tqdeepcopy.h ${IFACE}/tqdict.h ${IFACE}/tqdir.h ${IFACE}/tqdom.h ${IFACE}/tqdrawutil.h ${IFACE}/tqdropsite.h - ${IFACE}/tqeditorfactory.h ${IFACE}/tqeucjpcodec.h ${IFACE}/tqeuckrcodec.h ${IFACE}/tqevent.h ${IFACE}/tqfile.h ${IFACE}/tqfileinfo.h - ${IFACE}/tqfocusdata.h ${IFACE}/tqfontdatabase.h ${IFACE}/tqfont.h ${IFACE}/tqfontinfo.h ${IFACE}/tqfontmetrics.h - ${IFACE}/tqgarray.h ${IFACE}/tqgb18030codec.h ${IFACE}/tqgcache.h ${IFACE}/tqgdict.h ${IFACE}/tqglcolormap.h ${IFACE}/tqglist.h - ${IFACE}/tqgvector.h ${IFACE}/tqhostaddress.h ${IFACE}/tqiconset.h ${IFACE}/tqimage.h ${IFACE}/tqintcache.h ${IFACE}/tqintdict.h - ${IFACE}/tqinterlacestyle.h ${IFACE}/tqiodevice.h ${IFACE}/tqjiscodec.h ${IFACE}/tqjpunicode.h ${IFACE}/tqkeysequence.h - ${IFACE}/tqlibrary.h ${IFACE}/tqlocale.h ${IFACE}/tqmap.h ${IFACE}/tqmemarray.h ${IFACE}/tqmenudata.h ${IFACE}/tqmetaobject.h - ${IFACE}/tqmime.h ${IFACE}/tqmovie.h ${IFACE}/tqmutex.h ${IFACE}/tqnamespace.h ${IFACE}/tqobjectdict.h ${IFACE}/tqobjectlist.h - ${IFACE}/tqpaintdevice.h ${IFACE}/tqpaintdevicemetrics.h ${IFACE}/tqpainter.h ${IFACE}/tqpair.h ${IFACE}/tqpalette.h ${IFACE}/tqpen.h - ${IFACE}/tqpicture.h ${IFACE}/tqpixmapcache.h ${IFACE}/tqpixmap.h ${IFACE}/tqpngio.h ${IFACE}/tqpointarray.h ${IFACE}/tqpoint.h - ${IFACE}/tqpolygonscanner.h ${IFACE}/tqprinter.h ${IFACE}/tqptrcollection.h ${IFACE}/tqptrdict.h ${IFACE}/tqptrlist.h - ${IFACE}/tqptrqueue.h ${IFACE}/tqptrstack.h ${IFACE}/tqptrvector.h ${IFACE}/tqrect.h ${IFACE}/tqregexp.h ${IFACE}/tqregion.h - ${IFACE}/tqrtlcodec.h ${IFACE}/tqsemaphore.h ${IFACE}/tqsettings.h ${IFACE}/tqshared.h ${IFACE}/tqsignalslotimp.h - ${IFACE}/tqsimplerichtext.h ${IFACE}/tqsize.h ${IFACE}/tqsizepolicy.h ${IFACE}/tqsjiscodec.h ${IFACE}/tqsocketdevice.h - ${IFACE}/tqsqlcursor.h ${IFACE}/tqsqleditorfactory.h ${IFACE}/tqsqlerror.h ${IFACE}/tqsqlfield.h - ${IFACE}/tqsql.h ${IFACE}/tqsqlindex.h ${IFACE}/tqsqlpropertymap.h ${IFACE}/tqsqlrecord.h ${IFACE}/tqsqlresult.h - ${IFACE}/tqsqlselectcursor.h ${IFACE}/tqstring.h ${IFACE}/tqstringlist.h ${IFACE}/tqstrlist.h ${IFACE}/tqstrvec.h - ${IFACE}/tqstylefactory.h ${IFACE}/tqsyntaxhighlighter.h ${IFACE}/tqtextcodecfactory.h ${IFACE}/tqtextcodec.h - ${IFACE}/tqtextstream.h ${IFACE}/tqthread.h ${IFACE}/tqthreadstorage.h ${IFACE}/tqtl.h ${IFACE}/tqtsciicodec.h ${IFACE}/tqurl.h - ${IFACE}/tqurlinfo.h ${IFACE}/tqutfcodec.h ${IFACE}/tquuid.h ${IFACE}/tqvaluelist.h ${IFACE}/tqvaluestack.h ${IFACE}/tqvaluevector.h - ${IFACE}/tqvariant.h ${IFACE}/tqvfbhdr.h ${IFACE}/tqwaitcondition.h ${IFACE}/tqwhatsthis.h ${IFACE}/tqwidgetfactory.h - ${IFACE}/tqwidgetintdict.h ${IFACE}/tqwidgetlist.h ${IFACE}/tqwmatrix.h ${IFACE}/tqxml.h ${IFACE}/private/tqucomextra_p.h - ${IFACE}/private/tqlayoutengine_p.h ${IFACE}/private/tqinternal_p.h ${IFACE}/private/tqeffects_p.h - ${IFACE}/private/tqrichtext_p.h ${IFACE}/private/tqpluginmanager_p.h ${IFACE}/private/tqcom_p.h - ${IFACE}/private/tqucom_p.h ${IFACE}/private/tqwidgetinterface_p.h ${IFACE}/private/tqtextengine_p.h - DESTINATION ${INCLUDE_INSTALL_DIR} ) - -##### tqt tools ################################# - -configure_file( ${IFACE}/tmoc.cmake tmoc @ONLY ) -configure_file( uic-tqt.cmake uic-tqt @ONLY ) -configure_file( tqt-replace-tqt3.cmake tqt-replace @ONLY ) - -install( PROGRAMS - moc-tqt ${CMAKE_CURRENT_BINARY_DIR}/uic-tqt - mcopidl-tqt dcopidl-tqt dcopidlng-tqt - dcopidl2cpp-tqt convert_qt_tqt1 convert_qt_tqt2 - convert_qt_tqt3 ${CMAKE_CURRENT_BINARY_DIR}/tmoc - ${CMAKE_CURRENT_BINARY_DIR}/tqt-replace - DESTINATION ${BIN_INSTALL_DIR} ) - - -##### tqt pkgconfig ############################# - -string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${EXEC_INSTALL_PREFIX} ) -string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_INCLUDE_DIR ${INCLUDE_INSTALL_DIR} ) -string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_LIB_DIR ${LIB_INSTALL_DIR} ) - -unset( PC_TQT_LIBRARIES ) -foreach( _lib ${TQT_LIBRARIES} ) - set( PC_TQT_LIBRARIES "${PC_TQT_LIBRARIES} -l${_lib}" ) -endforeach( ) - -configure_file( tqt.pc.cmake tqt.pc @ONLY ) -configure_file( tqtqui.pc.cmake tqtqui.pc @ONLY ) - -install( FILES ${CMAKE_CURRENT_BINARY_DIR}/tqt.pc DESTINATION ${PKGCONFIG_INSTALL_DIR} ) -install( FILES ${CMAKE_CURRENT_BINARY_DIR}/tqtqui.pc DESTINATION ${PKGCONFIG_INSTALL_DIR} ) - - -##### tqt (shared) ############################## - - -tde_add_library( tqt SHARED - SOURCES - ${IFACE}/tqt.cpp ${IFACE}/tqaccel.cpp ${IFACE}/tqaccessible.cpp ${IFACE}/tqaction.cpp ${IFACE}/tqapplication.cpp - ${IFACE}/tqasyncio.cpp ${IFACE}/tqbuttongroup.cpp ${IFACE}/tqbutton.cpp ${IFACE}/tqcanvas.cpp ${IFACE}/tqcdestyle.cpp - ${IFACE}/tqcheckbox.cpp ${IFACE}/tqclipboard.cpp ${IFACE}/tqcolordialog.cpp ${IFACE}/tqcombobox.cpp - ${IFACE}/tqcommonstyle.cpp ${IFACE}/tqdatabrowser.cpp ${IFACE}/tqdatatable.cpp ${IFACE}/tqdataview.cpp - ${IFACE}/tqdatetimeedit.cpp ${IFACE}/tqdesktopwidget.cpp ${IFACE}/tqdial.cpp ${IFACE}/tqdialog.cpp ${IFACE}/tqdns.cpp - ${IFACE}/tqdockarea.cpp ${IFACE}/tqdockwindow.cpp ${IFACE}/tqdragobject.cpp ${IFACE}/tqerrormessage.cpp - ${IFACE}/tqeventloop.cpp ${IFACE}/tqframe.cpp ${IFACE}/tqftp.cpp ${IFACE}/tqfiledialog.cpp ${IFACE}/tqfontdialog.cpp - ${IFACE}/tqgl.cpp ${IFACE}/tqgplugin.cpp ${IFACE}/tqgrid.cpp ${IFACE}/tqgridview.cpp ${IFACE}/tqgroupbox.cpp - ${IFACE}/tqguardedptr.cpp ${IFACE}/tqhbox.cpp ${IFACE}/tqhbuttongroup.cpp ${IFACE}/tqheader.cpp - ${IFACE}/tqhgroupbox.cpp ${IFACE}/tqhttp.cpp ${IFACE}/tqiconview.cpp ${IFACE}/tqimageformatplugin.cpp - ${IFACE}/tqinputdialog.cpp ${IFACE}/tqlabel.cpp ${IFACE}/tqlayout.cpp ${IFACE}/tqlcdnumber.cpp ${IFACE}/tqlineedit.cpp - ${IFACE}/tqlistbox.cpp ${IFACE}/tqlistview.cpp ${IFACE}/tqlocalfs.cpp ${IFACE}/tqmainwindow.cpp ${IFACE}/tqmenubar.cpp - ${IFACE}/tqmessagebox.cpp ${IFACE}/tqmotifplusstyle.cpp ${IFACE}/tqmotifstyle.cpp ${IFACE}/tqmultilineedit.cpp - ${IFACE}/tqnetworkprotocol.cpp ${IFACE}/tqnp.cpp ${IFACE}/tqobjectcleanuphandler.cpp ${IFACE}/tqobject.cpp - ${IFACE}/tqplatinumstyle.cpp ${IFACE}/tqpopupmenu.cpp ${IFACE}/tqprintdialog.cpp ${IFACE}/tqprocess.cpp - ${IFACE}/tqprogressbar.cpp ${IFACE}/tqprogressdialog.cpp ${IFACE}/tqpushbutton.cpp ${IFACE}/tqradiobutton.cpp - ${IFACE}/tqrangecontrol.cpp ${IFACE}/tqscrollbar.cpp ${IFACE}/tqscrollview.cpp - ${IFACE}/tqserversocket.cpp ${IFACE}/tqsessionmanager.cpp ${IFACE}/tqsgistyle.cpp ${IFACE}/tqsignal.cpp - ${IFACE}/tqsignalmapper.cpp ${IFACE}/tqsizegrip.cpp ${IFACE}/tqslider.cpp ${IFACE}/tqsocket.cpp - ${IFACE}/tqsocketnotifier.cpp ${IFACE}/tqsound.cpp ${IFACE}/tqspinbox.cpp ${IFACE}/tqsplashscreen.cpp - ${IFACE}/tqsplitter.cpp ${IFACE}/tqsqldatabase.cpp ${IFACE}/tqsqldriver.cpp ${IFACE}/tqsqldriverplugin.cpp - ${IFACE}/tqsqlform.cpp ${IFACE}/tqsqlquery.cpp ${IFACE}/tqstatusbar.cpp ${IFACE}/tqstyle.cpp ${IFACE}/tqstyleplugin.cpp - ${IFACE}/tqstylesheet.cpp ${IFACE}/tqtabbar.cpp ${IFACE}/tqtabdialog.cpp ${IFACE}/tqtable.cpp ${IFACE}/tqtabwidget.cpp - ${IFACE}/tqtextbrowser.cpp ${IFACE}/tqtextcodecplugin.cpp ${IFACE}/tqtextedit.cpp ${IFACE}/tqtextview.cpp - ${IFACE}/tqtimer.cpp ${IFACE}/tqtoolbar.cpp ${IFACE}/tqtoolbox.cpp ${IFACE}/tqtoolbutton.cpp ${IFACE}/tqtooltip.cpp - ${IFACE}/tqtranslator.cpp ${IFACE}/tqurloperator.cpp ${IFACE}/tqvalidator.cpp ${IFACE}/tqvbox.cpp - ${IFACE}/tqvbuttongroup.cpp ${IFACE}/tqvgroupbox.cpp ${IFACE}/tqwidget.cpp ${IFACE}/tqwidgetplugin.cpp - ${IFACE}/tqwidgetstack.cpp ${IFACE}/tqwindowsstyle.cpp ${IFACE}/tqwizard.cpp ${IFACE}/tqworkspace.cpp - ${IFACE}/tqabstractlayout.cpp ${IFACE}/tqasciicache.cpp ${IFACE}/tqasciidict.cpp - ${IFACE}/tqasyncimageio.cpp ${IFACE}/tqbig5codec.cpp ${IFACE}/tqbitarray.cpp ${IFACE}/tqbitmap.cpp ${IFACE}/tqbrush.cpp - ${IFACE}/tqbuffer.cpp ${IFACE}/tqcache.cpp ${IFACE}/tqcleanuphandler.cpp ${IFACE}/tqcolor.cpp ${IFACE}/tqcompactstyle.cpp - ${IFACE}/tqconnection.cpp ${IFACE}/tqcstring.cpp ${IFACE}/tqcursor.cpp ${IFACE}/tqdatastream.cpp ${IFACE}/tqdatetime.cpp - ${IFACE}/tqdeepcopy.cpp ${IFACE}/tqdict.cpp ${IFACE}/tqdir.cpp ${IFACE}/tqdom.cpp ${IFACE}/tqdrawutil.cpp ${IFACE}/tqdropsite.cpp - ${IFACE}/tqeditorfactory.cpp ${IFACE}/tqeucjpcodec.cpp ${IFACE}/tqeuckrcodec.cpp ${IFACE}/tqevent.cpp ${IFACE}/tqfile.cpp - ${IFACE}/tqfileinfo.cpp ${IFACE}/tqfocusdata.cpp ${IFACE}/tqfontdatabase.cpp ${IFACE}/tqfont.cpp ${IFACE}/tqfontinfo.cpp - ${IFACE}/tqfontmetrics.cpp ${IFACE}/tqgarray.cpp ${IFACE}/tqgb18030codec.cpp ${IFACE}/tqgcache.cpp ${IFACE}/tqgdict.cpp - ${IFACE}/tqglcolormap.cpp ${IFACE}/tqglist.cpp ${IFACE}/tqgvector.cpp ${IFACE}/tqhostaddress.cpp ${IFACE}/tqiconset.cpp - ${IFACE}/tqimage.cpp ${IFACE}/tqintcache.cpp ${IFACE}/tqintdict.cpp ${IFACE}/tqinterlacestyle.cpp ${IFACE}/tqiodevice.cpp - ${IFACE}/tqjiscodec.h ${IFACE}/tqjpunicode.cpp ${IFACE}/tqkeysequence.cpp ${IFACE}/tqlibrary.cpp ${IFACE}/tqlocale.cpp - ${IFACE}/tqmap.cpp ${IFACE}/tqmemarray.cpp ${IFACE}/tqmenudata.cpp ${IFACE}/tqmetaobject.cpp ${IFACE}/tqmime.cpp ${IFACE}/tqmovie.cpp - ${IFACE}/tqmutex.cpp ${IFACE}/tqnamespace.cpp ${IFACE}/tqobjectdict.cpp ${IFACE}/tqobjectlist.cpp ${IFACE}/tqpaintdevice.cpp - ${IFACE}/tqpaintdevicemetrics.cpp ${IFACE}/tqpainter.cpp ${IFACE}/tqpair.cpp ${IFACE}/tqpalette.cpp ${IFACE}/tqpen.cpp - ${IFACE}/tqpicture.cpp ${IFACE}/tqpixmapcache.cpp ${IFACE}/tqpixmap.cpp ${IFACE}/tqpngio.cpp ${IFACE}/tqpointarray.cpp - ${IFACE}/tqpoint.cpp ${IFACE}/tqpolygonscanner.cpp ${IFACE}/tqprinter.cpp ${IFACE}/tqptrcollection.cpp - ${IFACE}/tqptrdict.cpp ${IFACE}/tqptrlist.cpp ${IFACE}/tqptrqueue.cpp ${IFACE}/tqptrstack.cpp ${IFACE}/tqptrvector.cpp - ${IFACE}/tqrect.cpp ${IFACE}/tqregexp.cpp ${IFACE}/tqregion.cpp ${IFACE}/tqrtlcodec.cpp ${IFACE}/tqsemaphore.cpp - ${IFACE}/tqsettings.cpp ${IFACE}/tqshared.cpp ${IFACE}/tqsignalslotimp.cpp ${IFACE}/tqsimplerichtext.cpp ${IFACE}/tqsize.cpp - ${IFACE}/tqsizepolicy.cpp ${IFACE}/tqsjiscodec.cpp ${IFACE}/tqsocketdevice.cpp - ${IFACE}/tqsqlcursor.cpp ${IFACE}/tqsqleditorfactory.cpp ${IFACE}/tqsqlerror.cpp ${IFACE}/tqsqlfield.cpp - ${IFACE}/tqsql.cpp ${IFACE}/tqsqlindex.cpp ${IFACE}/tqsqlpropertymap.cpp ${IFACE}/tqsqlrecord.cpp ${IFACE}/tqsqlresult.cpp - ${IFACE}/tqsqlselectcursor.cpp ${IFACE}/tqstring.cpp ${IFACE}/tqstringlist.cpp ${IFACE}/tqstrlist.cpp ${IFACE}/tqstrvec.cpp - ${IFACE}/tqstylefactory.cpp ${IFACE}/tqsyntaxhighlighter.cpp ${IFACE}/tqtextcodecfactory.cpp - ${IFACE}/tqtextcodec.cpp ${IFACE}/tqtextstream.cpp ${IFACE}/tqthread.cpp ${IFACE}/tqthreadstorage.cpp - ${IFACE}/tqtl.cpp ${IFACE}/tqtsciicodec.cpp ${IFACE}/tqurl.cpp ${IFACE}/tqurlinfo.cpp ${IFACE}/tqutfcodec.cpp ${IFACE}/tquuid.cpp - ${IFACE}/tqvaluelist.cpp ${IFACE}/tqvaluestack.cpp ${IFACE}/tqvaluevector.cpp ${IFACE}/tqvariant.cpp ${IFACE}/tqvfbhdr.cpp - ${IFACE}/tqwaitcondition.cpp ${IFACE}/tqwhatsthis.cpp ${IFACE}/tqwidgetfactory.cpp ${IFACE}/tqwidgetintdict.cpp - ${IFACE}/tqwidgetlist.cpp ${IFACE}/tqwmatrix.cpp ${IFACE}/tqxml.cpp ${IFACE}/private/tqucomextra_p.cpp - VERSION 4.2.0 - LINK ${TQT_LIBRARIES} - DESTINATION ${LIB_INSTALL_DIR} -) diff --git a/qtinterface/TODO b/qtinterface/TODO deleted file mode 100644 index 6733163..0000000 --- a/qtinterface/TODO +++ /dev/null @@ -1,59 +0,0 @@ -qaccessible - - - - -All headers that contain the keywork TQ_OBJECT have been ported, -exept for these due to *@#$ private functions - -qclipboard -qcolordialog -qdragobject (QDragManager) -qfontdialog -qguardedptr (TQGuardedPtr, weird compilation failure) -qinputdialog -qnetworkprotocol (QNetworkProtocolFactory, weird compilation failure) -qsessionmanager -qtranslator (TQT_NO_TRANSLATION is set, MOC does not honor #ifdef) -qwidgetplugin (TQWidgetContainerPlugin, weird compilation failure) - - - -And these that do not contain TQ_OBJECT are failing: - -qasciicache -qasciidict -qcache -qcleanuphandler -qdeepcopy -qdict -qintcache -qintdict -qmap -qmemarray -qptrdict -qptrlist -qptrqueue -qsqlpropertymap -qsqlselectcursor -qthreadstorage -qtl -qvaluelist -qvaluestack - -This may have something to do with the template class junk - -Weird headers with no classes (???): - -tqdrawutil - - - - -Here's the latest proposed structure of the library... - -All of Trinity now uses TQ<something>, e.g. QTimer is now TQTimer. Depending on the QT3 or QT4 flag, certain defines are set in tqt.h like the following: -#define TQCString QCString (for Qt3) -#define TQCString Q3CString (for Qt4) - -If needed, the TQ function can subclass the Q or Q3 function and reimplement the missing features. However, the vast majority of classes (those that have not changed much) will be handled with the simple #define statements, greatly simplifying and speeding implementation. diff --git a/qtinterface/convert_qt_tqt1 b/qtinterface/convert_qt_tqt1 deleted file mode 100755 index ef88688..0000000 --- a/qtinterface/convert_qt_tqt1 +++ /dev/null @@ -1,550 +0,0 @@ -#!/bin/bash - -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qabstractlayout\.h/\1tqabstractlayout\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qabstractlayout\.h/\1tqabstractlayout\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qaccel\.h/\1tqaccel\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qaccel\.h/\1tqaccel\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qaccessible\.h/\1tqaccessible\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qaccessible\.h/\1tqaccessible\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qaction\.h/\1tqaction\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qaction\.h/\1tqaction\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qapplication\.h/\1tqapplication\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qapplication\.h/\1tqapplication\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qasciicache\.h/\1tqasciicache\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qasciicache\.h/\1tqasciicache\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qasciidict\.h/\1tqasciidict\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qasciidict\.h/\1tqasciidict\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qasyncimageio\.h/\1tqasyncimageio\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qasyncimageio\.h/\1tqasyncimageio\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qasyncio\.h/\1tqasyncio\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qasyncio\.h/\1tqasyncio\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qbig5codec\.h/\1tqbig5codec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qbig5codec\.h/\1tqbig5codec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qbitarray\.h/\1tqbitarray\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qbitarray\.h/\1tqbitarray\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qbitmap\.h/\1tqbitmap\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qbitmap\.h/\1tqbitmap\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qbrush\.h/\1tqbrush\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qbrush\.h/\1tqbrush\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qbuffer\.h/\1tqbuffer\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qbuffer\.h/\1tqbuffer\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qbuttongroup\.h/\1tqbuttongroup\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qbuttongroup\.h/\1tqbuttongroup\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qbutton\.h/\1tqbutton\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qbutton\.h/\1tqbutton\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcache\.h/\1tqcache\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcache\.h/\1tqcache\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcanvas\.h/\1tqcanvas\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcanvas\.h/\1tqcanvas\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcdestyle\.h/\1tqcdestyle\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcdestyle\.h/\1tqcdestyle\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcheckbox\.h/\1tqcheckbox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcheckbox\.h/\1tqcheckbox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcleanuphandler\.h/\1tqcleanuphandler\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcleanuphandler\.h/\1tqcleanuphandler\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qclipboard\.h/\1tqclipboard\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qclipboard\.h/\1tqclipboard\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcolordialog\.h/\1tqcolordialog\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcolordialog\.h/\1tqcolordialog\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcolor\.h/\1tqcolor\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcolor\.h/\1tqcolor\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcombobox\.h/\1tqcombobox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcombobox\.h/\1tqcombobox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcommonstyle\.h/\1tqcommonstyle\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcommonstyle\.h/\1tqcommonstyle\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcompactstyle\.h/\1tqcompactstyle\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcompactstyle\.h/\1tqcompactstyle\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qconfig\.h/\1tqconfig\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qconfig\.h/\1tqconfig\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qconnection\.h/\1tqconnection\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qconnection\.h/\1tqconnection\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcstring\.h/\1tqcstring\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcstring\.h/\1tqcstring\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcursor\.h/\1tqcursor\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcursor\.h/\1tqcursor\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdatabrowser\.h/\1tqdatabrowser\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdatabrowser\.h/\1tqdatabrowser\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdatastream\.h/\1tqdatastream\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdatastream\.h/\1tqdatastream\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdatatable\.h/\1tqdatatable\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdatatable\.h/\1tqdatatable\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdataview\.h/\1tqdataview\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdataview\.h/\1tqdataview\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdatetimeedit\.h/\1tqdatetimeedit\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdatetimeedit\.h/\1tqdatetimeedit\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdatetime\.h/\1tqdatetime\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdatetime\.h/\1tqdatetime\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdeepcopy\.h/\1tqdeepcopy\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdeepcopy\.h/\1tqdeepcopy\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdesktopwidget\.h/\1tqdesktopwidget\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdesktopwidget\.h/\1tqdesktopwidget\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdial\.h/\1tqdial\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdial\.h/\1tqdial\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdialog\.h/\1tqdialog\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdialog\.h/\1tqdialog\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdict\.h/\1tqdict\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdict\.h/\1tqdict\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdir\.h/\1tqdir\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdir\.h/\1tqdir\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdns\.h/\1tqdns\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdns\.h/\1tqdns\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdockarea\.h/\1tqdockarea\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdockarea\.h/\1tqdockarea\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdockwindow\.h/\1tqdockwindow\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdockwindow\.h/\1tqdockwindow\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdom\.h/\1tqdom\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdom\.h/\1tqdom\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdragobject\.h/\1tqdragobject\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdragobject\.h/\1tqdragobject\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdrawutil\.h/\1tqdrawutil\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdrawutil\.h/\1tqdrawutil\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qdropsite\.h/\1tqdropsite\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qdropsite\.h/\1tqdropsite\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qeditorfactory\.h/\1tqeditorfactory\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qeditorfactory\.h/\1tqeditorfactory\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qerrormessage\.h/\1tqerrormessage\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qerrormessage\.h/\1tqerrormessage\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qeucjpcodec\.h/\1tqeucjpcodec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qeucjpcodec\.h/\1tqeucjpcodec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qeuckrcodec\.h/\1tqeuckrcodec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qeuckrcodec\.h/\1tqeuckrcodec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qevent\.h/\1tqevent\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qevent\.h/\1tqevent\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qeventloop\.h/\1tqeventloop\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qeventloop\.h/\1tqeventloop\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qfeatures\.h/\1tqfeatures\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qfeatures\.h/\1tqfeatures\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qfiledialog\.h/\1tqfiledialog\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qfiledialog\.h/\1tqfiledialog\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qfile\.h/\1tqfile\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qfile\.h/\1tqfile\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qfileinfo\.h/\1tqfileinfo\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qfileinfo\.h/\1tqfileinfo\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qfocusdata\.h/\1tqfocusdata\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qfocusdata\.h/\1tqfocusdata\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qfontdatabase\.h/\1tqfontdatabase\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qfontdatabase\.h/\1tqfontdatabase\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qfontdialog\.h/\1tqfontdialog\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qfontdialog\.h/\1tqfontdialog\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qfont\.h/\1tqfont\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qfont\.h/\1tqfont\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qfontinfo\.h/\1tqfontinfo\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qfontinfo\.h/\1tqfontinfo\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qfontmetrics\.h/\1tqfontmetrics\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qfontmetrics\.h/\1tqfontmetrics\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qframe\.h/\1tqframe\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qframe\.h/\1tqframe\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qftp\.h/\1tqftp\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qftp\.h/\1tqftp\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgarray\.h/\1tqgarray\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgarray\.h/\1tqgarray\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgb18030codec\.h/\1tqgb18030codec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgb18030codec\.h/\1tqgb18030codec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgbkcodec\.h/\1tqgbkcodec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgbkcodec\.h/\1tqgbkcodec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgcache\.h/\1tqgcache\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgcache\.h/\1tqgcache\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgdict\.h/\1tqgdict\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgdict\.h/\1tqgdict\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgeneric\.h/\1tqgeneric\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgeneric\.h/\1tqgeneric\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgif\.h/\1tqgif\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgif\.h/\1tqgif\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qglcolormap\.h/\1tqglcolormap\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qglcolormap\.h/\1tqglcolormap\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgl\.h/\1tqgl\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgl\.h/\1tqgl\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qglist\.h/\1tqglist\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qglist\.h/\1tqglist\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qglobal\.h/\1tqglobal\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qglobal\.h/\1tqglobal\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgplugin\.h/\1tqgplugin\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgplugin\.h/\1tqgplugin\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgrid\.h/\1tqgrid\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgrid\.h/\1tqgrid\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgridview\.h/\1tqgridview\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgridview\.h/\1tqgridview\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgroupbox\.h/\1tqgroupbox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgroupbox\.h/\1tqgroupbox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qguardedptr\.h/\1tqguardedptr\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qguardedptr\.h/\1tqguardedptr\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qgvector\.h/\1tqgvector\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qgvector\.h/\1tqgvector\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qhbox\.h/\1tqhbox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qhbox\.h/\1tqhbox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qhbuttongroup\.h/\1tqhbuttongroup\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qhbuttongroup\.h/\1tqhbuttongroup\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qheader\.h/\1tqheader\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qheader\.h/\1tqheader\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qhgroupbox\.h/\1tqhgroupbox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qhgroupbox\.h/\1tqhgroupbox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qhostaddress\.h/\1tqhostaddress\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qhostaddress\.h/\1tqhostaddress\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qhttp\.h/\1tqhttp\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qhttp\.h/\1tqhttp\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qiconset\.h/\1tqiconset\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qiconset\.h/\1tqiconset\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qiconview\.h/\1tqiconview\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qiconview\.h/\1tqiconview\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qimageformatplugin\.h/\1tqimageformatplugin\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qimageformatplugin\.h/\1tqimageformatplugin\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qimage\.h/\1tqimage\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qimage\.h/\1tqimage\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qinputcontextfactory\.h/\1tqinputcontextfactory\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qinputcontextfactory\.h/\1tqinputcontextfactory\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qinputcontext\.h/\1tqinputcontext\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qinputcontext\.h/\1tqinputcontext\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qinputdialog\.h/\1tqinputdialog\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qinputdialog\.h/\1tqinputdialog\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qintcache\.h/\1tqintcache\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qintcache\.h/\1tqintcache\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qintdict\.h/\1tqintdict\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qintdict\.h/\1tqintdict\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qinterlacestyle\.h/\1tqinterlacestyle\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qinterlacestyle\.h/\1tqinterlacestyle\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qiodevice\.h/\1tqiodevice\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qiodevice\.h/\1tqiodevice\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qjiscodec\.h/\1tqjiscodec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qjiscodec\.h/\1tqjiscodec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qjpegio\.h/\1tqjpegio\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qjpegio\.h/\1tqjpegio\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qjpunicode\.h/\1tqjpunicode\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qjpunicode\.h/\1tqjpunicode\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qkeycode\.h/\1tqkeycode\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qkeycode\.h/\1tqkeycode\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qkeysequence\.h/\1tqkeysequence\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qkeysequence\.h/\1tqkeysequence\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qlabel\.h/\1tqlabel\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qlabel\.h/\1tqlabel\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qlayout\.h/\1tqlayout\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qlayout\.h/\1tqlayout\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qlcdnumber\.h/\1tqlcdnumber\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qlcdnumber\.h/\1tqlcdnumber\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qlibrary\.h/\1tqlibrary\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qlibrary\.h/\1tqlibrary\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qlineedit\.h/\1tqlineedit\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qlineedit\.h/\1tqlineedit\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qlistbox\.h/\1tqlistbox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qlistbox\.h/\1tqlistbox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qlistview\.h/\1tqlistview\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qlistview\.h/\1tqlistview\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qlocale\.h/\1tqlocale\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qlocale\.h/\1tqlocale\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qlocalfs\.h/\1tqlocalfs\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qlocalfs\.h/\1tqlocalfs\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmainwindow\.h/\1tqmainwindow\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmainwindow\.h/\1tqmainwindow\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmap\.h/\1tqmap\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmap\.h/\1tqmap\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmemarray\.h/\1tqmemarray\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmemarray\.h/\1tqmemarray\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmenubar\.h/\1tqmenubar\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmenubar\.h/\1tqmenubar\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmenudata\.h/\1tqmenudata\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmenudata\.h/\1tqmenudata\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmessagebox\.h/\1tqmessagebox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmessagebox\.h/\1tqmessagebox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmetaobject\.h/\1tqmetaobject\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmetaobject\.h/\1tqmetaobject\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmime\.h/\1tqmime\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmime\.h/\1tqmime\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmngio\.h/\1tqmngio\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmngio\.h/\1tqmngio\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmodules\.h/\1tqmodules\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmodules\.h/\1tqmodules\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmotifplusstyle\.h/\1tqmotifplusstyle\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmotifplusstyle\.h/\1tqmotifplusstyle\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmotifstyle\.h/\1tqmotifstyle\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmotifstyle\.h/\1tqmotifstyle\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmovie\.h/\1tqmovie\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmovie\.h/\1tqmovie\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmultilineedit\.h/\1tqmultilineedit\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmultilineedit\.h/\1tqmultilineedit\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qmutex\.h/\1tqmutex\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qmutex\.h/\1tqmutex\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qnamespace\.h/\1tqnamespace\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qnamespace\.h/\1tqnamespace\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qnetwork\.h/\1tqnetwork\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qnetwork\.h/\1tqnetwork\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qnetworkprotocol\.h/\1tqnetworkprotocol\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qnetworkprotocol\.h/\1tqnetworkprotocol\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qnp\.h/\1tqnp\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qnp\.h/\1tqnp\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qobjectcleanuphandler\.h/\1tqobjectcleanuphandler\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qobjectcleanuphandler\.h/\1tqobjectcleanuphandler\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qobjectdict\.h/\1tqobjectdict\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qobjectdict\.h/\1tqobjectdict\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qobject\.h/\1tqobject\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qobject\.h/\1tqobject\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qobjectlist\.h/\1tqobjectlist\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qobjectlist\.h/\1tqobjectlist\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpaintdevice\.h/\1tqpaintdevice\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpaintdevice\.h/\1tqpaintdevice\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpaintdevicemetrics\.h/\1tqpaintdevicemetrics\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpaintdevicemetrics\.h/\1tqpaintdevicemetrics\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpaintd\.h/\1tqpaintd\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpaintd\.h/\1tqpaintd\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpainter\.h/\1tqpainter\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpainter\.h/\1tqpainter\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpair\.h/\1tqpair\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpair\.h/\1tqpair\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpalette\.h/\1tqpalette\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpalette\.h/\1tqpalette\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpen\.h/\1tqpen\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpen\.h/\1tqpen\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpicture\.h/\1tqpicture\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpicture\.h/\1tqpicture\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpixmapcache\.h/\1tqpixmapcache\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpixmapcache\.h/\1tqpixmapcache\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpixmap\.h/\1tqpixmap\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpixmap\.h/\1tqpixmap\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qplatinumstyle\.h/\1tqplatinumstyle\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qplatinumstyle\.h/\1tqplatinumstyle\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpngio\.h/\1tqpngio\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpngio\.h/\1tqpngio\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpointarray\.h/\1tqpointarray\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpointarray\.h/\1tqpointarray\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpoint\.h/\1tqpoint\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpoint\.h/\1tqpoint\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpolygonscanner\.h/\1tqpolygonscanner\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpolygonscanner\.h/\1tqpolygonscanner\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpopupmenu\.h/\1tqpopupmenu\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpopupmenu\.h/\1tqpopupmenu\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qprintdialog\.h/\1tqprintdialog\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qprintdialog\.h/\1tqprintdialog\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qprinter\.h/\1tqprinter\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qprinter\.h/\1tqprinter\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qprocess\.h/\1tqprocess\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qprocess\.h/\1tqprocess\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qprogressbar\.h/\1tqprogressbar\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qprogressbar\.h/\1tqprogressbar\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qprogressdialog\.h/\1tqprogressdialog\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qprogressdialog\.h/\1tqprogressdialog\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qptrcollection\.h/\1tqptrcollection\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qptrcollection\.h/\1tqptrcollection\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qptrdict\.h/\1tqptrdict\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qptrdict\.h/\1tqptrdict\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qptrlist\.h/\1tqptrlist\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qptrlist\.h/\1tqptrlist\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qptrqueue\.h/\1tqptrqueue\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qptrqueue\.h/\1tqptrqueue\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qptrstack\.h/\1tqptrstack\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qptrstack\.h/\1tqptrstack\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qptrvector\.h/\1tqptrvector\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qptrvector\.h/\1tqptrvector\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpushbutton\.h/\1tqpushbutton\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpushbutton\.h/\1tqpushbutton\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qradiobutton\.h/\1tqradiobutton\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qradiobutton\.h/\1tqradiobutton\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qrangecontrol\.h/\1tqrangecontrol\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qrangecontrol\.h/\1tqrangecontrol\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qrect\.h/\1tqrect\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qrect\.h/\1tqrect\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qregexp\.h/\1tqregexp\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qregexp\.h/\1tqregexp\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qregion\.h/\1tqregion\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qregion\.h/\1tqregion\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qrtlcodec\.h/\1tqrtlcodec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qrtlcodec\.h/\1tqrtlcodec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qscrollbar\.h/\1tqscrollbar\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qscrollbar\.h/\1tqscrollbar\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qscrollview\.h/\1tqscrollview\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qscrollview\.h/\1tqscrollview\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsemaphore\.h/\1tqsemaphore\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsemaphore\.h/\1tqsemaphore\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qserversocket\.h/\1tqserversocket\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qserversocket\.h/\1tqserversocket\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsession\.h/\1tqsession\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsession\.h/\1tqsession\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsessionmanager\.h/\1tqsessionmanager\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsessionmanager\.h/\1tqsessionmanager\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsettings\.h/\1tqsettings\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsettings\.h/\1tqsettings\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsgistyle\.h/\1tqsgistyle\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsgistyle\.h/\1tqsgistyle\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qshared\.h/\1tqshared\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qshared\.h/\1tqshared\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsignal\.h/\1tqsignal\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsignal\.h/\1tqsignal\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsignalmapper\.h/\1tqsignalmapper\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsignalmapper\.h/\1tqsignalmapper\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsignalslotimp\.h/\1tqsignalslotimp\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsignalslotimp\.h/\1tqsignalslotimp\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsimplerichtext\.h/\1tqsimplerichtext\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsimplerichtext\.h/\1tqsimplerichtext\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsizegrip\.h/\1tqsizegrip\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsizegrip\.h/\1tqsizegrip\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsize\.h/\1tqsize\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsize\.h/\1tqsize\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsizepolicy\.h/\1tqsizepolicy\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsizepolicy\.h/\1tqsizepolicy\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsjiscodec\.h/\1tqsjiscodec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsjiscodec\.h/\1tqsjiscodec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qslider\.h/\1tqslider\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qslider\.h/\1tqslider\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsocketdevice\.h/\1tqsocketdevice\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsocketdevice\.h/\1tqsocketdevice\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsocket\.h/\1tqsocket\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsocket\.h/\1tqsocket\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsocketnotifier\.h/\1tqsocketnotifier\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsocketnotifier\.h/\1tqsocketnotifier\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsound\.h/\1tqsound\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsound\.h/\1tqsound\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qspinbox\.h/\1tqspinbox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qspinbox\.h/\1tqspinbox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsplashscreen\.h/\1tqsplashscreen\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsplashscreen\.h/\1tqsplashscreen\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsplitter\.h/\1tqsplitter\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsplitter\.h/\1tqsplitter\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqlcursor\.h/\1tqsqlcursor\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqlcursor\.h/\1tqsqlcursor\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqldatabase\.h/\1tqsqldatabase\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqldatabase\.h/\1tqsqldatabase\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqldriver\.h/\1tqsqldriver\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqldriver\.h/\1tqsqldriver\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqldriverplugin\.h/\1tqsqldriverplugin\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqldriverplugin\.h/\1tqsqldriverplugin\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqleditorfactory\.h/\1tqsqleditorfactory\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqleditorfactory\.h/\1tqsqleditorfactory\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqlerror\.h/\1tqsqlerror\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqlerror\.h/\1tqsqlerror\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqlfield\.h/\1tqsqlfield\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqlfield\.h/\1tqsqlfield\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqlform\.h/\1tqsqlform\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqlform\.h/\1tqsqlform\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsql\.h/\1tqsql\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsql\.h/\1tqsql\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqlindex\.h/\1tqsqlindex\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqlindex\.h/\1tqsqlindex\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqlpropertymap\.h/\1tqsqlpropertymap\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqlpropertymap\.h/\1tqsqlpropertymap\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqlquery\.h/\1tqsqlquery\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqlquery\.h/\1tqsqlquery\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqlrecord\.h/\1tqsqlrecord\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqlrecord\.h/\1tqsqlrecord\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqlresult\.h/\1tqsqlresult\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqlresult\.h/\1tqsqlresult\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsqlselectcursor\.h/\1tqsqlselectcursor\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsqlselectcursor\.h/\1tqsqlselectcursor\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qstatusbar\.h/\1tqstatusbar\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qstatusbar\.h/\1tqstatusbar\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qstring\.h/\1tqstring\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qstring\.h/\1tqstring\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qstringlist\.h/\1tqstringlist\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qstringlist\.h/\1tqstringlist\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qstrlist\.h/\1tqstrlist\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qstrlist\.h/\1tqstrlist\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qstrvec\.h/\1tqstrvec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qstrvec\.h/\1tqstrvec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qstylefactory\.h/\1tqstylefactory\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qstylefactory\.h/\1tqstylefactory\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qstyle\.h/\1tqstyle\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qstyle\.h/\1tqstyle\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qstyleplugin\.h/\1tqstyleplugin\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qstyleplugin\.h/\1tqstyleplugin\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qstylesheet\.h/\1tqstylesheet\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qstylesheet\.h/\1tqstylesheet\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qsyntaxhighlighter\.h/\1tqsyntaxhighlighter\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qsyntaxhighlighter\.h/\1tqsyntaxhighlighter\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtabbar\.h/\1tqtabbar\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtabbar\.h/\1tqtabbar\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtabdialog\.h/\1tqtabdialog\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtabdialog\.h/\1tqtabdialog\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtable\.h/\1tqtable\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtable\.h/\1tqtable\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtabwidget\.h/\1tqtabwidget\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtabwidget\.h/\1tqtabwidget\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtextbrowser\.h/\1tqtextbrowser\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtextbrowser\.h/\1tqtextbrowser\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtextcodecfactory\.h/\1tqtextcodecfactory\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtextcodecfactory\.h/\1tqtextcodecfactory\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtextcodec\.h/\1tqtextcodec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtextcodec\.h/\1tqtextcodec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtextcodecplugin\.h/\1tqtextcodecplugin\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtextcodecplugin\.h/\1tqtextcodecplugin\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtextedit\.h/\1tqtextedit\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtextedit\.h/\1tqtextedit\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtextstream\.h/\1tqtextstream\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtextstream\.h/\1tqtextstream\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtextview\.h/\1tqtextview\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtextview\.h/\1tqtextview\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qt\.h/\1tqt\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qt\.h/\1tqt\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qthread\.h/\1tqthread\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qthread\.h/\1tqthread\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qthreadstorage\.h/\1tqthreadstorage\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qthreadstorage\.h/\1tqthreadstorage\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtimer\.h/\1tqtimer\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtimer\.h/\1tqtimer\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtl\.h/\1tqtl\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtl\.h/\1tqtl\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtoolbar\.h/\1tqtoolbar\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtoolbar\.h/\1tqtoolbar\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtoolbox\.h/\1tqtoolbox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtoolbox\.h/\1tqtoolbox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtoolbutton\.h/\1tqtoolbutton\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtoolbutton\.h/\1tqtoolbutton\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtooltip\.h/\1tqtooltip\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtooltip\.h/\1tqtooltip\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtranslator\.h/\1tqtranslator\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtranslator\.h/\1tqtranslator\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qtsciicodec\.h/\1tqtsciicodec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qtsciicodec\.h/\1tqtsciicodec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qurl\.h/\1tqurl\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qurl\.h/\1tqurl\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qurlinfo\.h/\1tqurlinfo\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qurlinfo\.h/\1tqurlinfo\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qurloperator\.h/\1tqurloperator\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qurloperator\.h/\1tqurloperator\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qutfcodec\.h/\1tqutfcodec\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qutfcodec\.h/\1tqutfcodec\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)quuid\.h/\1tquuid\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)quuid\.h/\1tquuid\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qvalidator\.h/\1tqvalidator\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qvalidator\.h/\1tqvalidator\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qvaluelist\.h/\1tqvaluelist\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qvaluelist\.h/\1tqvaluelist\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qvaluestack\.h/\1tqvaluestack\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qvaluestack\.h/\1tqvaluestack\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qvaluevector\.h/\1tqvaluevector\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qvaluevector\.h/\1tqvaluevector\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qvariant\.h/\1tqvariant\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qvariant\.h/\1tqvariant\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qvbox\.h/\1tqvbox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qvbox\.h/\1tqvbox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qvbuttongroup\.h/\1tqvbuttongroup\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qvbuttongroup\.h/\1tqvbuttongroup\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qvfbhdr\.h/\1tqvfbhdr\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qvfbhdr\.h/\1tqvfbhdr\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qvgroupbox\.h/\1tqvgroupbox\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qvgroupbox\.h/\1tqvgroupbox\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwaitcondition\.h/\1tqwaitcondition\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwaitcondition\.h/\1tqwaitcondition\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwhatsthis\.h/\1tqwhatsthis\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwhatsthis\.h/\1tqwhatsthis\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwidgetfactory\.h/\1tqwidgetfactory\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwidgetfactory\.h/\1tqwidgetfactory\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwidget\.h/\1tqwidget\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwidget\.h/\1tqwidget\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwidgetintdict\.h/\1tqwidgetintdict\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwidgetintdict\.h/\1tqwidgetintdict\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwidgetlist\.h/\1tqwidgetlist\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwidgetlist\.h/\1tqwidgetlist\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwidgetplugin\.h/\1tqwidgetplugin\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwidgetplugin\.h/\1tqwidgetplugin\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwidgetstack\.h/\1tqwidgetstack\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwidgetstack\.h/\1tqwidgetstack\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwindowdefs\.h/\1tqwindowdefs\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwindowdefs\.h/\1tqwindowdefs\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwindowsstyle\.h/\1tqwindowsstyle\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwindowsstyle\.h/\1tqwindowsstyle\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwinexport\.h/\1tqwinexport\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwinexport\.h/\1tqwinexport\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwizard\.h/\1tqwizard\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwizard\.h/\1tqwizard\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qwmatrix\.h/\1tqwmatrix\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qwmatrix\.h/\1tqwmatrix\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qworkspace\.h/\1tqworkspace\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qworkspace\.h/\1tqworkspace\.h/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qxml\.h/\1tqxml\.h/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qxml\.h/\1tqxml\.h/g' {} \; diff --git a/qtinterface/convert_qt_tqt2 b/qtinterface/convert_qt_tqt2 deleted file mode 100755 index 8dae878..0000000 --- a/qtinterface/convert_qt_tqt2 +++ /dev/null @@ -1,1026 +0,0 @@ -#!/bin/bash - -find ./ -type f -iname "*.c*" -exec sed -i 's/QAccel\([ :<>"()*&.,^;]\)/TQAccel\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QAccel\([ :<>"()*&.,^;]\)/TQAccel\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QAccessible\([ :<>"()*&.,^;]\)/TQAccessible\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QAccessible\([ :<>"()*&.,^;]\)/TQAccessible\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QAccessibleObject\([ :<>"()*&.,^;]\)/TQAccessibleObject\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QAccessibleObject\([ :<>"()*&.,^;]\)/TQAccessibleObject\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QAction\([ :<>"()*&.,^;]\)/TQAction\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QAction\([ :<>"()*&.,^;]\)/TQAction\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QActionGroup\([ :<>"()*&.,^;]\)/TQActionGroup\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QActionGroup\([ :<>"()*&.,^;]\)/TQActionGroup\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QApplication\([ :<>"()*&.,^;]\)/TQApplication\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QApplication\([ :<>"()*&.,^;]\)/TQApplication\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QAsciiCache\([ :<>"()*&.,^;]\)/TQAsciiCache\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QAsciiCache\([ :<>"()*&.,^;]\)/TQAsciiCache\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QAsciiCacheIterator\([ :<>"()*&.,^;]\)/TQAsciiCacheIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QAsciiCacheIterator\([ :<>"()*&.,^;]\)/TQAsciiCacheIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QAsciiDict\([ :<>"()*&.,^;]\)/TQAsciiDict\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QAsciiDict\([ :<>"()*&.,^;]\)/TQAsciiDict\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QAsciiDictIterator\([ :<>"()*&.,^;]\)/TQAsciiDictIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QAsciiDictIterator\([ :<>"()*&.,^;]\)/TQAsciiDictIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QImageConsumer\([ :<>"()*&.,^;]\)/TQImageConsumer\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QImageConsumer\([ :<>"()*&.,^;]\)/TQImageConsumer\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QImageFormat\([ :<>"()*&.,^;]\)/TQImageFormat\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QImageFormat\([ :<>"()*&.,^;]\)/TQImageFormat\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QImageFormatType\([ :<>"()*&.,^;]\)/TQImageFormatType\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QImageFormatType\([ :<>"()*&.,^;]\)/TQImageFormatType\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QImageDecoder\([ :<>"()*&.,^;]\)/TQImageDecoder\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QImageDecoder\([ :<>"()*&.,^;]\)/TQImageDecoder\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QAsyncIO\([ :<>"()*&.,^;]\)/TQAsyncIO\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QAsyncIO\([ :<>"()*&.,^;]\)/TQAsyncIO\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDataSink\([ :<>"()*&.,^;]\)/TQDataSink\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDataSink\([ :<>"()*&.,^;]\)/TQDataSink\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDataSource\([ :<>"()*&.,^;]\)/TQDataSource\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDataSource\([ :<>"()*&.,^;]\)/TQDataSource\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIODeviceSource\([ :<>"()*&.,^;]\)/TQIODeviceSource\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIODeviceSource\([ :<>"()*&.,^;]\)/TQIODeviceSource\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDataPump\([ :<>"()*&.,^;]\)/TQDataPump\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDataPump\([ :<>"()*&.,^;]\)/TQDataPump\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QBig5Codec\([ :<>"()*&.,^;]\)/TQBig5Codec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QBig5Codec\([ :<>"()*&.,^;]\)/TQBig5Codec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QBig5hkscsCodec\([ :<>"()*&.,^;]\)/TQBig5hkscsCodec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QBig5hkscsCodec\([ :<>"()*&.,^;]\)/TQBig5hkscsCodec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QBitVal\([ :<>"()*&.,^;]\)/TQBitVal\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QBitVal\([ :<>"()*&.,^;]\)/TQBitVal\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QBitArray\([ :<>"()*&.,^;]\)/TQBitArray\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QBitArray\([ :<>"()*&.,^;]\)/TQBitArray\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QBitmap\([ :<>"()*&.,^;]\)/TQBitmap\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QBitmap\([ :<>"()*&.,^;]\)/TQBitmap\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QBrush\([ :<>"()*&.,^;]\)/TQBrush\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QBrush\([ :<>"()*&.,^;]\)/TQBrush\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QBuffer\([ :<>"()*&.,^;]\)/TQBuffer\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QBuffer\([ :<>"()*&.,^;]\)/TQBuffer\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QButtonGroup\([ :<>"()*&.,^;]\)/TQButtonGroup\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QButtonGroup\([ :<>"()*&.,^;]\)/TQButtonGroup\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QButton\([ :<>"()*&.,^;]\)/TQButton\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QButton\([ :<>"()*&.,^;]\)/TQButton\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCache\([ :<>"()*&.,^;]\)/TQCache\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCache\([ :<>"()*&.,^;]\)/TQCache\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCacheIterator\([ :<>"()*&.,^;]\)/TQCacheIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCacheIterator\([ :<>"()*&.,^;]\)/TQCacheIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasChunk\([ :<>"()*&.,^;]\)/TQCanvasChunk\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasChunk\([ :<>"()*&.,^;]\)/TQCanvasChunk\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasItemList\([ :<>"()*&.,^;]\)/TQCanvasItemList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasItemList\([ :<>"()*&.,^;]\)/TQCanvasItemList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasItemExtra\([ :<>"()*&.,^;]\)/TQCanvasItemExtra\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasItemExtra\([ :<>"()*&.,^;]\)/TQCanvasItemExtra\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasItem\([ :<>"()*&.,^;]\)/TQCanvasItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasItem\([ :<>"()*&.,^;]\)/TQCanvasItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasData\([ :<>"()*&.,^;]\)/TQCanvasData\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasData\([ :<>"()*&.,^;]\)/TQCanvasData\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvas\([ :<>"()*&.,^;]\)/TQCanvas\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvas\([ :<>"()*&.,^;]\)/TQCanvas\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasViewData\([ :<>"()*&.,^;]\)/TQCanvasViewData\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasViewData\([ :<>"()*&.,^;]\)/TQCanvasViewData\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasView\([ :<>"()*&.,^;]\)/TQCanvasView\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasView\([ :<>"()*&.,^;]\)/TQCanvasView\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasPixmap\([ :<>"()*&.,^;]\)/TQCanvasPixmap\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasPixmap\([ :<>"()*&.,^;]\)/TQCanvasPixmap\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasPixmapArray\([ :<>"()*&.,^;]\)/TQCanvasPixmapArray\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasPixmapArray\([ :<>"()*&.,^;]\)/TQCanvasPixmapArray\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasSprite\([ :<>"()*&.,^;]\)/TQCanvasSprite\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasSprite\([ :<>"()*&.,^;]\)/TQCanvasSprite\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPolygonalProcessor\([ :<>"()*&.,^;]\)/TQPolygonalProcessor\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPolygonalProcessor\([ :<>"()*&.,^;]\)/TQPolygonalProcessor\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasPolygonalItem\([ :<>"()*&.,^;]\)/TQCanvasPolygonalItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasPolygonalItem\([ :<>"()*&.,^;]\)/TQCanvasPolygonalItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasRectangle\([ :<>"()*&.,^;]\)/TQCanvasRectangle\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasRectangle\([ :<>"()*&.,^;]\)/TQCanvasRectangle\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasPolygon\([ :<>"()*&.,^;]\)/TQCanvasPolygon\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasPolygon\([ :<>"()*&.,^;]\)/TQCanvasPolygon\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasSpline\([ :<>"()*&.,^;]\)/TQCanvasSpline\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasSpline\([ :<>"()*&.,^;]\)/TQCanvasSpline\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasLine\([ :<>"()*&.,^;]\)/TQCanvasLine\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasLine\([ :<>"()*&.,^;]\)/TQCanvasLine\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasEllipse\([ :<>"()*&.,^;]\)/TQCanvasEllipse\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasEllipse\([ :<>"()*&.,^;]\)/TQCanvasEllipse\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasTextExtra\([ :<>"()*&.,^;]\)/TQCanvasTextExtra\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasTextExtra\([ :<>"()*&.,^;]\)/TQCanvasTextExtra\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCanvasText\([ :<>"()*&.,^;]\)/TQCanvasText\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCanvasText\([ :<>"()*&.,^;]\)/TQCanvasText\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCDEStyle\([ :<>"()*&.,^;]\)/TQCDEStyle\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCDEStyle\([ :<>"()*&.,^;]\)/TQCDEStyle\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCheckBox\([ :<>"()*&.,^;]\)/TQCheckBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCheckBox\([ :<>"()*&.,^;]\)/TQCheckBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCleanupHandler\([ :<>"()*&.,^;]\)/TQCleanupHandler\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCleanupHandler\([ :<>"()*&.,^;]\)/TQCleanupHandler\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSingleCleanupHandler\([ :<>"()*&.,^;]\)/TQSingleCleanupHandler\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSingleCleanupHandler\([ :<>"()*&.,^;]\)/TQSingleCleanupHandler\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSharedCleanupHandler\([ :<>"()*&.,^;]\)/TQSharedCleanupHandler\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSharedCleanupHandler\([ :<>"()*&.,^;]\)/TQSharedCleanupHandler\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QShared\([ :<>"()*&.,^;]\)/TQShared\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QShared\([ :<>"()*&.,^;]\)/TQShared\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QColor\([ :<>"()*&.,^;]\)/TQColor\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QColor\([ :<>"()*&.,^;]\)/TQColor\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStrList\([ :<>"()*&.,^;]\)/TQStrList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStrList\([ :<>"()*&.,^;]\)/TQStrList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStringList\([ :<>"()*&.,^;]\)/TQStringList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStringList\([ :<>"()*&.,^;]\)/TQStringList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLineEdit\([ :<>"()*&.,^;]\)/TQLineEdit\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLineEdit\([ :<>"()*&.,^;]\)/TQLineEdit\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QValidator\([ :<>"()*&.,^;]\)/TQValidator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QValidator\([ :<>"()*&.,^;]\)/TQValidator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QListBox\([ :<>"()*&.,^;]\)/TQListBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QListBox\([ :<>"()*&.,^;]\)/TQListBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QComboBoxData\([ :<>"()*&.,^;]\)/TQComboBoxData\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QComboBoxData\([ :<>"()*&.,^;]\)/TQComboBoxData\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWheelEvent\([ :<>"()*&.,^;]\)/TQWheelEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWheelEvent\([ :<>"()*&.,^;]\)/TQWheelEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QComboBox\([ :<>"()*&.,^;]\)/TQComboBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QComboBox\([ :<>"()*&.,^;]\)/TQComboBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCommonStyle\([ :<>"()*&.,^;]\)/TQCommonStyle\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCommonStyle\([ :<>"()*&.,^;]\)/TQCommonStyle\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCompactStyle\([ :<>"()*&.,^;]\)/TQCompactStyle\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCompactStyle\([ :<>"()*&.,^;]\)/TQCompactStyle\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QConnection\([ :<>"()*&.,^;]\)/TQConnection\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QConnection\([ :<>"()*&.,^;]\)/TQConnection\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCString\([ :<>"()*&.,^;]\)/TQCString\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCString\([ :<>"()*&.,^;]\)/TQCString\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QByteArray\([ :<>"()*&.,^;]\)/TQByteArray\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QByteArray\([ :<>"()*&.,^;]\)/TQByteArray\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCString\([ :<>"()*&.,^;]\)/TQCString\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCString\([ :<>"()*&.,^;]\)/TQCString\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCursor\([ :<>"()*&.,^;]\)/TQCursor\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCursor\([ :<>"()*&.,^;]\)/TQCursor\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlForm\([ :<>"()*&.,^;]\)/TQSqlForm\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlForm\([ :<>"()*&.,^;]\)/TQSqlForm\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDataBrowserPrivate\([ :<>"()*&.,^;]\)/TQDataBrowserPrivate\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDataBrowserPrivate\([ :<>"()*&.,^;]\)/TQDataBrowserPrivate\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDataBrowser\([ :<>"()*&.,^;]\)/TQDataBrowser\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDataBrowser\([ :<>"()*&.,^;]\)/TQDataBrowser\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDataStream\([ :<>"()*&.,^;]\)/TQDataStream\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDataStream\([ :<>"()*&.,^;]\)/TQDataStream\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDataStream\([ :<>"()*&.,^;]\)/TQDataStream\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDataStream\([ :<>"()*&.,^;]\)/TQDataStream\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPainter\([ :<>"()*&.,^;]\)/TQPainter\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPainter\([ :<>"()*&.,^;]\)/TQPainter\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlField\([ :<>"()*&.,^;]\)/TQSqlField\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlField\([ :<>"()*&.,^;]\)/TQSqlField\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlPropertyMap\([ :<>"()*&.,^;]\)/TQSqlPropertyMap\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlPropertyMap\([ :<>"()*&.,^;]\)/TQSqlPropertyMap\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDataTablePrivate\([ :<>"()*&.,^;]\)/TQDataTablePrivate\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDataTablePrivate\([ :<>"()*&.,^;]\)/TQDataTablePrivate\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDataTable\([ :<>"()*&.,^;]\)/TQDataTable\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDataTable\([ :<>"()*&.,^;]\)/TQDataTable\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDataView\([ :<>"()*&.,^;]\)/TQDataView\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDataView\([ :<>"()*&.,^;]\)/TQDataView\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDateTimeEditBase\([ :<>"()*&.,^;]\)/TQDateTimeEditBase\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDateTimeEditBase\([ :<>"()*&.,^;]\)/TQDateTimeEditBase\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDate\([ :<>"()*&.,^;]\)/TQDate\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDate\([ :<>"()*&.,^;]\)/TQDate\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTime\([ :<>"()*&.,^;]\)/TQTime\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTime\([ :<>"()*&.,^;]\)/TQTime\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDateTime\([ :<>"()*&.,^;]\)/TQDateTime\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDateTime\([ :<>"()*&.,^;]\)/TQDateTime\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDeepCopy\([ :<>"()*&.,^;]\)/TQDeepCopy\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDeepCopy\([ :<>"()*&.,^;]\)/TQDeepCopy\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDesktopWidget\([ :<>"()*&.,^;]\)/TQDesktopWidget\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDesktopWidget\([ :<>"()*&.,^;]\)/TQDesktopWidget\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDial\([ :<>"()*&.,^;]\)/TQDial\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDial\([ :<>"()*&.,^;]\)/TQDial\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDialog\([ :<>"()*&.,^;]\)/TQDialog\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDialog\([ :<>"()*&.,^;]\)/TQDialog\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDict\([ :<>"()*&.,^;]\)/TQDict\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDict\([ :<>"()*&.,^;]\)/TQDict\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDictIterator\([ :<>"()*&.,^;]\)/TQDictIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDictIterator\([ :<>"()*&.,^;]\)/TQDictIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDir\([ :<>"()*&.,^;]\)/TQDir\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDir\([ :<>"()*&.,^;]\)/TQDir\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDns\([ :<>"()*&.,^;]\)/TQDns\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDns\([ :<>"()*&.,^;]\)/TQDns\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDnsSocket\([ :<>"()*&.,^;]\)/TQDnsSocket\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDnsSocket\([ :<>"()*&.,^;]\)/TQDnsSocket\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDockArea\([ :<>"()*&.,^;]\)/TQDockArea\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDockArea\([ :<>"()*&.,^;]\)/TQDockArea\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDockAreaLayout\([ :<>"()*&.,^;]\)/TQDockAreaLayout\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDockAreaLayout\([ :<>"()*&.,^;]\)/TQDockAreaLayout\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDockWindow\([ :<>"()*&.,^;]\)/TQDockWindow\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDockWindow\([ :<>"()*&.,^;]\)/TQDockWindow\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomImplementation\([ :<>"()*&.,^;]\)/TQDomImplementation\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomImplementation\([ :<>"()*&.,^;]\)/TQDomImplementation\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomNode\([ :<>"()*&.,^;]\)/TQDomNode\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomNode\([ :<>"()*&.,^;]\)/TQDomNode\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomNodeList\([ :<>"()*&.,^;]\)/TQDomNodeList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomNodeList\([ :<>"()*&.,^;]\)/TQDomNodeList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomDocumentType\([ :<>"()*&.,^;]\)/TQDomDocumentType\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomDocumentType\([ :<>"()*&.,^;]\)/TQDomDocumentType\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomDocument\([ :<>"()*&.,^;]\)/TQDomDocument\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomDocument\([ :<>"()*&.,^;]\)/TQDomDocument\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomNamedNodeMap\([ :<>"()*&.,^;]\)/TQDomNamedNodeMap\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomNamedNodeMap\([ :<>"()*&.,^;]\)/TQDomNamedNodeMap\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomDocumentFragment\([ :<>"()*&.,^;]\)/TQDomDocumentFragment\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomDocumentFragment\([ :<>"()*&.,^;]\)/TQDomDocumentFragment\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomCharacterData\([ :<>"()*&.,^;]\)/TQDomCharacterData\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomCharacterData\([ :<>"()*&.,^;]\)/TQDomCharacterData\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomAttr\([ :<>"()*&.,^;]\)/TQDomAttr\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomAttr\([ :<>"()*&.,^;]\)/TQDomAttr\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomElement\([ :<>"()*&.,^;]\)/TQDomElement\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomElement\([ :<>"()*&.,^;]\)/TQDomElement\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomText\([ :<>"()*&.,^;]\)/TQDomText\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomText\([ :<>"()*&.,^;]\)/TQDomText\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomComment\([ :<>"()*&.,^;]\)/TQDomComment\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomComment\([ :<>"()*&.,^;]\)/TQDomComment\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomCDATASection\([ :<>"()*&.,^;]\)/TQDomCDATASection\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomCDATASection\([ :<>"()*&.,^;]\)/TQDomCDATASection\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomNotation\([ :<>"()*&.,^;]\)/TQDomNotation\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomNotation\([ :<>"()*&.,^;]\)/TQDomNotation\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomEntity\([ :<>"()*&.,^;]\)/TQDomEntity\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomEntity\([ :<>"()*&.,^;]\)/TQDomEntity\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomEntityReference\([ :<>"()*&.,^;]\)/TQDomEntityReference\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomEntityReference\([ :<>"()*&.,^;]\)/TQDomEntityReference\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDomProcessingInstruction\([ :<>"()*&.,^;]\)/TQDomProcessingInstruction\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDomProcessingInstruction\([ :<>"()*&.,^;]\)/TQDomProcessingInstruction\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDragObject\([ :<>"()*&.,^;]\)/TQDragObject\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDragObject\([ :<>"()*&.,^;]\)/TQDragObject\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStoredDrag\([ :<>"()*&.,^;]\)/TQStoredDrag\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStoredDrag\([ :<>"()*&.,^;]\)/TQStoredDrag\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextDrag\([ :<>"()*&.,^;]\)/TQTextDrag\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextDrag\([ :<>"()*&.,^;]\)/TQTextDrag\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QImageDrag\([ :<>"()*&.,^;]\)/TQImageDrag\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QImageDrag\([ :<>"()*&.,^;]\)/TQImageDrag\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QUriDrag\([ :<>"()*&.,^;]\)/TQUriDrag\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QUriDrag\([ :<>"()*&.,^;]\)/TQUriDrag\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QColorDrag\([ :<>"()*&.,^;]\)/TQColorDrag\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QColorDrag\([ :<>"()*&.,^;]\)/TQColorDrag\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDropSite\([ :<>"()*&.,^;]\)/TQDropSite\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDropSite\([ :<>"()*&.,^;]\)/TQDropSite\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QEditorFactory\([ :<>"()*&.,^;]\)/TQEditorFactory\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QEditorFactory\([ :<>"()*&.,^;]\)/TQEditorFactory\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QErrorMessage\([ :<>"()*&.,^;]\)/TQErrorMessage\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QErrorMessage\([ :<>"()*&.,^;]\)/TQErrorMessage\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QEucJpCodec\([ :<>"()*&.,^;]\)/TQEucJpCodec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QEucJpCodec\([ :<>"()*&.,^;]\)/TQEucJpCodec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QEucKrCodec\([ :<>"()*&.,^;]\)/TQEucKrCodec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QEucKrCodec\([ :<>"()*&.,^;]\)/TQEucKrCodec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QEvent\([ :<>"()*&.,^;]\)/TQEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QEvent\([ :<>"()*&.,^;]\)/TQEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTimerEvent\([ :<>"()*&.,^;]\)/TQTimerEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTimerEvent\([ :<>"()*&.,^;]\)/TQTimerEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMouseEvent\([ :<>"()*&.,^;]\)/TQMouseEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMouseEvent\([ :<>"()*&.,^;]\)/TQMouseEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWheelEvent\([ :<>"()*&.,^;]\)/TQWheelEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWheelEvent\([ :<>"()*&.,^;]\)/TQWheelEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTabletEvent\([ :<>"()*&.,^;]\)/TQTabletEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTabletEvent\([ :<>"()*&.,^;]\)/TQTabletEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QKeyEvent\([ :<>"()*&.,^;]\)/TQKeyEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QKeyEvent\([ :<>"()*&.,^;]\)/TQKeyEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFocusEvent\([ :<>"()*&.,^;]\)/TQFocusEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFocusEvent\([ :<>"()*&.,^;]\)/TQFocusEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPaintEvent\([ :<>"()*&.,^;]\)/TQPaintEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPaintEvent\([ :<>"()*&.,^;]\)/TQPaintEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMoveEvent\([ :<>"()*&.,^;]\)/TQMoveEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMoveEvent\([ :<>"()*&.,^;]\)/TQMoveEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QResizeEvent\([ :<>"()*&.,^;]\)/TQResizeEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QResizeEvent\([ :<>"()*&.,^;]\)/TQResizeEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCloseEvent\([ :<>"()*&.,^;]\)/TQCloseEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCloseEvent\([ :<>"()*&.,^;]\)/TQCloseEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIconDragEvent\([ :<>"()*&.,^;]\)/TQIconDragEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIconDragEvent\([ :<>"()*&.,^;]\)/TQIconDragEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QShowEvent\([ :<>"()*&.,^;]\)/TQShowEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QShowEvent\([ :<>"()*&.,^;]\)/TQShowEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHideEvent\([ :<>"()*&.,^;]\)/TQHideEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHideEvent\([ :<>"()*&.,^;]\)/TQHideEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QContextMenuEvent\([ :<>"()*&.,^;]\)/TQContextMenuEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QContextMenuEvent\([ :<>"()*&.,^;]\)/TQContextMenuEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIMEvent\([ :<>"()*&.,^;]\)/TQIMEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIMEvent\([ :<>"()*&.,^;]\)/TQIMEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIMComposeEvent\([ :<>"()*&.,^;]\)/TQIMComposeEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIMComposeEvent\([ :<>"()*&.,^;]\)/TQIMComposeEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDropEvent\([ :<>"()*&.,^;]\)/TQDropEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDropEvent\([ :<>"()*&.,^;]\)/TQDropEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDragMoveEvent\([ :<>"()*&.,^;]\)/TQDragMoveEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDragMoveEvent\([ :<>"()*&.,^;]\)/TQDragMoveEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDragEnterEvent\([ :<>"()*&.,^;]\)/TQDragEnterEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDragEnterEvent\([ :<>"()*&.,^;]\)/TQDragEnterEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDragResponseEvent\([ :<>"()*&.,^;]\)/TQDragResponseEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDragResponseEvent\([ :<>"()*&.,^;]\)/TQDragResponseEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDragLeaveEvent\([ :<>"()*&.,^;]\)/TQDragLeaveEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDragLeaveEvent\([ :<>"()*&.,^;]\)/TQDragLeaveEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QChildEvent\([ :<>"()*&.,^;]\)/TQChildEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QChildEvent\([ :<>"()*&.,^;]\)/TQChildEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCustomEvent\([ :<>"()*&.,^;]\)/TQCustomEvent\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCustomEvent\([ :<>"()*&.,^;]\)/TQCustomEvent\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QEventLoop\([ :<>"()*&.,^;]\)/TQEventLoop\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QEventLoop\([ :<>"()*&.,^;]\)/TQEventLoop\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFileIconProvider\([ :<>"()*&.,^;]\)/TQFileIconProvider\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFileIconProvider\([ :<>"()*&.,^;]\)/TQFileIconProvider\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFilePreview\([ :<>"()*&.,^;]\)/TQFilePreview\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFilePreview\([ :<>"()*&.,^;]\)/TQFilePreview\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFileDialog\([ :<>"()*&.,^;]\)/TQFileDialog\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFileDialog\([ :<>"()*&.,^;]\)/TQFileDialog\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFile\([ :<>"()*&.,^;]\)/TQFile\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFile\([ :<>"()*&.,^;]\)/TQFile\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFile\([ :<>"()*&.,^;]\)/TQFile\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFile\([ :<>"()*&.,^;]\)/TQFile\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFileInfo\([ :<>"()*&.,^;]\)/TQFileInfo\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFileInfo\([ :<>"()*&.,^;]\)/TQFileInfo\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFileInfoList\([ :<>"()*&.,^;]\)/TQFileInfoList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFileInfoList\([ :<>"()*&.,^;]\)/TQFileInfoList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFileInfoListIterator\([ :<>"()*&.,^;]\)/TQFileInfoListIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFileInfoListIterator\([ :<>"()*&.,^;]\)/TQFileInfoListIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFocusData\([ :<>"()*&.,^;]\)/TQFocusData\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFocusData\([ :<>"()*&.,^;]\)/TQFocusData\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFontDatabase\([ :<>"()*&.,^;]\)/TQFontDatabase\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFontDatabase\([ :<>"()*&.,^;]\)/TQFontDatabase\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFont\([ :<>"()*&.,^;]\)/TQFont\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFont\([ :<>"()*&.,^;]\)/TQFont\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFontInfo\([ :<>"()*&.,^;]\)/TQFontInfo\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFontInfo\([ :<>"()*&.,^;]\)/TQFontInfo\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFontMetrics\([ :<>"()*&.,^;]\)/TQFontMetrics\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFontMetrics\([ :<>"()*&.,^;]\)/TQFontMetrics\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFrame\([ :<>"()*&.,^;]\)/TQFrame\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFrame\([ :<>"()*&.,^;]\)/TQFrame\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QFtp\([ :<>"()*&.,^;]\)/TQFtp\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QFtp\([ :<>"()*&.,^;]\)/TQFtp\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGArray\([ :<>"()*&.,^;]\)/TQGArray\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGArray\([ :<>"()*&.,^;]\)/TQGArray\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGb18030Codec\([ :<>"()*&.,^;]\)/TQGb18030Codec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGb18030Codec\([ :<>"()*&.,^;]\)/TQGb18030Codec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGbkCodec\([ :<>"()*&.,^;]\)/TQGbkCodec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGbkCodec\([ :<>"()*&.,^;]\)/TQGbkCodec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGb2312Codec\([ :<>"()*&.,^;]\)/TQGb2312Codec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGb2312Codec\([ :<>"()*&.,^;]\)/TQGb2312Codec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGCache\([ :<>"()*&.,^;]\)/TQGCache\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGCache\([ :<>"()*&.,^;]\)/TQGCache\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGCacheIterator\([ :<>"()*&.,^;]\)/TQGCacheIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGCacheIterator\([ :<>"()*&.,^;]\)/TQGCacheIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QBaseBucket\([ :<>"()*&.,^;]\)/TQBaseBucket\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QBaseBucket\([ :<>"()*&.,^;]\)/TQBaseBucket\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStringBucket\([ :<>"()*&.,^;]\)/TQStringBucket\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStringBucket\([ :<>"()*&.,^;]\)/TQStringBucket\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QAsciiBucket\([ :<>"()*&.,^;]\)/TQAsciiBucket\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QAsciiBucket\([ :<>"()*&.,^;]\)/TQAsciiBucket\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIntBucket\([ :<>"()*&.,^;]\)/TQIntBucket\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIntBucket\([ :<>"()*&.,^;]\)/TQIntBucket\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPtrBucket\([ :<>"()*&.,^;]\)/TQPtrBucket\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPtrBucket\([ :<>"()*&.,^;]\)/TQPtrBucket\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGDict\([ :<>"()*&.,^;]\)/TQGDict\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGDict\([ :<>"()*&.,^;]\)/TQGDict\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGDictIterator\([ :<>"()*&.,^;]\)/TQGDictIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGDictIterator\([ :<>"()*&.,^;]\)/TQGDictIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGLColormap\([ :<>"()*&.,^;]\)/TQGLColormap\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGLColormap\([ :<>"()*&.,^;]\)/TQGLColormap\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGL\([ :<>"()*&.,^;]\)/TQGL\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGL\([ :<>"()*&.,^;]\)/TQGL\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGLFormat\([ :<>"()*&.,^;]\)/TQGLFormat\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGLFormat\([ :<>"()*&.,^;]\)/TQGLFormat\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGLContext\([ :<>"()*&.,^;]\)/TQGLContext\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGLContext\([ :<>"()*&.,^;]\)/TQGLContext\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGLWidget\([ :<>"()*&.,^;]\)/TQGLWidget\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGLWidget\([ :<>"()*&.,^;]\)/TQGLWidget\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLNode\([ :<>"()*&.,^;]\)/TQLNode\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLNode\([ :<>"()*&.,^;]\)/TQLNode\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGList\([ :<>"()*&.,^;]\)/TQGList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGList\([ :<>"()*&.,^;]\)/TQGList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGListIterator\([ :<>"()*&.,^;]\)/TQGListIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGListIterator\([ :<>"()*&.,^;]\)/TQGListIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGListStdIterator\([ :<>"()*&.,^;]\)/TQGListStdIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGListStdIterator\([ :<>"()*&.,^;]\)/TQGListStdIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGPlugin\([ :<>"()*&.,^;]\)/TQGPlugin\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGPlugin\([ :<>"()*&.,^;]\)/TQGPlugin\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGrid\([ :<>"()*&.,^;]\)/TQGrid\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGrid\([ :<>"()*&.,^;]\)/TQGrid\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGridView\([ :<>"()*&.,^;]\)/TQGridView\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGridView\([ :<>"()*&.,^;]\)/TQGridView\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGroupBox\([ :<>"()*&.,^;]\)/TQGroupBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGroupBox\([ :<>"()*&.,^;]\)/TQGroupBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGuardedPtr\([ :<>"()*&.,^;]\)/TQGuardedPtr\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGuardedPtr\([ :<>"()*&.,^;]\)/TQGuardedPtr\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGuardedPtrPrivate\([ :<>"()*&.,^;]\)/TQGuardedPtrPrivate\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGuardedPtrPrivate\([ :<>"()*&.,^;]\)/TQGuardedPtrPrivate\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGVector\([ :<>"()*&.,^;]\)/TQGVector\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGVector\([ :<>"()*&.,^;]\)/TQGVector\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHBox\([ :<>"()*&.,^;]\)/TQHBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHBox\([ :<>"()*&.,^;]\)/TQHBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHButtonGroup\([ :<>"()*&.,^;]\)/TQHButtonGroup\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHButtonGroup\([ :<>"()*&.,^;]\)/TQHButtonGroup\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHeader\([ :<>"()*&.,^;]\)/TQHeader\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHeader\([ :<>"()*&.,^;]\)/TQHeader\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHGroupBox\([ :<>"()*&.,^;]\)/TQHGroupBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHGroupBox\([ :<>"()*&.,^;]\)/TQHGroupBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHostAddress\([ :<>"()*&.,^;]\)/TQHostAddress\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHostAddress\([ :<>"()*&.,^;]\)/TQHostAddress\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHttpHeader\([ :<>"()*&.,^;]\)/TQHttpHeader\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHttpHeader\([ :<>"()*&.,^;]\)/TQHttpHeader\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHttpResponseHeader\([ :<>"()*&.,^;]\)/TQHttpResponseHeader\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHttpResponseHeader\([ :<>"()*&.,^;]\)/TQHttpResponseHeader\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHttpRequestHeader\([ :<>"()*&.,^;]\)/TQHttpRequestHeader\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHttpRequestHeader\([ :<>"()*&.,^;]\)/TQHttpRequestHeader\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHttp\([ :<>"()*&.,^;]\)/TQHttp\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHttp\([ :<>"()*&.,^;]\)/TQHttp\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIconSet\([ :<>"()*&.,^;]\)/TQIconSet\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIconSet\([ :<>"()*&.,^;]\)/TQIconSet\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIconFactory\([ :<>"()*&.,^;]\)/TQIconFactory\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIconFactory\([ :<>"()*&.,^;]\)/TQIconFactory\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIconDragItem\([ :<>"()*&.,^;]\)/TQIconDragItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIconDragItem\([ :<>"()*&.,^;]\)/TQIconDragItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIconDrag\([ :<>"()*&.,^;]\)/TQIconDrag\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIconDrag\([ :<>"()*&.,^;]\)/TQIconDrag\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIconViewItem\([ :<>"()*&.,^;]\)/TQIconViewItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIconViewItem\([ :<>"()*&.,^;]\)/TQIconViewItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIconView\([ :<>"()*&.,^;]\)/TQIconView\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIconView\([ :<>"()*&.,^;]\)/TQIconView\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QImageFormatPlugin\([ :<>"()*&.,^;]\)/TQImageFormatPlugin\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QImageFormatPlugin\([ :<>"()*&.,^;]\)/TQImageFormatPlugin\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QImageTextKeyLang\([ :<>"()*&.,^;]\)/TQImageTextKeyLang\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QImageTextKeyLang\([ :<>"()*&.,^;]\)/TQImageTextKeyLang\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QImage\([ :<>"()*&.,^;]\)/TQImage\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QImage\([ :<>"()*&.,^;]\)/TQImage\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QImageIO\([ :<>"()*&.,^;]\)/TQImageIO\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QImageIO\([ :<>"()*&.,^;]\)/TQImageIO\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QInputContextFactory\([ :<>"()*&.,^;]\)/TQInputContextFactory\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QInputContextFactory\([ :<>"()*&.,^;]\)/TQInputContextFactory\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QInputContext\([ :<>"()*&.,^;]\)/TQInputContext\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QInputContext\([ :<>"()*&.,^;]\)/TQInputContext\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIntCache\([ :<>"()*&.,^;]\)/TQIntCache\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIntCache\([ :<>"()*&.,^;]\)/TQIntCache\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIntCacheIterator\([ :<>"()*&.,^;]\)/TQIntCacheIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIntCacheIterator\([ :<>"()*&.,^;]\)/TQIntCacheIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIntDict\([ :<>"()*&.,^;]\)/TQIntDict\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIntDict\([ :<>"()*&.,^;]\)/TQIntDict\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIntDictIterator\([ :<>"()*&.,^;]\)/TQIntDictIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIntDictIterator\([ :<>"()*&.,^;]\)/TQIntDictIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIODevice\([ :<>"()*&.,^;]\)/TQIODevice\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIODevice\([ :<>"()*&.,^;]\)/TQIODevice\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QJisCodec\([ :<>"()*&.,^;]\)/TQJisCodec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QJisCodec\([ :<>"()*&.,^;]\)/TQJisCodec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QJpUnicodeConv\([ :<>"()*&.,^;]\)/TQJpUnicodeConv\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QJpUnicodeConv\([ :<>"()*&.,^;]\)/TQJpUnicodeConv\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QKeySequence\([ :<>"()*&.,^;]\)/TQKeySequence\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QKeySequence\([ :<>"()*&.,^;]\)/TQKeySequence\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLabel\([ :<>"()*&.,^;]\)/TQLabel\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLabel\([ :<>"()*&.,^;]\)/TQLabel\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGLayoutIterator\([ :<>"()*&.,^;]\)/TQGLayoutIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGLayoutIterator\([ :<>"()*&.,^;]\)/TQGLayoutIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLayoutIterator\([ :<>"()*&.,^;]\)/TQLayoutIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLayoutIterator\([ :<>"()*&.,^;]\)/TQLayoutIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLayoutItem\([ :<>"()*&.,^;]\)/TQLayoutItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLayoutItem\([ :<>"()*&.,^;]\)/TQLayoutItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSpacerItem\([ :<>"()*&.,^;]\)/TQSpacerItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSpacerItem\([ :<>"()*&.,^;]\)/TQSpacerItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWidgetItem\([ :<>"()*&.,^;]\)/TQWidgetItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWidgetItem\([ :<>"()*&.,^;]\)/TQWidgetItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLayout\([ :<>"()*&.,^;]\)/TQLayout\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLayout\([ :<>"()*&.,^;]\)/TQLayout\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QGridLayout\([ :<>"()*&.,^;]\)/TQGridLayout\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QGridLayout\([ :<>"()*&.,^;]\)/TQGridLayout\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QBoxLayout\([ :<>"()*&.,^;]\)/TQBoxLayout\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QBoxLayout\([ :<>"()*&.,^;]\)/TQBoxLayout\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHBoxLayout\([ :<>"()*&.,^;]\)/TQHBoxLayout\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHBoxLayout\([ :<>"()*&.,^;]\)/TQHBoxLayout\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QVBoxLayout\([ :<>"()*&.,^;]\)/TQVBoxLayout\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QVBoxLayout\([ :<>"()*&.,^;]\)/TQVBoxLayout\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLCDNumber\([ :<>"()*&.,^;]\)/TQLCDNumber\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLCDNumber\([ :<>"()*&.,^;]\)/TQLCDNumber\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLibrary\([ :<>"()*&.,^;]\)/TQLibrary\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLibrary\([ :<>"()*&.,^;]\)/TQLibrary\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLineEdit\([ :<>"()*&.,^;]\)/TQLineEdit\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLineEdit\([ :<>"()*&.,^;]\)/TQLineEdit\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QListBox\([ :<>"()*&.,^;]\)/TQListBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QListBox\([ :<>"()*&.,^;]\)/TQListBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QListBoxItem\([ :<>"()*&.,^;]\)/TQListBoxItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QListBoxItem\([ :<>"()*&.,^;]\)/TQListBoxItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QListBoxText\([ :<>"()*&.,^;]\)/TQListBoxText\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QListBoxText\([ :<>"()*&.,^;]\)/TQListBoxText\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QListBoxPixmap\([ :<>"()*&.,^;]\)/TQListBoxPixmap\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QListBoxPixmap\([ :<>"()*&.,^;]\)/TQListBoxPixmap\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QListViewItem\([ :<>"()*&.,^;]\)/TQListViewItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QListViewItem\([ :<>"()*&.,^;]\)/TQListViewItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QListView\([ :<>"()*&.,^;]\)/TQListView\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QListView\([ :<>"()*&.,^;]\)/TQListView\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCheckListItem\([ :<>"()*&.,^;]\)/TQCheckListItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCheckListItem\([ :<>"()*&.,^;]\)/TQCheckListItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QListViewItemIterator\([ :<>"()*&.,^;]\)/TQListViewItemIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QListViewItemIterator\([ :<>"()*&.,^;]\)/TQListViewItemIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLocale\([ :<>"()*&.,^;]\)/TQLocale\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLocale\([ :<>"()*&.,^;]\)/TQLocale\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QLocalFs\([ :<>"()*&.,^;]\)/TQLocalFs\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QLocalFs\([ :<>"()*&.,^;]\)/TQLocalFs\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMainWindow\([ :<>"()*&.,^;]\)/TQMainWindow\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMainWindow\([ :<>"()*&.,^;]\)/TQMainWindow\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMapIterator\([ :<>"()*&.,^;]\)/TQMapIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMapIterator\([ :<>"()*&.,^;]\)/TQMapIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMapConstIterator\([ :<>"()*&.,^;]\)/TQMapConstIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMapConstIterator\([ :<>"()*&.,^;]\)/TQMapConstIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMapPrivateBase\([ :<>"()*&.,^;]\)/TQMapPrivateBase\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMapPrivateBase\([ :<>"()*&.,^;]\)/TQMapPrivateBase\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMapPrivate\([ :<>"()*&.,^;]\)/TQMapPrivate\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMapPrivate\([ :<>"()*&.,^;]\)/TQMapPrivate\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMap\([ :<>"()*&.,^;]\)/TQMap\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMap\([ :<>"()*&.,^;]\)/TQMap\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMemArray\([ :<>"()*&.,^;]\)/TQMemArray\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMemArray\([ :<>"()*&.,^;]\)/TQMemArray\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMenuBar\([ :<>"()*&.,^;]\)/TQMenuBar\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMenuBar\([ :<>"()*&.,^;]\)/TQMenuBar\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMenuItem\([ :<>"()*&.,^;]\)/TQMenuItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMenuItem\([ :<>"()*&.,^;]\)/TQMenuItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCustomMenuItem\([ :<>"()*&.,^;]\)/TQCustomMenuItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCustomMenuItem\([ :<>"()*&.,^;]\)/TQCustomMenuItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMenuData\([ :<>"()*&.,^;]\)/TQMenuData\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMenuData\([ :<>"()*&.,^;]\)/TQMenuData\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMessageBox\([ :<>"()*&.,^;]\)/TQMessageBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMessageBox\([ :<>"()*&.,^;]\)/TQMessageBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMetaProperty\([ :<>"()*&.,^;]\)/TQMetaProperty\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMetaProperty\([ :<>"()*&.,^;]\)/TQMetaProperty\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMetaObject\([ :<>"()*&.,^;]\)/TQMetaObject\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMetaObject\([ :<>"()*&.,^;]\)/TQMetaObject\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMetaObjectCleanUp\([ :<>"()*&.,^;]\)/TQMetaObjectCleanUp\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMetaObjectCleanUp\([ :<>"()*&.,^;]\)/TQMetaObjectCleanUp\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMimeSource\([ :<>"()*&.,^;]\)/TQMimeSource\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMimeSource\([ :<>"()*&.,^;]\)/TQMimeSource\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMimeSourceFactory\([ :<>"()*&.,^;]\)/TQMimeSourceFactory\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMimeSourceFactory\([ :<>"()*&.,^;]\)/TQMimeSourceFactory\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWindowsMime\([ :<>"()*&.,^;]\)/TQWindowsMime\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWindowsMime\([ :<>"()*&.,^;]\)/TQWindowsMime\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMacMime\([ :<>"()*&.,^;]\)/TQMacMime\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMacMime\([ :<>"()*&.,^;]\)/TQMacMime\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMotifPlusStyle\([ :<>"()*&.,^;]\)/TQMotifPlusStyle\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMotifPlusStyle\([ :<>"()*&.,^;]\)/TQMotifPlusStyle\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMotifStyle\([ :<>"()*&.,^;]\)/TQMotifStyle\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMotifStyle\([ :<>"()*&.,^;]\)/TQMotifStyle\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMovie\([ :<>"()*&.,^;]\)/TQMovie\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMovie\([ :<>"()*&.,^;]\)/TQMovie\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMultiLineEdit\([ :<>"()*&.,^;]\)/TQMultiLineEdit\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMultiLineEdit\([ :<>"()*&.,^;]\)/TQMultiLineEdit\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMutex\([ :<>"()*&.,^;]\)/TQMutex\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMutex\([ :<>"()*&.,^;]\)/TQMutex\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QMutexLocker\([ :<>"()*&.,^;]\)/TQMutexLocker\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QMutexLocker\([ :<>"()*&.,^;]\)/TQMutexLocker\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QInternal\([ :<>"()*&.,^;]\)/TQInternal\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QInternal\([ :<>"()*&.,^;]\)/TQInternal\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QNetworkProtocolFactoryBase\([ :<>"()*&.,^;]\)/TQNetworkProtocolFactoryBase\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QNetworkProtocolFactoryBase\([ :<>"()*&.,^;]\)/TQNetworkProtocolFactoryBase\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QNetworkProtocolFactory\([ :<>"()*&.,^;]\)/TQNetworkProtocolFactory\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QNetworkProtocolFactory\([ :<>"()*&.,^;]\)/TQNetworkProtocolFactory\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QNetworkProtocol\([ :<>"()*&.,^;]\)/TQNetworkProtocol\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QNetworkProtocol\([ :<>"()*&.,^;]\)/TQNetworkProtocol\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QNetworkOperation\([ :<>"()*&.,^;]\)/TQNetworkOperation\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QNetworkOperation\([ :<>"()*&.,^;]\)/TQNetworkOperation\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QNPStream\([ :<>"()*&.,^;]\)/TQNPStream\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QNPStream\([ :<>"()*&.,^;]\)/TQNPStream\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QNPWidget\([ :<>"()*&.,^;]\)/TQNPWidget\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QNPWidget\([ :<>"()*&.,^;]\)/TQNPWidget\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QNPInstance\([ :<>"()*&.,^;]\)/TQNPInstance\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QNPInstance\([ :<>"()*&.,^;]\)/TQNPInstance\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QNPlugin\([ :<>"()*&.,^;]\)/TQNPlugin\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QNPlugin\([ :<>"()*&.,^;]\)/TQNPlugin\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QObjectCleanupHandler\([ :<>"()*&.,^;]\)/TQObjectCleanupHandler\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QObjectCleanupHandler\([ :<>"()*&.,^;]\)/TQObjectCleanupHandler\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QObjectDictionary\([ :<>"()*&.,^;]\)/TQObjectDictionary\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QObjectDictionary\([ :<>"()*&.,^;]\)/TQObjectDictionary\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QObject\([ :<>"()*&.,^;]\)/TQObject\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QObject\([ :<>"()*&.,^;]\)/TQObject\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QObjectUserData\([ :<>"()*&.,^;]\)/TQObjectUserData\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QObjectUserData\([ :<>"()*&.,^;]\)/TQObjectUserData\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QObjectList\([ :<>"()*&.,^;]\)/TQObjectList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QObjectList\([ :<>"()*&.,^;]\)/TQObjectList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QObjectListIterator\([ :<>"()*&.,^;]\)/TQObjectListIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QObjectListIterator\([ :<>"()*&.,^;]\)/TQObjectListIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QObjectListIt\([ :<>"()*&.,^;]\)/TQObjectListIt\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QObjectListIt\([ :<>"()*&.,^;]\)/TQObjectListIt\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPaintDevice\([ :<>"()*&.,^;]\)/TQPaintDevice\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPaintDevice\([ :<>"()*&.,^;]\)/TQPaintDevice\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPaintDeviceMetrics\([ :<>"()*&.,^;]\)/TQPaintDeviceMetrics\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPaintDeviceMetrics\([ :<>"()*&.,^;]\)/TQPaintDeviceMetrics\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPainter\([ :<>"()*&.,^;]\)/TQPainter\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPainter\([ :<>"()*&.,^;]\)/TQPainter\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QColorGroup\([ :<>"()*&.,^;]\)/TQColorGroup\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QColorGroup\([ :<>"()*&.,^;]\)/TQColorGroup\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPair\([ :<>"()*&.,^;]\)/TQPair\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPair\([ :<>"()*&.,^;]\)/TQPair\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPalette\([ :<>"()*&.,^;]\)/TQPalette\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPalette\([ :<>"()*&.,^;]\)/TQPalette\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPen\([ :<>"()*&.,^;]\)/TQPen\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPen\([ :<>"()*&.,^;]\)/TQPen\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPicture\([ :<>"()*&.,^;]\)/TQPicture\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPicture\([ :<>"()*&.,^;]\)/TQPicture\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPixmapCache\([ :<>"()*&.,^;]\)/TQPixmapCache\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPixmapCache\([ :<>"()*&.,^;]\)/TQPixmapCache\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPixmap\([ :<>"()*&.,^;]\)/TQPixmap\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPixmap\([ :<>"()*&.,^;]\)/TQPixmap\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPlatinumStyle\([ :<>"()*&.,^;]\)/TQPlatinumStyle\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPlatinumStyle\([ :<>"()*&.,^;]\)/TQPlatinumStyle\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPNGImageWriter\([ :<>"()*&.,^;]\)/TQPNGImageWriter\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPNGImageWriter\([ :<>"()*&.,^;]\)/TQPNGImageWriter\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPNGImagePacker\([ :<>"()*&.,^;]\)/TQPNGImagePacker\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPNGImagePacker\([ :<>"()*&.,^;]\)/TQPNGImagePacker\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPointArray\([ :<>"()*&.,^;]\)/TQPointArray\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPointArray\([ :<>"()*&.,^;]\)/TQPointArray\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPoint\([ :<>"()*&.,^;]\)/TQPoint\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPoint\([ :<>"()*&.,^;]\)/TQPoint\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPolygonScanner\([ :<>"()*&.,^;]\)/TQPolygonScanner\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPolygonScanner\([ :<>"()*&.,^;]\)/TQPolygonScanner\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPopupMenu\([ :<>"()*&.,^;]\)/TQPopupMenu\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPopupMenu\([ :<>"()*&.,^;]\)/TQPopupMenu\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPrintDialog\([ :<>"()*&.,^;]\)/TQPrintDialog\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPrintDialog\([ :<>"()*&.,^;]\)/TQPrintDialog\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPrinter\([ :<>"()*&.,^;]\)/TQPrinter\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPrinter\([ :<>"()*&.,^;]\)/TQPrinter\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QProcess\([ :<>"()*&.,^;]\)/TQProcess\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QProcess\([ :<>"()*&.,^;]\)/TQProcess\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QProgressBar\([ :<>"()*&.,^;]\)/TQProgressBar\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QProgressBar\([ :<>"()*&.,^;]\)/TQProgressBar\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QProgressDialog\([ :<>"()*&.,^;]\)/TQProgressDialog\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QProgressDialog\([ :<>"()*&.,^;]\)/TQProgressDialog\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPtrCollection\([ :<>"()*&.,^;]\)/TQPtrCollection\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPtrCollection\([ :<>"()*&.,^;]\)/TQPtrCollection\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPtrDict\([ :<>"()*&.,^;]\)/TQPtrDict\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPtrDict\([ :<>"()*&.,^;]\)/TQPtrDict\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPtrDictIterator\([ :<>"()*&.,^;]\)/TQPtrDictIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPtrDictIterator\([ :<>"()*&.,^;]\)/TQPtrDictIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPtrListStdIterator\([ :<>"()*&.,^;]\)/TQPtrListStdIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPtrListStdIterator\([ :<>"()*&.,^;]\)/TQPtrListStdIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPtrList\([ :<>"()*&.,^;]\)/TQPtrList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPtrList\([ :<>"()*&.,^;]\)/TQPtrList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPtrListIterator\([ :<>"()*&.,^;]\)/TQPtrListIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPtrListIterator\([ :<>"()*&.,^;]\)/TQPtrListIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPtrQueue\([ :<>"()*&.,^;]\)/TQPtrQueue\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPtrQueue\([ :<>"()*&.,^;]\)/TQPtrQueue\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPtrStack\([ :<>"()*&.,^;]\)/TQPtrStack\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPtrStack\([ :<>"()*&.,^;]\)/TQPtrStack\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPtrVector\([ :<>"()*&.,^;]\)/TQPtrVector\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPtrVector\([ :<>"()*&.,^;]\)/TQPtrVector\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QPushButton\([ :<>"()*&.,^;]\)/TQPushButton\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QPushButton\([ :<>"()*&.,^;]\)/TQPushButton\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QRadioButton\([ :<>"()*&.,^;]\)/TQRadioButton\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QRadioButton\([ :<>"()*&.,^;]\)/TQRadioButton\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QRangeControl\([ :<>"()*&.,^;]\)/TQRangeControl\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QRangeControl\([ :<>"()*&.,^;]\)/TQRangeControl\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSpinWidget\([ :<>"()*&.,^;]\)/TQSpinWidget\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSpinWidget\([ :<>"()*&.,^;]\)/TQSpinWidget\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QRect\([ :<>"()*&.,^;]\)/TQRect\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QRect\([ :<>"()*&.,^;]\)/TQRect\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QRegExp\([ :<>"()*&.,^;]\)/TQRegExp\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QRegExp\([ :<>"()*&.,^;]\)/TQRegExp\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QRegion\([ :<>"()*&.,^;]\)/TQRegion\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QRegion\([ :<>"()*&.,^;]\)/TQRegion\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QHebrewCodec\([ :<>"()*&.,^;]\)/TQHebrewCodec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QHebrewCodec\([ :<>"()*&.,^;]\)/TQHebrewCodec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QScrollBar\([ :<>"()*&.,^;]\)/TQScrollBar\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QScrollBar\([ :<>"()*&.,^;]\)/TQScrollBar\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QScrollView\([ :<>"()*&.,^;]\)/TQScrollView\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QScrollView\([ :<>"()*&.,^;]\)/TQScrollView\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSemaphore\([ :<>"()*&.,^;]\)/TQSemaphore\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSemaphore\([ :<>"()*&.,^;]\)/TQSemaphore\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QServerSocket\([ :<>"()*&.,^;]\)/TQServerSocket\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QServerSocket\([ :<>"()*&.,^;]\)/TQServerSocket\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSettings\([ :<>"()*&.,^;]\)/TQSettings\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSettings\([ :<>"()*&.,^;]\)/TQSettings\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSGIStyle\([ :<>"()*&.,^;]\)/TQSGIStyle\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSGIStyle\([ :<>"()*&.,^;]\)/TQSGIStyle\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSignal\([ :<>"()*&.,^;]\)/TQSignal\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSignal\([ :<>"()*&.,^;]\)/TQSignal\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSignalMapper\([ :<>"()*&.,^;]\)/TQSignalMapper\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSignalMapper\([ :<>"()*&.,^;]\)/TQSignalMapper\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QConnectionList\([ :<>"()*&.,^;]\)/TQConnectionList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QConnectionList\([ :<>"()*&.,^;]\)/TQConnectionList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QConnectionListIt\([ :<>"()*&.,^;]\)/TQConnectionListIt\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QConnectionListIt\([ :<>"()*&.,^;]\)/TQConnectionListIt\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSignalVec\([ :<>"()*&.,^;]\)/TQSignalVec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSignalVec\([ :<>"()*&.,^;]\)/TQSignalVec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSimpleRichText\([ :<>"()*&.,^;]\)/TQSimpleRichText\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSimpleRichText\([ :<>"()*&.,^;]\)/TQSimpleRichText\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSizeGrip\([ :<>"()*&.,^;]\)/TQSizeGrip\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSizeGrip\([ :<>"()*&.,^;]\)/TQSizeGrip\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSize\([ :<>"()*&.,^;]\)/TQSize\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSize\([ :<>"()*&.,^;]\)/TQSize\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSizePolicy\([ :<>"()*&.,^;]\)/TQSizePolicy\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSizePolicy\([ :<>"()*&.,^;]\)/TQSizePolicy\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSjisCodec\([ :<>"()*&.,^;]\)/TQSjisCodec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSjisCodec\([ :<>"()*&.,^;]\)/TQSjisCodec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSlider\([ :<>"()*&.,^;]\)/TQSlider\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSlider\([ :<>"()*&.,^;]\)/TQSlider\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSocketDevice\([ :<>"()*&.,^;]\)/TQSocketDevice\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSocketDevice\([ :<>"()*&.,^;]\)/TQSocketDevice\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSocket\([ :<>"()*&.,^;]\)/TQSocket\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSocket\([ :<>"()*&.,^;]\)/TQSocket\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSocketNotifier\([ :<>"()*&.,^;]\)/TQSocketNotifier\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSocketNotifier\([ :<>"()*&.,^;]\)/TQSocketNotifier\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSound\([ :<>"()*&.,^;]\)/TQSound\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSound\([ :<>"()*&.,^;]\)/TQSound\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSpinBox\([ :<>"()*&.,^;]\)/TQSpinBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSpinBox\([ :<>"()*&.,^;]\)/TQSpinBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSplashScreen\([ :<>"()*&.,^;]\)/TQSplashScreen\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSplashScreen\([ :<>"()*&.,^;]\)/TQSplashScreen\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSplitter\([ :<>"()*&.,^;]\)/TQSplitter\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSplitter\([ :<>"()*&.,^;]\)/TQSplitter\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlCursor\([ :<>"()*&.,^;]\)/TQSqlCursor\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlCursor\([ :<>"()*&.,^;]\)/TQSqlCursor\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlDatabase\([ :<>"()*&.,^;]\)/TQSqlDatabase\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlDatabase\([ :<>"()*&.,^;]\)/TQSqlDatabase\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlDriver\([ :<>"()*&.,^;]\)/TQSqlDriver\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlDriver\([ :<>"()*&.,^;]\)/TQSqlDriver\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlDriverPlugin\([ :<>"()*&.,^;]\)/TQSqlDriverPlugin\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlDriverPlugin\([ :<>"()*&.,^;]\)/TQSqlDriverPlugin\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlEditorFactory\([ :<>"()*&.,^;]\)/TQSqlEditorFactory\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlEditorFactory\([ :<>"()*&.,^;]\)/TQSqlEditorFactory\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlError\([ :<>"()*&.,^;]\)/TQSqlError\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlError\([ :<>"()*&.,^;]\)/TQSqlError\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlFieldPrivate\([ :<>"()*&.,^;]\)/TQSqlFieldPrivate\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlFieldPrivate\([ :<>"()*&.,^;]\)/TQSqlFieldPrivate\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlField\([ :<>"()*&.,^;]\)/TQSqlField\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlField\([ :<>"()*&.,^;]\)/TQSqlField\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlFieldInfo\([ :<>"()*&.,^;]\)/TQSqlFieldInfo\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlFieldInfo\([ :<>"()*&.,^;]\)/TQSqlFieldInfo\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlForm\([ :<>"()*&.,^;]\)/TQSqlForm\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlForm\([ :<>"()*&.,^;]\)/TQSqlForm\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSql\([ :<>"()*&.,^;]\)/TQSql\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSql\([ :<>"()*&.,^;]\)/TQSql\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlIndex\([ :<>"()*&.,^;]\)/TQSqlIndex\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlIndex\([ :<>"()*&.,^;]\)/TQSqlIndex\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlPropertyMap\([ :<>"()*&.,^;]\)/TQSqlPropertyMap\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlPropertyMap\([ :<>"()*&.,^;]\)/TQSqlPropertyMap\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlQuery\([ :<>"()*&.,^;]\)/TQSqlQuery\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlQuery\([ :<>"()*&.,^;]\)/TQSqlQuery\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlResultShared\([ :<>"()*&.,^;]\)/TQSqlResultShared\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlResultShared\([ :<>"()*&.,^;]\)/TQSqlResultShared\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlRecordShared\([ :<>"()*&.,^;]\)/TQSqlRecordShared\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlRecordShared\([ :<>"()*&.,^;]\)/TQSqlRecordShared\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlRecord\([ :<>"()*&.,^;]\)/TQSqlRecord\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlRecord\([ :<>"()*&.,^;]\)/TQSqlRecord\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlRecordInfo\([ :<>"()*&.,^;]\)/TQSqlRecordInfo\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlRecordInfo\([ :<>"()*&.,^;]\)/TQSqlRecordInfo\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlResult\([ :<>"()*&.,^;]\)/TQSqlResult\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlResult\([ :<>"()*&.,^;]\)/TQSqlResult\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlSelectCursorPrivate\([ :<>"()*&.,^;]\)/TQSqlSelectCursorPrivate\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlSelectCursorPrivate\([ :<>"()*&.,^;]\)/TQSqlSelectCursorPrivate\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSqlSelectCursor\([ :<>"()*&.,^;]\)/TQSqlSelectCursor\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSqlSelectCursor\([ :<>"()*&.,^;]\)/TQSqlSelectCursor\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStatusBar\([ :<>"()*&.,^;]\)/TQStatusBar\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStatusBar\([ :<>"()*&.,^;]\)/TQStatusBar\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QChar\([ :<>"()*&.,^;]\)/TQChar\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QChar\([ :<>"()*&.,^;]\)/TQChar\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QString\([ :<>"()*&.,^;]\)/TQString\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QString\([ :<>"()*&.,^;]\)/TQString\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCharRef\([ :<>"()*&.,^;]\)/TQCharRef\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCharRef\([ :<>"()*&.,^;]\)/TQCharRef\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QConstString\([ :<>"()*&.,^;]\)/TQConstString\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QConstString\([ :<>"()*&.,^;]\)/TQConstString\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QChar\([ :<>"()*&.,^;]\)/TQChar\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QChar\([ :<>"()*&.,^;]\)/TQChar\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QString\([ :<>"()*&.,^;]\)/TQString\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QString\([ :<>"()*&.,^;]\)/TQString\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCharRef\([ :<>"()*&.,^;]\)/TQCharRef\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCharRef\([ :<>"()*&.,^;]\)/TQCharRef\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QConstString\([ :<>"()*&.,^;]\)/TQConstString\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QConstString\([ :<>"()*&.,^;]\)/TQConstString\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStringList\([ :<>"()*&.,^;]\)/TQStringList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStringList\([ :<>"()*&.,^;]\)/TQStringList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStrListIterator\([ :<>"()*&.,^;]\)/TQStrListIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStrListIterator\([ :<>"()*&.,^;]\)/TQStrListIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStrIList\([ :<>"()*&.,^;]\)/TQStrIList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStrIList\([ :<>"()*&.,^;]\)/TQStrIList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStrVec\([ :<>"()*&.,^;]\)/TQStrVec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStrVec\([ :<>"()*&.,^;]\)/TQStrVec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStrIVec\([ :<>"()*&.,^;]\)/TQStrIVec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStrIVec\([ :<>"()*&.,^;]\)/TQStrIVec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStyleFactory\([ :<>"()*&.,^;]\)/TQStyleFactory\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStyleFactory\([ :<>"()*&.,^;]\)/TQStyleFactory\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStyleOption\([ :<>"()*&.,^;]\)/TQStyleOption\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStyleOption\([ :<>"()*&.,^;]\)/TQStyleOption\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStyle\([ :<>"()*&.,^;]\)/TQStyle\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStyle\([ :<>"()*&.,^;]\)/TQStyle\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStylePlugin\([ :<>"()*&.,^;]\)/TQStylePlugin\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStylePlugin\([ :<>"()*&.,^;]\)/TQStylePlugin\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStyleSheetItem\([ :<>"()*&.,^;]\)/TQStyleSheetItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStyleSheetItem\([ :<>"()*&.,^;]\)/TQStyleSheetItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStyleSheet\([ :<>"()*&.,^;]\)/TQStyleSheet\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QStyleSheet\([ :<>"()*&.,^;]\)/TQStyleSheet\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QSyntaxHighlighter\([ :<>"()*&.,^;]\)/TQSyntaxHighlighter\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QSyntaxHighlighter\([ :<>"()*&.,^;]\)/TQSyntaxHighlighter\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTab\([ :<>"()*&.,^;]\)/TQTab\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTab\([ :<>"()*&.,^;]\)/TQTab\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTabBar\([ :<>"()*&.,^;]\)/TQTabBar\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTabBar\([ :<>"()*&.,^;]\)/TQTabBar\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTabDialog\([ :<>"()*&.,^;]\)/TQTabDialog\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTabDialog\([ :<>"()*&.,^;]\)/TQTabDialog\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTableSelection\([ :<>"()*&.,^;]\)/TQTableSelection\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTableSelection\([ :<>"()*&.,^;]\)/TQTableSelection\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTableItem\([ :<>"()*&.,^;]\)/TQTableItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTableItem\([ :<>"()*&.,^;]\)/TQTableItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QComboTableItem\([ :<>"()*&.,^;]\)/TQComboTableItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QComboTableItem\([ :<>"()*&.,^;]\)/TQComboTableItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QCheckTableItem\([ :<>"()*&.,^;]\)/TQCheckTableItem\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QCheckTableItem\([ :<>"()*&.,^;]\)/TQCheckTableItem\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTable\([ :<>"()*&.,^;]\)/TQTable\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTable\([ :<>"()*&.,^;]\)/TQTable\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTabWidget\([ :<>"()*&.,^;]\)/TQTabWidget\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTabWidget\([ :<>"()*&.,^;]\)/TQTabWidget\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextBrowser\([ :<>"()*&.,^;]\)/TQTextBrowser\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextBrowser\([ :<>"()*&.,^;]\)/TQTextBrowser\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextCodecFactory\([ :<>"()*&.,^;]\)/TQTextCodecFactory\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextCodecFactory\([ :<>"()*&.,^;]\)/TQTextCodecFactory\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextEncoder\([ :<>"()*&.,^;]\)/TQTextEncoder\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextEncoder\([ :<>"()*&.,^;]\)/TQTextEncoder\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextDecoder\([ :<>"()*&.,^;]\)/TQTextDecoder\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextDecoder\([ :<>"()*&.,^;]\)/TQTextDecoder\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextCodec\([ :<>"()*&.,^;]\)/TQTextCodec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextCodec\([ :<>"()*&.,^;]\)/TQTextCodec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextCodecPlugin\([ :<>"()*&.,^;]\)/TQTextCodecPlugin\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextCodecPlugin\([ :<>"()*&.,^;]\)/TQTextCodecPlugin\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextEdit\([ :<>"()*&.,^;]\)/TQTextEdit\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextEdit\([ :<>"()*&.,^;]\)/TQTextEdit\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextStream\([ :<>"()*&.,^;]\)/TQTextStream\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextStream\([ :<>"()*&.,^;]\)/TQTextStream\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextIStream\([ :<>"()*&.,^;]\)/TQTextIStream\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextIStream\([ :<>"()*&.,^;]\)/TQTextIStream\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextOStream\([ :<>"()*&.,^;]\)/TQTextOStream\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextOStream\([ :<>"()*&.,^;]\)/TQTextOStream\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTSManip\([ :<>"()*&.,^;]\)/TQTSManip\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTSManip\([ :<>"()*&.,^;]\)/TQTSManip\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextView\([ :<>"()*&.,^;]\)/TQTextView\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextView\([ :<>"()*&.,^;]\)/TQTextView\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QThread\([ :<>"()*&.,^;]\)/TQThread\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QThread\([ :<>"()*&.,^;]\)/TQThread\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QThreadStorageData\([ :<>"()*&.,^;]\)/TQThreadStorageData\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QThreadStorageData\([ :<>"()*&.,^;]\)/TQThreadStorageData\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QThreadStorage\([ :<>"()*&.,^;]\)/TQThreadStorage\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QThreadStorage\([ :<>"()*&.,^;]\)/TQThreadStorage\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTimer\([ :<>"()*&.,^;]\)/TQTimer\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTimer\([ :<>"()*&.,^;]\)/TQTimer\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTimer\([ :<>"()*&.,^;]\)/TQTimer\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTimer\([ :<>"()*&.,^;]\)/TQTimer\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTextOStreamIterator\([ :<>"()*&.,^;]\)/TQTextOStreamIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTextOStreamIterator\([ :<>"()*&.,^;]\)/TQTextOStreamIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QBackInsertIterator\([ :<>"()*&.,^;]\)/TQBackInsertIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QBackInsertIterator\([ :<>"()*&.,^;]\)/TQBackInsertIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QToolBar\([ :<>"()*&.,^;]\)/TQToolBar\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QToolBar\([ :<>"()*&.,^;]\)/TQToolBar\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QToolBox\([ :<>"()*&.,^;]\)/TQToolBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QToolBox\([ :<>"()*&.,^;]\)/TQToolBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QToolButton\([ :<>"()*&.,^;]\)/TQToolButton\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QToolButton\([ :<>"()*&.,^;]\)/TQToolButton\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QToolTipGroup\([ :<>"()*&.,^;]\)/TQToolTipGroup\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QToolTipGroup\([ :<>"()*&.,^;]\)/TQToolTipGroup\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QToolTip\([ :<>"()*&.,^;]\)/TQToolTip\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QToolTip\([ :<>"()*&.,^;]\)/TQToolTip\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTranslator\([ :<>"()*&.,^;]\)/TQTranslator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTranslator\([ :<>"()*&.,^;]\)/TQTranslator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTranslatorMessage\([ :<>"()*&.,^;]\)/TQTranslatorMessage\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTranslatorMessage\([ :<>"()*&.,^;]\)/TQTranslatorMessage\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QTsciiCodec\([ :<>"()*&.,^;]\)/TQTsciiCodec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QTsciiCodec\([ :<>"()*&.,^;]\)/TQTsciiCodec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QUrl\([ :<>"()*&.,^;]\)/TQUrl\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QUrl\([ :<>"()*&.,^;]\)/TQUrl\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QUrlInfo\([ :<>"()*&.,^;]\)/TQUrlInfo\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QUrlInfo\([ :<>"()*&.,^;]\)/TQUrlInfo\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QUrlOperator\([ :<>"()*&.,^;]\)/TQUrlOperator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QUrlOperator\([ :<>"()*&.,^;]\)/TQUrlOperator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QUtf8Codec\([ :<>"()*&.,^;]\)/TQUtf8Codec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QUtf8Codec\([ :<>"()*&.,^;]\)/TQUtf8Codec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QUtf16Codec\([ :<>"()*&.,^;]\)/TQUtf16Codec\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QUtf16Codec\([ :<>"()*&.,^;]\)/TQUtf16Codec\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QValidator\([ :<>"()*&.,^;]\)/TQValidator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QValidator\([ :<>"()*&.,^;]\)/TQValidator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QIntValidator\([ :<>"()*&.,^;]\)/TQIntValidator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QIntValidator\([ :<>"()*&.,^;]\)/TQIntValidator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QDoubleValidator\([ :<>"()*&.,^;]\)/TQDoubleValidator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QDoubleValidator\([ :<>"()*&.,^;]\)/TQDoubleValidator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QRegExpValidator\([ :<>"()*&.,^;]\)/TQRegExpValidator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QRegExpValidator\([ :<>"()*&.,^;]\)/TQRegExpValidator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QValueListNode\([ :<>"()*&.,^;]\)/TQValueListNode\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QValueListNode\([ :<>"()*&.,^;]\)/TQValueListNode\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QValueListIterator\([ :<>"()*&.,^;]\)/TQValueListIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QValueListIterator\([ :<>"()*&.,^;]\)/TQValueListIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QValueListConstIterator\([ :<>"()*&.,^;]\)/TQValueListConstIterator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QValueListConstIterator\([ :<>"()*&.,^;]\)/TQValueListConstIterator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QValueListPrivate\([ :<>"()*&.,^;]\)/TQValueListPrivate\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QValueListPrivate\([ :<>"()*&.,^;]\)/TQValueListPrivate\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QValueList\([ :<>"()*&.,^;]\)/TQValueList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QValueList\([ :<>"()*&.,^;]\)/TQValueList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QValueStack\([ :<>"()*&.,^;]\)/TQValueStack\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QValueStack\([ :<>"()*&.,^;]\)/TQValueStack\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QValueVectorPrivate\([ :<>"()*&.,^;]\)/TQValueVectorPrivate\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QValueVectorPrivate\([ :<>"()*&.,^;]\)/TQValueVectorPrivate\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QValueVector\([ :<>"()*&.,^;]\)/TQValueVector\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QValueVector\([ :<>"()*&.,^;]\)/TQValueVector\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QVariant\([ :<>"()*&.,^;]\)/TQVariant\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QVariant\([ :<>"()*&.,^;]\)/TQVariant\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QVBox\([ :<>"()*&.,^;]\)/TQVBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QVBox\([ :<>"()*&.,^;]\)/TQVBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QVButtonGroup\([ :<>"()*&.,^;]\)/TQVButtonGroup\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QVButtonGroup\([ :<>"()*&.,^;]\)/TQVButtonGroup\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QVGroupBox\([ :<>"()*&.,^;]\)/TQVGroupBox\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QVGroupBox\([ :<>"()*&.,^;]\)/TQVGroupBox\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWaitCondition\([ :<>"()*&.,^;]\)/TQWaitCondition\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWaitCondition\([ :<>"()*&.,^;]\)/TQWaitCondition\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWhatsThis\([ :<>"()*&.,^;]\)/TQWhatsThis\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWhatsThis\([ :<>"()*&.,^;]\)/TQWhatsThis\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWidgetFactory\([ :<>"()*&.,^;]\)/TQWidgetFactory\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWidgetFactory\([ :<>"()*&.,^;]\)/TQWidgetFactory\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWidget\([ :<>"()*&.,^;]\)/TQWidget\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWidget\([ :<>"()*&.,^;]\)/TQWidget\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWidgetIntDict\([ :<>"()*&.,^;]\)/TQWidgetIntDict\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWidgetIntDict\([ :<>"()*&.,^;]\)/TQWidgetIntDict\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWidgetIntDictIt\([ :<>"()*&.,^;]\)/TQWidgetIntDictIt\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWidgetIntDictIt\([ :<>"()*&.,^;]\)/TQWidgetIntDictIt\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWidgetList\([ :<>"()*&.,^;]\)/TQWidgetList\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWidgetList\([ :<>"()*&.,^;]\)/TQWidgetList\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWidgetListIt\([ :<>"()*&.,^;]\)/TQWidgetListIt\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWidgetListIt\([ :<>"()*&.,^;]\)/TQWidgetListIt\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWidgetPlugin\([ :<>"()*&.,^;]\)/TQWidgetPlugin\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWidgetPlugin\([ :<>"()*&.,^;]\)/TQWidgetPlugin\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWidgetContainerPlugin\([ :<>"()*&.,^;]\)/TQWidgetContainerPlugin\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWidgetContainerPlugin\([ :<>"()*&.,^;]\)/TQWidgetContainerPlugin\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWidgetStack\([ :<>"()*&.,^;]\)/TQWidgetStack\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWidgetStack\([ :<>"()*&.,^;]\)/TQWidgetStack\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWindowsStyle\([ :<>"()*&.,^;]\)/TQWindowsStyle\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWindowsStyle\([ :<>"()*&.,^;]\)/TQWindowsStyle\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWizard\([ :<>"()*&.,^;]\)/TQWizard\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWizard\([ :<>"()*&.,^;]\)/TQWizard\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWMatrix\([ :<>"()*&.,^;]\)/TQWMatrix\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWMatrix\([ :<>"()*&.,^;]\)/TQWMatrix\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QWorkspace\([ :<>"()*&.,^;]\)/TQWorkspace\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QWorkspace\([ :<>"()*&.,^;]\)/TQWorkspace\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlNamespaceSupport\([ :<>"()*&.,^;]\)/TQXmlNamespaceSupport\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlNamespaceSupport\([ :<>"()*&.,^;]\)/TQXmlNamespaceSupport\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlAttributes\([ :<>"()*&.,^;]\)/TQXmlAttributes\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlAttributes\([ :<>"()*&.,^;]\)/TQXmlAttributes\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlInputSource\([ :<>"()*&.,^;]\)/TQXmlInputSource\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlInputSource\([ :<>"()*&.,^;]\)/TQXmlInputSource\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlParseException\([ :<>"()*&.,^;]\)/TQXmlParseException\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlParseException\([ :<>"()*&.,^;]\)/TQXmlParseException\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlReader\([ :<>"()*&.,^;]\)/TQXmlReader\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlReader\([ :<>"()*&.,^;]\)/TQXmlReader\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlSimpleReader\([ :<>"()*&.,^;]\)/TQXmlSimpleReader\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlSimpleReader\([ :<>"()*&.,^;]\)/TQXmlSimpleReader\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlLocator\([ :<>"()*&.,^;]\)/TQXmlLocator\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlLocator\([ :<>"()*&.,^;]\)/TQXmlLocator\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlContentHandler\([ :<>"()*&.,^;]\)/TQXmlContentHandler\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlContentHandler\([ :<>"()*&.,^;]\)/TQXmlContentHandler\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlErrorHandler\([ :<>"()*&.,^;]\)/TQXmlErrorHandler\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlErrorHandler\([ :<>"()*&.,^;]\)/TQXmlErrorHandler\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlDTDHandler\([ :<>"()*&.,^;]\)/TQXmlDTDHandler\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlDTDHandler\([ :<>"()*&.,^;]\)/TQXmlDTDHandler\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlEntityResolver\([ :<>"()*&.,^;]\)/TQXmlEntityResolver\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlEntityResolver\([ :<>"()*&.,^;]\)/TQXmlEntityResolver\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlLexicalHandler\([ :<>"()*&.,^;]\)/TQXmlLexicalHandler\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlLexicalHandler\([ :<>"()*&.,^;]\)/TQXmlLexicalHandler\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlDeclHandler\([ :<>"()*&.,^;]\)/TQXmlDeclHandler\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlDeclHandler\([ :<>"()*&.,^;]\)/TQXmlDeclHandler\1/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QXmlDefaultHandler\([ :<>"()*&.,^;]\)/TQXmlDefaultHandler\1/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/QXmlDefaultHandler\([ :<>"()*&.,^;]\)/TQXmlDefaultHandler\1/g' {} \; - -# find ./ -type f -iname "*.c*" -exec sed -i 's/Qt/TQt/g' {} \; -# find ./ -type f -iname "*.h*" -exec sed -i 's/Qt/TQt/g' {} \; - -find ./ -type f -iname "*.h*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/TTQ/TQ/g' {} \; - -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^_]\)METHOD\([( ]\)/\1TQT_METHOD\2/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^_]\)METHOD\([( ]\)/\1TQT_METHOD\2/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^_]\)SLOT\([( ]\)/\1TQT_SLOT\2/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^_]\)SLOT\([( ]\)/\1TQT_SLOT\2/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/\([^_]\)SIGNAL\([( ]\)/\1TQT_SIGNAL\2/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([^_]\)SIGNAL\([( ]\)/\1TQT_SIGNAL\2/g' {} \; - -find ./ -type f -iname "*.h*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; - -# Convert a few items that have changed too subtly to override in the TQT interface layer - -find ./ -type f -iname "*.c*" -exec sed -i 's/access != QMetaData::/tqaccess != QMetaData::/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/colorTable()/ptrColorTable()/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/QStyleOption::Default/QStyleOption::TQSO_Default/g' {} \; -find ./ -type f -iname "*.c*" -exec sed -i 's/::qt_cast/tqqt_cast/g' {} \; - - -# Back out some common mistakes -find ./ -type f -iname "*.c*" -exec sed -i 's/\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)TQ/\1Q/g' {} \; -find ./ -type f -iname "*.h*" -exec sed -i 's/\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)TQ/\1Q/g' {} \; -# find ./ -type f -iname "*.c*" -exec sed -i 's/ TQt / Qt /g' {} \; -# find ./ -type f -iname "*.h*" -exec sed -i 's/ TQt / Qt /g' {} \; - -# Back out anything that was originally in a string -#find ./ -type f -iname "*.h*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.h*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.h*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.h*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.h*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.h*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.h*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.h*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.c*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.c*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.c*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.c*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.c*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.c*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.c*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; -#find ./ -type f -iname "*.c*" -exec sed -i 's/\"\(.*\)TQ\(.*\)\"/\"\1Q\2\"/g' {} \; - - diff --git a/qtinterface/convert_qt_tqt3 b/qtinterface/convert_qt_tqt3 deleted file mode 100755 index 433816a..0000000 --- a/qtinterface/convert_qt_tqt3 +++ /dev/null @@ -1,987 +0,0 @@ -#!/bin/bash - -find ./ -type f -iname "*.diff*" -exec sed -i 's/QAccel/TQAccel/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QAccel/TQAccel/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QAccessible/TQAccessible/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QAccessible/TQAccessible/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QAccessibleObject/TQAccessibleObject/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QAccessibleObject/TQAccessibleObject/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QAction/TQAction/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QAction/TQAction/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QActionGroup/TQActionGroup/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QActionGroup/TQActionGroup/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QApplication/TQApplication/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QApplication/TQApplication/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QAsciiCache/TQAsciiCache/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QAsciiCache/TQAsciiCache/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QAsciiCacheIterator/TQAsciiCacheIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QAsciiCacheIterator/TQAsciiCacheIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QAsciiDict/TQAsciiDict/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QAsciiDict/TQAsciiDict/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QAsciiDictIterator/TQAsciiDictIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QAsciiDictIterator/TQAsciiDictIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QImageConsumer/TQImageConsumer/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QImageConsumer/TQImageConsumer/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QImageFormat/TQImageFormat/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QImageFormat/TQImageFormat/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QImageFormatType/TQImageFormatType/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QImageFormatType/TQImageFormatType/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QImageDecoder/TQImageDecoder/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QImageDecoder/TQImageDecoder/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QAsyncIO/TQAsyncIO/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QAsyncIO/TQAsyncIO/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDataSink/TQDataSink/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDataSink/TQDataSink/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDataSource/TQDataSource/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDataSource/TQDataSource/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIODeviceSource/TQIODeviceSource/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIODeviceSource/TQIODeviceSource/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDataPump/TQDataPump/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDataPump/TQDataPump/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QBig5Codec/TQBig5Codec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QBig5Codec/TQBig5Codec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QBig5hkscsCodec/TQBig5hkscsCodec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QBig5hkscsCodec/TQBig5hkscsCodec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QBitVal/TQBitVal/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QBitVal/TQBitVal/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QBitArray/TQBitArray/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QBitArray/TQBitArray/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QBitmap/TQBitmap/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QBitmap/TQBitmap/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QBrush/TQBrush/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QBrush/TQBrush/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QBuffer/TQBuffer/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QBuffer/TQBuffer/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QButtonGroup/TQButtonGroup/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QButtonGroup/TQButtonGroup/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QButton/TQButton/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QButton/TQButton/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCache/TQCache/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCache/TQCache/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCacheIterator/TQCacheIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCacheIterator/TQCacheIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasChunk/TQCanvasChunk/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasChunk/TQCanvasChunk/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasItemList/TQCanvasItemList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasItemList/TQCanvasItemList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasItemExtra/TQCanvasItemExtra/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasItemExtra/TQCanvasItemExtra/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasItem/TQCanvasItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasItem/TQCanvasItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasData/TQCanvasData/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasData/TQCanvasData/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvas/TQCanvas/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvas/TQCanvas/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasViewData/TQCanvasViewData/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasViewData/TQCanvasViewData/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasView/TQCanvasView/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasView/TQCanvasView/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasPixmap/TQCanvasPixmap/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasPixmap/TQCanvasPixmap/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasPixmapArray/TQCanvasPixmapArray/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasPixmapArray/TQCanvasPixmapArray/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasSprite/TQCanvasSprite/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasSprite/TQCanvasSprite/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPolygonalProcessor/TQPolygonalProcessor/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPolygonalProcessor/TQPolygonalProcessor/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasPolygonalItem/TQCanvasPolygonalItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasPolygonalItem/TQCanvasPolygonalItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasRectangle/TQCanvasRectangle/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasRectangle/TQCanvasRectangle/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasPolygon/TQCanvasPolygon/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasPolygon/TQCanvasPolygon/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasSpline/TQCanvasSpline/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasSpline/TQCanvasSpline/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasLine/TQCanvasLine/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasLine/TQCanvasLine/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasEllipse/TQCanvasEllipse/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasEllipse/TQCanvasEllipse/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasTextExtra/TQCanvasTextExtra/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasTextExtra/TQCanvasTextExtra/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCanvasText/TQCanvasText/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCanvasText/TQCanvasText/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCDEStyle/TQCDEStyle/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCDEStyle/TQCDEStyle/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCheckBox/TQCheckBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCheckBox/TQCheckBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCleanupHandler/TQCleanupHandler/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCleanupHandler/TQCleanupHandler/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSingleCleanupHandler/TQSingleCleanupHandler/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSingleCleanupHandler/TQSingleCleanupHandler/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSharedCleanupHandler/TQSharedCleanupHandler/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSharedCleanupHandler/TQSharedCleanupHandler/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QColor/TQColor/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QColor/TQColor/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStrList/TQStrList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStrList/TQStrList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStringList/TQStringList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStringList/TQStringList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLineEdit/TQLineEdit/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLineEdit/TQLineEdit/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QValidator/TQValidator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QValidator/TQValidator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QListBox/TQListBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QListBox/TQListBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QComboBoxData/TQComboBoxData/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QComboBoxData/TQComboBoxData/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWheelEvent/TQWheelEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWheelEvent/TQWheelEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QComboBox/TQComboBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QComboBox/TQComboBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCommonStyle/TQCommonStyle/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCommonStyle/TQCommonStyle/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCompactStyle/TQCompactStyle/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCompactStyle/TQCompactStyle/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QConnection/TQConnection/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QConnection/TQConnection/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCString/TQCString/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCString/TQCString/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QByteArray/TQByteArray/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QByteArray/TQByteArray/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCString/TQCString/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCString/TQCString/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCursor/TQCursor/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCursor/TQCursor/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlForm/TQSqlForm/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlForm/TQSqlForm/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDataBrowserPrivate/TQDataBrowserPrivate/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDataBrowserPrivate/TQDataBrowserPrivate/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDataBrowser/TQDataBrowser/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDataBrowser/TQDataBrowser/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDataStream/TQDataStream/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDataStream/TQDataStream/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDataStream/TQDataStream/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDataStream/TQDataStream/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPainter/TQPainter/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPainter/TQPainter/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlField/TQSqlField/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlField/TQSqlField/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlPropertyMap/TQSqlPropertyMap/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlPropertyMap/TQSqlPropertyMap/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDataTablePrivate/TQDataTablePrivate/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDataTablePrivate/TQDataTablePrivate/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDataTable/TQDataTable/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDataTable/TQDataTable/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDataView/TQDataView/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDataView/TQDataView/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDateTimeEditBase/TQDateTimeEditBase/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDateTimeEditBase/TQDateTimeEditBase/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDate/TQDate/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDate/TQDate/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTime/TQTime/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTime/TQTime/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDateTime/TQDateTime/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDateTime/TQDateTime/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDeepCopy/TQDeepCopy/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDeepCopy/TQDeepCopy/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDesktopWidget/TQDesktopWidget/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDesktopWidget/TQDesktopWidget/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDial/TQDial/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDial/TQDial/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDialog/TQDialog/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDialog/TQDialog/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDict/TQDict/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDict/TQDict/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDictIterator/TQDictIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDictIterator/TQDictIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDir/TQDir/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDir/TQDir/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDns/TQDns/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDns/TQDns/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDnsSocket/TQDnsSocket/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDnsSocket/TQDnsSocket/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDockArea/TQDockArea/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDockArea/TQDockArea/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDockAreaLayout/TQDockAreaLayout/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDockAreaLayout/TQDockAreaLayout/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDockWindow/TQDockWindow/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDockWindow/TQDockWindow/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomImplementation/TQDomImplementation/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomImplementation/TQDomImplementation/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomNode/TQDomNode/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomNode/TQDomNode/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomNodeList/TQDomNodeList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomNodeList/TQDomNodeList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomDocumentType/TQDomDocumentType/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomDocumentType/TQDomDocumentType/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomDocument/TQDomDocument/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomDocument/TQDomDocument/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomNamedNodeMap/TQDomNamedNodeMap/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomNamedNodeMap/TQDomNamedNodeMap/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomDocumentFragment/TQDomDocumentFragment/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomDocumentFragment/TQDomDocumentFragment/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomCharacterData/TQDomCharacterData/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomCharacterData/TQDomCharacterData/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomAttr/TQDomAttr/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomAttr/TQDomAttr/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomElement/TQDomElement/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomElement/TQDomElement/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomText/TQDomText/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomText/TQDomText/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomComment/TQDomComment/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomComment/TQDomComment/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomCDATASection/TQDomCDATASection/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomCDATASection/TQDomCDATASection/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomNotation/TQDomNotation/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomNotation/TQDomNotation/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomEntity/TQDomEntity/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomEntity/TQDomEntity/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomEntityReference/TQDomEntityReference/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomEntityReference/TQDomEntityReference/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDomProcessingInstruction/TQDomProcessingInstruction/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDomProcessingInstruction/TQDomProcessingInstruction/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDragObject/TQDragObject/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDragObject/TQDragObject/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStoredDrag/TQStoredDrag/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStoredDrag/TQStoredDrag/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextDrag/TQTextDrag/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextDrag/TQTextDrag/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QImageDrag/TQImageDrag/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QImageDrag/TQImageDrag/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QUriDrag/TQUriDrag/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QUriDrag/TQUriDrag/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QColorDrag/TQColorDrag/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QColorDrag/TQColorDrag/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDropSite/TQDropSite/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDropSite/TQDropSite/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QEditorFactory/TQEditorFactory/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QEditorFactory/TQEditorFactory/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QErrorMessage/TQErrorMessage/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QErrorMessage/TQErrorMessage/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QEucJpCodec/TQEucJpCodec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QEucJpCodec/TQEucJpCodec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QEucKrCodec/TQEucKrCodec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QEucKrCodec/TQEucKrCodec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QEvent/TQEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QEvent/TQEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTimerEvent/TQTimerEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTimerEvent/TQTimerEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMouseEvent/TQMouseEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMouseEvent/TQMouseEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWheelEvent/TQWheelEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWheelEvent/TQWheelEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTabletEvent/TQTabletEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTabletEvent/TQTabletEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QKeyEvent/TQKeyEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QKeyEvent/TQKeyEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFocusEvent/TQFocusEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFocusEvent/TQFocusEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPaintEvent/TQPaintEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPaintEvent/TQPaintEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMoveEvent/TQMoveEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMoveEvent/TQMoveEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QResizeEvent/TQResizeEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QResizeEvent/TQResizeEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCloseEvent/TQCloseEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCloseEvent/TQCloseEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIconDragEvent/TQIconDragEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIconDragEvent/TQIconDragEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QShowEvent/TQShowEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QShowEvent/TQShowEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHideEvent/TQHideEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHideEvent/TQHideEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QContextMenuEvent/TQContextMenuEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QContextMenuEvent/TQContextMenuEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIMEvent/TQIMEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIMEvent/TQIMEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIMComposeEvent/TQIMComposeEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIMComposeEvent/TQIMComposeEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDropEvent/TQDropEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDropEvent/TQDropEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDragMoveEvent/TQDragMoveEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDragMoveEvent/TQDragMoveEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDragEnterEvent/TQDragEnterEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDragEnterEvent/TQDragEnterEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDragResponseEvent/TQDragResponseEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDragResponseEvent/TQDragResponseEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDragLeaveEvent/TQDragLeaveEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDragLeaveEvent/TQDragLeaveEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QChildEvent/TQChildEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QChildEvent/TQChildEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCustomEvent/TQCustomEvent/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCustomEvent/TQCustomEvent/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QEventLoop/TQEventLoop/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QEventLoop/TQEventLoop/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFileIconProvider/TQFileIconProvider/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFileIconProvider/TQFileIconProvider/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFilePreview/TQFilePreview/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFilePreview/TQFilePreview/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFileDialog/TQFileDialog/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFileDialog/TQFileDialog/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFile/TQFile/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFile/TQFile/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFile/TQFile/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFile/TQFile/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFileInfo/TQFileInfo/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFileInfo/TQFileInfo/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFocusData/TQFocusData/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFocusData/TQFocusData/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFontDatabase/TQFontDatabase/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFontDatabase/TQFontDatabase/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFont/TQFont/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFont/TQFont/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFontInfo/TQFontInfo/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFontInfo/TQFontInfo/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFontMetrics/TQFontMetrics/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFontMetrics/TQFontMetrics/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFrame/TQFrame/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFrame/TQFrame/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QFtp/TQFtp/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QFtp/TQFtp/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGArray/TQGArray/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGArray/TQGArray/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGb18030Codec/TQGb18030Codec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGb18030Codec/TQGb18030Codec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGbkCodec/TQGbkCodec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGbkCodec/TQGbkCodec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGb2312Codec/TQGb2312Codec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGb2312Codec/TQGb2312Codec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGCache/TQGCache/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGCache/TQGCache/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGCacheIterator/TQGCacheIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGCacheIterator/TQGCacheIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QBaseBucket/TQBaseBucket/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QBaseBucket/TQBaseBucket/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStringBucket/TQStringBucket/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStringBucket/TQStringBucket/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QAsciiBucket/TQAsciiBucket/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QAsciiBucket/TQAsciiBucket/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIntBucket/TQIntBucket/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIntBucket/TQIntBucket/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPtrBucket/TQPtrBucket/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPtrBucket/TQPtrBucket/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGDict/TQGDict/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGDict/TQGDict/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGDictIterator/TQGDictIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGDictIterator/TQGDictIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGLColormap/TQGLColormap/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGLColormap/TQGLColormap/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGL/TQGL/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGL/TQGL/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGLFormat/TQGLFormat/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGLFormat/TQGLFormat/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGLContext/TQGLContext/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGLContext/TQGLContext/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGLWidget/TQGLWidget/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGLWidget/TQGLWidget/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLNode/TQLNode/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLNode/TQLNode/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGList/TQGList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGList/TQGList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGListIterator/TQGListIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGListIterator/TQGListIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGListStdIterator/TQGListStdIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGListStdIterator/TQGListStdIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGPlugin/TQGPlugin/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGPlugin/TQGPlugin/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGrid/TQGrid/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGrid/TQGrid/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGridView/TQGridView/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGridView/TQGridView/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGroupBox/TQGroupBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGroupBox/TQGroupBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGuardedPtr/TQGuardedPtr/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGuardedPtr/TQGuardedPtr/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGuardedPtrPrivate/TQGuardedPtrPrivate/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGuardedPtrPrivate/TQGuardedPtrPrivate/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGVector/TQGVector/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGVector/TQGVector/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHBox/TQHBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHBox/TQHBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHButtonGroup/TQHButtonGroup/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHButtonGroup/TQHButtonGroup/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHeader/TQHeader/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHeader/TQHeader/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHGroupBox/TQHGroupBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHGroupBox/TQHGroupBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHostAddress/TQHostAddress/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHostAddress/TQHostAddress/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHttpHeader/TQHttpHeader/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHttpHeader/TQHttpHeader/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHttpResponseHeader/TQHttpResponseHeader/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHttpResponseHeader/TQHttpResponseHeader/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHttpRequestHeader/TQHttpRequestHeader/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHttpRequestHeader/TQHttpRequestHeader/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHttp/TQHttp/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHttp/TQHttp/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIconSet/TQIconSet/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIconSet/TQIconSet/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIconFactory/TQIconFactory/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIconFactory/TQIconFactory/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIconDragItem/TQIconDragItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIconDragItem/TQIconDragItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIconDrag/TQIconDrag/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIconDrag/TQIconDrag/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIconViewItem/TQIconViewItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIconViewItem/TQIconViewItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIconView/TQIconView/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIconView/TQIconView/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QImageFormatPlugin/TQImageFormatPlugin/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QImageFormatPlugin/TQImageFormatPlugin/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QImageTextKeyLang/TQImageTextKeyLang/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QImageTextKeyLang/TQImageTextKeyLang/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QImage/TQImage/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QImage/TQImage/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QImageIO/TQImageIO/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QImageIO/TQImageIO/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QInputContextFactory/TQInputContextFactory/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QInputContextFactory/TQInputContextFactory/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QInputContext/TQInputContext/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QInputContext/TQInputContext/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIntCache/TQIntCache/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIntCache/TQIntCache/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIntCacheIterator/TQIntCacheIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIntCacheIterator/TQIntCacheIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIntDict/TQIntDict/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIntDict/TQIntDict/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIntDictIterator/TQIntDictIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIntDictIterator/TQIntDictIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIODevice/TQIODevice/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIODevice/TQIODevice/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QJisCodec/TQJisCodec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QJisCodec/TQJisCodec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QJpUnicodeConv/TQJpUnicodeConv/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QJpUnicodeConv/TQJpUnicodeConv/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QKeySequence/TQKeySequence/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QKeySequence/TQKeySequence/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLabel/TQLabel/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLabel/TQLabel/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGLayoutIterator/TQGLayoutIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGLayoutIterator/TQGLayoutIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLayoutIterator/TQLayoutIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLayoutIterator/TQLayoutIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLayoutItem/TQLayoutItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLayoutItem/TQLayoutItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSpacerItem/TQSpacerItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSpacerItem/TQSpacerItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWidgetItem/TQWidgetItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWidgetItem/TQWidgetItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLayout/TQLayout/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLayout/TQLayout/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QGridLayout/TQGridLayout/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QGridLayout/TQGridLayout/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QBoxLayout/TQBoxLayout/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QBoxLayout/TQBoxLayout/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHBoxLayout/TQHBoxLayout/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHBoxLayout/TQHBoxLayout/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QVBoxLayout/TQVBoxLayout/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QVBoxLayout/TQVBoxLayout/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLCDNumber/TQLCDNumber/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLCDNumber/TQLCDNumber/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLibrary/TQLibrary/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLibrary/TQLibrary/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLineEdit/TQLineEdit/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLineEdit/TQLineEdit/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QListBox/TQListBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QListBox/TQListBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QListBoxItem/TQListBoxItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QListBoxItem/TQListBoxItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QListBoxText/TQListBoxText/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QListBoxText/TQListBoxText/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QListBoxPixmap/TQListBoxPixmap/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QListBoxPixmap/TQListBoxPixmap/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QListViewItem/TQListViewItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QListViewItem/TQListViewItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QListView/TQListView/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QListView/TQListView/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCheckListItem/TQCheckListItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCheckListItem/TQCheckListItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QListViewItemIterator/TQListViewItemIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QListViewItemIterator/TQListViewItemIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLocale/TQLocale/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLocale/TQLocale/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QLocalFs/TQLocalFs/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QLocalFs/TQLocalFs/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMainWindow/TQMainWindow/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMainWindow/TQMainWindow/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMapIterator/TQMapIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMapIterator/TQMapIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMapConstIterator/TQMapConstIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMapConstIterator/TQMapConstIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMapPrivateBase/TQMapPrivateBase/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMapPrivateBase/TQMapPrivateBase/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMapPrivate/TQMapPrivate/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMapPrivate/TQMapPrivate/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMap/TQMap/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMap/TQMap/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMemArray/TQMemArray/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMemArray/TQMemArray/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMenuBar/TQMenuBar/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMenuBar/TQMenuBar/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMenuItem/TQMenuItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMenuItem/TQMenuItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCustomMenuItem/TQCustomMenuItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCustomMenuItem/TQCustomMenuItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMenuData/TQMenuData/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMenuData/TQMenuData/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMessageBox/TQMessageBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMessageBox/TQMessageBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMetaProperty/TQMetaProperty/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMetaProperty/TQMetaProperty/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMetaObject/TQMetaObject/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMetaObject/TQMetaObject/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMetaObjectCleanUp/TQMetaObjectCleanUp/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMetaObjectCleanUp/TQMetaObjectCleanUp/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMimeSource/TQMimeSource/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMimeSource/TQMimeSource/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMimeSourceFactory/TQMimeSourceFactory/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMimeSourceFactory/TQMimeSourceFactory/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWindowsMime/TQWindowsMime/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWindowsMime/TQWindowsMime/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMacMime/TQMacMime/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMacMime/TQMacMime/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMotifPlusStyle/TQMotifPlusStyle/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMotifPlusStyle/TQMotifPlusStyle/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMotifStyle/TQMotifStyle/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMotifStyle/TQMotifStyle/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMovie/TQMovie/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMovie/TQMovie/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMultiLineEdit/TQMultiLineEdit/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMultiLineEdit/TQMultiLineEdit/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMutex/TQMutex/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMutex/TQMutex/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QMutexLocker/TQMutexLocker/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QMutexLocker/TQMutexLocker/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QInternal/TQInternal/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QInternal/TQInternal/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QNetworkProtocolFactoryBase/TQNetworkProtocolFactoryBase/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QNetworkProtocolFactoryBase/TQNetworkProtocolFactoryBase/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QNetworkProtocolFactory/TQNetworkProtocolFactory/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QNetworkProtocolFactory/TQNetworkProtocolFactory/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QNetworkProtocol/TQNetworkProtocol/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QNetworkProtocol/TQNetworkProtocol/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QNetworkOperation/TQNetworkOperation/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QNetworkOperation/TQNetworkOperation/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QNPStream/TQNPStream/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QNPStream/TQNPStream/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QNPWidget/TQNPWidget/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QNPWidget/TQNPWidget/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QNPInstance/TQNPInstance/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QNPInstance/TQNPInstance/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QNPlugin/TQNPlugin/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QNPlugin/TQNPlugin/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QObjectCleanupHandler/TQObjectCleanupHandler/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QObjectCleanupHandler/TQObjectCleanupHandler/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QObjectDictionary/TQObjectDictionary/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QObjectDictionary/TQObjectDictionary/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QObject/TQObject/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QObject/TQObject/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QObjectUserData/TQObjectUserData/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QObjectUserData/TQObjectUserData/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QObjectList/TQObjectList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QObjectList/TQObjectList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QObjectListIterator/TQObjectListIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QObjectListIterator/TQObjectListIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QObjectListIt/TQObjectListIt/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QObjectListIt/TQObjectListIt/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPaintDevice/TQPaintDevice/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPaintDevice/TQPaintDevice/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPaintDeviceMetrics/TQPaintDeviceMetrics/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPaintDeviceMetrics/TQPaintDeviceMetrics/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPainter/TQPainter/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPainter/TQPainter/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QColorGroup/TQColorGroup/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QColorGroup/TQColorGroup/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPalette/TQPalette/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPalette/TQPalette/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPen/TQPen/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPen/TQPen/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPicture/TQPicture/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPicture/TQPicture/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPixmapCache/TQPixmapCache/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPixmapCache/TQPixmapCache/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPixmap/TQPixmap/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPixmap/TQPixmap/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPlatinumStyle/TQPlatinumStyle/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPlatinumStyle/TQPlatinumStyle/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPNGImageWriter/TQPNGImageWriter/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPNGImageWriter/TQPNGImageWriter/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPNGImagePacker/TQPNGImagePacker/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPNGImagePacker/TQPNGImagePacker/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPointArray/TQPointArray/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPointArray/TQPointArray/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPoint/TQPoint/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPoint/TQPoint/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPolygonScanner/TQPolygonScanner/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPolygonScanner/TQPolygonScanner/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPopupMenu/TQPopupMenu/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPopupMenu/TQPopupMenu/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPrintDialog/TQPrintDialog/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPrintDialog/TQPrintDialog/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPrinter/TQPrinter/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPrinter/TQPrinter/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QProcess/TQProcess/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QProcess/TQProcess/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QProgressBar/TQProgressBar/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QProgressBar/TQProgressBar/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QProgressDialog/TQProgressDialog/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QProgressDialog/TQProgressDialog/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPtrCollection/TQPtrCollection/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPtrCollection/TQPtrCollection/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPtrDict/TQPtrDict/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPtrDict/TQPtrDict/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPtrDictIterator/TQPtrDictIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPtrDictIterator/TQPtrDictIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPtrListStdIterator/TQPtrListStdIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPtrListStdIterator/TQPtrListStdIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPtrList/TQPtrList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPtrList/TQPtrList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPtrListIterator/TQPtrListIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPtrListIterator/TQPtrListIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPtrQueue/TQPtrQueue/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPtrQueue/TQPtrQueue/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPtrStack/TQPtrStack/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPtrStack/TQPtrStack/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPtrVector/TQPtrVector/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPtrVector/TQPtrVector/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QPushButton/TQPushButton/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QPushButton/TQPushButton/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QRadioButton/TQRadioButton/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QRadioButton/TQRadioButton/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QRangeControl/TQRangeControl/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QRangeControl/TQRangeControl/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSpinWidget/TQSpinWidget/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSpinWidget/TQSpinWidget/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QRect/TQRect/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QRect/TQRect/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QRegExp/TQRegExp/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QRegExp/TQRegExp/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QRegion/TQRegion/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QRegion/TQRegion/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QHebrewCodec/TQHebrewCodec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QHebrewCodec/TQHebrewCodec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QScrollBar/TQScrollBar/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QScrollBar/TQScrollBar/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QScrollView/TQScrollView/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QScrollView/TQScrollView/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSemaphore/TQSemaphore/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSemaphore/TQSemaphore/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QServerSocket/TQServerSocket/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QServerSocket/TQServerSocket/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSettings/TQSettings/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSettings/TQSettings/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSGIStyle/TQSGIStyle/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSGIStyle/TQSGIStyle/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSignal/TQSignal/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSignal/TQSignal/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSignalMapper/TQSignalMapper/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSignalMapper/TQSignalMapper/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QConnectionList/TQConnectionList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QConnectionList/TQConnectionList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QConnectionListIt/TQConnectionListIt/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QConnectionListIt/TQConnectionListIt/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSignalVec/TQSignalVec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSignalVec/TQSignalVec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSimpleRichText/TQSimpleRichText/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSimpleRichText/TQSimpleRichText/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSizeGrip/TQSizeGrip/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSizeGrip/TQSizeGrip/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSize/TQSize/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSize/TQSize/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSizePolicy/TQSizePolicy/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSizePolicy/TQSizePolicy/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSjisCodec/TQSjisCodec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSjisCodec/TQSjisCodec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSlider/TQSlider/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSlider/TQSlider/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSocketDevice/TQSocketDevice/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSocketDevice/TQSocketDevice/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSocket/TQSocket/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSocket/TQSocket/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSocketNotifier/TQSocketNotifier/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSocketNotifier/TQSocketNotifier/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSound/TQSound/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSound/TQSound/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSpinBox/TQSpinBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSpinBox/TQSpinBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSplashScreen/TQSplashScreen/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSplashScreen/TQSplashScreen/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSplitter/TQSplitter/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSplitter/TQSplitter/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlCursor/TQSqlCursor/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlCursor/TQSqlCursor/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlDatabase/TQSqlDatabase/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlDatabase/TQSqlDatabase/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlDriver/TQSqlDriver/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlDriver/TQSqlDriver/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlDriverPlugin/TQSqlDriverPlugin/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlDriverPlugin/TQSqlDriverPlugin/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlEditorFactory/TQSqlEditorFactory/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlEditorFactory/TQSqlEditorFactory/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlError/TQSqlError/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlError/TQSqlError/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlFieldPrivate/TQSqlFieldPrivate/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlFieldPrivate/TQSqlFieldPrivate/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlField/TQSqlField/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlField/TQSqlField/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlFieldInfo/TQSqlFieldInfo/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlFieldInfo/TQSqlFieldInfo/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlForm/TQSqlForm/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlForm/TQSqlForm/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSql/TQSql/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSql/TQSql/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlIndex/TQSqlIndex/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlIndex/TQSqlIndex/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlPropertyMap/TQSqlPropertyMap/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlPropertyMap/TQSqlPropertyMap/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlQuery/TQSqlQuery/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlQuery/TQSqlQuery/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlResultShared/TQSqlResultShared/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlResultShared/TQSqlResultShared/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlRecordShared/TQSqlRecordShared/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlRecordShared/TQSqlRecordShared/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlRecord/TQSqlRecord/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlRecord/TQSqlRecord/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlRecordInfo/TQSqlRecordInfo/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlRecordInfo/TQSqlRecordInfo/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlResult/TQSqlResult/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlResult/TQSqlResult/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlSelectCursorPrivate/TQSqlSelectCursorPrivate/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlSelectCursorPrivate/TQSqlSelectCursorPrivate/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSqlSelectCursor/TQSqlSelectCursor/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSqlSelectCursor/TQSqlSelectCursor/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStatusBar/TQStatusBar/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStatusBar/TQStatusBar/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QChar/TQChar/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QChar/TQChar/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QString/TQString/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QString/TQString/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCharRef/TQCharRef/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCharRef/TQCharRef/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QConstString/TQConstString/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QConstString/TQConstString/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QChar/TQChar/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QChar/TQChar/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QString/TQString/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QString/TQString/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCharRef/TQCharRef/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCharRef/TQCharRef/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QConstString/TQConstString/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QConstString/TQConstString/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStringList/TQStringList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStringList/TQStringList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStrListIterator/TQStrListIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStrListIterator/TQStrListIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStrIList/TQStrIList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStrIList/TQStrIList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStrVec/TQStrVec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStrVec/TQStrVec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStrIVec/TQStrIVec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStrIVec/TQStrIVec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStyleFactory/TQStyleFactory/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStyleFactory/TQStyleFactory/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStyleOption/TQStyleOption/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStyleOption/TQStyleOption/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStyle/TQStyle/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStyle/TQStyle/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStylePlugin/TQStylePlugin/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStylePlugin/TQStylePlugin/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStyleSheetItem/TQStyleSheetItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStyleSheetItem/TQStyleSheetItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QStyleSheet/TQStyleSheet/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QStyleSheet/TQStyleSheet/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QSyntaxHighlighter/TQSyntaxHighlighter/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QSyntaxHighlighter/TQSyntaxHighlighter/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTab/TQTab/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTab/TQTab/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTabBar/TQTabBar/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTabBar/TQTabBar/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTabDialog/TQTabDialog/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTabDialog/TQTabDialog/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTableSelection/TQTableSelection/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTableSelection/TQTableSelection/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTableItem/TQTableItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTableItem/TQTableItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QComboTableItem/TQComboTableItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QComboTableItem/TQComboTableItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QCheckTableItem/TQCheckTableItem/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QCheckTableItem/TQCheckTableItem/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTable/TQTable/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTable/TQTable/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTabWidget/TQTabWidget/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTabWidget/TQTabWidget/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextBrowser/TQTextBrowser/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextBrowser/TQTextBrowser/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextCodecFactory/TQTextCodecFactory/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextCodecFactory/TQTextCodecFactory/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextEncoder/TQTextEncoder/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextEncoder/TQTextEncoder/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextDecoder/TQTextDecoder/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextDecoder/TQTextDecoder/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextCodec/TQTextCodec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextCodec/TQTextCodec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextCodecPlugin/TQTextCodecPlugin/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextCodecPlugin/TQTextCodecPlugin/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextEdit/TQTextEdit/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextEdit/TQTextEdit/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextStream/TQTextStream/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextStream/TQTextStream/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextIStream/TQTextIStream/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextIStream/TQTextIStream/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextOStream/TQTextOStream/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextOStream/TQTextOStream/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTSManip/TQTSManip/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTSManip/TQTSManip/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextView/TQTextView/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextView/TQTextView/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QThread/TQThread/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QThread/TQThread/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QThreadStorageData/TQThreadStorageData/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QThreadStorageData/TQThreadStorageData/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QThreadStorage/TQThreadStorage/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QThreadStorage/TQThreadStorage/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTimer/TQTimer/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTimer/TQTimer/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTimer/TQTimer/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTimer/TQTimer/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTextOStreamIterator/TQTextOStreamIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTextOStreamIterator/TQTextOStreamIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QBackInsertIterator/TQBackInsertIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QBackInsertIterator/TQBackInsertIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QToolBar/TQToolBar/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QToolBar/TQToolBar/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QToolBox/TQToolBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QToolBox/TQToolBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QToolButton/TQToolButton/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QToolButton/TQToolButton/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QToolTipGroup/TQToolTipGroup/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QToolTipGroup/TQToolTipGroup/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QToolTip/TQToolTip/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QToolTip/TQToolTip/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QTsciiCodec/TQTsciiCodec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QTsciiCodec/TQTsciiCodec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QUrl/TQUrl/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QUrl/TQUrl/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QUrlInfo/TQUrlInfo/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QUrlInfo/TQUrlInfo/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QUrlOperator/TQUrlOperator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QUrlOperator/TQUrlOperator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QUtf8Codec/TQUtf8Codec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QUtf8Codec/TQUtf8Codec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QUtf16Codec/TQUtf16Codec/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QUtf16Codec/TQUtf16Codec/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QValidator/TQValidator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QValidator/TQValidator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QIntValidator/TQIntValidator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QIntValidator/TQIntValidator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QDoubleValidator/TQDoubleValidator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QDoubleValidator/TQDoubleValidator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QRegExpValidator/TQRegExpValidator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QRegExpValidator/TQRegExpValidator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QValueListNode/TQValueListNode/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QValueListNode/TQValueListNode/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QValueListIterator/TQValueListIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QValueListIterator/TQValueListIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QValueListConstIterator/TQValueListConstIterator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QValueListConstIterator/TQValueListConstIterator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QValueListPrivate/TQValueListPrivate/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QValueListPrivate/TQValueListPrivate/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QValueList/TQValueList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QValueList/TQValueList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QValueStack/TQValueStack/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QValueStack/TQValueStack/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QValueVectorPrivate/TQValueVectorPrivate/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QValueVectorPrivate/TQValueVectorPrivate/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QValueVector/TQValueVector/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QValueVector/TQValueVector/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QVariant/TQVariant/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QVariant/TQVariant/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QVBox/TQVBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QVBox/TQVBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QVButtonGroup/TQVButtonGroup/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QVButtonGroup/TQVButtonGroup/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QVGroupBox/TQVGroupBox/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QVGroupBox/TQVGroupBox/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWaitCondition/TQWaitCondition/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWaitCondition/TQWaitCondition/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWhatsThis/TQWhatsThis/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWhatsThis/TQWhatsThis/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWidgetFactory/TQWidgetFactory/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWidgetFactory/TQWidgetFactory/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWidget/TQWidget/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWidget/TQWidget/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWidgetIntDict/TQWidgetIntDict/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWidgetIntDict/TQWidgetIntDict/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWidgetIntDictIt/TQWidgetIntDictIt/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWidgetIntDictIt/TQWidgetIntDictIt/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWidgetList/TQWidgetList/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWidgetList/TQWidgetList/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWidgetListIt/TQWidgetListIt/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWidgetListIt/TQWidgetListIt/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWidgetPlugin/TQWidgetPlugin/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWidgetPlugin/TQWidgetPlugin/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWidgetContainerPlugin/TQWidgetContainerPlugin/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWidgetContainerPlugin/TQWidgetContainerPlugin/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWidgetStack/TQWidgetStack/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWidgetStack/TQWidgetStack/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWindowsStyle/TQWindowsStyle/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWindowsStyle/TQWindowsStyle/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWizard/TQWizard/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWizard/TQWizard/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWMatrix/TQWMatrix/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWMatrix/TQWMatrix/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QWorkspace/TQWorkspace/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QWorkspace/TQWorkspace/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlNamespaceSupport/TQXmlNamespaceSupport/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlNamespaceSupport/TQXmlNamespaceSupport/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlAttributes/TQXmlAttributes/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlAttributes/TQXmlAttributes/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlInputSource/TQXmlInputSource/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlInputSource/TQXmlInputSource/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlParseException/TQXmlParseException/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlParseException/TQXmlParseException/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlReader/TQXmlReader/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlReader/TQXmlReader/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlSimpleReader/TQXmlSimpleReader/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlSimpleReader/TQXmlSimpleReader/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlLocator/TQXmlLocator/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlLocator/TQXmlLocator/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlContentHandler/TQXmlContentHandler/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlContentHandler/TQXmlContentHandler/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlErrorHandler/TQXmlErrorHandler/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlErrorHandler/TQXmlErrorHandler/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlDTDHandler/TQXmlDTDHandler/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlDTDHandler/TQXmlDTDHandler/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlEntityResolver/TQXmlEntityResolver/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlEntityResolver/TQXmlEntityResolver/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlLexicalHandler/TQXmlLexicalHandler/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlLexicalHandler/TQXmlLexicalHandler/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlDeclHandler/TQXmlDeclHandler/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlDeclHandler/TQXmlDeclHandler/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/QXmlDefaultHandler/TQXmlDefaultHandler/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/QXmlDefaultHandler/TQXmlDefaultHandler/g' {} \; - -find ./ -type f -iname "*.diff*" -exec sed -i 's/Qt/TQt/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/Qt/TQt/g' {} \; - -find ./ -type f -iname "*.patch*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/TTQ/TQ/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/TTQ/TQ/g' {} \; - -find ./ -type f -iname "*.patch*" -exec sed -i 's/\([^_]\)METHOD\([( ]\)/\1TQT_METHOD\2/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/\([^_]\)METHOD\([( ]\)/\1TQT_METHOD\2/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/\([^_]\)SLOT\([( ]\)/\1TQT_SLOT\2/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/\([^_]\)SLOT\([( ]\)/\1TQT_SLOT\2/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/\([^_]\)SIGNAL\([( ]\)/\1TQT_SIGNAL\2/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/\([^_]\)SIGNAL\([( ]\)/\1TQT_SIGNAL\2/g' {} \; - -find ./ -type f -iname "*.patch*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/TQT_TQT_/TQT_/g' {} \; - -# Back out some common mistakes -find ./ -type f -iname "*.diff*" -exec sed -i 's/\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)TQ/\1Q/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/\([_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]\)TQ/\1Q/g' {} \; -find ./ -type f -iname "*.diff*" -exec sed -i 's/Categories=TQt;/Categories=Qt;/g' {} \; -find ./ -type f -iname "*.patch*" -exec sed -i 's/Categories=TQt;/Categories=Qt;/g' {} \; - diff --git a/qtinterface/dcopidl-tqt b/qtinterface/dcopidl-tqt deleted file mode 100755 index ea2443c..0000000 --- a/qtinterface/dcopidl-tqt +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -if [[ $1 == "" ]]; then - echo "Usage: dcopidl-tqt <dcopidl_binary> <input_file>" -else - cp -Rp $2 $2.bkp -# tqt-replace $2 - $1 $2 - cp -Rp $2.bkp $2 - rm -f $2.bkp -fi diff --git a/qtinterface/dcopidl2cpp-tqt b/qtinterface/dcopidl2cpp-tqt deleted file mode 100755 index e41d002..0000000 --- a/qtinterface/dcopidl2cpp-tqt +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -if [[ $1 == "" ]]; then - echo "Usage: dcopidl2cpp-tqt <dcopidl2cpp_binary> <options> <input_kidl_file>" -else - # This is more complicated than the others, as the kidl file must be parsed and the input files extracted - - # Extract the source working directory and all input files - INPUT_FILES=$(cat ${BASH_ARGV[0]} | grep "<SOURCE>" | sed 's/<SOURCE>//g' | sed 's/<\/SOURCE>//g' | xargs) - INPUT_DIR=${INPUT_FILES%/*} - - # Redirect all input files - for curfile in $INPUT_FILES - do - cp -Rp "$curfile" "$curfile.bkp" -# tqt-replace "$curfile" - done - - # Execute the dcopidl2cpp command - $@ - - # Undo input file redirection - for curfile in $INPUT_FILES - do - cp -Rp "$curfile.bkp" "$curfile" - rm -f "$curfile.bkp" - done -fi diff --git a/qtinterface/dcopidlng-tqt b/qtinterface/dcopidlng-tqt deleted file mode 100755 index 230f975..0000000 --- a/qtinterface/dcopidlng-tqt +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -if [[ $1 == "" ]]; then - echo "Usage: dcopidlng-tqt <dcopidlng_binary> <options> <input_file>" -else - cp -Rp ${BASH_ARGV[0]} ${BASH_ARGV[0]}.bkp -# tqt-replace ${BASH_ARGV[0]} - $@ - cp -Rp ${BASH_ARGV[0]}.bkp ${BASH_ARGV[0]} - rm -f ${BASH_ARGV[0]}.bkp -fi diff --git a/qtinterface/interface_tqt3/private/tqcom_p.h b/qtinterface/interface_tqt3/private/tqcom_p.h deleted file mode 100644 index 8611847..0000000 --- a/qtinterface/interface_tqt3/private/tqcom_p.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - -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_TQCOM_P_H -#define TQT_TQCOM_P_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// For Qt3, no changes are needed - -#include <private/qcom_p.h> - -#endif // USE_QT3 - -#endif /* TQT_TQCOM_P_H */ diff --git a/qtinterface/interface_tqt3/private/tqeffects_p.h b/qtinterface/interface_tqt3/private/tqeffects_p.h deleted file mode 100644 index 7e15c03..0000000 --- a/qtinterface/interface_tqt3/private/tqeffects_p.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - -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_TQEFFECTS_P_H -#define TQT_TQEFFECTS_P_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QUComExtra_P class -// For Qt3, no changes are needed - -#include <private/qeffects_p.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#endif // USE_QT4 - -#endif /* TQT_TQEFFECTS_P_H */ diff --git a/qtinterface/interface_tqt3/private/tqinternal_p.h b/qtinterface/interface_tqt3/private/tqinternal_p.h deleted file mode 100644 index 069d11e..0000000 --- a/qtinterface/interface_tqt3/private/tqinternal_p.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - -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_TQINTERNAL_P_H -#define TQT_TQINTERNAL_P_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSharedDoubleBuffer class -// For Qt3, no changes are needed - -#include <private/qinternal_p.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#endif // USE_QT4 - -#endif /* TQT_TQINTERNAL_P_H */ diff --git a/qtinterface/interface_tqt3/private/tqlayoutengine_p.h b/qtinterface/interface_tqt3/private/tqlayoutengine_p.h deleted file mode 100644 index 1bb9581..0000000 --- a/qtinterface/interface_tqt3/private/tqlayoutengine_p.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - -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_TQLAYOUTENGINE_P_H -#define TQT_TQLAYOUTENGINE_P_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QUComExtra_P class -// For Qt3, no changes are needed - -#include <private/qlayoutengine_p.h> - -#endif // USE_QT3 - -#endif /* TQT_TQLAYOUTENGINE_P_H */ diff --git a/qtinterface/interface_tqt3/private/tqpluginmanager_p.h b/qtinterface/interface_tqt3/private/tqpluginmanager_p.h deleted file mode 100644 index d476598..0000000 --- a/qtinterface/interface_tqt3/private/tqpluginmanager_p.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - -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_TQPLUGINMANAGER_P_H -#define TQT_TQPLUGINMANAGER_P_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// For Qt3, no changes are needed - -#include <private/qpluginmanager_p.h> - -#endif // USE_QT3 - -#endif /* TQT_TQPLUGINMANAGER_P_H */ diff --git a/qtinterface/interface_tqt3/private/tqrichtext_p.h b/qtinterface/interface_tqt3/private/tqrichtext_p.h deleted file mode 100644 index 47dfed1..0000000 --- a/qtinterface/interface_tqt3/private/tqrichtext_p.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - -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_TQRICHTEXT_P_H -#define TQT_TQRICHTEXT_P_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSharedDoubleBuffer class -// For Qt3, no changes are needed - -#include <private/qrichtext_p.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#endif // USE_QT4 - -#endif /* TQT_TQRICHTEXT_P_H */ diff --git a/qtinterface/interface_tqt3/private/tqtextengine_p.h b/qtinterface/interface_tqt3/private/tqtextengine_p.h deleted file mode 100644 index 1a6c6cc..0000000 --- a/qtinterface/interface_tqt3/private/tqtextengine_p.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - -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_TQTEXTENGINE_P_H -#define TQT_TQTEXTENGINE_P_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSharedDoubleBuffer class -// For Qt3, no changes are needed - -#include <private/qtextengine_p.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTENGINE_P_H */ diff --git a/qtinterface/interface_tqt3/private/tqucom_p.h b/qtinterface/interface_tqt3/private/tqucom_p.h deleted file mode 100644 index be46f52..0000000 --- a/qtinterface/interface_tqt3/private/tqucom_p.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - -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_TQUCOM_P_H -#define TQT_TQUCOM_P_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// For Qt3, no changes are needed - -#include <private/qucom_p.h> - -#endif // USE_QT3 - -#endif /* TQT_TQUCOM_P_H */ diff --git a/qtinterface/interface_tqt3/private/tqucomextra_p.cpp b/qtinterface/interface_tqt3/private/tqucomextra_p.cpp deleted file mode 100644 index 9c920b9..0000000 --- a/qtinterface/interface_tqt3/private/tqucomextra_p.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <private/qucomextra_p.h> - -#ifdef USE_QT4 - -#endif diff --git a/qtinterface/interface_tqt3/private/tqucomextra_p.h b/qtinterface/interface_tqt3/private/tqucomextra_p.h deleted file mode 100644 index 4817321..0000000 --- a/qtinterface/interface_tqt3/private/tqucomextra_p.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - -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_TQUCOMEXTRA_P_H -#define TQT_TQUCOMEXTRA_P_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QUComExtra_P class -// For Qt3, no changes are needed - -#include <private/qucomextra_p.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUComExtra_P class -// For Qt4, some changes are needed - -class QUObject: public QObject { -public: -// bool qt_invoke(); -}; - -#endif // USE_QT4 - -#endif /* TQT_TQUCOMEXTRA_P_H */ diff --git a/qtinterface/interface_tqt3/private/tqwidgetinterface_p.h b/qtinterface/interface_tqt3/private/tqwidgetinterface_p.h deleted file mode 100644 index 5c72d32..0000000 --- a/qtinterface/interface_tqt3/private/tqwidgetinterface_p.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - -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_TQWIDGETINTERFACE_P_H -#define TQT_TQWIDGETINTERFACE_P_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// For Qt3, no changes are needed - -#include <private/qwidgetinterface_p.h> - -#endif // USE_QT3 - -#endif /* TQT_TQWIDGETINTERFACE_P_H */ diff --git a/qtinterface/interface_tqt3/tmoc.cmake b/qtinterface/interface_tqt3/tmoc.cmake deleted file mode 100755 index 62334ad..0000000 --- a/qtinterface/interface_tqt3/tmoc.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#!/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" - cat "${input_file}" | \ - @MOC_EXECUTABLE@ | \ - sed "/#include <ntqmetaobject.h>/ i\\ -#undef TQT_NO_COMPAT\\ -#include \"${input_file}\"\\ -" \ - > "${out_file}" -fi diff --git a/qtinterface/interface_tqt3/tqabstractlayout.cpp b/qtinterface/interface_tqt3/tqabstractlayout.cpp deleted file mode 100644 index 0560139..0000000 --- a/qtinterface/interface_tqt3/tqabstractlayout.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqabstractlayout.h> diff --git a/qtinterface/interface_tqt3/tqabstractlayout.h b/qtinterface/interface_tqt3/tqabstractlayout.h deleted file mode 100644 index 1048142..0000000 --- a/qtinterface/interface_tqt3/tqabstractlayout.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - -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_TQABSTRACTLAYOUT_H -#define TQT_TQABSTRACTLAYOUT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -#include <ntqabstractlayout.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -//#include <Qt/ntqabstractlayout.h> - -#endif // USE_QT4 - -#endif /* TQT_TQABSTRACTLAYOUT_H */ diff --git a/qtinterface/interface_tqt3/tqaccel.cpp b/qtinterface/interface_tqt3/tqaccel.cpp deleted file mode 100644 index 2e6b289..0000000 --- a/qtinterface/interface_tqt3/tqaccel.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqaccel.h> diff --git a/qtinterface/interface_tqt3/tqaccel.h b/qtinterface/interface_tqt3/tqaccel.h deleted file mode 100644 index 3f69f6b..0000000 --- a/qtinterface/interface_tqt3/tqaccel.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQACCEL_H -#define TQT_TQACCEL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QAccel class -// For Qt3, no changes are needed - -#include <ntqaccel.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAccel class -// For Qt4, some changes are needed - -#include <Qt/q3accel.h> - -#endif // USE_QT4 - -#endif /* TQT_TQACCEL_H */ diff --git a/qtinterface/interface_tqt3/tqaccessible.cpp b/qtinterface/interface_tqt3/tqaccessible.cpp deleted file mode 100644 index 54d6676..0000000 --- a/qtinterface/interface_tqt3/tqaccessible.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqaccessible.h> diff --git a/qtinterface/interface_tqt3/tqaccessible.h b/qtinterface/interface_tqt3/tqaccessible.h deleted file mode 100644 index 7f8dcac..0000000 --- a/qtinterface/interface_tqt3/tqaccessible.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQACCESSIBLE_H -#define TQT_TQACCESSIBLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QAccessible class -// For Qt3, no changes are needed - -#include <ntqaccessible.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAccessible class -// For Qt4, some changes are needed - -#include <Qt/ntqaccessible.h> - -#endif // USE_QT4 - -#endif /* TQT_TQACCESSIBLE_H */ diff --git a/qtinterface/interface_tqt3/tqaction.cpp b/qtinterface/interface_tqt3/tqaction.cpp deleted file mode 100644 index 8f6f2aa..0000000 --- a/qtinterface/interface_tqt3/tqaction.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqaction.h> diff --git a/qtinterface/interface_tqt3/tqaction.h b/qtinterface/interface_tqt3/tqaction.h deleted file mode 100644 index 8caea31..0000000 --- a/qtinterface/interface_tqt3/tqaction.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - -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_TQACTION_H -#define TQT_TQACTION_H - -#include <tqt.h> -#include <ntqobject.h> - -#ifdef USE_QT3 - -// Reimplement the QAction class -// For Qt3, no changes are needed - -#include <ntqaction.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAction class -// For Qt4, some changes are needed - -#include <Qt/ntqaction.h> - -#endif // USE_QT4 - -#endif /* TQT_TQACTION_H */ diff --git a/qtinterface/interface_tqt3/tqapplication.cpp b/qtinterface/interface_tqt3/tqapplication.cpp deleted file mode 100644 index dbeef36..0000000 --- a/qtinterface/interface_tqt3/tqapplication.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqapplication.h> - -#include <X11/X.h> - -#ifdef USE_QT3 -extern Time tqt_x_time; -extern Time tqt_x_user_time; - -void set_tqt_x_time(unsigned long x) { - tqt_x_time = x; -} - -unsigned long get_tqt_x_time(void) { - return tqt_x_time; -} - -void set_tqt_x_user_time(unsigned long x) { - tqt_x_user_time = x; -} - -unsigned long get_tqt_x_user_time(void) { - return tqt_x_user_time; -} -#endif - -#ifdef USE_QT4 - -// void QApplication::processOneEvent() -// { -// #warning "!!! WARNING: QApplication::processOneEvent() UNIMPLEMENTED !!!" -// } - -TQEventLoop *QApplication::eventLoop() -{ - return TQEventLoop::eventLoop(); -} - -void QApplication::installTranslator( QTranslator * mf ) -{ - #warning "!!! WARNING: QApplication::installTranslator() UNIMPLEMENTED !!!" -} - -void QApplication::removeTranslator( QTranslator * mf ) -{ - #warning "!!! WARNING: QApplication::removeTranslator() UNIMPLEMENTED !!!" -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqapplication.h b/qtinterface/interface_tqt3/tqapplication.h deleted file mode 100644 index d3abe33..0000000 --- a/qtinterface/interface_tqt3/tqapplication.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - -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_TQAPPLICATION_H -#define TQT_TQAPPLICATION_H - -#include <tqt.h> -#include <ntqasciidict.h> - -#ifdef USE_QT3 - -// Reimplement the QApplication class -// For Qt3, no changes are needed - -#include <ntqapplication.h> - -// X11/X.h defines Time as unsigned long -void set_tqt_x_time(unsigned long x); -unsigned long get_tqt_x_time(void); -void set_tqt_x_user_time(unsigned long x); -unsigned long get_tqt_x_user_time(void); - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QApplication class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqapplication.h> - -#endif // USE_QT4 - -#endif /* TQT_TQAPPLICATION_H */ diff --git a/qtinterface/interface_tqt3/tqasciicache.cpp b/qtinterface/interface_tqt3/tqasciicache.cpp deleted file mode 100644 index 1bdef88..0000000 --- a/qtinterface/interface_tqt3/tqasciicache.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqasciicache.h> diff --git a/qtinterface/interface_tqt3/tqasciicache.h b/qtinterface/interface_tqt3/tqasciicache.h deleted file mode 100644 index e22cfdb..0000000 --- a/qtinterface/interface_tqt3/tqasciicache.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQASCIICACHE_H -#define TQT_TQASCIICACHE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QAsciiCache class -// For Qt3, no changes are needed - -#include <ntqasciicache.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAsciiCache class -// For Qt4, some changes are needed - -#include <Qt/q3asciicache.h> - -#endif // USE_QT4 - -#endif /* TQT_TQASCIICACHE_H */ diff --git a/qtinterface/interface_tqt3/tqasciidict.cpp b/qtinterface/interface_tqt3/tqasciidict.cpp deleted file mode 100644 index 6794b74..0000000 --- a/qtinterface/interface_tqt3/tqasciidict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqasciidict.h> diff --git a/qtinterface/interface_tqt3/tqasciidict.h b/qtinterface/interface_tqt3/tqasciidict.h deleted file mode 100644 index 4971d6c..0000000 --- a/qtinterface/interface_tqt3/tqasciidict.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQASCIIDICT_H -#define TQT_TQASCIIDICT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QAsciiDict class -// For Qt3, no changes are needed - -#include <ntqasciidict.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAsciiDict class -// For Qt4, some changes are needed - -#include <Qt/q3asciidict.h> - -#endif // USE_QT4 - -#endif /* TQT_TQASCIIDICT_H */ diff --git a/qtinterface/interface_tqt3/tqassistantclient.cpp b/qtinterface/interface_tqt3/tqassistantclient.cpp deleted file mode 100644 index cf56296..0000000 --- a/qtinterface/interface_tqt3/tqassistantclient.cpp +++ /dev/null @@ -1,26 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqassistantclient.h> - -// Force this library to link against qassistantclient -//QAssistantClient myClient; diff --git a/qtinterface/interface_tqt3/tqassistantclient.h b/qtinterface/interface_tqt3/tqassistantclient.h deleted file mode 100644 index cc81193..0000000 --- a/qtinterface/interface_tqt3/tqassistantclient.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - -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_TQASSISTANTCLIENT_H -#define TQT_TQASSISTANTCLIENT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -#include <ntqassistantclient.h> - -#endif // USE_QT3 - -#endif /* TQT_TQASSISTANTCLIENT_H */ diff --git a/qtinterface/interface_tqt3/tqasyncimageio.cpp b/qtinterface/interface_tqt3/tqasyncimageio.cpp deleted file mode 100644 index d98bb74..0000000 --- a/qtinterface/interface_tqt3/tqasyncimageio.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqasyncimageio.h> diff --git a/qtinterface/interface_tqt3/tqasyncimageio.h b/qtinterface/interface_tqt3/tqasyncimageio.h deleted file mode 100644 index 7ad5673..0000000 --- a/qtinterface/interface_tqt3/tqasyncimageio.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQASYNCIMAGEIO_H -#define TQT_TQASYNCIMAGEIO_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QAsyncImageIO class -// For Qt3, no changes are needed - -#include <ntqasyncimageio.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAsyncImageIO class -// For Qt4, this class no longer exists! - -#endif // USE_QT4 - -#endif /* TQT_TQASYNCIMAGEIO_H */ diff --git a/qtinterface/interface_tqt3/tqasyncio.cpp b/qtinterface/interface_tqt3/tqasyncio.cpp deleted file mode 100644 index a11ff62..0000000 --- a/qtinterface/interface_tqt3/tqasyncio.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqasyncio.h> diff --git a/qtinterface/interface_tqt3/tqasyncio.h b/qtinterface/interface_tqt3/tqasyncio.h deleted file mode 100644 index 5e64209..0000000 --- a/qtinterface/interface_tqt3/tqasyncio.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - -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_TQASYNCIO_H -#define TQT_TQASYNCIO_H - -#include <tqt.h> -#include <ntqtimer.h> - -#ifdef USE_QT3 - -// Reimplement the QAsyncIO class -// For Qt3, no changes are needed - -#include <ntqasyncio.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAsyncIO class -// For Qt4, this class no longer exists! - -#endif // USE_QT4 - -#endif /* TQT_TQASYNCIO_H */ diff --git a/qtinterface/interface_tqt3/tqbig5codec.cpp b/qtinterface/interface_tqt3/tqbig5codec.cpp deleted file mode 100644 index bc24878..0000000 --- a/qtinterface/interface_tqt3/tqbig5codec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqbig5codec.h> diff --git a/qtinterface/interface_tqt3/tqbig5codec.h b/qtinterface/interface_tqt3/tqbig5codec.h deleted file mode 100644 index f61a9ec..0000000 --- a/qtinterface/interface_tqt3/tqbig5codec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQQBIG5CODEC_H -#define TQT_TQQBIG5CODEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QBig5Codec class -// For Qt3, no changes are needed - -#include <ntqbig5codec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QBig5Codec class -// For Qt4, this class no longer exists! - -#endif // USE_QT4 - -#endif /* TQT_TQQBIG5CODEC_H */ diff --git a/qtinterface/interface_tqt3/tqbitarray.cpp b/qtinterface/interface_tqt3/tqbitarray.cpp deleted file mode 100644 index 9749e2d..0000000 --- a/qtinterface/interface_tqt3/tqbitarray.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqbitarray.h> diff --git a/qtinterface/interface_tqt3/tqbitarray.h b/qtinterface/interface_tqt3/tqbitarray.h deleted file mode 100644 index fda6ae5..0000000 --- a/qtinterface/interface_tqt3/tqbitarray.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQBITARRAY_H -#define TQT_TQBITARRAY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QBitArray class -// For Qt3, no changes are needed - -#include <ntqbitarray.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QBitArray class -// For Qt4, some changes are needed - -#include <Qt/ntqbitarray.h> - -#endif // USE_QT4 - -#endif /* TQT_TQBITARRAY_H */ diff --git a/qtinterface/interface_tqt3/tqbitmap.cpp b/qtinterface/interface_tqt3/tqbitmap.cpp deleted file mode 100644 index 182e25d..0000000 --- a/qtinterface/interface_tqt3/tqbitmap.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqbitmap.h> diff --git a/qtinterface/interface_tqt3/tqbitmap.h b/qtinterface/interface_tqt3/tqbitmap.h deleted file mode 100644 index b8d3ee2..0000000 --- a/qtinterface/interface_tqt3/tqbitmap.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQBITMAP_H -#define TQT_TQBITMAP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QBitmap class -// For Qt3, no changes are needed - -#include <ntqbitmap.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QBitmap class -// For Qt4, some changes are needed - -#include <Qt/ntqbitmap.h> - -#endif // USE_QT4 - -#endif /* TQT_TQBITMAP_H */ diff --git a/qtinterface/interface_tqt3/tqbrush.cpp b/qtinterface/interface_tqt3/tqbrush.cpp deleted file mode 100644 index ab95335..0000000 --- a/qtinterface/interface_tqt3/tqbrush.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqbrush.h> diff --git a/qtinterface/interface_tqt3/tqbrush.h b/qtinterface/interface_tqt3/tqbrush.h deleted file mode 100644 index a4218e8..0000000 --- a/qtinterface/interface_tqt3/tqbrush.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQBRUSH_H -#define TQT_TQBRUSH_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QBrush class -// For Qt3, no changes are needed - -#include <ntqbrush.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QBrush class -// For Qt4, some changes are needed - -#include <Qt/ntqbrush.h> - -#endif // USE_QT4 - -#endif /* TQT_TQBRUSH_H */ diff --git a/qtinterface/interface_tqt3/tqbuffer.cpp b/qtinterface/interface_tqt3/tqbuffer.cpp deleted file mode 100644 index f2c1abd..0000000 --- a/qtinterface/interface_tqt3/tqbuffer.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqbuffer.h> diff --git a/qtinterface/interface_tqt3/tqbuffer.h b/qtinterface/interface_tqt3/tqbuffer.h deleted file mode 100644 index e5b6a56..0000000 --- a/qtinterface/interface_tqt3/tqbuffer.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQBUFFER_H -#define TQT_TQBUFFER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QBuffer class -// For Qt3, no changes are needed - -#include <ntqbuffer.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QBuffer class -// For Qt4, some changes are needed - -#include <Qt/ntqbuffer.h> - -#endif // USE_QT4 - -#endif /* TQT_TQBUFFER_H */ diff --git a/qtinterface/interface_tqt3/tqbutton.cpp b/qtinterface/interface_tqt3/tqbutton.cpp deleted file mode 100644 index 9f598ab..0000000 --- a/qtinterface/interface_tqt3/tqbutton.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqbutton.h> diff --git a/qtinterface/interface_tqt3/tqbutton.h b/qtinterface/interface_tqt3/tqbutton.h deleted file mode 100644 index 325e4b0..0000000 --- a/qtinterface/interface_tqt3/tqbutton.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQBUTTON_H -#define TQT_TQBUTTON_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QButton class -// For Qt3, no changes are needed - -#include <ntqbutton.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QButton class -// For Qt4, some changes are needed - -#include <Qt/q3button.h> - -#endif // USE_QT4 - -#endif /* TQT_TQBUTTON_H */ diff --git a/qtinterface/interface_tqt3/tqbuttongroup.cpp b/qtinterface/interface_tqt3/tqbuttongroup.cpp deleted file mode 100644 index 27e137b..0000000 --- a/qtinterface/interface_tqt3/tqbuttongroup.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqbuttongroup.h> diff --git a/qtinterface/interface_tqt3/tqbuttongroup.h b/qtinterface/interface_tqt3/tqbuttongroup.h deleted file mode 100644 index da48ad3..0000000 --- a/qtinterface/interface_tqt3/tqbuttongroup.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQBUTTONGROUP_H -#define TQT_TQBUTTONGROUP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QButtonGroup class -// For Qt3, no changes are needed - -#include <ntqbuttongroup.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QButtonGroup class -// For Qt4, some changes are needed - -#include <Qt/q3buttongroup.h> - -#endif // USE_QT4 - -#endif /* TQT_TQBUTTONGROUP_H */ diff --git a/qtinterface/interface_tqt3/tqcache.cpp b/qtinterface/interface_tqt3/tqcache.cpp deleted file mode 100644 index 4c8e5d8..0000000 --- a/qtinterface/interface_tqt3/tqcache.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcache.h> diff --git a/qtinterface/interface_tqt3/tqcache.h b/qtinterface/interface_tqt3/tqcache.h deleted file mode 100644 index f2d455c..0000000 --- a/qtinterface/interface_tqt3/tqcache.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQCACHE_H -#define TQT_TQCACHE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QCache class -// For Qt3, no changes are needed - -#include <ntqcache.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCache class -// For Qt4, some changes are needed - -#include <Qt/q3cache.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCACHE_H */ diff --git a/qtinterface/interface_tqt3/tqcanvas.cpp b/qtinterface/interface_tqt3/tqcanvas.cpp deleted file mode 100644 index 0622f4d..0000000 --- a/qtinterface/interface_tqt3/tqcanvas.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcanvas.h> diff --git a/qtinterface/interface_tqt3/tqcanvas.h b/qtinterface/interface_tqt3/tqcanvas.h deleted file mode 100644 index c85e280..0000000 --- a/qtinterface/interface_tqt3/tqcanvas.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQCANVAS_H -#define TQT_TQCANVAS_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QCanvas class -// For Qt3, no changes are needed - -#include <ntqcanvas.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCanvas class -// For Qt4, some changes are needed - -#include <Qt/q3canvas.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCANVAS_H */ diff --git a/qtinterface/interface_tqt3/tqcdestyle.cpp b/qtinterface/interface_tqt3/tqcdestyle.cpp deleted file mode 100644 index 098bd64..0000000 --- a/qtinterface/interface_tqt3/tqcdestyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcdestyle.h> diff --git a/qtinterface/interface_tqt3/tqcdestyle.h b/qtinterface/interface_tqt3/tqcdestyle.h deleted file mode 100644 index b24e21f..0000000 --- a/qtinterface/interface_tqt3/tqcdestyle.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQCDESTYLE_H -#define TQT_TQCDESTYLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QCDEStyle class -// For Qt3, no changes are needed - -#include <ntqcdestyle.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCDEStyle class -// For Qt4, some changes are needed - -#include <Qt/ntqcdestyle.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCDESTYLE_H */ diff --git a/qtinterface/interface_tqt3/tqcheckbox.cpp b/qtinterface/interface_tqt3/tqcheckbox.cpp deleted file mode 100644 index a836077..0000000 --- a/qtinterface/interface_tqt3/tqcheckbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcheckbox.h> diff --git a/qtinterface/interface_tqt3/tqcheckbox.h b/qtinterface/interface_tqt3/tqcheckbox.h deleted file mode 100644 index d00cebc..0000000 --- a/qtinterface/interface_tqt3/tqcheckbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQCHECKBOX_H -#define TQT_TQCHECKBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the TQCheckBox class -// For Qt3, no changes are needed - -#include <ntqcheckbox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the TQCheckBox class -// For Qt4, some changes are needed - -#include <Qt/ntqcheckbox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCHECKBOX_H */ diff --git a/qtinterface/interface_tqt3/tqcleanuphandler.cpp b/qtinterface/interface_tqt3/tqcleanuphandler.cpp deleted file mode 100644 index 8d379b5..0000000 --- a/qtinterface/interface_tqt3/tqcleanuphandler.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcleanuphandler.h> diff --git a/qtinterface/interface_tqt3/tqcleanuphandler.h b/qtinterface/interface_tqt3/tqcleanuphandler.h deleted file mode 100644 index 623b006..0000000 --- a/qtinterface/interface_tqt3/tqcleanuphandler.h +++ /dev/null @@ -1,131 +0,0 @@ -/* - -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_TQCLEANUPHANDLER_H -#define TQT_TQCLEANUPHANDLER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QCleanupHandler class -// For Qt3, no changes are needed - -#include <ntqcleanuphandler.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCleanupHandler class -// For Qt4, some changes are needed - -//#include <Qt/ntqcleanuphandler.h> - -#include "tntqptrlist.h" - -template<class Type> -class TQCleanupHandler -{ -public: - TQCleanupHandler() : cleanupObjects( 0 ) {} - ~TQCleanupHandler() { clear(); } - - Type* add( Type **object ) { - if ( !cleanupObjects ) - cleanupObjects = new Q3PtrList<Type*>; - cleanupObjects->insert( 0, object ); - return *object; - } - - void remove( Type **object ) { - if ( !cleanupObjects ) - return; - if ( cleanupObjects->findRef( object ) >= 0 ) - (void) cleanupObjects->take(); - } - - bool isEmpty() const { - return cleanupObjects ? cleanupObjects->isEmpty() : TRUE; - } - - void clear() { - if ( !cleanupObjects ) - return; - Q3PtrListIterator<Type*> it( *cleanupObjects ); - Type **object; - while ( ( object = it.current() ) ) { - delete *object; - *object = 0; - cleanupObjects->remove( object ); - } - delete cleanupObjects; - cleanupObjects = 0; - } - -private: - Q3PtrList<Type*> *cleanupObjects; -}; - -template<class Type> -class TQSingleCleanupHandler -{ -public: - TQSingleCleanupHandler() : object( 0 ) {} - ~TQSingleCleanupHandler() { - if ( object ) { - delete *object; - *object = 0; - } - } - Type* set( Type **o ) { - object = o; - return *object; - } - void reset() { object = 0; } -private: - Type **object; -}; - -template<class Type> -class TQSharedCleanupHandler -{ -public: - TQSharedCleanupHandler() : object( 0 ) {} - ~TQSharedCleanupHandler() { - if ( object ) { - if ( (*object)->deref() ) - delete *object; - *object = 0; - } - } - Type* set( Type **o ) { - object = o; - return *object; - } - void reset() { object = 0; } -private: - Type **object; -}; - -#endif // USE_QT4 - -#endif /* TQT_TQCLEANUPHANDLER_H */ diff --git a/qtinterface/interface_tqt3/tqclipboard.cpp b/qtinterface/interface_tqt3/tqclipboard.cpp deleted file mode 100644 index ab3c7e5..0000000 --- a/qtinterface/interface_tqt3/tqclipboard.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqclipboard.h> diff --git a/qtinterface/interface_tqt3/tqclipboard.h b/qtinterface/interface_tqt3/tqclipboard.h deleted file mode 100644 index a535474..0000000 --- a/qtinterface/interface_tqt3/tqclipboard.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQCLIPBOARD_H -#define TQT_TQCLIPBOARD_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QClipboard class -// For Qt3, no changes are needed - -#include <ntqclipboard.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QClipboard class -// For Qt4, some changes are needed - -#include <Qt/ntqclipboard.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCLIPBOARD_H */ diff --git a/qtinterface/interface_tqt3/tqcolor.cpp b/qtinterface/interface_tqt3/tqcolor.cpp deleted file mode 100644 index 39953a2..0000000 --- a/qtinterface/interface_tqt3/tqcolor.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcolor.h> diff --git a/qtinterface/interface_tqt3/tqcolor.h b/qtinterface/interface_tqt3/tqcolor.h deleted file mode 100644 index 69e3a02..0000000 --- a/qtinterface/interface_tqt3/tqcolor.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQCOLOR_H -#define TQT_TQCOLOR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QColor class -// For Qt3, no changes are needed - -#include <ntqcolor.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QColor class -// For Qt4, no changes are needed - -#include <Qt/ntqcolor.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCOLOR_H */ diff --git a/qtinterface/interface_tqt3/tqcolordialog.cpp b/qtinterface/interface_tqt3/tqcolordialog.cpp deleted file mode 100644 index 21abcb8..0000000 --- a/qtinterface/interface_tqt3/tqcolordialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcolordialog.h> diff --git a/qtinterface/interface_tqt3/tqcolordialog.h b/qtinterface/interface_tqt3/tqcolordialog.h deleted file mode 100644 index cec2c51..0000000 --- a/qtinterface/interface_tqt3/tqcolordialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQCOLORDIALOG_H -#define TQT_TQCOLORDIALOG_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QColorDialog class -// For Qt3, no changes are needed - -#include <ntqcolordialog.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QColorDialog class -// For Qt4, some changes are needed - -#include <Qt/ntqcolordialog.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCOLORDIALOG_H */ diff --git a/qtinterface/interface_tqt3/tqcombobox.cpp b/qtinterface/interface_tqt3/tqcombobox.cpp deleted file mode 100644 index 5a96965..0000000 --- a/qtinterface/interface_tqt3/tqcombobox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcombobox.h> diff --git a/qtinterface/interface_tqt3/tqcombobox.h b/qtinterface/interface_tqt3/tqcombobox.h deleted file mode 100644 index 9106dfd..0000000 --- a/qtinterface/interface_tqt3/tqcombobox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQCOMBOBOX_H -#define TQT_TQCOMBOBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QComboBox class -// For Qt3, no changes are needed - -#include <ntqcombobox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QComboBox class -// For Qt4, some changes are needed - -#include <Qt/ntqcombobox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCOMBOBOX_H */ diff --git a/qtinterface/interface_tqt3/tqcommonstyle.cpp b/qtinterface/interface_tqt3/tqcommonstyle.cpp deleted file mode 100644 index 1d7a9f2..0000000 --- a/qtinterface/interface_tqt3/tqcommonstyle.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcommonstyle.h> - -#ifdef USE_QT4 - -// void QCommonStyle::drawPrimitive(ControlElement element, const QStyleOption *opt, QPainter *p, const QWidget *w) const { -// drawControl(element, opt, p, w); -// } - -void QCommonStyle::drawPrimitive( PrimitiveElement pe, - Q3Painter *p, - const QRect &r, - const QColorGroup &cg, - SFlags flags, - const QStyleOption& opt) const { - drawPrimitive(pe, &opt, (QPainter*)p); -} - -void QCommonStyle::drawControl( ControlElement element, - Q3Painter *p, - const QWidget *widget, - const QRect &r, - const QColorGroup &cg, - SFlags how, - const QStyleOption& opt) const { - - drawControl(element, &opt, (QPainter*)p, widget); -} - -void QCommonStyle::drawComplexControl( ComplexControl control, - Q3Painter *p, - const QWidget *widget, - const QRect &r, - const QColorGroup &cg, - SFlags how, - SCFlags sub, - SCFlags subActive, - const QStyleOption& opt ) const { - drawComplexControl(control, (QStyleOptionComplex*)&opt, (QPainter*)p, widget); -} - -int QCommonStyle::styleHint(StyleHint sh, const QWidget * widget, const QStyleOption &opt, QStyleHintReturn *shret) const { - return styleHint(sh, &opt, widget, shret); -} - -QPixmap QCommonStyle::stylePixmap( StandardPixmap stylepixmap, const QWidget *widget, const QStyleOption& opt) const { - return standardPixmap(stylepixmap, &opt, widget); -} - -QRect QCommonStyle::querySubControlMetrics( ComplexControl control, - const QWidget *widget, - SubControl sc, - const QStyleOption& opt) const { - return subControlRect(control, (QStyleOptionComplex*)&opt, sc, widget); -} - -QRect QCommonStyle::subRect( SubElement r, const QWidget *widget ) const { - QStyleOption opt = QStyleOption::SO_Default; - return subElementRect(r, &opt, widget); -} - -int QCommonStyle::pixelMetric( PixelMetric m, const QWidget *widget ) const { - QStyleOption opt = QStyleOption::SO_Default; - return pixelMetric(m, &opt, widget); -} - -QCommonStyle::SubControl QCommonStyle::querySubControl( ComplexControl control, - const QWidget *widget, - const QPoint &pos, - const QStyleOption& opt ) const { - return hitTestComplexControl(control, (QStyleOptionComplex*)&opt, pos, widget); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqcommonstyle.h b/qtinterface/interface_tqt3/tqcommonstyle.h deleted file mode 100644 index a0b4af4..0000000 --- a/qtinterface/interface_tqt3/tqcommonstyle.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - -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_TQCOMMONSTYLE_H -#define TQT_TQCOMMONSTYLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QCommonStyle class -// For Qt3, no changes are needed - -#include <ntqcommonstyle.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCommonStyle class -// For Qt4, some changes are needed - -#include <ntqstyle.h> -#include <tqt4/Qt/ntqcommonstyle.h> -#include <Qt/ntqpainter.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCOMMONSTYLE_H */ diff --git a/qtinterface/interface_tqt3/tqcompactstyle.cpp b/qtinterface/interface_tqt3/tqcompactstyle.cpp deleted file mode 100644 index 6f3f152..0000000 --- a/qtinterface/interface_tqt3/tqcompactstyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcompactstyle.h> diff --git a/qtinterface/interface_tqt3/tqcompactstyle.h b/qtinterface/interface_tqt3/tqcompactstyle.h deleted file mode 100644 index c727041..0000000 --- a/qtinterface/interface_tqt3/tqcompactstyle.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQCOMPACTSTYLE_H -#define TQT_TQCOMPACTSTYLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QCompactStyle class -// For Qt3, no changes are needed - -#include <ntqcompactstyle.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCompactStyle class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQCOMPACTSTYLE_H */ diff --git a/qtinterface/interface_tqt3/tqconfig.h b/qtinterface/interface_tqt3/tqconfig.h deleted file mode 100644 index 7f7d4e5..0000000 --- a/qtinterface/interface_tqt3/tqconfig.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQCONFIG_H -#define TQT_TQCONFIG_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Pull in all Qt3 configuration defines - -#include <ntqconfig.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in all Qt4 configuration defines - -#include <ntqconfig.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCONFIG_H */ diff --git a/qtinterface/interface_tqt3/tqconnection.cpp b/qtinterface/interface_tqt3/tqconnection.cpp deleted file mode 100644 index 4d3f56d..0000000 --- a/qtinterface/interface_tqt3/tqconnection.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqconnection.h> diff --git a/qtinterface/interface_tqt3/tqconnection.h b/qtinterface/interface_tqt3/tqconnection.h deleted file mode 100644 index 1fc9137..0000000 --- a/qtinterface/interface_tqt3/tqconnection.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQCONNECTION_H -#define TQT_TQCONNECTION_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QConnection class -// For Qt3, no changes are needed - -#include <ntqconnection.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QConnection class -// For Qt4, this internal class no longer exists! - -#endif // USE_QT4 - -#endif /* TQT_TQCONNECTION_H */ diff --git a/qtinterface/interface_tqt3/tqcstring.cpp b/qtinterface/interface_tqt3/tqcstring.cpp deleted file mode 100644 index 25e0536..0000000 --- a/qtinterface/interface_tqt3/tqcstring.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcstring.h> - -#ifdef USE_QT4 - -QByteArray::operator QByteArray *() const -{ return (QByteArray*)(d->data); } - -#ifndef TQT_NO_REGEXP - -int Q3CString::contains( const QRegExp &rx ) const -{ - QString d = QString::fromAscii( data() ); - return d.count( rx ); -} - -Q3CString &Q3CString::replace( const QRegExp &rx, const char *str ) -{ - QString d = QString::fromAscii( data() ); - QString r = QString::fromAscii( str ); - d.replace( rx, r ); - setStr( d.ascii() ); - return *this; -} - -#endif //TQT_NO_REGEXP - -QByteArray QByteArray::copy() const { - QByteArray copy(*this); - copy.detach(); - return copy; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqcstring.h b/qtinterface/interface_tqt3/tqcstring.h deleted file mode 100644 index d91526d..0000000 --- a/qtinterface/interface_tqt3/tqcstring.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - -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_TQCSTRING_H -#define TQT_TQCSTRING_H - -#include <tqt.h> -#include <ntqmemarray.h> -#include <ntqdatastream.h> - -#ifdef USE_QT3 - -// Reimplement the QCString class -// For Qt3, no changes are needed - -#include <ntqcstring.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QByteArray class -// For Qt4, some changes are needed - -//#include <Qt/qbytearray.h> -#include <tqt4/Qt/qbytearray.h> - -// Reimplement the QCString class -// For Qt4, some changes are needed - -#include <tqt4/Qt/q3cstring.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCSTRING_H */ diff --git a/qtinterface/interface_tqt3/tqcursor.cpp b/qtinterface/interface_tqt3/tqcursor.cpp deleted file mode 100644 index c9f8df5..0000000 --- a/qtinterface/interface_tqt3/tqcursor.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqcursor.h> diff --git a/qtinterface/interface_tqt3/tqcursor.h b/qtinterface/interface_tqt3/tqcursor.h deleted file mode 100644 index cb800ea..0000000 --- a/qtinterface/interface_tqt3/tqcursor.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQCURSOR_H -#define TQT_TQCURSOR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QCursor class -// For Qt3, no changes are needed - -#include <ntqcursor.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCursor class -// For Qt4, some changes are needed - -#include <Qt/ntqcursor.h> - -#endif // USE_QT4 - -#endif /* TQT_TQCURSOR_H */ diff --git a/qtinterface/interface_tqt3/tqdatabrowser.cpp b/qtinterface/interface_tqt3/tqdatabrowser.cpp deleted file mode 100644 index 5998ea8..0000000 --- a/qtinterface/interface_tqt3/tqdatabrowser.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdatabrowser.h> diff --git a/qtinterface/interface_tqt3/tqdatabrowser.h b/qtinterface/interface_tqt3/tqdatabrowser.h deleted file mode 100644 index f5cc0e3..0000000 --- a/qtinterface/interface_tqt3/tqdatabrowser.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDATABROWSER_H -#define TQT_TQDATABROSWER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDataBrowser class -// For Qt3, no changes are needed - -#include <ntqdatabrowser.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDataBrowser class -// For Qt4, some changes are needed - -#include <Qt/q3databrowser.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDATABROWSER_H */ diff --git a/qtinterface/interface_tqt3/tqdatastream.cpp b/qtinterface/interface_tqt3/tqdatastream.cpp deleted file mode 100644 index 3e8cd7c..0000000 --- a/qtinterface/interface_tqt3/tqdatastream.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdatastream.h> - -#ifdef USE_QT4 - -QDataStream &QDataStream::operator<<(long unsigned int i) { - return *this<<((quint64) i); -} - -QDataStream &QDataStream::operator>>(long unsigned int &i) { - return *this>>((quint64&) i); -} - -QDataStream &QDataStream::operator<<(long i) { - return *this<<((qint64) i); -} - -QDataStream &QDataStream::operator>>(long &i) { - return *this>>((qint64&) i); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqdatastream.h b/qtinterface/interface_tqt3/tqdatastream.h deleted file mode 100644 index fbcb326..0000000 --- a/qtinterface/interface_tqt3/tqdatastream.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - -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_TQDATASTREAM_H -#define TQT_TQDATASTREAM_H - -#include <tqt.h> -#include <ntqiodevice.h> - -#ifdef USE_QT3 - -// Reimplement the QDataStream class -// For Qt3, no changes are needed - -#include <ntqdatastream.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDataStream class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqdatastream.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDATASTREAM_H */ diff --git a/qtinterface/interface_tqt3/tqdatatable.cpp b/qtinterface/interface_tqt3/tqdatatable.cpp deleted file mode 100644 index 1222b61..0000000 --- a/qtinterface/interface_tqt3/tqdatatable.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdatatable.h> diff --git a/qtinterface/interface_tqt3/tqdatatable.h b/qtinterface/interface_tqt3/tqdatatable.h deleted file mode 100644 index bde06bc..0000000 --- a/qtinterface/interface_tqt3/tqdatatable.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDATATABLE_H -#define TQT_TQDATATABLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDataTable class -// For Qt3, no changes are needed - -#include <ntqdatatable.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDataTable class -// For Qt4, some changes are needed - -#include <Qt/q3datatable.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDATATABLE_H */ diff --git a/qtinterface/interface_tqt3/tqdataview.cpp b/qtinterface/interface_tqt3/tqdataview.cpp deleted file mode 100644 index a8571d2..0000000 --- a/qtinterface/interface_tqt3/tqdataview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdataview.h> diff --git a/qtinterface/interface_tqt3/tqdataview.h b/qtinterface/interface_tqt3/tqdataview.h deleted file mode 100644 index 02953b5..0000000 --- a/qtinterface/interface_tqt3/tqdataview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDATAVIEW_H -#define TQT_TQDATAVIEW_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDataView class -// For Qt3, no changes are needed - -#include <ntqdataview.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDataView class -// For Qt4, some changes are needed - -#include <Qt/q3dataview.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDATAVIEW_H */ diff --git a/qtinterface/interface_tqt3/tqdatetime.cpp b/qtinterface/interface_tqt3/tqdatetime.cpp deleted file mode 100644 index a139f7a..0000000 --- a/qtinterface/interface_tqt3/tqdatetime.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdatetime.h> diff --git a/qtinterface/interface_tqt3/tqdatetime.h b/qtinterface/interface_tqt3/tqdatetime.h deleted file mode 100644 index 3a3bcae..0000000 --- a/qtinterface/interface_tqt3/tqdatetime.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDATETIME_H -#define TQT_TQDATETIME_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDateTime class -// For Qt3, no changes are needed - -#include <ntqdatetime.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDateTime class -// For Qt4, some changes are needed - -#include <Qt/ntqdatetime.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDATETIME_H */ diff --git a/qtinterface/interface_tqt3/tqdatetimeedit.cpp b/qtinterface/interface_tqt3/tqdatetimeedit.cpp deleted file mode 100644 index a4c2dd4..0000000 --- a/qtinterface/interface_tqt3/tqdatetimeedit.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdatetimeedit.h> diff --git a/qtinterface/interface_tqt3/tqdatetimeedit.h b/qtinterface/interface_tqt3/tqdatetimeedit.h deleted file mode 100644 index 52f0c57..0000000 --- a/qtinterface/interface_tqt3/tqdatetimeedit.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDATETIMEEDIT_H -#define TQT_TQDATETIMEEDIT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDateTimeEditBase class -// For Qt3, no changes are needed - -#include <ntqdatetimeedit.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDateTimeEditBase class -// For Qt4, some changes are needed - -#include <Qt/q3datetimeedit.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDATETIMEEDIT_H */ diff --git a/qtinterface/interface_tqt3/tqdeepcopy.cpp b/qtinterface/interface_tqt3/tqdeepcopy.cpp deleted file mode 100644 index 137a1ae..0000000 --- a/qtinterface/interface_tqt3/tqdeepcopy.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdeepcopy.h> diff --git a/qtinterface/interface_tqt3/tqdeepcopy.h b/qtinterface/interface_tqt3/tqdeepcopy.h deleted file mode 100644 index bffddc3..0000000 --- a/qtinterface/interface_tqt3/tqdeepcopy.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDEEPCOPY_H -#define TQT_TQDEEPCOPY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDeepCopy class -// For Qt3, no changes are needed - -#include <ntqdeepcopy.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDeepCopy class -// For Qt4, some changes are needed - -#include <Qt/q3deepcopy.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDEEPCOPY_H */ diff --git a/qtinterface/interface_tqt3/tqdesktopwidget.cpp b/qtinterface/interface_tqt3/tqdesktopwidget.cpp deleted file mode 100644 index f27e17c..0000000 --- a/qtinterface/interface_tqt3/tqdesktopwidget.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdesktopwidget.h> diff --git a/qtinterface/interface_tqt3/tqdesktopwidget.h b/qtinterface/interface_tqt3/tqdesktopwidget.h deleted file mode 100644 index 97c4178..0000000 --- a/qtinterface/interface_tqt3/tqdesktopwidget.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDESKTOPWIDGET_H -#define TQT_TQDESKTOPWIDGET_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDesktopWidget class -// For Qt3, no changes are needed - -#include <ntqdesktopwidget.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDesktopWidget class -// For Qt4, some changes are needed - -#include <Qt/ntqdesktopwidget.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDESKTOPWIDGET_H */ diff --git a/qtinterface/interface_tqt3/tqdial.cpp b/qtinterface/interface_tqt3/tqdial.cpp deleted file mode 100644 index d3ac2d0..0000000 --- a/qtinterface/interface_tqt3/tqdial.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdial.h> diff --git a/qtinterface/interface_tqt3/tqdial.h b/qtinterface/interface_tqt3/tqdial.h deleted file mode 100644 index 6b4a28c..0000000 --- a/qtinterface/interface_tqt3/tqdial.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDIAL_H -#define TQT_TQDIAL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDial class -// For Qt3, no changes are needed - -#include <ntqdial.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDial class -// For Qt4, some changes are needed - -#include <Qt/ntqdial.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDIAL_H */ diff --git a/qtinterface/interface_tqt3/tqdialog.cpp b/qtinterface/interface_tqt3/tqdialog.cpp deleted file mode 100644 index 5c2d3a1..0000000 --- a/qtinterface/interface_tqt3/tqdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdialog.h> diff --git a/qtinterface/interface_tqt3/tqdialog.h b/qtinterface/interface_tqt3/tqdialog.h deleted file mode 100644 index ed5710c..0000000 --- a/qtinterface/interface_tqt3/tqdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDIALOG_H -#define TQT_TQDIALOG_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDialog class -// For Qt3, no changes are needed - -#include <ntqdialog.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDialog class -// For Qt4, some changes are needed - -#include <Qt/ntqdialog.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDIALOG_H */ diff --git a/qtinterface/interface_tqt3/tqdict.cpp b/qtinterface/interface_tqt3/tqdict.cpp deleted file mode 100644 index 96225a0..0000000 --- a/qtinterface/interface_tqt3/tqdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdict.h> diff --git a/qtinterface/interface_tqt3/tqdict.h b/qtinterface/interface_tqt3/tqdict.h deleted file mode 100644 index 9bb5e6e..0000000 --- a/qtinterface/interface_tqt3/tqdict.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDICT_H -#define TQT_TQDICT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDict class -// For Qt3, no changes are needed - -#include <ntqdict.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDict class -// For Qt4, some changes are needed - -#include <Qt/q3dict.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDICT_H */ diff --git a/qtinterface/interface_tqt3/tqdir.cpp b/qtinterface/interface_tqt3/tqdir.cpp deleted file mode 100644 index 77b2957..0000000 --- a/qtinterface/interface_tqt3/tqdir.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdir.h> - -#ifdef USE_QT4 - -bool QDir::exists( const QString &name, bool acceptAbsPath ) -{ - if ( name.isEmpty() ) { -#if defined(QT_CHECK_NULL) - qWarning( "QDir::exists: Empty or null file name" ); -#endif - return FALSE; - } -// QString tmp = filePath( name, acceptAbsPath ); - QString tmp = filePath( name ); - return QFile::exists( tmp ); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqdir.h b/qtinterface/interface_tqt3/tqdir.h deleted file mode 100644 index daa766a..0000000 --- a/qtinterface/interface_tqt3/tqdir.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDIR_H -#define TQT_TQDIR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDir class -// For Qt3, no changes are needed - -#include <ntqdir.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDir class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqdir.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDIR_H */ diff --git a/qtinterface/interface_tqt3/tqdns.cpp b/qtinterface/interface_tqt3/tqdns.cpp deleted file mode 100644 index af489d0..0000000 --- a/qtinterface/interface_tqt3/tqdns.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdns.h> diff --git a/qtinterface/interface_tqt3/tqdns.h b/qtinterface/interface_tqt3/tqdns.h deleted file mode 100644 index d0e2bee..0000000 --- a/qtinterface/interface_tqt3/tqdns.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDNS_H -#define TQT_TQDNS_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDns class -// For Qt3, no changes are needed - -#include <ntqdns.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDns class -// For Qt4, some changes are needed - -#include <Qt/q3dns.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDNS_H */ diff --git a/qtinterface/interface_tqt3/tqdockarea.cpp b/qtinterface/interface_tqt3/tqdockarea.cpp deleted file mode 100644 index ad06f06..0000000 --- a/qtinterface/interface_tqt3/tqdockarea.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdockarea.h> diff --git a/qtinterface/interface_tqt3/tqdockarea.h b/qtinterface/interface_tqt3/tqdockarea.h deleted file mode 100644 index aa6b967..0000000 --- a/qtinterface/interface_tqt3/tqdockarea.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDOCKAREA_H -#define TQT_TQDOCKAREA_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDockArea class -// For Qt3, no changes are needed - -#include <ntqdockarea.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDockArea class -// For Qt4, some changes are needed - -#include <Qt/q3dockarea.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDOCKAREA_H */ diff --git a/qtinterface/interface_tqt3/tqdockwindow.cpp b/qtinterface/interface_tqt3/tqdockwindow.cpp deleted file mode 100644 index 4c8e859..0000000 --- a/qtinterface/interface_tqt3/tqdockwindow.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdockwindow.h> diff --git a/qtinterface/interface_tqt3/tqdockwindow.h b/qtinterface/interface_tqt3/tqdockwindow.h deleted file mode 100644 index 03827cf..0000000 --- a/qtinterface/interface_tqt3/tqdockwindow.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDOCKWINDOW_H -#define TQT_TQDOCKWINDOW_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDockWindow class -// For Qt3, no changes are needed - -#include <ntqdockwindow.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDockWindow class -// For Qt4, some changes are needed - -#include <Qt/q3dockwindow.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDOCKWINDOW_H */ diff --git a/qtinterface/interface_tqt3/tqdom.cpp b/qtinterface/interface_tqt3/tqdom.cpp deleted file mode 100644 index 144f28c..0000000 --- a/qtinterface/interface_tqt3/tqdom.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdom.h> diff --git a/qtinterface/interface_tqt3/tqdom.h b/qtinterface/interface_tqt3/tqdom.h deleted file mode 100644 index c9efee9..0000000 --- a/qtinterface/interface_tqt3/tqdom.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDOM_H -#define TQT_TQDOM_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDom class -// For Qt3, no changes are needed - -#include <ntqdom.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDom class -// For Qt4, some changes are needed - -#include <Qt/ntqdom.h> - -#endif // USE_QT4 - -#endif /* TQT_TQACCEL_H */ diff --git a/qtinterface/interface_tqt3/tqdragobject.cpp b/qtinterface/interface_tqt3/tqdragobject.cpp deleted file mode 100644 index df35c99..0000000 --- a/qtinterface/interface_tqt3/tqdragobject.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdragobject.h> diff --git a/qtinterface/interface_tqt3/tqdragobject.h b/qtinterface/interface_tqt3/tqdragobject.h deleted file mode 100644 index 058d1a2..0000000 --- a/qtinterface/interface_tqt3/tqdragobject.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDRAGOBJECT_H -#define TQT_TQDRAGOBJECT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDragObject class -// For Qt3, no changes are needed - -#include <ntqdragobject.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDragObject class -// For Qt4, some changes are needed - -#include <Qt/q3dragobject.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDRAGOBJECT_H */ diff --git a/qtinterface/interface_tqt3/tqdrawutil.cpp b/qtinterface/interface_tqt3/tqdrawutil.cpp deleted file mode 100644 index 4cf6527..0000000 --- a/qtinterface/interface_tqt3/tqdrawutil.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -//#include <ntqdrawutil.h> diff --git a/qtinterface/interface_tqt3/tqdrawutil.h b/qtinterface/interface_tqt3/tqdrawutil.h deleted file mode 100644 index 640c490..0000000 --- a/qtinterface/interface_tqt3/tqdrawutil.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDRAWUTIL_H -#define TQT_TQDRAWUTIL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDrawUtil class -// For Qt3, no changes are needed - -#include <ntqdrawutil.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDrawUtil class -// For Qt4, some changes are needed - -#include <Qt/ntqdrawutil.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDRAWUTIL_H */ diff --git a/qtinterface/interface_tqt3/tqdropsite.cpp b/qtinterface/interface_tqt3/tqdropsite.cpp deleted file mode 100644 index ba66ba4..0000000 --- a/qtinterface/interface_tqt3/tqdropsite.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqdropsite.h> diff --git a/qtinterface/interface_tqt3/tqdropsite.h b/qtinterface/interface_tqt3/tqdropsite.h deleted file mode 100644 index abfdce5..0000000 --- a/qtinterface/interface_tqt3/tqdropsite.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQDROPSITE_H -#define TQT_TQDROPSITE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QDropSite class -// For Qt3, no changes are needed - -#include <ntqdropsite.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDropSite class -// For Qt4, some changes are needed - -#include <Qt/q3dropsite.h> - -#endif // USE_QT4 - -#endif /* TQT_TQDROPSITE_H */ diff --git a/qtinterface/interface_tqt3/tqeditorfactory.cpp b/qtinterface/interface_tqt3/tqeditorfactory.cpp deleted file mode 100644 index f55abe8..0000000 --- a/qtinterface/interface_tqt3/tqeditorfactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqeditorfactory.h> diff --git a/qtinterface/interface_tqt3/tqeditorfactory.h b/qtinterface/interface_tqt3/tqeditorfactory.h deleted file mode 100644 index 49d56cf..0000000 --- a/qtinterface/interface_tqt3/tqeditorfactory.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQEDITORFACTORY_H -#define TQT_TQEDITORFACTORY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QEditorFactory class -// For Qt3, no changes are needed - -#include <ntqeditorfactory.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QEditorFactory class -// For Qt4, some changes are needed - -#include <Qt/q3editorfactory.h> - -#endif // USE_QT4 - -#endif /* TQT_TQEDITORFACTORY_H */ diff --git a/qtinterface/interface_tqt3/tqerrormessage.cpp b/qtinterface/interface_tqt3/tqerrormessage.cpp deleted file mode 100644 index ae4dce5..0000000 --- a/qtinterface/interface_tqt3/tqerrormessage.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqerrormessage.h> diff --git a/qtinterface/interface_tqt3/tqerrormessage.h b/qtinterface/interface_tqt3/tqerrormessage.h deleted file mode 100644 index 2d02dd2..0000000 --- a/qtinterface/interface_tqt3/tqerrormessage.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQERRORMESSAGE_H -#define TQT_TQERRORMESSAGE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QErrorMessage class -// For Qt3, no changes are needed - -#include <ntqerrormessage.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QErrorMessage class -// For Qt4, some changes are needed - -#include <Qt/ntqerrormessage.h> - -#endif // USE_QT4 - -#endif /* TQT_TQERRORMESSAGE_H */ diff --git a/qtinterface/interface_tqt3/tqeucjpcodec.cpp b/qtinterface/interface_tqt3/tqeucjpcodec.cpp deleted file mode 100644 index c7b3961..0000000 --- a/qtinterface/interface_tqt3/tqeucjpcodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqeucjpcodec.h> diff --git a/qtinterface/interface_tqt3/tqeucjpcodec.h b/qtinterface/interface_tqt3/tqeucjpcodec.h deleted file mode 100644 index 13f4b13..0000000 --- a/qtinterface/interface_tqt3/tqeucjpcodec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQEUCJPCODEC_H -#define TQT_TQEUCJPCODEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QEucJpCodec class -// For Qt3, no changes are needed - -#include <ntqeucjpcodec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QEucJpCodec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQEUCJPCODEC_H */ diff --git a/qtinterface/interface_tqt3/tqeuckrcodec.cpp b/qtinterface/interface_tqt3/tqeuckrcodec.cpp deleted file mode 100644 index 61546bb..0000000 --- a/qtinterface/interface_tqt3/tqeuckrcodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqeuckrcodec.h> diff --git a/qtinterface/interface_tqt3/tqeuckrcodec.h b/qtinterface/interface_tqt3/tqeuckrcodec.h deleted file mode 100644 index 786c7ff..0000000 --- a/qtinterface/interface_tqt3/tqeuckrcodec.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - -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_TQEUCKRCODEC_H -#define TQT_TQEUCKRCODEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QEucKrCodec class -// For Qt3, no changes are needed - -#include <ntqeuckrcodec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQEUCKRCODEC_H */ diff --git a/qtinterface/interface_tqt3/tqevent.cpp b/qtinterface/interface_tqt3/tqevent.cpp deleted file mode 100644 index 6a167a9..0000000 --- a/qtinterface/interface_tqt3/tqevent.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqevent.h> diff --git a/qtinterface/interface_tqt3/tqevent.h b/qtinterface/interface_tqt3/tqevent.h deleted file mode 100644 index 8e656ac..0000000 --- a/qtinterface/interface_tqt3/tqevent.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQEVENT_H -#define TQT_TQEVENT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QEvent class -// For Qt3, no changes are needed - -#include <ntqevent.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QEvent class -// For Qt4, some changes are needed - -#include <Qt/ntqevent.h> - -#endif // USE_QT4 - -#endif /* TQT_TQEVENT_H */ diff --git a/qtinterface/interface_tqt3/tqeventloop.cpp b/qtinterface/interface_tqt3/tqeventloop.cpp deleted file mode 100644 index 0de85bb..0000000 --- a/qtinterface/interface_tqt3/tqeventloop.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqeventloop.h> - -#ifdef USE_QT4 - -TQEventLoop *TQEventLoop::eventLoop () -{ - return static_cast<TQEventLoop *>(QAbstractEventDispatcher::instance()); -} - -bool TQEventLoop::processEvents( ProcessEventsFlags flags ) { - return QEventLoop::processEvents((ProcessEventsFlag)flags); -} - -#endif diff --git a/qtinterface/interface_tqt3/tqeventloop.h b/qtinterface/interface_tqt3/tqeventloop.h deleted file mode 100644 index d887757..0000000 --- a/qtinterface/interface_tqt3/tqeventloop.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - -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_TQEVENTLOOP_H -#define TQT_TQEVENTLOOP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QEventLoop class -// For Qt3, no changes are needed - -#include <ntqeventloop.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QEventLoop class -// For Qt4, some changes are needed - -#include <Qt/ntqeventloop.h> -#include <Qt/qabstracteventdispatcher.h> - -class TQEventLoop : public QAbstractEventDispatcher, QEventLoop { -public: - static TQEventLoop *eventLoop (); - - enum ProcessEvents { - AllEvents = QEventLoop::AllEvents, - ExcludeUserInput = QEventLoop::ExcludeUserInputEvents, - ExcludeSocketNotifiers = QEventLoop::ExcludeSocketNotifiers, - WaitForMore = QEventLoop::WaitForMoreEvents - }; - - typedef uint ProcessEventsFlags; - - bool processEvents( ProcessEventsFlags flags ); - -}; - -#endif // USE_QT4 - -#endif /* TQT_TQEVENTLOOP_H */ diff --git a/qtinterface/interface_tqt3/tqfeatures.h b/qtinterface/interface_tqt3/tqfeatures.h deleted file mode 100644 index 3e18d30..0000000 --- a/qtinterface/interface_tqt3/tqfeatures.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQFEATURES_H -#define TQT_TQFEATURES_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Pull in all Qt3 feature defines - -#include <ntqfeatures.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in all Qt4 feature defines - -#include <ntqfeatures.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFEATURES_H */ diff --git a/qtinterface/interface_tqt3/tqfile.cpp b/qtinterface/interface_tqt3/tqfile.cpp deleted file mode 100644 index 39b7cdf..0000000 --- a/qtinterface/interface_tqt3/tqfile.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqfile.h> diff --git a/qtinterface/interface_tqt3/tqfile.h b/qtinterface/interface_tqt3/tqfile.h deleted file mode 100644 index 3bdbc63..0000000 --- a/qtinterface/interface_tqt3/tqfile.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQFILE_H -#define TQT_TQFILE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFile class -// For Qt3, no changes are needed - -#include <ntqfile.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFile class -// For Qt4, some changes are needed - -#include <Qt/ntqfile.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFILE_H */ diff --git a/qtinterface/interface_tqt3/tqfiledialog.cpp b/qtinterface/interface_tqt3/tqfiledialog.cpp deleted file mode 100644 index 63c5c42..0000000 --- a/qtinterface/interface_tqt3/tqfiledialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqfiledialog.h> diff --git a/qtinterface/interface_tqt3/tqfiledialog.h b/qtinterface/interface_tqt3/tqfiledialog.h deleted file mode 100644 index ac9d7b9..0000000 --- a/qtinterface/interface_tqt3/tqfiledialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQFILEDIALOG_H -#define TQT_TQFILEDIALOG_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFileDialog class -// For Qt3, no changes are needed - -#include <ntqfiledialog.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFileDialog class -// For Qt4, some changes are needed - -#include <Qt/q3filedialog.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFILEDIALOG_H */ diff --git a/qtinterface/interface_tqt3/tqfileinfo.cpp b/qtinterface/interface_tqt3/tqfileinfo.cpp deleted file mode 100644 index 969b77b..0000000 --- a/qtinterface/interface_tqt3/tqfileinfo.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqfileinfo.h> - -#ifdef USE_QT4 - -QFileInfo::operator QFileInfo *() const { - return const_cast<QFileInfo *>(this); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqfileinfo.h b/qtinterface/interface_tqt3/tqfileinfo.h deleted file mode 100644 index f2689cd..0000000 --- a/qtinterface/interface_tqt3/tqfileinfo.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQFILEINFO_H -#define TQT_TQFILEINFO_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFileInfo class -// For Qt3, no changes are needed - -#include <ntqfileinfo.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFileInfo class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqfileinfo.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFILEINFO_H */ diff --git a/qtinterface/interface_tqt3/tqfocusdata.cpp b/qtinterface/interface_tqt3/tqfocusdata.cpp deleted file mode 100644 index ee03966..0000000 --- a/qtinterface/interface_tqt3/tqfocusdata.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqfocusdata.h> diff --git a/qtinterface/interface_tqt3/tqfocusdata.h b/qtinterface/interface_tqt3/tqfocusdata.h deleted file mode 100644 index 98591ae..0000000 --- a/qtinterface/interface_tqt3/tqfocusdata.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQFOCUSDATA_H -#define TQT_TQFOCUSDATA_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFocusData class -// For Qt3, no changes are needed - -#include <ntqfocusdata.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFocusData class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQFOCUSDATA_H */ diff --git a/qtinterface/interface_tqt3/tqfont.cpp b/qtinterface/interface_tqt3/tqfont.cpp deleted file mode 100644 index 1006d24..0000000 --- a/qtinterface/interface_tqt3/tqfont.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqfont.h> diff --git a/qtinterface/interface_tqt3/tqfont.h b/qtinterface/interface_tqt3/tqfont.h deleted file mode 100644 index 9d478e7..0000000 --- a/qtinterface/interface_tqt3/tqfont.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQFONT_H -#define TQT_TQFONT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFont class -// For Qt3, no changes are needed - -#include <ntqfont.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFont class -// For Qt4, some changes are needed - -#include <Qt/ntqfont.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFONT_H */ diff --git a/qtinterface/interface_tqt3/tqfontdatabase.cpp b/qtinterface/interface_tqt3/tqfontdatabase.cpp deleted file mode 100644 index 990d1bf..0000000 --- a/qtinterface/interface_tqt3/tqfontdatabase.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqfontdatabase.h> diff --git a/qtinterface/interface_tqt3/tqfontdatabase.h b/qtinterface/interface_tqt3/tqfontdatabase.h deleted file mode 100644 index f71a238..0000000 --- a/qtinterface/interface_tqt3/tqfontdatabase.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQFONTDATABASE_H -#define TQT_TQFONTDATABASE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFontDatabase class -// For Qt3, no changes are needed - -#include <ntqfontdatabase.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFontDatabase class -// For Qt4, some changes are needed - -#include <Qt/ntqfontdatabase.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFONTDATABASE_H */ diff --git a/qtinterface/interface_tqt3/tqfontdialog.cpp b/qtinterface/interface_tqt3/tqfontdialog.cpp deleted file mode 100644 index b30f10c..0000000 --- a/qtinterface/interface_tqt3/tqfontdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqfontdialog.h> diff --git a/qtinterface/interface_tqt3/tqfontdialog.h b/qtinterface/interface_tqt3/tqfontdialog.h deleted file mode 100644 index d57b7ec..0000000 --- a/qtinterface/interface_tqt3/tqfontdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQFONTDIALOG_H -#define TQT_TQFONTDIALOG_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFontDialog class -// For Qt3, no changes are needed - -#include <ntqfontdialog.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFontDialog class -// For Qt4, some changes are needed - -#include <Qt/ntqfontdialog.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFONTDIALOG_H */ diff --git a/qtinterface/interface_tqt3/tqfontinfo.cpp b/qtinterface/interface_tqt3/tqfontinfo.cpp deleted file mode 100644 index 6f92077..0000000 --- a/qtinterface/interface_tqt3/tqfontinfo.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqfontinfo.h> diff --git a/qtinterface/interface_tqt3/tqfontinfo.h b/qtinterface/interface_tqt3/tqfontinfo.h deleted file mode 100644 index a18c9fb..0000000 --- a/qtinterface/interface_tqt3/tqfontinfo.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQFONTINFO_H -#define TQT_TQFONTINFO_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFontInfo class -// For Qt3, no changes are needed - -#include <ntqfontinfo.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFontInfo class -// For Qt4, some changes are needed - -#include <Qt/ntqfontinfo.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFONTINFO_H */ diff --git a/qtinterface/interface_tqt3/tqfontmetrics.cpp b/qtinterface/interface_tqt3/tqfontmetrics.cpp deleted file mode 100644 index 5dab070..0000000 --- a/qtinterface/interface_tqt3/tqfontmetrics.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqfontmetrics.h> diff --git a/qtinterface/interface_tqt3/tqfontmetrics.h b/qtinterface/interface_tqt3/tqfontmetrics.h deleted file mode 100644 index aa81b54..0000000 --- a/qtinterface/interface_tqt3/tqfontmetrics.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQFONTMETRICS_H -#define TQT_TQFONTMETRICS_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFontMetrics class -// For Qt3, no changes are needed - -#include <ntqfontmetrics.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFontMetrics class -// For Qt4, some changes are needed - -#include <Qt/ntqfontmetrics.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFONTMETRICS_H */ diff --git a/qtinterface/interface_tqt3/tqframe.cpp b/qtinterface/interface_tqt3/tqframe.cpp deleted file mode 100644 index 776350a..0000000 --- a/qtinterface/interface_tqt3/tqframe.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqframe.h> diff --git a/qtinterface/interface_tqt3/tqframe.h b/qtinterface/interface_tqt3/tqframe.h deleted file mode 100644 index a0ac1d7..0000000 --- a/qtinterface/interface_tqt3/tqframe.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQFRAME_H -#define TQT_TQFRAME_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFrame class -// For Qt3, no changes are needed - -#include <ntqframe.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFrame class -// For Qt4, some changes are needed - -#include <Qt/ntqframe.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFRAME_H */ diff --git a/qtinterface/interface_tqt3/tqftp.cpp b/qtinterface/interface_tqt3/tqftp.cpp deleted file mode 100644 index 92914fc..0000000 --- a/qtinterface/interface_tqt3/tqftp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqftp.h> diff --git a/qtinterface/interface_tqt3/tqftp.h b/qtinterface/interface_tqt3/tqftp.h deleted file mode 100644 index de0e9cd..0000000 --- a/qtinterface/interface_tqt3/tqftp.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQFTP_H -#define TQT_TQFTP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QFtp class -// For Qt3, no changes are needed - -#include <ntqftp.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFtp class -// For Qt4, some changes are needed - -#include <Qt/ntqftp.h> - -#endif // USE_QT4 - -#endif /* TQT_TQFTP_H */ diff --git a/qtinterface/interface_tqt3/tqgarray.cpp b/qtinterface/interface_tqt3/tqgarray.cpp deleted file mode 100644 index 4e126c9..0000000 --- a/qtinterface/interface_tqt3/tqgarray.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqgarray.h> diff --git a/qtinterface/interface_tqt3/tqgarray.h b/qtinterface/interface_tqt3/tqgarray.h deleted file mode 100644 index d819328..0000000 --- a/qtinterface/interface_tqt3/tqgarray.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQGARRAY_H -#define TQT_TQGARRAY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGArray class -// For Qt3, no changes are needed - -#include <ntqgarray.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGArray class -// For Qt4, some changes are needed - -#include <Qt/q3garray.h> - -#endif // USE_QT4 - -#endif /* TQT_TQGARRAY_H */ diff --git a/qtinterface/interface_tqt3/tqgb18030codec.cpp b/qtinterface/interface_tqt3/tqgb18030codec.cpp deleted file mode 100644 index 1772ee2..0000000 --- a/qtinterface/interface_tqt3/tqgb18030codec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqgb18030codec.h> diff --git a/qtinterface/interface_tqt3/tqgb18030codec.h b/qtinterface/interface_tqt3/tqgb18030codec.h deleted file mode 100644 index 899e336..0000000 --- a/qtinterface/interface_tqt3/tqgb18030codec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQGB18030CODEC_H -#define TQT_TQGB18030CODEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGb18030Codec class -// For Qt3, no changes are needed - -#include <ntqgb18030codec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGb18030Codec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQGB18030CODEC_H */ diff --git a/qtinterface/interface_tqt3/tqgbkcodec.h b/qtinterface/interface_tqt3/tqgbkcodec.h deleted file mode 100644 index c7521ad..0000000 --- a/qtinterface/interface_tqt3/tqgbkcodec.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -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_TQGBKCODEC_H -#define TQT_TQGBKCODEC_H - -#include <tqt.h> - -// Pull in all qgb18030codec defines - -#include <ntqgb18030codec.h> - -#endif /* TQT_TQGBKCODEC_H */ diff --git a/qtinterface/interface_tqt3/tqgcache.cpp b/qtinterface/interface_tqt3/tqgcache.cpp deleted file mode 100644 index 4247da8..0000000 --- a/qtinterface/interface_tqt3/tqgcache.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqgcache.h> diff --git a/qtinterface/interface_tqt3/tqgcache.h b/qtinterface/interface_tqt3/tqgcache.h deleted file mode 100644 index 15366ef..0000000 --- a/qtinterface/interface_tqt3/tqgcache.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQGCACHE_H -#define TQT_TQGCACHE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGCache class -// For Qt3, no changes are needed - -#include <ntqgcache.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGCache class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQGCACHE_H */ diff --git a/qtinterface/interface_tqt3/tqgdict.cpp b/qtinterface/interface_tqt3/tqgdict.cpp deleted file mode 100644 index 70032f0..0000000 --- a/qtinterface/interface_tqt3/tqgdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqgdict.h> diff --git a/qtinterface/interface_tqt3/tqgdict.h b/qtinterface/interface_tqt3/tqgdict.h deleted file mode 100644 index 05042b2..0000000 --- a/qtinterface/interface_tqt3/tqgdict.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQGDICT_H -#define TQT_TQGDICT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGDict class -// For Qt3, no changes are needed - -#include <ntqgdict.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGDict class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQGDICT_H */ diff --git a/qtinterface/interface_tqt3/tqgeneric.h b/qtinterface/interface_tqt3/tqgeneric.h deleted file mode 100644 index 504c3a2..0000000 --- a/qtinterface/interface_tqt3/tqgeneric.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - -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_TQGENERIC_H -#define TQT_TQGENERIC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -#include <ntqgeneric.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#endif // USE_QT4 - -#endif /* TQT_TQGENERIC_H */ diff --git a/qtinterface/interface_tqt3/tqgif.h b/qtinterface/interface_tqt3/tqgif.h deleted file mode 100644 index b39913e..0000000 --- a/qtinterface/interface_tqt3/tqgif.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQGIF_H -#define TQT_TQGIF_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Include the Qt3 gif defines - -#include <ntqgif.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Include the Qt4 gif defines - -#include <ntqgif.h> - -#endif // USE_QT4 - -#endif /* TQT_TQGIF_H */ diff --git a/qtinterface/interface_tqt3/tqgl.cpp b/qtinterface/interface_tqt3/tqgl.cpp deleted file mode 100644 index 3ec7177..0000000 --- a/qtinterface/interface_tqt3/tqgl.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* - -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. - -*/ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include <tqt.h> - -#ifdef HAVE_OPENGL -#include <ntqgl.h> -#endif diff --git a/qtinterface/interface_tqt3/tqgl.h b/qtinterface/interface_tqt3/tqgl.h deleted file mode 100644 index b5b5481..0000000 --- a/qtinterface/interface_tqt3/tqgl.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQGL_H -#define TQT_TQGL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGL class -// For Qt3, no changes are needed - -#include <ntqgl.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGL class -// For Qt4, some changes are needed - -#include <Qt/ntqgl.h> - -#endif // USE_QT4 - -#endif /* TQT_TQGL_H */ diff --git a/qtinterface/interface_tqt3/tqglcolormap.cpp b/qtinterface/interface_tqt3/tqglcolormap.cpp deleted file mode 100644 index be54520..0000000 --- a/qtinterface/interface_tqt3/tqglcolormap.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqglcolormap.h> diff --git a/qtinterface/interface_tqt3/tqglcolormap.h b/qtinterface/interface_tqt3/tqglcolormap.h deleted file mode 100644 index a3f5056..0000000 --- a/qtinterface/interface_tqt3/tqglcolormap.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQGLCOLORMAP_H -#define TQT_TQGLCOLORMAP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGLColormap class -// For Qt3, no changes are needed - -#include <ntqglcolormap.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGLColormap class -// For Qt4, some changes are needed - -#include <Qt/ntqglcolormap.h> - -#endif // USE_QT4 - -#endif /* TQT_TQGLCOLORMAP_H */ diff --git a/qtinterface/interface_tqt3/tqglist.cpp b/qtinterface/interface_tqt3/tqglist.cpp deleted file mode 100644 index 1a8d8c4..0000000 --- a/qtinterface/interface_tqt3/tqglist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqglist.h> diff --git a/qtinterface/interface_tqt3/tqglist.h b/qtinterface/interface_tqt3/tqglist.h deleted file mode 100644 index 14e17a6..0000000 --- a/qtinterface/interface_tqt3/tqglist.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQGLIST_H -#define TQT_TQGLIST_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGList class -// For Qt3, no changes are needed - -#include <ntqglist.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGList class -// For Qt4, some changes are needed - -#include <Qt/q3glist.h> - -#endif // USE_QT4 - -#endif /* TQT_TQGLIST_H */ diff --git a/qtinterface/interface_tqt3/tqglobal.h b/qtinterface/interface_tqt3/tqglobal.h deleted file mode 100644 index c1deb40..0000000 --- a/qtinterface/interface_tqt3/tqglobal.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQGLOBAL_H -#define TQT_TQGLOBAL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Pull in all Qt3 global defines - -#include <ntqglobal.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in all Qt4 global defines - -#include <Qt/ntqglobal.h> - -#endif // USE_QT4 - -#endif /* TQT_TQGLOBAL_H */ diff --git a/qtinterface/interface_tqt3/tqgplugin.cpp b/qtinterface/interface_tqt3/tqgplugin.cpp deleted file mode 100644 index eeb97b8..0000000 --- a/qtinterface/interface_tqt3/tqgplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqgplugin.h> diff --git a/qtinterface/interface_tqt3/tqgplugin.h b/qtinterface/interface_tqt3/tqgplugin.h deleted file mode 100644 index aea62d3..0000000 --- a/qtinterface/interface_tqt3/tqgplugin.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQGPLUGIN_H -#define TQT_TQGPLUGIN_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGPlugin class -// For Qt3, no changes are needed - -#include <ntqgplugin.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGPlugin class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQGPLUGIN_H */ diff --git a/qtinterface/interface_tqt3/tqgrid.cpp b/qtinterface/interface_tqt3/tqgrid.cpp deleted file mode 100644 index 458475c..0000000 --- a/qtinterface/interface_tqt3/tqgrid.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqgrid.h> diff --git a/qtinterface/interface_tqt3/tqgrid.h b/qtinterface/interface_tqt3/tqgrid.h deleted file mode 100644 index 00ac0fe..0000000 --- a/qtinterface/interface_tqt3/tqgrid.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQGRID_H -#define TQT_TQGRID_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGrid class -// For Qt3, some changes are needed - -#include <ntqgrid.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGrid class -// For Qt4, some changes are needed - -#include <Qt/q3grid.h> - -#endif // USE_QT4 - -#endif /* TQT_TQGRID_H */ diff --git a/qtinterface/interface_tqt3/tqgridview.cpp b/qtinterface/interface_tqt3/tqgridview.cpp deleted file mode 100644 index 8395dbd..0000000 --- a/qtinterface/interface_tqt3/tqgridview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqgridview.h> diff --git a/qtinterface/interface_tqt3/tqgridview.h b/qtinterface/interface_tqt3/tqgridview.h deleted file mode 100644 index c24a64a..0000000 --- a/qtinterface/interface_tqt3/tqgridview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQGRIDVIEW_H -#define TQT_TQGRIDVIEW_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGridView class -// For Qt3, some changes are needed - -#include <ntqgridview.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGridView class -// For Qt4, no changes are needed - -#include <Qt/q3gridview.h> - -#endif // USE_QT4 - -#endif /* TQT_TQGRIDVIEW_H */ diff --git a/qtinterface/interface_tqt3/tqgroupbox.cpp b/qtinterface/interface_tqt3/tqgroupbox.cpp deleted file mode 100644 index d936620..0000000 --- a/qtinterface/interface_tqt3/tqgroupbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqgroupbox.h> diff --git a/qtinterface/interface_tqt3/tqgroupbox.h b/qtinterface/interface_tqt3/tqgroupbox.h deleted file mode 100644 index 0043060..0000000 --- a/qtinterface/interface_tqt3/tqgroupbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQGROUPBOX_H -#define TQT_TQGROUPBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGroupBox class -// For Qt3, no changes are needed - -#include <ntqgroupbox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGroupBox class -// For Qt4, some changes are needed - -#include <Qt/ntqgroupbox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQGROUPBOX_H */ diff --git a/qtinterface/interface_tqt3/tqguardedptr.cpp b/qtinterface/interface_tqt3/tqguardedptr.cpp deleted file mode 100644 index 15c4647..0000000 --- a/qtinterface/interface_tqt3/tqguardedptr.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqguardedptr.h> diff --git a/qtinterface/interface_tqt3/tqguardedptr.h b/qtinterface/interface_tqt3/tqguardedptr.h deleted file mode 100644 index d79ffe5..0000000 --- a/qtinterface/interface_tqt3/tqguardedptr.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQGUARDEDPTR_H -#define TQT_TQGUARDEDPTR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGuardedPtr class -// For Qt3, no changes are needed - -#include <ntqguardedptr.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGuardedPtr class -// For Qt4, some changes are needed - -#include <Qt/qpointer.h> - -#endif // USE_QT4 - -#endif /* TQT_TQGUARDEDPTR_H */ diff --git a/qtinterface/interface_tqt3/tqgvector.cpp b/qtinterface/interface_tqt3/tqgvector.cpp deleted file mode 100644 index c05beba..0000000 --- a/qtinterface/interface_tqt3/tqgvector.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqgvector.h> diff --git a/qtinterface/interface_tqt3/tqgvector.h b/qtinterface/interface_tqt3/tqgvector.h deleted file mode 100644 index ec27d59..0000000 --- a/qtinterface/interface_tqt3/tqgvector.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQGVECTOR_H -#define TQT_TQGVECTOR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QGVector class -// For Qt3, no changes are needed - -#include <ntqgvector.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGVector class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQGVECTOR_H */ diff --git a/qtinterface/interface_tqt3/tqhbox.cpp b/qtinterface/interface_tqt3/tqhbox.cpp deleted file mode 100644 index 9dbd3bf..0000000 --- a/qtinterface/interface_tqt3/tqhbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqhbox.h> diff --git a/qtinterface/interface_tqt3/tqhbox.h b/qtinterface/interface_tqt3/tqhbox.h deleted file mode 100644 index 444c707..0000000 --- a/qtinterface/interface_tqt3/tqhbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQHBOX_H -#define TQT_TQHBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QHBox class -// For Qt3, no changes are needed - -#include <ntqhbox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHBox class -// For Qt4, some changes are needed - -#include <Qt/q3hbox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQHBOX_H */ diff --git a/qtinterface/interface_tqt3/tqhbuttongroup.cpp b/qtinterface/interface_tqt3/tqhbuttongroup.cpp deleted file mode 100644 index 14f3615..0000000 --- a/qtinterface/interface_tqt3/tqhbuttongroup.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqhbuttongroup.h> diff --git a/qtinterface/interface_tqt3/tqhbuttongroup.h b/qtinterface/interface_tqt3/tqhbuttongroup.h deleted file mode 100644 index a17a381..0000000 --- a/qtinterface/interface_tqt3/tqhbuttongroup.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQHBUTTONGROUP_H -#define TQT_TQHBUTTONGROUP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QHButtonGroup class -// For Qt3, no changes are needed - -#include <ntqhbuttongroup.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHButtonGroup class -// For Qt4, some changes are needed - -#include <Qt/q3buttongroup.h> - -#endif // USE_QT4 - -#endif /* TQT_TQHBUTTONGROUP_H */ diff --git a/qtinterface/interface_tqt3/tqheader.cpp b/qtinterface/interface_tqt3/tqheader.cpp deleted file mode 100644 index d9e9ff3..0000000 --- a/qtinterface/interface_tqt3/tqheader.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqheader.h> diff --git a/qtinterface/interface_tqt3/tqheader.h b/qtinterface/interface_tqt3/tqheader.h deleted file mode 100644 index 089c1ad..0000000 --- a/qtinterface/interface_tqt3/tqheader.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQHEADER_H -#define TQT_TQHEADER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QHeader class -// For Qt3, no changes are needed - -#include <ntqheader.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHeader class -// For Qt4, some changes are needed - -#include <Qt/q3header.h> - -#endif // USE_QT4 - -#endif /* TQT_TQHEADER_H */ diff --git a/qtinterface/interface_tqt3/tqhgroupbox.cpp b/qtinterface/interface_tqt3/tqhgroupbox.cpp deleted file mode 100644 index ab3a8d5..0000000 --- a/qtinterface/interface_tqt3/tqhgroupbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqhgroupbox.h> diff --git a/qtinterface/interface_tqt3/tqhgroupbox.h b/qtinterface/interface_tqt3/tqhgroupbox.h deleted file mode 100644 index 88c8518..0000000 --- a/qtinterface/interface_tqt3/tqhgroupbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQHGROUPBOX_H -#define TQT_TQHGROUPBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QHGroupBox class -// For Qt3, no changes are needed - -#include <ntqhgroupbox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHGroupBox class -// For Qt4, some changes are needed - -#include <Qt/q3hgroupbox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQHGROUPBOX_H */ diff --git a/qtinterface/interface_tqt3/tqhostaddress.cpp b/qtinterface/interface_tqt3/tqhostaddress.cpp deleted file mode 100644 index f672239..0000000 --- a/qtinterface/interface_tqt3/tqhostaddress.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqhostaddress.h> diff --git a/qtinterface/interface_tqt3/tqhostaddress.h b/qtinterface/interface_tqt3/tqhostaddress.h deleted file mode 100644 index 51044c3..0000000 --- a/qtinterface/interface_tqt3/tqhostaddress.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQHOSTADDRESS_H -#define TQT_TQHOSTADDRESS_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QHostAddress class -// For Qt3, no changes are needed - -#include <ntqhostaddress.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHostAddress class -// For Qt4, some changes are needed - -#include <Qt/ntqhostaddress.h> - -#endif // USE_QT4 - -#endif /* TQT_TQHOSTADDRESS_H */ diff --git a/qtinterface/interface_tqt3/tqhttp.cpp b/qtinterface/interface_tqt3/tqhttp.cpp deleted file mode 100644 index 4aa08d8..0000000 --- a/qtinterface/interface_tqt3/tqhttp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqhttp.h> diff --git a/qtinterface/interface_tqt3/tqhttp.h b/qtinterface/interface_tqt3/tqhttp.h deleted file mode 100644 index a48a2e2..0000000 --- a/qtinterface/interface_tqt3/tqhttp.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQHTTP_H -#define TQT_TQHTTP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QHttp class -// For Qt3, no changes are needed - -#include <ntqhttp.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHttp class -// For Qt4, some changes are needed - -#include <Qt/q3http.h> - -#endif // USE_QT4 - -#endif /* TQT_TQHTTP_H */ diff --git a/qtinterface/interface_tqt3/tqiconset.cpp b/qtinterface/interface_tqt3/tqiconset.cpp deleted file mode 100644 index dda650c..0000000 --- a/qtinterface/interface_tqt3/tqiconset.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqiconset.h> - -#ifdef USE_QT4 - -#include "Qt/q3cleanuphandler.h" - -static TQIconFactory *defaultFac = 0; -static Q3SingleCleanupHandler<TQIconFactory> q_cleanup_icon_factory; - -/*! \class TQIconFactory - \ingroup advanced - \brief The TQIconFactory class is used to create pixmaps for a QIconSet. - - By reimplementing createPixmap(), you can override QIconSet's - default algorithm for computing pixmaps not supplied by the user. - - Call setAutoDelete(TRUE) if you want the factory to automatically - delete itself when it is no longer needed by QIconSet. - - \sa QIconSet -*/ - -/*! - Constructs an icon factory. -*/ -TQIconFactory::TQIconFactory() - : autoDel( 0 ) -{ - count = 0; -} - -/*! - Destroys the object and frees any allocated resources. -*/ -TQIconFactory::~TQIconFactory() -{ -} - -/*! - Ceates a pixmap for \a iconSet with a certain \a size, \a mode, and - \a state. Returns 0 if the default QIconSet algorithm should be - used to create a pixmap that wasn't supplied by the user. - - It is the caller's responsibility to delete the returned pixmap. - - The default implementation always returns 0. -*/ -QPixmap *TQIconFactory::createPixmap( const QIconSet& /* iconSet */, - QIconSet::Size /* size */, - QIconSet::Mode /* mode */, - QIconSet::State /* state */ ) -{ - return 0; -} - -/*! - \fn void TQIconFactory::setAutoDelete( bool autoDelete ) - - If \a autoDelete is TRUE, sets the icon factory to automatically - delete itself when it is no longer referenced by any QIconSet and - isn't the default factory. If \a autoDelete is FALSE (the default) - auto-deletion is disabled. - - \sa autoDelete(), defaultFactory() -*/ - -/*! - \fn bool TQIconFactory::autoDelete() const - - Returns TRUE if auto-deletion is enabled; otherwise returns FALSE. - - \sa setAutoDelete() -*/ - -/*! - Returns the default icon factory. - - \sa installDefaultFactory() -*/ -TQIconFactory *TQIconFactory::defaultFactory() -{ - if ( !defaultFac ) { - defaultFac = new TQIconFactory; - defaultFac->setAutoDelete( TRUE ); - defaultFac->ref(); - q_cleanup_icon_factory.set( &defaultFac ); - } - return defaultFac; -} - -/*! - Replaces the default icon factory with \a factory. -*/ -void TQIconFactory::installDefaultFactory( TQIconFactory *factory ) -{ - if ( !factory ) - return; - - factory->ref(); - if ( defaultFac && defaultFac->deref() && defaultFac->autoDelete() ) - delete defaultFac; - defaultFac = factory; - q_cleanup_icon_factory.set( &defaultFac ); -} - -/** - A little do-nothing function to allow Qt3 code compatibility. -*/ -void QIconSet::installIconFactory( TQIconFactory *factory ) -{ - #warning "QIconSet::installIconFactory( QIconFactory *factory ) unimplemented!" -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqiconset.h b/qtinterface/interface_tqt3/tqiconset.h deleted file mode 100644 index 7f280db..0000000 --- a/qtinterface/interface_tqt3/tqiconset.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - -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_TQICONSET_H -#define TQT_TQICONSET_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QAccel class -// For Qt3, no changes are needed - -#include <ntqiconset.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAccel class -// For Qt4, some changes are needed - -#include <tqt4/Qt/qicon.h> -#include <Qt/q3shared.h> - -class TQIconFactory : private Q3Shared -{ -public: - TQIconFactory(); - virtual ~TQIconFactory(); - - virtual QPixmap *createPixmap( const QIconSet& iconSet, QIconSet::Size size, - QIconSet::Mode mode, QIconSet::State state ); - void setAutoDelete( bool autoDelete ) { autoDel = autoDelete; } - bool autoDelete() const { return autoDel; } - - static TQIconFactory *defaultFactory(); - static void installDefaultFactory( TQIconFactory *factory ); - -private: -#if defined(Q_DISABLE_COPY) - TQIconFactory( const TQIconFactory & ); - TQIconFactory &operator=( const TQIconFactory & ); -#endif - - uint autoDel : 1; - uint unused : 31; -}; - -#endif // USE_QT4 - -#endif /* TQT_TQICONSET_H */ diff --git a/qtinterface/interface_tqt3/tqiconview.cpp b/qtinterface/interface_tqt3/tqiconview.cpp deleted file mode 100644 index d4be3d6..0000000 --- a/qtinterface/interface_tqt3/tqiconview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqiconview.h> diff --git a/qtinterface/interface_tqt3/tqiconview.h b/qtinterface/interface_tqt3/tqiconview.h deleted file mode 100644 index 388d274..0000000 --- a/qtinterface/interface_tqt3/tqiconview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQICONVIEW_H -#define TQT_TQICONVIEW_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QIconView class -// For Qt3, no changes are needed - -#include <ntqiconview.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QIconView class -// For Qt4, some changes are needed - -#include <Qt/q3iconview.h> - -#endif // USE_QT4 - -#endif /* TQT_TQICONVIEW_H */ diff --git a/qtinterface/interface_tqt3/tqimage.cpp b/qtinterface/interface_tqt3/tqimage.cpp deleted file mode 100644 index 64dd84b..0000000 --- a/qtinterface/interface_tqt3/tqimage.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqimage.h> - -#ifdef USE_QT4 - -QRgb *QImage::ptrColorTable() const { - return colorTable().data(); -} - -TQImageIO::TQImageIO() { - m_imageReader = new QImageReader(); - m_imageWriter = new QImageWriter(); -} - -TQImageIO::TQImageIO( QIODevice *ioDevice, const char *format ) { - m_imageReader = new QImageReader(ioDevice, format); - m_imageWriter = new QImageWriter(ioDevice, format); -} - -TQImageIO::TQImageIO( const QString &fileName, const char* format ) { - m_imageReader = new QImageReader(fileName, format); - m_imageWriter = new QImageWriter(fileName, format); -} -TQImageIO::~TQImageIO() { - delete m_imageReader; - delete m_imageWriter; -} - -bool TQImageIO::read() { - m_currentImage = m_imageReader->read(); - if (m_currentImage.isNull() == true) - return false; - return true; -} - -bool TQImageIO::write() { - return m_imageWriter->write(m_currentImage); -} - -const QImage &TQImageIO::image() const { - return m_currentImage; -} - -void TQImageIO::setImage( const QImage & image ) { - m_currentImage = image; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqimage.h b/qtinterface/interface_tqt3/tqimage.h deleted file mode 100644 index ba0ada7..0000000 --- a/qtinterface/interface_tqt3/tqimage.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - -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_TQIMAGE_H -#define TQT_TQIMAGE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QImage class -// For Qt3, no changes are needed - -#include <ntqimage.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QImage class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqimage.h> -#include <Qt/qimagereader.h> -#include <Qt/qimagewriter.h> - -class TQImageIO { -public: - TQImageIO(); - TQImageIO( QIODevice *ioDevice, const char *format ); - TQImageIO( const QString &fileName, const char* format ); - ~TQImageIO(); - - bool read(); - bool write(); - - const QImage &image() const; - void setImage( const QImage & ); - -protected: - QImageReader *m_imageReader; - QImageWriter *m_imageWriter; - - QImage m_currentImage; -}; - -#endif // USE_QT4 - -#endif /* TQT_TQIMAGE_H */ diff --git a/qtinterface/interface_tqt3/tqimageformatplugin.cpp b/qtinterface/interface_tqt3/tqimageformatplugin.cpp deleted file mode 100644 index 95e6866..0000000 --- a/qtinterface/interface_tqt3/tqimageformatplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqimageformatplugin.h> diff --git a/qtinterface/interface_tqt3/tqimageformatplugin.h b/qtinterface/interface_tqt3/tqimageformatplugin.h deleted file mode 100644 index d536697..0000000 --- a/qtinterface/interface_tqt3/tqimageformatplugin.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQIMAGEFORMATPLUGIN_H -#define TQT_TQIMAGEFORMATPLUGIN_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QImageFormatPlugin class -// For Qt3, no changes are needed - -#include <ntqimageformatplugin.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QImageFormatPlugin class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQIMAGEFORMATPLUGIN_H */ diff --git a/qtinterface/interface_tqt3/tqinputcontext.cpp b/qtinterface/interface_tqt3/tqinputcontext.cpp deleted file mode 100644 index fbc79eb..0000000 --- a/qtinterface/interface_tqt3/tqinputcontext.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqinputcontext.h> diff --git a/qtinterface/interface_tqt3/tqinputcontext.h b/qtinterface/interface_tqt3/tqinputcontext.h deleted file mode 100644 index 97c773b..0000000 --- a/qtinterface/interface_tqt3/tqinputcontext.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQINPUTCONTEXT_H -#define TQT_TQINPUTCONTEXT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QInputContext class -// For Qt3, no changes are needed - -#include <ntqinputcontext.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QInputContext class -// For Qt4, some changes are needed - -#include <Qt/ntqinputcontext.h> - -#endif // USE_QT4 - -#endif /* TQT_TQINPUTCONTEXT_H */ diff --git a/qtinterface/interface_tqt3/tqinputcontextfactory.cpp b/qtinterface/interface_tqt3/tqinputcontextfactory.cpp deleted file mode 100644 index 8180708..0000000 --- a/qtinterface/interface_tqt3/tqinputcontextfactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqinputcontextfactory.h> diff --git a/qtinterface/interface_tqt3/tqinputcontextfactory.h b/qtinterface/interface_tqt3/tqinputcontextfactory.h deleted file mode 100644 index 0b986d3..0000000 --- a/qtinterface/interface_tqt3/tqinputcontextfactory.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQINPUTCONTEXTFACTORY_H -#define TQT_TQINPUTCONTEXTFACTORY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QInputContextFactory class -// For Qt3, no changes are needed - -#include <ntqinputcontextfactory.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QInputContextFactory class -// For Qt4, some changes are needed - -#include <Qt/ntqinputcontextfactory.h> - -#endif // USE_QT4 - -#endif /* TQT_TQINPUTCONTEXTFACTORY_H */ diff --git a/qtinterface/interface_tqt3/tqinputdialog.cpp b/qtinterface/interface_tqt3/tqinputdialog.cpp deleted file mode 100644 index 939c594..0000000 --- a/qtinterface/interface_tqt3/tqinputdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqinputdialog.h> diff --git a/qtinterface/interface_tqt3/tqinputdialog.h b/qtinterface/interface_tqt3/tqinputdialog.h deleted file mode 100644 index 8a3b18b..0000000 --- a/qtinterface/interface_tqt3/tqinputdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQINPUTDIALOG_H -#define TQT_TQINPUTDIALOG_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QInputDialog class -// For Qt3, no changes are needed - -#include <ntqinputdialog.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QInputDialog class -// For Qt4, some changes are needed - -#include <Qt/ntqinputdialog.h> - -#endif // USE_QT4 - -#endif /* TQT_TQINPUTDIALOG_H */ diff --git a/qtinterface/interface_tqt3/tqintcache.cpp b/qtinterface/interface_tqt3/tqintcache.cpp deleted file mode 100644 index 244619b..0000000 --- a/qtinterface/interface_tqt3/tqintcache.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqintcache.h> diff --git a/qtinterface/interface_tqt3/tqintcache.h b/qtinterface/interface_tqt3/tqintcache.h deleted file mode 100644 index 96a6609..0000000 --- a/qtinterface/interface_tqt3/tqintcache.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQINTCACHE_H -#define TQT_TQINTCACHE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QIntCache class -// For Qt3, no changes are needed - -#include <ntqintcache.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QIntCache class -// For Qt4, some changes are needed - -#include <Qt/q3intcache.h> - -#endif // USE_QT4 - -#endif /* TQT_TQINTCACHE_H */ diff --git a/qtinterface/interface_tqt3/tqintdict.cpp b/qtinterface/interface_tqt3/tqintdict.cpp deleted file mode 100644 index 84c2125..0000000 --- a/qtinterface/interface_tqt3/tqintdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqintdict.h> diff --git a/qtinterface/interface_tqt3/tqintdict.h b/qtinterface/interface_tqt3/tqintdict.h deleted file mode 100644 index 8df3e4a..0000000 --- a/qtinterface/interface_tqt3/tqintdict.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQINTDICT_H -#define TQT_TQINTDICT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QIntDict class -// For Qt3, no changes are needed - -#include <ntqintdict.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QIntDict class -// For Qt4, some changes are needed - -#include <Qt/q3intdict.h> - -#endif // USE_QT4 - -#endif /* TQT_TQINTDICT_H */ diff --git a/qtinterface/interface_tqt3/tqinterlacestyle.cpp b/qtinterface/interface_tqt3/tqinterlacestyle.cpp deleted file mode 100644 index 4cc1f7e..0000000 --- a/qtinterface/interface_tqt3/tqinterlacestyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -//#include <ntqinterlacestyle.h> diff --git a/qtinterface/interface_tqt3/tqinterlacestyle.h b/qtinterface/interface_tqt3/tqinterlacestyle.h deleted file mode 100644 index e5e8465..0000000 --- a/qtinterface/interface_tqt3/tqinterlacestyle.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - -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_TQINTERLACESTYLE_H -#define TQT_TQINTERLACESTYLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QInterlaceStyle class -// For Qt3, no changes are needed - -#include <ntqinterlacestyle.h> - -#error "Not ported to new API as of Qt3!" - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QInterlaceStyle class -// For Qt4, no changes are needed - -#include <Qt/ntqinterlacestyle.h> - -#error "Not ported to new API as of Qt4!" - -#endif // USE_QT4 - -#endif /* TQT_TQINTERLACESTYLE_H */ diff --git a/qtinterface/interface_tqt3/tqiodevice.cpp b/qtinterface/interface_tqt3/tqiodevice.cpp deleted file mode 100644 index 2532eef..0000000 --- a/qtinterface/interface_tqt3/tqiodevice.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqiodevice.h> - -#ifdef USE_QT4 - -void QIODevice::setState( int s ) { - if (s == IO_Open) { - if (isOpen() == false) { - open(openMode()); - } - } -} - -void QIODevice::setFlags( int f ) { - setOpenMode((OpenMode)f); -} - -void QIODevice::setStatus( int s ) { - #warning "QIODevice::setStatus is unimplemented!" -} - -// TQIODevice::TQIODevice() : QIODevice() {} -// -// qint64 TQIODevice::readData(char *data, qint64 maxlen) { -// return read(data, maxlen); -// } -// -// qint64 TQIODevice::writeData(const char *data, qint64 len) { -// return write(data, len); -// } - -// qint64 QIODevice::readData(char *data, qint64 maxlen) { -// return read(data, maxlen); -// } -// -// qint64 QIODevice::writeData(const char *data, qint64 len) { -// return write(data, len); -// } - -qint64 QIODevice::readLine(QString & s, qint64 maxlen) { - qint64 ret; - QByteArray q; - - readLine(q.data(), maxlen); - s.setAscii(q); - return ret; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqiodevice.h b/qtinterface/interface_tqt3/tqiodevice.h deleted file mode 100644 index d662f71..0000000 --- a/qtinterface/interface_tqt3/tqiodevice.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - -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_TQIODEVICE_H -#define TQT_TQIODEVICE_H - -#include <tqt.h> -#include <ntqobject.h> - -#ifdef USE_QT3 - -// Reimplement the QIODevice class -// For Qt3, no changes are needed - -#include <ntqiodevice.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QIODevice class -// For Qt4, no changes are needed - -#define TQT_NO_QOBJECT -#include <tqt4/Qt/ntqiodevice.h> -#undef TQT_NO_QOBJECT - -// class TQIODevice : public QIODevice { -// public: -// TQIODevice(); -// #ifndef TQT_NO_QOBJECT -// explicit TQIODevice(QObject *parent); -// #endif -// -// public: -// qint64 readData(char *data, qint64 maxlen); -// qint64 writeData(const char *data, qint64 len); -// }; - -#endif // USE_QT4 - -#endif /* TQT_TQIODEVICE_H */ diff --git a/qtinterface/interface_tqt3/tqjiscodec.cpp b/qtinterface/interface_tqt3/tqjiscodec.cpp deleted file mode 100644 index e086d0d..0000000 --- a/qtinterface/interface_tqt3/tqjiscodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqjiscodec.h> diff --git a/qtinterface/interface_tqt3/tqjiscodec.h b/qtinterface/interface_tqt3/tqjiscodec.h deleted file mode 100644 index 9f2719d..0000000 --- a/qtinterface/interface_tqt3/tqjiscodec.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQJISCODEC_H -#define TQT_TQJISCODEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QJisCodec class -// For Qt3, no changes are needed - -#include <ntqjiscodec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QJisCodec class -// For Qt4, some changes are needed - -#include <Qt/ntqjiscodec.h> - -#endif // USE_QT4 - -#endif /* TQT_TQJISCODEC_H */ diff --git a/qtinterface/interface_tqt3/tqjpegio.h b/qtinterface/interface_tqt3/tqjpegio.h deleted file mode 100644 index cee191a..0000000 --- a/qtinterface/interface_tqt3/tqjpegio.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - -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_TQJPEGIO_H -#define TQT_TQJPEGIO_H -#include <tqt.h> - -#ifdef USE_QT3 - -// Pull in Qt3 ntqjpegio.h defines - -#include <ntqjpegio.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 ntqjpegio.h defines - -#include <ntqjpegio.h> - -#endif // USE_QT4 - -#endif /* TQT_TQJPEGIO_H */ diff --git a/qtinterface/interface_tqt3/tqjpunicode.cpp b/qtinterface/interface_tqt3/tqjpunicode.cpp deleted file mode 100644 index 8010935..0000000 --- a/qtinterface/interface_tqt3/tqjpunicode.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqjpunicode.h> diff --git a/qtinterface/interface_tqt3/tqjpunicode.h b/qtinterface/interface_tqt3/tqjpunicode.h deleted file mode 100644 index fff93e0..0000000 --- a/qtinterface/interface_tqt3/tqjpunicode.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQJPUNICODE_H -#define TQT_TQJPUNICODE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QJpUnicodeConv class -// For Qt3, no changes are needed - -#include <ntqjpunicode.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QJpUnicodeConv class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQJPUNICODE_H */ diff --git a/qtinterface/interface_tqt3/tqkeycode.h b/qtinterface/interface_tqt3/tqkeycode.h deleted file mode 100644 index 5d55d99..0000000 --- a/qtinterface/interface_tqt3/tqkeycode.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -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_TQKEYCODE_H -#define TQT_TQKEYCODE_H - -#include <tqt.h> - -// Pull in tqkeycode defines - -#include <ntqkeycode.h> - -#endif /* TQT_TQKEYCODE_H */ diff --git a/qtinterface/interface_tqt3/tqkeysequence.cpp b/qtinterface/interface_tqt3/tqkeysequence.cpp deleted file mode 100644 index 43e8d61..0000000 --- a/qtinterface/interface_tqt3/tqkeysequence.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqkeysequence.h> diff --git a/qtinterface/interface_tqt3/tqkeysequence.h b/qtinterface/interface_tqt3/tqkeysequence.h deleted file mode 100644 index 45cda9f..0000000 --- a/qtinterface/interface_tqt3/tqkeysequence.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQKEYSEQUENCE_H -#define TQT_TQKEYSEQUENCE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QKeySequence class -// For Qt3, no changes are needed - -#include <ntqkeysequence.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QKeySequence class -// For Qt4, some changes are needed - -#include <Qt/ntqkeysequence.h> - -#endif // USE_QT4 - -#endif /* TQT_TQKEYSEQUENCE_H */ diff --git a/qtinterface/interface_tqt3/tqlabel.cpp b/qtinterface/interface_tqt3/tqlabel.cpp deleted file mode 100644 index 9b5c04c..0000000 --- a/qtinterface/interface_tqt3/tqlabel.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqlabel.h> diff --git a/qtinterface/interface_tqt3/tqlabel.h b/qtinterface/interface_tqt3/tqlabel.h deleted file mode 100644 index 989ac8b..0000000 --- a/qtinterface/interface_tqt3/tqlabel.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQLABEL_H -#define TQT_TQLABEL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QLabel class -// For Qt3, no changes are needed - -#include <ntqlabel.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLabel class -// For Qt4, some changes are needed - -#include <Qt/ntqlabel.h> - -#endif // USE_QT4 - -#endif /* TQT_TQLABEL_H */ diff --git a/qtinterface/interface_tqt3/tqlayout.cpp b/qtinterface/interface_tqt3/tqlayout.cpp deleted file mode 100644 index ad16513..0000000 --- a/qtinterface/interface_tqt3/tqlayout.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqlayout.h> diff --git a/qtinterface/interface_tqt3/tqlayout.h b/qtinterface/interface_tqt3/tqlayout.h deleted file mode 100644 index dee0792..0000000 --- a/qtinterface/interface_tqt3/tqlayout.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQLAYOUT_H -#define TQT_TQLAYOUT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QLayout class -// For Qt3, no changes are needed - -#include <ntqlayout.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLayout class -// For Qt4, some changes are needed - -#include <Qt/ntqlayout.h> - -#endif // USE_QT4 - -#endif /* TQT_TQLAYOUT_H */ diff --git a/qtinterface/interface_tqt3/tqlcdnumber.cpp b/qtinterface/interface_tqt3/tqlcdnumber.cpp deleted file mode 100644 index 44af2b8..0000000 --- a/qtinterface/interface_tqt3/tqlcdnumber.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqlcdnumber.h> diff --git a/qtinterface/interface_tqt3/tqlcdnumber.h b/qtinterface/interface_tqt3/tqlcdnumber.h deleted file mode 100644 index a7f654c..0000000 --- a/qtinterface/interface_tqt3/tqlcdnumber.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQLCDNUMBER_H -#define TQT_TQLCDNUMBER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QLCDNumber class -// For Qt3, no changes are needed - -#include <ntqlcdnumber.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLCDNumber class -// For Qt4, some changes are needed - -#include <Qt/ntqlcdnumber.h> - -#endif // USE_QT4 - -#endif /* TQT_TQLCDNUMBER_H */ diff --git a/qtinterface/interface_tqt3/tqlibrary.cpp b/qtinterface/interface_tqt3/tqlibrary.cpp deleted file mode 100644 index 86b2035..0000000 --- a/qtinterface/interface_tqt3/tqlibrary.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqlibrary.h> diff --git a/qtinterface/interface_tqt3/tqlibrary.h b/qtinterface/interface_tqt3/tqlibrary.h deleted file mode 100644 index 2183551..0000000 --- a/qtinterface/interface_tqt3/tqlibrary.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQLIBRARY_H -#define TQT_TQLIBRARY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QLibrary class -// For Qt3, no changes are needed - -#include <ntqlibrary.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLibrary class -// For Qt4, some changes are needed - -#include <Qt/ntqlibrary.h> - -#endif // USE_QT4 - -#endif /* TQT_TQLIBRARY_H */ diff --git a/qtinterface/interface_tqt3/tqlineedit.cpp b/qtinterface/interface_tqt3/tqlineedit.cpp deleted file mode 100644 index 91a4b56..0000000 --- a/qtinterface/interface_tqt3/tqlineedit.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqlineedit.h> diff --git a/qtinterface/interface_tqt3/tqlineedit.h b/qtinterface/interface_tqt3/tqlineedit.h deleted file mode 100644 index 0e5b853..0000000 --- a/qtinterface/interface_tqt3/tqlineedit.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQLINEEDIT_H -#define TQT_TQLINEEDIT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QLineEdit class -// For Qt3, no changes are needed - -#include <ntqlineedit.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLineEdit class -// For Qt4, some changes are needed - -#include <Qt/ntqlineedit.h> - -#endif // USE_QT4 - -#endif /* TQT_TQLINEEDIT_H */ diff --git a/qtinterface/interface_tqt3/tqlistbox.cpp b/qtinterface/interface_tqt3/tqlistbox.cpp deleted file mode 100644 index 5952111..0000000 --- a/qtinterface/interface_tqt3/tqlistbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqlistbox.h> diff --git a/qtinterface/interface_tqt3/tqlistbox.h b/qtinterface/interface_tqt3/tqlistbox.h deleted file mode 100644 index 635a144..0000000 --- a/qtinterface/interface_tqt3/tqlistbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQLISTBOX_H -#define TQT_TQLISTBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QListBox class -// For Qt3, no changes are needed - -#include <ntqlistbox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QListBox class -// For Qt4, some changes are needed - -#include <Qt/q3listbox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQLISTBOX_H */ diff --git a/qtinterface/interface_tqt3/tqlistview.cpp b/qtinterface/interface_tqt3/tqlistview.cpp deleted file mode 100644 index b896627..0000000 --- a/qtinterface/interface_tqt3/tqlistview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqlistview.h> diff --git a/qtinterface/interface_tqt3/tqlistview.h b/qtinterface/interface_tqt3/tqlistview.h deleted file mode 100644 index 262a0a4..0000000 --- a/qtinterface/interface_tqt3/tqlistview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQLISTVIEW_H -#define TQT_TQLISTVIEW_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QListView class -// For Qt3, no changes are needed - -#include <ntqlistview.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QListView class -// For Qt4, some changes are needed - -#include <Qt/q3listview.h> - -#endif // USE_QT4 - -#endif /* TQT_TQLISTVIEW_H */ diff --git a/qtinterface/interface_tqt3/tqlocale.cpp b/qtinterface/interface_tqt3/tqlocale.cpp deleted file mode 100644 index 325fe2c..0000000 --- a/qtinterface/interface_tqt3/tqlocale.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqlocale.h> diff --git a/qtinterface/interface_tqt3/tqlocale.h b/qtinterface/interface_tqt3/tqlocale.h deleted file mode 100644 index 430373f..0000000 --- a/qtinterface/interface_tqt3/tqlocale.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQLOCALE_H -#define TQT_TQLOCALE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QLocale class -// For Qt3, no changes are needed - -#include <ntqlocale.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLocale class -// For Qt4, some changes are needed - -#include <Qt/ntqlocale.h> - -#endif // USE_QT4 - -#endif /* TQT_TQLOCALE_H */ diff --git a/qtinterface/interface_tqt3/tqlocalfs.cpp b/qtinterface/interface_tqt3/tqlocalfs.cpp deleted file mode 100644 index 33b0262..0000000 --- a/qtinterface/interface_tqt3/tqlocalfs.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqlocalfs.h> diff --git a/qtinterface/interface_tqt3/tqlocalfs.h b/qtinterface/interface_tqt3/tqlocalfs.h deleted file mode 100644 index 55f224c..0000000 --- a/qtinterface/interface_tqt3/tqlocalfs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQLOCALFS_H -#define TQT_TQLOCALFS_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QLocalFs class -// For Qt3, no changes are needed - -#include <ntqlocalfs.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLocalFs class -// For Qt4, some changes are needed - -#include <Qt/q3localfs.h> - -#endif // USE_QT4 - -#endif /* TQT_TQLOCALFS_H */ diff --git a/qtinterface/interface_tqt3/tqmainwindow.cpp b/qtinterface/interface_tqt3/tqmainwindow.cpp deleted file mode 100644 index 7b6670b..0000000 --- a/qtinterface/interface_tqt3/tqmainwindow.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmainwindow.h> diff --git a/qtinterface/interface_tqt3/tqmainwindow.h b/qtinterface/interface_tqt3/tqmainwindow.h deleted file mode 100644 index 5e99f0e..0000000 --- a/qtinterface/interface_tqt3/tqmainwindow.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQMAINWINDOW_H -#define TQT_TQMAINWINDOW_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMainWindow class -// For Qt3, no changes are needed - -#include <ntqmainwindow.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMainWindow class -// For Qt4, some changes are needed - -#include <Qt/q3mainwindow.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMAINWINDOW_H */ diff --git a/qtinterface/interface_tqt3/tqmap.cpp b/qtinterface/interface_tqt3/tqmap.cpp deleted file mode 100644 index 2e4fc24..0000000 --- a/qtinterface/interface_tqt3/tqmap.cpp +++ /dev/null @@ -1,243 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmap.h> - -#ifdef USE_QT4 - -typedef TQMapNodeBase* NodePtr; -typedef TQMapNodeBase Node; - - -void TQMapPrivateBase::rotateLeft( NodePtr x, NodePtr& root) -{ - NodePtr y = x->right; - x->right = y->left; - if (y->left !=0) - y->left->parent = x; - y->parent = x->parent; - if (x == root) - root = y; - else if (x == x->parent->left) - x->parent->left = y; - else - x->parent->right = y; - y->left = x; - x->parent = y; -} - - -void TQMapPrivateBase::rotateRight( NodePtr x, NodePtr& root ) -{ - NodePtr y = x->left; - x->left = y->right; - if (y->right != 0) - y->right->parent = x; - y->parent = x->parent; - if (x == root) - root = y; - else if (x == x->parent->right) - x->parent->right = y; - else - x->parent->left = y; - y->right = x; - x->parent = y; -} - - -void TQMapPrivateBase::rebalance( NodePtr x, NodePtr& root) -{ - x->color = Node::Red; - while ( x != root && x->parent->color == Node::Red ) { - if ( x->parent == x->parent->parent->left ) { - NodePtr y = x->parent->parent->right; - if (y && y->color == Node::Red) { - x->parent->color = Node::Black; - y->color = Node::Black; - x->parent->parent->color = Node::Red; - x = x->parent->parent; - } else { - if (x == x->parent->right) { - x = x->parent; - rotateLeft( x, root ); - } - x->parent->color = Node::Black; - x->parent->parent->color = Node::Red; - rotateRight (x->parent->parent, root ); - } - } else { - NodePtr y = x->parent->parent->left; - if ( y && y->color == Node::Red ) { - x->parent->color = Node::Black; - y->color = Node::Black; - x->parent->parent->color = Node::Red; - x = x->parent->parent; - } else { - if (x == x->parent->left) { - x = x->parent; - rotateRight( x, root ); - } - x->parent->color = Node::Black; - x->parent->parent->color = Node::Red; - rotateLeft( x->parent->parent, root ); - } - } - } - root->color = Node::Black; -} - - -NodePtr TQMapPrivateBase::removeAndRebalance( NodePtr z, NodePtr& root, - NodePtr& leftmost, - NodePtr& rightmost ) -{ - NodePtr y = z; - NodePtr x; - NodePtr x_parent; - if (y->left == 0) { - x = y->right; - } else { - if (y->right == 0) - x = y->left; - else - { - y = y->right; - while (y->left != 0) - y = y->left; - x = y->right; - } - } - if (y != z) { - z->left->parent = y; - y->left = z->left; - if (y != z->right) { - x_parent = y->parent; - if (x) - x->parent = y->parent; - y->parent->left = x; - y->right = z->right; - z->right->parent = y; - } else { - x_parent = y; - } - if (root == z) - root = y; - else if (z->parent->left == z) - z->parent->left = y; - else - z->parent->right = y; - y->parent = z->parent; - // Swap the colors - Node::Color c = y->color; - y->color = z->color; - z->color = c; - y = z; - } else { - x_parent = y->parent; - if (x) - x->parent = y->parent; - if (root == z) - root = x; - else if (z->parent->left == z) - z->parent->left = x; - else - z->parent->right = x; - if ( leftmost == z ) { - if (z->right == 0) - leftmost = z->parent; - else - leftmost = x->minimum(); - } - if (rightmost == z) { - if (z->left == 0) - rightmost = z->parent; - else - rightmost = x->maximum(); - } - } - if (y->color != Node::Red) { - while (x != root && (x == 0 || x->color == Node::Black)) { - if (x == x_parent->left) { - NodePtr w = x_parent->right; - if (w->color == Node::Red) { - w->color = Node::Black; - x_parent->color = Node::Red; - rotateLeft(x_parent, root); - w = x_parent->right; - } - if ((w->left == 0 || w->left->color == Node::Black) && - (w->right == 0 || w->right->color == Node::Black)) { - w->color = Node::Red; - x = x_parent; - x_parent = x_parent->parent; - } else { - if (w->right == 0 || w->right->color == Node::Black) { - if (w->left) - w->left->color = Node::Black; - w->color = Node::Red; - rotateRight(w, root); - w = x_parent->right; - } - w->color = x_parent->color; - x_parent->color = Node::Black; - if (w->right) - w->right->color = Node::Black; - rotateLeft(x_parent, root); - break; - } - } else { - NodePtr w = x_parent->left; - if (w->color == Node::Red) { - w->color = Node::Black; - x_parent->color = Node::Red; - rotateRight(x_parent, root); - w = x_parent->left; - } - if ((w->right == 0 || w->right->color == Node::Black) && - (w->left == 0 || w->left->color == Node::Black)) { - w->color = Node::Red; - x = x_parent; - x_parent = x_parent->parent; - } else { - if (w->left == 0 || w->left->color == Node::Black) { - if (w->right) - w->right->color = Node::Black; - w->color = Node::Red; - rotateLeft(w, root); - w = x_parent->left; - } - w->color = x_parent->color; - x_parent->color = Node::Black; - if (w->left) - w->left->color = Node::Black; - rotateRight(x_parent, root); - break; - } - } - } - if (x) - x->color = Node::Black; - } - return y; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqmap.h b/qtinterface/interface_tqt3/tqmap.h deleted file mode 100644 index 412abbe..0000000 --- a/qtinterface/interface_tqt3/tqmap.h +++ /dev/null @@ -1,935 +0,0 @@ -/* - -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_TQMAP_H -#define TQT_TQMAP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMap class -// For Qt3, no changes are needed - -#include <ntqmap.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMap class -// For Qt4, some changes are needed - -#include <Qt/ntqmap.h> -#include <Qt/q3shared.h> -#include <Qt/q3valuelist.h> - -/**************************************************************************** -** -** Definition of TQMap class -** -** Created : 990406 -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the tools module of the Qt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free Qt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -//#define QT_CHECK_MAP_RANGE - -struct TQMapNodeBase -{ - enum Color { Red, Black }; - - TQMapNodeBase* left; - TQMapNodeBase* right; - TQMapNodeBase* parent; - - Color color; - - TQMapNodeBase* minimum() { - TQMapNodeBase* x = this; - while ( x->left ) - x = x->left; - return x; - } - - TQMapNodeBase* maximum() { - TQMapNodeBase* x = this; - while ( x->right ) - x = x->right; - return x; - } -}; - - -template <class K, class T> -struct TQMapNode : public TQMapNodeBase -{ - TQMapNode( const K& _key, const T& _data ) { data = _data; key = _key; } - TQMapNode( const K& _key ) { key = _key; } - TQMapNode( const TQMapNode<K,T>& _n ) { key = _n.key; data = _n.data; } - TQMapNode() { } - T data; - K key; -}; - - -template<class K, class T> -class TQMapIterator -{ - public: - /** - * Typedefs - */ - typedef TQMapNode< K, T >* NodePtr; -#ifndef TQT_NO_STL - typedef std::bidirectional_iterator_tag iterator_category; -#endif - typedef T value_type; -#ifndef TQT_NO_STL - typedef ptrdiff_t difference_type; -#else - typedef int difference_type; -#endif - typedef T* pointer; - typedef T& reference; - - /** - * Variables - */ - TQMapNode<K,T>* node; - - /** - * Functions - */ - TQMapIterator() : node( 0 ) {} - TQMapIterator( TQMapNode<K,T>* p ) : node( p ) {} - TQMapIterator( const TQMapIterator<K,T>& it ) : node( it.node ) {} - - bool operator==( const TQMapIterator<K,T>& it ) const { return node == it.node; } - bool operator!=( const TQMapIterator<K,T>& it ) const { return node != it.node; } - T& operator*() { return node->data; } - const T& operator*() const { return node->data; } - // UDT for T = x* - // T* operator->() const { return &node->data; } - - const K& key() const { return node->key; } - T& data() { return node->data; } - const T& data() const { return node->data; } - -private: - int inc(); - int dec(); - -public: - TQMapIterator<K,T>& operator++() { - inc(); - return *this; - } - - TQMapIterator<K,T> operator++(int) { - TQMapIterator<K,T> tmp = *this; - inc(); - return tmp; - } - - TQMapIterator<K,T>& operator--() { - dec(); - return *this; - } - - TQMapIterator<K,T> operator--(int) { - TQMapIterator<K,T> tmp = *this; - dec(); - return tmp; - } -}; - -template <class K, class T> -int TQMapIterator<K,T>::inc() -{ - TQMapNodeBase* tmp = node; - if ( tmp->right ) { - tmp = tmp->right; - while ( tmp->left ) - tmp = tmp->left; - } else { - TQMapNodeBase* y = tmp->parent; - while (tmp == y->right) { - tmp = y; - y = y->parent; - } - if (tmp->right != y) - tmp = y; - } - node = (NodePtr)tmp; - return 0; -} - -template <class K, class T> -int TQMapIterator<K,T>::dec() -{ - TQMapNodeBase* tmp = node; - if (tmp->color == TQMapNodeBase::Red && - tmp->parent->parent == tmp ) { - tmp = tmp->right; - } else if (tmp->left != 0) { - TQMapNodeBase* y = tmp->left; - while ( y->right ) - y = y->right; - tmp = y; - } else { - TQMapNodeBase* y = tmp->parent; - while (tmp == y->left) { - tmp = y; - y = y->parent; - } - tmp = y; - } - node = (NodePtr)tmp; - return 0; -} - -template<class K, class T> -class TQMapConstIterator -{ - public: - /** - * Typedefs - */ - typedef TQMapNode< K, T >* NodePtr; -#ifndef TQT_NO_STL - typedef std::bidirectional_iterator_tag iterator_category; -#endif - typedef T value_type; -#ifndef TQT_NO_STL - typedef ptrdiff_t difference_type; -#else - typedef int difference_type; -#endif - typedef const T* pointer; - typedef const T& reference; - - - /** - * Variables - */ - TQMapNode<K,T>* node; - - /** - * Functions - */ - TQMapConstIterator() : node( 0 ) {} - TQMapConstIterator( TQMapNode<K,T>* p ) : node( p ) {} - TQMapConstIterator( const TQMapConstIterator<K,T>& it ) : node( it.node ) {} - TQMapConstIterator( const TQMapIterator<K,T>& it ) : node( it.node ) {} - - bool operator==( const TQMapConstIterator<K,T>& it ) const { return node == it.node; } - bool operator!=( const TQMapConstIterator<K,T>& it ) const { return node != it.node; } - const T& operator*() const { return node->data; } - // UDT for T = x* - // const T* operator->() const { return &node->data; } - - const K& key() const { return node->key; } - const T& data() const { return node->data; } - -private: - int inc(); - int dec(); - -public: - TQMapConstIterator<K,T>& operator++() { - inc(); - return *this; - } - - TQMapConstIterator<K,T> operator++(int) { - TQMapConstIterator<K,T> tmp = *this; - inc(); - return tmp; - } - - TQMapConstIterator<K,T>& operator--() { - dec(); - return *this; - } - - TQMapConstIterator<K,T> operator--(int) { - TQMapConstIterator<K,T> tmp = *this; - dec(); - return tmp; - } -}; - -template <class K, class T> -int TQMapConstIterator<K,T>::inc() -{ - TQMapNodeBase* tmp = node; - if ( tmp->right ) { - tmp = tmp->right; - while ( tmp->left ) - tmp = tmp->left; - } else { - TQMapNodeBase* y = tmp->parent; - while (tmp == y->right) { - tmp = y; - y = y->parent; - } - if (tmp->right != y) - tmp = y; - } - node = (NodePtr)tmp; - return 0; -} - -template <class K, class T> -int TQMapConstIterator<K,T>::dec() -{ - TQMapNodeBase* tmp = node; - if (tmp->color == TQMapNodeBase::Red && - tmp->parent->parent == tmp ) { - tmp = tmp->right; - } else if (tmp->left != 0) { - TQMapNodeBase* y = tmp->left; - while ( y->right ) - y = y->right; - tmp = y; - } else { - TQMapNodeBase* y = tmp->parent; - while (tmp == y->left) { - tmp = y; - y = y->parent; - } - tmp = y; - } - node = (NodePtr)tmp; - return 0; -} - -// ### 4.0: rename to something without Private in it. Not really internal. -class TQMapPrivateBase : public Q3Shared -{ -public: - TQMapPrivateBase() { - node_count = 0; - } - TQMapPrivateBase( const TQMapPrivateBase* _map) { - node_count = _map->node_count; - } - - /** - * Implementations of basic tree algorithms - */ - void rotateLeft( TQMapNodeBase* x, TQMapNodeBase*& root); - void rotateRight( TQMapNodeBase* x, TQMapNodeBase*& root ); - void rebalance( TQMapNodeBase* x, TQMapNodeBase*& root ); - TQMapNodeBase* removeAndRebalance( TQMapNodeBase* z, TQMapNodeBase*& root, - TQMapNodeBase*& leftmost, - TQMapNodeBase*& rightmost ); - - /** - * Variables - */ - int node_count; -}; - - -template <class Key, class T> -class TQMapPrivate : public TQMapPrivateBase -{ -public: - /** - * Typedefs - */ - typedef TQMapIterator< Key, T > Iterator; - typedef TQMapConstIterator< Key, T > ConstIterator; - typedef TQMapNode< Key, T > Node; - typedef TQMapNode< Key, T >* NodePtr; - - /** - * Functions - */ - TQMapPrivate(); - TQMapPrivate( const TQMapPrivate< Key, T >* _map ); - ~TQMapPrivate() { clear(); delete header; } - - NodePtr copy( NodePtr p ); - void clear(); - void clear( NodePtr p ); - - Iterator begin() { return Iterator( (NodePtr)(header->left ) ); } - Iterator end() { return Iterator( header ); } - ConstIterator begin() const { return ConstIterator( (NodePtr)(header->left ) ); } - ConstIterator end() const { return ConstIterator( header ); } - - ConstIterator find(const Key& k) const; - - void remove( Iterator it ) { - NodePtr del = (NodePtr) removeAndRebalance( it.node, header->parent, header->left, header->right ); - delete del; - --node_count; - } - -#ifdef QT_QMAP_DEBUG - void inorder( TQMapNodeBase* x = 0, int level = 0 ){ - if ( !x ) - x = header->parent; - if ( x->left ) - inorder( x->left, level + 1 ); - //cout << level << " Key=" << key(x) << " Value=" << ((NodePtr)x)->data << endl; - if ( x->right ) - inorder( x->right, level + 1 ); - } -#endif - -#if 0 - Iterator insertMulti(const Key& v){ - TQMapNodeBase* y = header; - TQMapNodeBase* x = header->parent; - while (x != 0){ - y = x; - x = ( v < key(x) ) ? x->left : x->right; - } - return insert(x, y, v); - } -#endif - - Iterator insertSingle( const Key& k ); - Iterator insert( TQMapNodeBase* x, TQMapNodeBase* y, const Key& k ); - -protected: - /** - * Helpers - */ - const Key& key( TQMapNodeBase* b ) const { return ((NodePtr)b)->key; } - - /** - * Variables - */ - NodePtr header; -}; - - -template <class Key, class T> -TQMapPrivate<Key,T>::TQMapPrivate() { - header = new Node; - header->color = TQMapNodeBase::Red; // Mark the header - header->parent = 0; - header->left = header->right = header; -} -template <class Key, class T> -TQMapPrivate<Key,T>::TQMapPrivate( const TQMapPrivate< Key, T >* _map ) : TQMapPrivateBase( _map ) { - header = new Node; - header->color = TQMapNodeBase::Red; // Mark the header - if ( _map->header->parent == 0 ) { - header->parent = 0; - header->left = header->right = header; - } else { - header->parent = copy( (NodePtr)(_map->header->parent) ); - header->parent->parent = header; - header->left = header->parent->minimum(); - header->right = header->parent->maximum(); - } -} - -template <class Key, class T> -Q_TYPENAME TQMapPrivate<Key,T>::NodePtr TQMapPrivate<Key,T>::copy( Q_TYPENAME TQMapPrivate<Key,T>::NodePtr p ) -{ - if ( !p ) - return 0; - NodePtr n = new Node( *p ); - n->color = p->color; - if ( p->left ) { - n->left = copy( (NodePtr)(p->left) ); - n->left->parent = n; - } else { - n->left = 0; - } - if ( p->right ) { - n->right = copy( (NodePtr)(p->right) ); - n->right->parent = n; - } else { - n->right = 0; - } - return n; -} - -template <class Key, class T> -void TQMapPrivate<Key,T>::clear() -{ - clear( (NodePtr)(header->parent) ); - header->color = TQMapNodeBase::Red; - header->parent = 0; - header->left = header->right = header; - node_count = 0; -} - -template <class Key, class T> -void TQMapPrivate<Key,T>::clear( Q_TYPENAME TQMapPrivate<Key,T>::NodePtr p ) -{ - while ( p != 0 ) { - clear( (NodePtr)p->right ); - NodePtr y = (NodePtr)p->left; - delete p; - p = y; - } -} - -template <class Key, class T> -Q_TYPENAME TQMapPrivate<Key,T>::ConstIterator TQMapPrivate<Key,T>::find(const Key& k) const -{ - TQMapNodeBase* y = header; // Last node - TQMapNodeBase* x = header->parent; // Root node. - - while ( x != 0 ) { - // If as k <= key(x) go left - if ( !( key(x) < k ) ) { - y = x; - x = x->left; - } else { - x = x->right; - } - } - - // Was k bigger/smaller then the biggest/smallest - // element of the tree ? Return end() - if ( y == header || k < key(y) ) - return ConstIterator( header ); - return ConstIterator( (NodePtr)y ); -} - -template <class Key, class T> -Q_TYPENAME TQMapPrivate<Key,T>::Iterator TQMapPrivate<Key,T>::insertSingle( const Key& k ) -{ - // Search correct position in the tree - TQMapNodeBase* y = header; - TQMapNodeBase* x = header->parent; - bool result = TRUE; - while ( x != 0 ) { - result = ( k < key(x) ); - y = x; - x = result ? x->left : x->right; - } - // Get iterator on the last not empty one - Iterator j( (NodePtr)y ); - if ( result ) { - // Smaller then the leftmost one ? - if ( j == begin() ) { - return insert(x, y, k ); - } else { - // Perhaps daddy is the right one ? - --j; - } - } - // Really bigger ? - if ( (j.node->key) < k ) - return insert(x, y, k ); - // We are going to replace a node - return j; -} - - -template <class Key, class T> -Q_TYPENAME TQMapPrivate<Key,T>::Iterator TQMapPrivate<Key,T>::insert( TQMapNodeBase* x, TQMapNodeBase* y, const Key& k ) -{ - NodePtr z = new Node( k ); - if (y == header || x != 0 || k < key(y) ) { - y->left = z; // also makes leftmost = z when y == header - if ( y == header ) { - header->parent = z; - header->right = z; - } else if ( y == header->left ) - header->left = z; // maintain leftmost pointing to min node - } else { - y->right = z; - if ( y == header->right ) - header->right = z; // maintain rightmost pointing to max node - } - z->parent = y; - z->left = 0; - z->right = 0; - rebalance( z, header->parent ); - ++node_count; - return Iterator(z); -} - - -#ifdef QT_CHECK_RANGE -# if !defined( TQT_NO_DEBUG ) && defined( QT_CHECK_MAP_RANGE ) -# define QT_CHECK_INVALID_MAP_ELEMENT if ( empty() ) qWarning( "TQMap: Warning invalid element" ) -# define QT_CHECK_INVALID_MAP_ELEMENT_FATAL Q_ASSERT( !empty() ); -# else -# define QT_CHECK_INVALID_MAP_ELEMENT -# define QT_CHECK_INVALID_MAP_ELEMENT_FATAL -# endif -#else -# define QT_CHECK_INVALID_MAP_ELEMENT -# define QT_CHECK_INVALID_MAP_ELEMENT_FATAL -#endif - -template <class T> class QDeepCopy; - -template<class Key, class T> -class TQMap -{ -public: - /** - * Typedefs - */ - typedef Key key_type; - typedef T mapped_type; - typedef QPair<const key_type, mapped_type> value_type; - typedef value_type* pointer; - typedef const value_type* const_pointer; - typedef value_type& reference; - typedef const value_type& const_reference; -#ifndef TQT_NO_STL - typedef ptrdiff_t difference_type; -#else - typedef int difference_type; -#endif - typedef size_t size_type; - typedef TQMapIterator<Key,T> iterator; - typedef TQMapConstIterator<Key,T> const_iterator; - typedef QPair<iterator,bool> insert_pair; - - typedef TQMapIterator< Key, T > Iterator; - typedef TQMapConstIterator< Key, T > ConstIterator; - typedef T ValueType; - typedef TQMapPrivate< Key, T > Priv; - - /** - * API - */ - TQMap() - { - sh = new TQMapPrivate< Key, T >; - } - TQMap( const TQMap<Key,T>& m ) - { - sh = m.sh; sh->ref(); - } - -#ifndef TQT_NO_STL - TQMap( const std::map<Key,T>& m ) - { - sh = new TQMapPrivate<Key,T>; - Q_TYPENAME std::map<Key,T>::const_iterator it = m.begin(); - for ( ; it != m.end(); ++it ) { - value_type p( (*it).first, (*it).second ); - insert( p ); - } - } -#endif - ~TQMap() - { - if ( sh->deref() ) - delete sh; - } - TQMap<Key,T>& operator= ( const TQMap<Key,T>& m ); -#ifndef TQT_NO_STL - TQMap<Key,T>& operator= ( const std::map<Key,T>& m ) - { - clear(); - Q_TYPENAME std::map<Key,T>::const_iterator it = m.begin(); - for ( ; it != m.end(); ++it ) { - value_type p( (*it).first, (*it).second ); - insert( p ); - } - return *this; - } -#endif - - // Interoperability - TQMap(const QMap<Key,T>& m) - { - QMapIterator<Key,T> i(m); - while (i.hasNext()) { - i.next(); - insert(i.key(), i.value()); - } - } - TQMap<Key,T>& operator= (const QMap<Key,T>& m) - { - this->clear(); - QMapIterator<Key,T> i(m); - while (i.hasNext()) { - i.next(); - insert(i.key(), i.value()); - } - return *this; - } - - operator QMap<Key,T>() const { - QMap<Key,T> map; - iterator it; - for ( it = this->begin(); it != this->end(); ++it) { - map.insert(it.key(), it.data()); - } - return map; - } - - iterator begin() { detach(); return sh->begin(); } - iterator end() { detach(); return sh->end(); } - const_iterator begin() const { return ((const Priv*)sh)->begin(); } - const_iterator end() const { return ((const Priv*)sh)->end(); } - const_iterator constBegin() const { return begin(); } - const_iterator constEnd() const { return end(); } - - iterator replace( const Key& k, const T& v ) - { - remove( k ); - return insert( k, v ); - } - - size_type size() const - { - return sh->node_count; - } - bool empty() const - { - return sh->node_count == 0; - } - QPair<iterator,bool> insert( const value_type& x ); - - void erase( iterator it ) - { - detach(); - sh->remove( it ); - } - void erase( const key_type& k ); - size_type count( const key_type& k ) const; - T& operator[] ( const Key& k ); - void clear(); - - iterator find ( const Key& k ) - { - detach(); - return iterator( sh->find( k ).node ); - } - const_iterator find ( const Key& k ) const { return sh->find( k ); } - - const T& operator[] ( const Key& k ) const - { QT_CHECK_INVALID_MAP_ELEMENT; return sh->find( k ).data(); } - bool contains ( const Key& k ) const - { return find( k ) != end(); } - //{ return sh->find( k ) != ((const Priv*)sh)->end(); } - - size_type count() const { return sh->node_count; } - - Q3ValueList<Key> keys() const { - Q3ValueList<Key> r; - for (const_iterator i=begin(); i!=end(); ++i) - r.append(i.key()); - return r; - } - - Q3ValueList<T> values() const { - Q3ValueList<T> r; - for (const_iterator i=begin(); i!=end(); ++i) - r.append(*i); - return r; - } - - bool isEmpty() const { return sh->node_count == 0; } - - iterator insert( const Key& key, const T& value, bool overwrite = TRUE ); - void remove( iterator it ) { detach(); sh->remove( it ); } - void remove( const Key& k ); - -#if defined(TQ_FULL_TEMPLATE_INSTANTIATION) - bool operator==( const TQMap<Key,T>& ) const { return FALSE; } -#ifndef TQT_NO_STL - bool operator==( const std::map<Key,T>& ) const { return FALSE; } -#endif -#endif - -protected: - /** - * Helpers - */ - void detach() { if ( sh->count > 1 ) detachInternal(); } - - Priv* sh; -private: - void detachInternal(); - - friend class QDeepCopy< TQMap<Key,T> >; -}; - -template<class Key, class T> -TQMap<Key,T>& TQMap<Key,T>::operator= ( const TQMap<Key,T>& m ) -{ - m.sh->ref(); - if ( sh->deref() ) - delete sh; - sh = m.sh; - return *this; -} - -template<class Key, class T> -Q_TYPENAME TQMap<Key,T>::insert_pair TQMap<Key,T>::insert( const Q_TYPENAME TQMap<Key,T>::value_type& x ) -{ - detach(); - size_type n = size(); - iterator it = sh->insertSingle( x.first ); - bool inserted = FALSE; - if ( n < size() ) { - inserted = TRUE; - it.data() = x.second; - } - return QPair<iterator,bool>( it, inserted ); -} - -template<class Key, class T> -void TQMap<Key,T>::erase( const Key& k ) -{ - detach(); - iterator it( sh->find( k ).node ); - if ( it != end() ) - sh->remove( it ); -} - -template<class Key, class T> -Q_TYPENAME TQMap<Key,T>::size_type TQMap<Key,T>::count( const Key& k ) const -{ - const_iterator it( sh->find( k ).node ); - if ( it != end() ) { - size_type c = 0; - while ( it != end() ) { - ++it; - ++c; - } - return c; - } - return 0; -} - -template<class Key, class T> -T& TQMap<Key,T>::operator[] ( const Key& k ) -{ - detach(); - TQMapNode<Key,T>* p = sh->find( k ).node; - if ( p != sh->end().node ) - return p->data; - return insert( k, T() ).data(); -} - -template<class Key, class T> -void TQMap<Key,T>::clear() -{ - if ( sh->count == 1 ) - sh->clear(); - else { - sh->deref(); - sh = new TQMapPrivate<Key,T>; - } -} - -template<class Key, class T> -Q_TYPENAME TQMap<Key,T>::iterator TQMap<Key,T>::insert( const Key& key, const T& value, bool overwrite ) -{ - detach(); - size_type n = size(); - iterator it = sh->insertSingle( key ); - if ( overwrite || n < size() ) - it.data() = value; - return it; -} - -template<class Key, class T> -void TQMap<Key,T>::remove( const Key& k ) -{ - detach(); - iterator it( sh->find( k ).node ); - if ( it != end() ) - sh->remove( it ); -} - -template<class Key, class T> -void TQMap<Key,T>::detachInternal() -{ - sh->deref(); sh = new TQMapPrivate<Key,T>( sh ); -} - - -#ifndef TQT_NO_DATASTREAM -template<class Key, class T> -QDataStream& operator>>( QDataStream& s, TQMap<Key,T>& m ) { - m.clear(); - Q_UINT32 c; - s >> c; - for( Q_UINT32 i = 0; i < c; ++i ) { - Key k; T t; - s >> k >> t; - m.insert( k, t ); - if ( s.atEnd() ) - break; - } - return s; -} - - -template<class Key, class T> -QDataStream& operator<<( QDataStream& s, const TQMap<Key,T>& m ) { - s << (Q_UINT32)m.size(); - TQMapConstIterator<Key,T> it = m.begin(); - for( ; it != m.end(); ++it ) - s << it.key() << it.data(); - return s; -} -#endif - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQMAP_H */ diff --git a/qtinterface/interface_tqt3/tqmemarray.cpp b/qtinterface/interface_tqt3/tqmemarray.cpp deleted file mode 100644 index 2c4fc53..0000000 --- a/qtinterface/interface_tqt3/tqmemarray.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmemarray.h> diff --git a/qtinterface/interface_tqt3/tqmemarray.h b/qtinterface/interface_tqt3/tqmemarray.h deleted file mode 100644 index 050803c..0000000 --- a/qtinterface/interface_tqt3/tqmemarray.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQMEMARRAY_H -#define TQT_TQMEMARRAY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMemArray class -// For Qt3, no changes are needed - -#include <ntqmemarray.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMemArray class -// For Qt4, some changes are needed - -#include <Qt/q3memarray.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMEMARRAY_H */ diff --git a/qtinterface/interface_tqt3/tqmenubar.cpp b/qtinterface/interface_tqt3/tqmenubar.cpp deleted file mode 100644 index 5816cb9..0000000 --- a/qtinterface/interface_tqt3/tqmenubar.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmenubar.h> diff --git a/qtinterface/interface_tqt3/tqmenubar.h b/qtinterface/interface_tqt3/tqmenubar.h deleted file mode 100644 index c1fc786..0000000 --- a/qtinterface/interface_tqt3/tqmenubar.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQMENUBAR_H -#define TQT_TQMENUBAR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMenuBar class -// For Qt3, no changes are needed - -#include <ntqmenubar.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMenuBar class -// For Qt4, some changes are needed - -#include <Qt/ntqmenubar.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMENUBAR_H */ diff --git a/qtinterface/interface_tqt3/tqmenudata.cpp b/qtinterface/interface_tqt3/tqmenudata.cpp deleted file mode 100644 index bcb055a..0000000 --- a/qtinterface/interface_tqt3/tqmenudata.cpp +++ /dev/null @@ -1,82 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmenudata.h> - -#ifdef USE_QT4 - -Q3PopupMenu *QMenuItem::popup() const { - #warning "Badly broken/nonfunctional QMenuItem::popup() implementation!" - return &Q3PopupMenu(menu()); -} - -/*! - \overload - - Inserts a menu item that consists of the widget \a widget with - optional id \a id, and optional \a index position. - - Ownership of \a widget is transferred to the popup menu or to the - menu bar. - - Theoretically, any widget can be inserted into a popup menu. In - practice, this only makes sense with certain widgets. - - If a widget is not focus-enabled (see - \l{QWidget::isFocusEnabled()}), the menu treats it as a separator; - this means that the item is not selectable and will never get - focus. In this way you can, for example, simply insert a QLabel if - you need a popup menu with a title. - - If the widget is focus-enabled it will get focus when the user - traverses the popup menu with the arrow keys. If the widget does - not accept \c ArrowUp and \c ArrowDown in its key event handler, - the focus will move back to the menu when the respective arrow key - is hit one more time. This works with a QLineEdit, for example. If - the widget accepts the arrow key itself, it must also provide the - possibility to put the focus back on the menu again by calling - QWidget::focusNextPrevChild(). Futhermore, if the embedded widget - closes the menu when the user made a selection, this can be done - safely by calling: - \code - if ( isVisible() && - parentWidget() && - parentWidget()->inherits("QPopupMenu") ) - parentWidget()->close(); - \endcode - - Returns the allocated menu identifier number (\a id if \a id >= 0). - - \sa removeItem() -*/ -int QMenu::insertItem( QWidget* widget, int id, int index ) -{ - #warning "QMenuData::insertItem(QWidget* widget, int id, int index) unimplemented!" - - // New method is const QIcon*, const QString*, const QObject*, const char*, const QKeySequence*, const QMenu*, int, int - // Qt4 does not seem to support arbitrary widgets being added to menus (!!!) - // This will need to be reimplemented somehow as it is a very useful feature (e.g. Start menu text filter box) - //return insertAny( 0, 0, 0, 0, id, index, widget ); - return insertAny( 0, &QString("UNIMPLEMENTED"), widget, 0, 0, 0, id, index ); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqmenudata.h b/qtinterface/interface_tqt3/tqmenudata.h deleted file mode 100644 index e43487b..0000000 --- a/qtinterface/interface_tqt3/tqmenudata.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQMENUDATA_H -#define TQT_TQMENUDATA_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMenuData class -// For Qt3, no changes are needed - -#include <ntqmenudata.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMenuData class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqmenudata.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMENUDATA_H */ diff --git a/qtinterface/interface_tqt3/tqmessagebox.cpp b/qtinterface/interface_tqt3/tqmessagebox.cpp deleted file mode 100644 index 8120298..0000000 --- a/qtinterface/interface_tqt3/tqmessagebox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmessagebox.h> diff --git a/qtinterface/interface_tqt3/tqmessagebox.h b/qtinterface/interface_tqt3/tqmessagebox.h deleted file mode 100644 index 0aac1f6..0000000 --- a/qtinterface/interface_tqt3/tqmessagebox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQMESSAGEBOX_H -#define TQT_TQMESSAGEBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMessageBox class -// For Qt3, no changes are needed - -#include <ntqmessagebox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMessageBox class -// For Qt4, some changes are needed - -#include <Qt/ntqmessagebox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMESSAGEBOX_H */ diff --git a/qtinterface/interface_tqt3/tqmetaobject.cpp b/qtinterface/interface_tqt3/tqmetaobject.cpp deleted file mode 100644 index 021d6e9..0000000 --- a/qtinterface/interface_tqt3/tqmetaobject.cpp +++ /dev/null @@ -1,303 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmetaobject.h> - -#ifdef USE_QT4 - -/*! - Returns the number of slots for this class. - - If \a super is TRUE, inherited slots are included. - - \sa slotNames() -*/ -int QMetaObject::numSlots( bool super ) const // number of slots -{ - int i; - int n=0; - for (i=0;i<methodCount();i++) { - if (method(i).methodType() == QMetaMethod::Slot) { - n++; - } - } - - if ( !super || !superClass() ) - return n; - return n + superClass()->numSlots( super ); -} - -/*! - Returns the number of signals for this class. - - If \a super is TRUE, inherited signals are included. - - \sa signalNames() -*/ -int QMetaObject::numSignals( bool super ) const // number of signals -{ - int i; - int n=0; - for (i=0;i<methodCount();i++) { - if (method(i).methodType() == QMetaMethod::Signal) { - n++; - } - } - - if ( !super || !superClass() ) - return n; - return n + superClass()->numSignals( super ); -} - -/*! \internal - - Returns the meta data of the slot with the name \a n or 0 if no - such slot exists. - - If \a super is TRUE, inherited slots are included. - - FIXME: Superclass handling is badly broken - */ -const QMetaMethod* QMetaObject::slot( int index, bool super ) const -{ - QMetaMethod mm; - const QMetaMethod *mr; - int idx = index - ( super ? methodOffset() : 0 ); -// if ( slotDict && idx >= 0 && idx < (int) slotDict->count() ) { - if ( idx >= 0 && idx < numSlots(true) ) { -// return slotData + idx; - mm = method(idx); - mr = &mm; - return mr; - } - if ( !super || !superClass() ) - return 0; - return superClass()->slot( index, super ); -} - -/*! \internal - - Returns the meta data of the signal with the name \a n or 0 if no - such signal exists. - - If \a super is TRUE, inherited signals are included. - - FIXME: Superclass handling is badly broken - */ -const QMetaMethod* QMetaObject::signal( int index, bool super ) const -{ - QMetaMethod mm; - const QMetaMethod *mr; - int idx = index - ( super ? methodOffset() : 0 ); -// if ( signalDict && idx >= 0 && idx < (int) signalDict->count() ) { - if ( idx >= 0 && idx < numSignals(true) ) { -// return signalData + idx; - mm = method(idx); - mr = &mm; - return mr; - } - if ( !super || !superClass() ) - return 0; - return superClass()->signal( index, super ); -} - -/*! - Returns a list with the names of all this class's signals. - - If \a super is TRUE, inherited signals are included. -*/ -TQT_QT_STRING_LIST_TYPE QMetaObject::signalNames( bool super ) const -{ - TQT_QT_STRING_LIST_TYPE l( FALSE ); - int n = methodCount(); - for( int i = 0; i < n; ++i ) { - if (method(i).methodType() == QMetaMethod::Signal) { - l.append( normalizedSignature(signal(i, super)->signature()) ); - } - } - return l; -} - -/*! - Returns a list with the names of all this class's slots. - - If \a super is TRUE, inherited slots are included. - - \sa numSlots() -*/ -TQT_QT_STRING_LIST_TYPE QMetaObject::slotNames( bool super ) const -{ - TQT_QT_STRING_LIST_TYPE l( FALSE ); - int n = methodCount(); - for( int i = 0; i < n; ++i ) - if (method(i).methodType() == QMetaMethod::Slot) { - l.append( normalizedSignature(slot( i, super)->signature()) ); - } - return l; -} - -/*! \internal - Returns the index of the slot with name \n or -1 if no such slot exists. - - If \a super is TRUE, inherited slots are included. - - FIXME: Superclass handling is badly broken - */ -int QMetaObject::findSlot( const char* n, bool super ) const -{ - TQT_QT_STRING_LIST_TYPE l( FALSE ); - int m = methodCount(); - for( int i = 0; i < m; ++i ) { - if ( normalizedSignature(slot( i, super)->signature()) == QByteArray(n) ) { - if (method(i).methodType() == QMetaMethod::Slot) { - return i; - } - } - } - return -1; -} - -/*! \internal - Returns the index of the signal with name \n or -1 if no such signal exists. - - If \a super is TRUE, inherited signals are included. - - FIXME: Superclass handling is badly broken -*/ -int QMetaObject::findSignal( const char* n, bool super ) const -{ - TQT_QT_STRING_LIST_TYPE l( FALSE ); - int m = methodCount(); - for( int i = 0; i < m; ++i ) { - if ( normalizedSignature(signal( i, super)->signature()) == QByteArray(n) ) { - if (method(i).methodType() == QMetaMethod::Signal) { - return i; - } - } - } - return -1; -} - -#ifndef TQT_NO_PROPERTIES - -/*! - Returns the number of properties for this class. - - If \a super is TRUE, inherited properties are included. - - \sa propertyNames() - */ -int QMetaObject::numProperties( bool super ) const // number of signals -{ - int i; - int n=0; - for (i=0;i<propertyCount();i++) { -// if (property(i).propertyType() == QMetaProperty::Property) { - n++; -// } - } - - if ( !super || !superClass() ) - return n; - return n + superClass()->numProperties( super ); -} - -/*! - Returns the property meta data for the property at index \a index - or 0 if no such property exists. - - If \a super is TRUE, inherited properties are included. - - \sa propertyNames() - - FIXME: Superclass handling is badly broken - */ -const QMetaProperty* QMetaObject::property( int index, bool super ) const -{ - QMetaProperty mp; - const QMetaProperty *pr; - int idx = index - ( super ? propertyOffset() : 0 ); -// if ( d->propData && idx >= 0 && idx < (int)d->numPropData ) - if ( idx >= 0 && idx < numProperties(true) ) - mp = property(idx); - pr = ∓ - return pr; - if ( !super || !superClass() ) - return 0; - return superClass()->property( index, super ); -} - -/*! - Returns a list with the names of all this class's properties. - - If \a super is TRUE, inherited properties are included. - - \sa property() -*/ -TQT_QT_STRING_LIST_TYPE QMetaObject::propertyNames( bool super ) const -{ -// TQT_QT_STRING_LIST_TYPE l( FALSE ); -// -// if ( superclass && super ) { -// QStrList sl = superclass->propertyNames( super ); -// for ( QStrListIterator slit( sl ); slit.current(); ++slit ) -// l.append( slit.current() ); -// } -// -// for( int i = 0; i < d->numPropData; ++i ) { -// if ( d->propData[i].isValid() ) -// l.append( d->propData[i].name() ); -// } -// -// return l; - - TQT_QT_STRING_LIST_TYPE l( FALSE ); - int n = numProperties( super ); - for( int i = 0; i < n; ++i ) - l.append( property( i, super)->name() ); - return l; -} - -/*! - Returns the index for the property with name \a name or -1 if no - such property exists. - - If \a super is TRUE, inherited properties are included. - - \sa property(), propertyNames() - - FIXME: Superclass handling is badly broken -*/ - -int QMetaObject::findProperty( const char *name, bool super ) const -{ - return indexOfProperty( name ); -} - -#endif // TQT_NO_PROPERTIES - -bool QMetaProperty::writable() const -{ - return isWritable(); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqmetaobject.h b/qtinterface/interface_tqt3/tqmetaobject.h deleted file mode 100644 index 9461469..0000000 --- a/qtinterface/interface_tqt3/tqmetaobject.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - -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_TQMETAOBJECT_H -#define TQT_TQMETAOBJECT_H - -#include <tqt.h> -#include <ntqconnection.h> -#include <ntqstrlist.h> - -#ifdef USE_QT3 - -// Reimplement the QMetaObject class -// For Qt3, no changes are needed - -#include <ntqmetaobject.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMetaObject class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqobjectdefs.h> -#include <tqt4/Qt/ntqmetaobject.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMETAOBJECT_H */ diff --git a/qtinterface/interface_tqt3/tqmime.cpp b/qtinterface/interface_tqt3/tqmime.cpp deleted file mode 100644 index 16ab259..0000000 --- a/qtinterface/interface_tqt3/tqmime.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmime.h> diff --git a/qtinterface/interface_tqt3/tqmime.h b/qtinterface/interface_tqt3/tqmime.h deleted file mode 100644 index 6c81ca5..0000000 --- a/qtinterface/interface_tqt3/tqmime.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQMIME_H -#define TQT_TQMIME_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMime class -// For Qt3, no changes are needed - -#include <ntqmime.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMime class -// For Qt4, some changes are needed - -#include <Qt/ntqmime.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMIME_H */ diff --git a/qtinterface/interface_tqt3/tqmngio.h b/qtinterface/interface_tqt3/tqmngio.h deleted file mode 100644 index d2a02a4..0000000 --- a/qtinterface/interface_tqt3/tqmngio.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQMNGIO_H -#define TQT_TQMNGIO_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Pull in Qt3 qmngio defines - -#include <ntqmngio.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qmngio defines - -#include <ntqmngio.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMNGIO_H */ diff --git a/qtinterface/interface_tqt3/tqmodules.h b/qtinterface/interface_tqt3/tqmodules.h deleted file mode 100644 index a97c85a..0000000 --- a/qtinterface/interface_tqt3/tqmodules.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQMODULES_H -#define TQT_TQMODULES_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Pull in Qt3 modules defines - -#include <ntqmodules.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 modules defines - -#include <ntqmodules.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMODULES_H */ diff --git a/qtinterface/interface_tqt3/tqmotifplusstyle.cpp b/qtinterface/interface_tqt3/tqmotifplusstyle.cpp deleted file mode 100644 index 4636d93..0000000 --- a/qtinterface/interface_tqt3/tqmotifplusstyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmotifplusstyle.h> diff --git a/qtinterface/interface_tqt3/tqmotifplusstyle.h b/qtinterface/interface_tqt3/tqmotifplusstyle.h deleted file mode 100644 index 1a325cc..0000000 --- a/qtinterface/interface_tqt3/tqmotifplusstyle.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQMOTIFPLUSSTYLE_H -#define TQT_TQMOTIFPLUSSTYLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMotifPlusStyle class -// For Qt3, no changes are needed - -#include <ntqmotifplusstyle.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMotifPlusStyle class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQMOTIFPLUSSTYLE_H */ diff --git a/qtinterface/interface_tqt3/tqmotifstyle.cpp b/qtinterface/interface_tqt3/tqmotifstyle.cpp deleted file mode 100644 index 2507439..0000000 --- a/qtinterface/interface_tqt3/tqmotifstyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmotifstyle.h> diff --git a/qtinterface/interface_tqt3/tqmotifstyle.h b/qtinterface/interface_tqt3/tqmotifstyle.h deleted file mode 100644 index edca12f..0000000 --- a/qtinterface/interface_tqt3/tqmotifstyle.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQMOTIFSTYLE_H -#define TQT_TQMOTIFSTYLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMotifStyle class -// For Qt3, no changes are needed - -#include <ntqmotifstyle.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMotifStyle class -// For Qt4, some changes are needed - -#include <Qt/ntqmotifstyle.h> - -#endif // USE_QT4 - -#endif /* TQT_TQACCEL_H */ diff --git a/qtinterface/interface_tqt3/tqmovie.cpp b/qtinterface/interface_tqt3/tqmovie.cpp deleted file mode 100644 index 3cf3142..0000000 --- a/qtinterface/interface_tqt3/tqmovie.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmovie.h> - -#ifdef USE_QT4 - -// TQMovie::TQMovie(QObject *parent) : QMovie(parent) {} -// TQMovie::TQMovie(QIODevice *device, const QByteArray &format, QObject *parent) : QMovie(device, format, parent) {} -// TQMovie::TQMovie(const QString &fileName, const QByteArray &format, QObject *parent) : QMovie(fileName, format, parent) {} - -TQMovie::TQMovie(QObject *parent) { - d = new QMovie(parent); -} - -TQMovie::TQMovie(QIODevice *device, const QByteArray &format, QObject *parent) { - d = new QMovie(device, format, parent); -} - -TQMovie::TQMovie(const QString &fileName, const QByteArray &format, QObject *parent) { - d = new QMovie(fileName, format, parent); -} - -TQMovie::operator QMovie *() const { - return d; -} - -/*! - Makes this movie use the same data as movie \a movie. QMovies use - explicit sharing. -*/ -TQMovie& TQMovie::operator=(const TQMovie& movie) -{ - d = movie.d; - return *this; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqmovie.h b/qtinterface/interface_tqt3/tqmovie.h deleted file mode 100644 index c3fc933..0000000 --- a/qtinterface/interface_tqt3/tqmovie.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - -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_TQMOVIE_H -#define TQT_TQMOVIE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMovie class -// For Qt3, no changes are needed - -#include <ntqmovie.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMovie class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqmovie.h> - -class TQMovie { -public: - TQMovie(QObject *parent = 0); - explicit TQMovie(QIODevice *device, const QByteArray &format = QByteArray(), QObject *parent = 0); - explicit TQMovie(const QString &fileName, const QByteArray &format = QByteArray(), QObject *parent = 0); - ~TQMovie(); - - operator QMovie *() const; - - TQMovie& operator=(const TQMovie&); - -private: - QMovie *d; -}; - -#endif // USE_QT4 - -#endif /* TQT_TQMOVIE_H */ diff --git a/qtinterface/interface_tqt3/tqmultilineedit.cpp b/qtinterface/interface_tqt3/tqmultilineedit.cpp deleted file mode 100644 index 9682f07..0000000 --- a/qtinterface/interface_tqt3/tqmultilineedit.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmultilineedit.h> diff --git a/qtinterface/interface_tqt3/tqmultilineedit.h b/qtinterface/interface_tqt3/tqmultilineedit.h deleted file mode 100644 index 6c024b5..0000000 --- a/qtinterface/interface_tqt3/tqmultilineedit.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQMULTILINEEDIT_H -#define TQT_TQMULTILINEEDIT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMultiLineEdit class -// For Qt3, no changes are needed - -#include <ntqmultilineedit.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMultiLineEdit class -// For Qt4, some changes are needed - -#include <Qt/q3multilineedit.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMULTILINEEDIT_H */ diff --git a/qtinterface/interface_tqt3/tqmutex.cpp b/qtinterface/interface_tqt3/tqmutex.cpp deleted file mode 100644 index 51ab40a..0000000 --- a/qtinterface/interface_tqt3/tqmutex.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqmutex.h> diff --git a/qtinterface/interface_tqt3/tqmutex.h b/qtinterface/interface_tqt3/tqmutex.h deleted file mode 100644 index 5c095af..0000000 --- a/qtinterface/interface_tqt3/tqmutex.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQMUTEX_H -#define TQT_TQMUTEX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QMutex class -// For Qt3, no changes are needed - -#include <ntqmutex.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMutex class -// For Qt4, some changes are needed - -#include <Qt/ntqmutex.h> - -#endif // USE_QT4 - -#endif /* TQT_TQMUTEX_H */ diff --git a/qtinterface/interface_tqt3/tqnamespace.cpp b/qtinterface/interface_tqt3/tqnamespace.cpp deleted file mode 100644 index a78a2bc..0000000 --- a/qtinterface/interface_tqt3/tqnamespace.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqnamespace.h> diff --git a/qtinterface/interface_tqt3/tqnamespace.h b/qtinterface/interface_tqt3/tqnamespace.h deleted file mode 100644 index 83133ef..0000000 --- a/qtinterface/interface_tqt3/tqnamespace.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQNAMESPACE_H -#define TQT_TQNAMESPACE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QNamespace class -// For Qt3, no changes are needed - -#include <ntqnamespace.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QNamespace class -// For Qt4, some changes are needed - -#include <Qt/ntqnamespace.h> - -#endif // USE_QT4 - -#endif /* TQT_TQNAMESPACE_H */ diff --git a/qtinterface/interface_tqt3/tqnetwork.h b/qtinterface/interface_tqt3/tqnetwork.h deleted file mode 100644 index fea8edb..0000000 --- a/qtinterface/interface_tqt3/tqnetwork.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQNETWORK_H -#define TQT_TQNETWORK_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Pull in Qt3 qnetwork defines - -#include <ntqnetwork.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qnetwork defines - -#include <ntqnetwork.h> - -#endif // USE_QT4 - -#endif /* TQT_TQNETWORK_H */ diff --git a/qtinterface/interface_tqt3/tqnetworkprotocol.cpp b/qtinterface/interface_tqt3/tqnetworkprotocol.cpp deleted file mode 100644 index ce90f82..0000000 --- a/qtinterface/interface_tqt3/tqnetworkprotocol.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqnetworkprotocol.h> diff --git a/qtinterface/interface_tqt3/tqnetworkprotocol.h b/qtinterface/interface_tqt3/tqnetworkprotocol.h deleted file mode 100644 index 62c2ad0..0000000 --- a/qtinterface/interface_tqt3/tqnetworkprotocol.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQNETWORKPROTOCOL_H -#define TQT_TQNETWORKPROTOCOL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QNetworkProtocol class -// For Qt3, no changes are needed - -#include <ntqnetworkprotocol.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QNetworkProtocol class -// For Qt4, some changes are needed - -#include <Qt/q3networkprotocol.h> - -#endif // USE_QT4 - -#endif /* TQT_TQNETWORKPROTOCOL_H */ diff --git a/qtinterface/interface_tqt3/tqnp.cpp b/qtinterface/interface_tqt3/tqnp.cpp deleted file mode 100644 index 579c001..0000000 --- a/qtinterface/interface_tqt3/tqnp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqnp.h> diff --git a/qtinterface/interface_tqt3/tqnp.h b/qtinterface/interface_tqt3/tqnp.h deleted file mode 100644 index 2954f53..0000000 --- a/qtinterface/interface_tqt3/tqnp.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQNP_H -#define TQT_TQNP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QNPWidget class -// For Qt3, no changes are needed - -#include <ntqnp.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QNPWidget class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQNP_H */ diff --git a/qtinterface/interface_tqt3/tqobject.cpp b/qtinterface/interface_tqt3/tqobject.cpp deleted file mode 100644 index 42d58a1..0000000 --- a/qtinterface/interface_tqt3/tqobject.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqobject.h> - -#ifdef USE_QT4 - -const QObjectList *QObject::objectTrees() { - QWidgetList widgetlist; - QObjectList *objectlist = new QObjectList; - widgetlist = QApplication::allWidgets(); - //widgetlist = QApplication::topLevelWidgets(); - - objectlist->clear(); - foreach (QWidget *curwidget, widgetlist) { - objectlist->append((QObject*)curwidget); - } - - return objectlist; -} - -const QObjectList *QObject::ptrchildren() const { - QObjectList ql; - QObjectList *qlr; - ql = this->children(); - qlr = &ql; - return qlr; -} - -bool QObject::qt_invoke(int slot, QUObject* uo) { - QMetaMethod method = uo->metaObject()->method(slot); - return method.invoke(this, Qt::DirectConnection); -} - -#endif diff --git a/qtinterface/interface_tqt3/tqobject.h b/qtinterface/interface_tqt3/tqobject.h deleted file mode 100644 index 0629732..0000000 --- a/qtinterface/interface_tqt3/tqobject.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQOBJECT_H -#define TQT_TQOBJECT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QObject class -// For Qt3, no changes are needed - -#include <ntqobject.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QObject class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqobject.h> - -#endif // USE_QT4 - -#endif /* TQT_TQOBJECT_H */ diff --git a/qtinterface/interface_tqt3/tqobjectcleanuphandler.cpp b/qtinterface/interface_tqt3/tqobjectcleanuphandler.cpp deleted file mode 100644 index f7024f0..0000000 --- a/qtinterface/interface_tqt3/tqobjectcleanuphandler.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqobjectcleanuphandler.h> diff --git a/qtinterface/interface_tqt3/tqobjectcleanuphandler.h b/qtinterface/interface_tqt3/tqobjectcleanuphandler.h deleted file mode 100644 index 00c24eb..0000000 --- a/qtinterface/interface_tqt3/tqobjectcleanuphandler.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQOBJECTCLEANUPHANDLER_H -#define TQT_TQOBJECTCLEANUPHANDLER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QObjectCleanupHandler class -// For Qt3, no changes are needed - -#include <ntqobjectcleanuphandler.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QObjectCleanupHandler class -// For Qt4, some changes are needed - -#include <Qt/ntqobjectcleanuphandler.h> - -#endif // USE_QT4 - -#endif /* TQT_TQOBJECTCLEANUPHANDLER_H */ diff --git a/qtinterface/interface_tqt3/tqobjectdefs.h b/qtinterface/interface_tqt3/tqobjectdefs.h deleted file mode 100644 index db4960f..0000000 --- a/qtinterface/interface_tqt3/tqobjectdefs.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -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_TQOBJECTDEFS_H -#define TQT_TQOBJECTDEFS_H - -#include <tqt.h> - -// Pull in object definition defines - -#include <ntqobjectdefs.h> - -#endif /* TQT_TQOBJECTDEFS_H */ diff --git a/qtinterface/interface_tqt3/tqobjectdict.cpp b/qtinterface/interface_tqt3/tqobjectdict.cpp deleted file mode 100644 index 7c7ed07..0000000 --- a/qtinterface/interface_tqt3/tqobjectdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqobjectdict.h> diff --git a/qtinterface/interface_tqt3/tqobjectdict.h b/qtinterface/interface_tqt3/tqobjectdict.h deleted file mode 100644 index c5c9f46..0000000 --- a/qtinterface/interface_tqt3/tqobjectdict.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQOBJECTDICT_H -#define TQT_TQOBJECTDICT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QObjectDictionary class -// For Qt3, no changes are needed - -#include <ntqobjectdict.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QObjectDictionary class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQOBJECTDICT_H */ diff --git a/qtinterface/interface_tqt3/tqobjectlist.cpp b/qtinterface/interface_tqt3/tqobjectlist.cpp deleted file mode 100644 index f3d2fcc..0000000 --- a/qtinterface/interface_tqt3/tqobjectlist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqobjectlist.h> diff --git a/qtinterface/interface_tqt3/tqobjectlist.h b/qtinterface/interface_tqt3/tqobjectlist.h deleted file mode 100644 index 521c520..0000000 --- a/qtinterface/interface_tqt3/tqobjectlist.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQOBJECTLIST_H -#define TQT_TQOBJECTLIST_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QObjectList class -// For Qt3, no changes are needed - -#include <ntqobjectlist.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QObjectList class -// For Qt4, some changes are needed - -#include <Qt/ntqobject.h> - -#endif // USE_QT4 - -#endif /* TQT_TQOBJECTLIST_H */ diff --git a/qtinterface/interface_tqt3/tqpaintdc.h b/qtinterface/interface_tqt3/tqpaintdc.h deleted file mode 100644 index ed879f5..0000000 --- a/qtinterface/interface_tqt3/tqpaintdc.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - -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_TQPAINTDC_H -#define TQT_TQPAINTDC_H - -#include <tqt.h> - -#endif /* TQT_TQPAINTDC_H */ diff --git a/qtinterface/interface_tqt3/tqpaintdevice.cpp b/qtinterface/interface_tqt3/tqpaintdevice.cpp deleted file mode 100644 index 457d37d..0000000 --- a/qtinterface/interface_tqt3/tqpaintdevice.cpp +++ /dev/null @@ -1,123 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpaintdevice.h> - -#ifdef USE_QT4 - -// the following is necessary to work around breakage in many versions -// of XFree86's Xlib.h still in use -// ### which versions? -#if defined(_XLIB_H_) // crude hack, but... -#error "cannot include <X11/Xlib.h> before this file" -#endif -#define XRegisterIMInstantiateCallback qt_XRegisterIMInstantiateCallback -#define XUnregisterIMInstantiateCallback qt_XUnregisterIMInstantiateCallback -#define XSetIMValues qt_XSetIMValues -#include <X11/Xlib.h> -#undef XRegisterIMInstantiateCallback -#undef XUnregisterIMInstantiateCallback -#undef XSetIMValues - -#include <X11/Xutil.h> -#include <X11/Xos.h> -#include <X11/Xatom.h> - -#include <Qt/qcolormap.h> - -/*! - Returns the window system handle of the paint device for XRender - support. Use of this function is not portable. This function will - return 0 if XRender support is not compiled into Qt, if the - XRender extension is not supported on the X11 display, or if the - handle could not be created. -*/ -Qt::HANDLE QPaintDevice::x11RenderHandle() const -{ -// #ifndef TQT_NO_XFTFREETYPE -// return rendhd ? XftDrawPicture( (XftDraw *) rendhd ) : 0; -// #else - return 0; -// #endif // TQT_NO_XFTFREETYPE -} - -static GC* app_gc_tmp = 0; // temporary GC -static GC* app_gc_tmp_m = 0; // temporary GC (monochrome) - -static GC create_gc( int scrn, bool monochrome ) -{ - GC gc; - Display *appDpy = QX11Info::display(); - if ( monochrome ) { - Pixmap pm = XCreatePixmap( appDpy, RootWindow( appDpy, scrn ), 8, 8, 1 ); - gc = XCreateGC( appDpy, pm, 0, 0 ); - XFreePixmap( appDpy, pm ); - } else { - if ( QPaintDevice::x11AppDefaultVisual( scrn ) ) { - gc = XCreateGC( appDpy, RootWindow( appDpy, scrn ), 0, 0 ); - } else { - Window w; - XSetWindowAttributes a; - QColormap cmap_background = QColormap::instance( scrn ); - QColormap cmap_border = QColormap::instance( scrn ); - a.background_pixel = cmap_background.pixel( Qt::black ); - a.border_pixel = cmap_border.pixel( Qt::black ); - - a.colormap = QPaintDevice::x11AppColormap( scrn ); - w = XCreateWindow( appDpy, RootWindow( appDpy, scrn ), 0, 0, 100, 100, - 0, QPaintDevice::x11AppDepth( scrn ), InputOutput, - (Visual*)QPaintDevice::x11AppVisual( scrn ), - CWBackPixel|CWBorderPixel|CWColormap, &a ); - gc = XCreateGC( appDpy, w, 0, 0 ); - XDestroyWindow( appDpy, w ); - } - } - XSetGraphicsExposures( appDpy, gc, False ); - return gc; -} - -GC qt_xget_temp_gc( int scrn, bool monochrome ) // get temporary GC -{ - int appScreenCount = QApplication::desktop()->numScreens(); - if ( scrn < 0 || scrn >= appScreenCount ) { - qDebug("invalid screen (tmp) %d %d", scrn, appScreenCount ); - QWidget* bla = 0; - bla->setName("hello"); - } - GC gc; - if ( monochrome ) { - if ( !app_gc_tmp_m ) // create GC for bitmap - memset( (app_gc_tmp_m = new GC[appScreenCount]), 0, appScreenCount * sizeof( GC ) ); - if ( !app_gc_tmp_m[scrn] ) - app_gc_tmp_m[scrn] = create_gc( scrn, TRUE ); - gc = app_gc_tmp_m[scrn]; - } else { // create standard GC - if ( !app_gc_tmp ) - memset( (app_gc_tmp = new GC[appScreenCount]), 0, appScreenCount * sizeof( GC ) ); - if ( !app_gc_tmp[scrn] ) - app_gc_tmp[scrn] = create_gc( scrn, FALSE ); - gc = app_gc_tmp[scrn]; - } - return gc; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqpaintdevice.h b/qtinterface/interface_tqt3/tqpaintdevice.h deleted file mode 100644 index 4f3eed1..0000000 --- a/qtinterface/interface_tqt3/tqpaintdevice.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPAINTDEVICE_H -#define TQT_TQPAINTDEVICE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPaintDevice class -// For Qt3, no changes are needed - -#include <ntqpaintdevice.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPaintDevice class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqpaintdevice.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPAINTDEVICE_H */ diff --git a/qtinterface/interface_tqt3/tqpaintdevicemetrics.cpp b/qtinterface/interface_tqt3/tqpaintdevicemetrics.cpp deleted file mode 100644 index fa0fac3..0000000 --- a/qtinterface/interface_tqt3/tqpaintdevicemetrics.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpaintdevicemetrics.h> diff --git a/qtinterface/interface_tqt3/tqpaintdevicemetrics.h b/qtinterface/interface_tqt3/tqpaintdevicemetrics.h deleted file mode 100644 index e903008..0000000 --- a/qtinterface/interface_tqt3/tqpaintdevicemetrics.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPAINTDEVICEMETRICS_H -#define TQT_TQPAINTDEVICEMETRICS_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPaintDeviceMetrics class -// For Qt3, no changes are needed - -#include <ntqpaintdevicemetrics.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPaintDeviceMetrics class -// For Qt4, some changes are needed - -#include <Qt/q3paintdevicemetrics.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPAINTDEVICEMETRICS_H */ diff --git a/qtinterface/interface_tqt3/tqpainter.cpp b/qtinterface/interface_tqt3/tqpainter.cpp deleted file mode 100644 index ae835c4..0000000 --- a/qtinterface/interface_tqt3/tqpainter.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpainter.h> - -#ifdef USE_QT4 - -void Q3Painter::setRasterOp( Qt::RasterOp ) { - // Do nothing! - #warning "Q3Painter::setRasterOp is unimplemented!" -} - -Q3Painter::Q3Painter( const QPaintDevice * pdev, bool unclipped ) : QPainter(const_cast<QPaintDevice *>(pdev)) { - setClipping(!unclipped); -} - -// void Q3Painter::flush( const QRegion ®ion, CoordinateMode cm = CoordDevice ) { -// #warning "Q3Painter::flush is unimplemented!" -// } - -void Q3Painter::flush() { - #warning "Q3Painter::flush is unimplemented!" -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqpainter.h b/qtinterface/interface_tqt3/tqpainter.h deleted file mode 100644 index 97879a8..0000000 --- a/qtinterface/interface_tqt3/tqpainter.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPAINTER_H -#define TQT_TQPAINTER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPainter class -// For Qt3, no changes are needed - -#include <ntqpainter.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPainter class -// For Qt4, some changes are needed - -#include <tqt4/Qt/q3painter.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPAINTER_H */ diff --git a/qtinterface/interface_tqt3/tqpair.cpp b/qtinterface/interface_tqt3/tqpair.cpp deleted file mode 100644 index 714e1a3..0000000 --- a/qtinterface/interface_tqt3/tqpair.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpair.h> diff --git a/qtinterface/interface_tqt3/tqpair.h b/qtinterface/interface_tqt3/tqpair.h deleted file mode 100644 index dd511ec..0000000 --- a/qtinterface/interface_tqt3/tqpair.h +++ /dev/null @@ -1,143 +0,0 @@ -/* - -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_TQPAIR_H -#define TQT_TQPAIR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPair class -// For Qt3, no changes are needed - -#include <ntqpair.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPair class -// For Qt4, some changes are needed - -#include <Qt/ntqpair.h> - -/**************************************************************************** -** -** Definition of TQPair class -** -** -** Copyright (C) 1992-2005 Trolltech AS. All rights reserved. -** -** This file is part of the tools module of the Qt GUI Toolkit. -** -** This file may be distributed under the terms of the Q Public License -** as defined by Trolltech AS of Norway and appearing in the file -** LICENSE.QPL included in the packaging of this file. -** -** This file may be distributed and/or modified under the terms of the -** GNU General Public License version 2 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. -** -** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition -** licenses may use this file in accordance with the Qt Commercial License -** Agreement provided with the Software. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for -** information about Qt Commercial License Agreements. -** See http://www.trolltech.com/qpl/ for QPL licensing information. -** See http://www.trolltech.com/gpl/ for GPL licensing information. -** -** Contact info@trolltech.com if any conditions of this licensing are -** not clear to you. -** -**********************************************************************/ - -template <class T1, class T2> -struct TQPair -{ - typedef T1 first_type; - typedef T2 second_type; - - TQPair() - : first( T1() ), second( T2() ) - {} - TQPair( const T1& t1, const T2& t2 ) - : first( t1 ), second( t2 ) - {} - - TQPair<T1, T2>& operator=(const TQPair<T1, T2>& other) - { - if (this != &other) { - first = other.first; - second = other.second; - } - return *this; - } - - T1 first; - T2 second; -}; - -template <class T1, class T2> -bool operator==( const TQPair<T1, T2>& x, const TQPair<T1, T2>& y ) -{ - return x.first == y.first && x.second == y.second; -} - -template <class T1, class T2> -bool operator<( const TQPair<T1, T2>& x, const TQPair<T1, T2>& y ) -{ - return x.first < y.first || - ( !( y.first < x.first ) && x.second < y.second ); -} - -template <class T1, class T2> -TQPair<T1, T2> qMakePair( const T1& x, const T2& y ) -{ - return TQPair<T1, T2>( x, y ); -} - -#ifndef TQT_NO_DATASTREAM -template <class T1, class T2> -inline QDataStream& operator>>( QDataStream& s, TQPair<T1, T2>& p ) -{ - s >> p.first >> p.second; - return s; -} - -template <class T1, class T2> -inline QDataStream& operator<<( QDataStream& s, const TQPair<T1, T2>& p ) -{ - s << p.first << p.second; - return s; -} -#endif - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQPAIR_H */ diff --git a/qtinterface/interface_tqt3/tqpalette.cpp b/qtinterface/interface_tqt3/tqpalette.cpp deleted file mode 100644 index f439711..0000000 --- a/qtinterface/interface_tqt3/tqpalette.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpalette.h> diff --git a/qtinterface/interface_tqt3/tqpalette.h b/qtinterface/interface_tqt3/tqpalette.h deleted file mode 100644 index a59b736..0000000 --- a/qtinterface/interface_tqt3/tqpalette.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPALETTE_H -#define TQT_TQPALETTE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPalette class -// For Qt3, no changes are needed - -#include <ntqpalette.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPalette class -// For Qt4, some changes are needed - -#include <Qt/ntqpalette.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPALETTE_H */ diff --git a/qtinterface/interface_tqt3/tqpen.cpp b/qtinterface/interface_tqt3/tqpen.cpp deleted file mode 100644 index 6126e2a..0000000 --- a/qtinterface/interface_tqt3/tqpen.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpen.h> diff --git a/qtinterface/interface_tqt3/tqpen.h b/qtinterface/interface_tqt3/tqpen.h deleted file mode 100644 index bc8075d..0000000 --- a/qtinterface/interface_tqt3/tqpen.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPEN_H -#define TQT_TQPEN_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPen class -// For Qt3, no changes are needed - -#include <ntqpen.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPen class -// For Qt4, some changes are needed - -#include <Qt/ntqpen.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPEN_H */ diff --git a/qtinterface/interface_tqt3/tqpicture.cpp b/qtinterface/interface_tqt3/tqpicture.cpp deleted file mode 100644 index 00d8a04..0000000 --- a/qtinterface/interface_tqt3/tqpicture.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpicture.h> diff --git a/qtinterface/interface_tqt3/tqpicture.h b/qtinterface/interface_tqt3/tqpicture.h deleted file mode 100644 index d7785a0..0000000 --- a/qtinterface/interface_tqt3/tqpicture.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPICTURE_H -#define TQT_TQPICTURE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPicture class -// For Qt3, no changes are needed - -#include <ntqpicture.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPicture class -// For Qt4, some changes are needed - -#include <Qt/q3picture.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPICTURE_H */ diff --git a/qtinterface/interface_tqt3/tqpixmap.cpp b/qtinterface/interface_tqt3/tqpixmap.cpp deleted file mode 100644 index 7b5c9dd..0000000 --- a/qtinterface/interface_tqt3/tqpixmap.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpixmap.h> - -#ifdef USE_QT4 - -#include <Qt/ntqbitmap.h> -#include <qt4/QtGui/private/qpixmapdata_p.h> - -bool QPixmap::convertFromImage(const QImage &img, int flags) { - return convertFromImage(img, (Qt::ImageConversionFlags)flags); -} - -QPixmap::Optimization QPixmap::optimization() const { - #warning "QPixmap::optimization() unimplemented!" - return QPixmap::NormalOptim; -} - -void QPixmap::setOptimization( QPixmap::Optimization ) { - #warning "QPixmap::setOptimization unimplemented!" -} - -QPixmap::Optimization defaultOptimization() { - #warning "QPixmap::Optimization unimplemented!" - return QPixmap::NormalOptim; -} - -void QPixmap::setDefaultOptimization( QPixmap::Optimization ) { - #warning "QPixmap::setDefaultOptimization unimplemented!" -} - -QPixmap::QPixmap( int w, int h, int depth, Optimization optim ) { - QPixmap(w, h); -} - -QPixmap::operator QPixmap *() const { - return const_cast<QPixmap *>(this); -} - -const QBitmap *QPixmap::ptrmask() const { - QBitmap pm = mask(); - QBitmap *pr = ± - return pr; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqpixmap.h b/qtinterface/interface_tqt3/tqpixmap.h deleted file mode 100644 index e057922..0000000 --- a/qtinterface/interface_tqt3/tqpixmap.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPIXMAP_H -#define TQT_TQPIXMAP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPixmap class -// For Qt3, no changes are needed - -#include <ntqpixmap.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPixmap class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqpixmap.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPIXMAP_H */ diff --git a/qtinterface/interface_tqt3/tqpixmapcache.cpp b/qtinterface/interface_tqt3/tqpixmapcache.cpp deleted file mode 100644 index 28f0155..0000000 --- a/qtinterface/interface_tqt3/tqpixmapcache.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpixmapcache.h> diff --git a/qtinterface/interface_tqt3/tqpixmapcache.h b/qtinterface/interface_tqt3/tqpixmapcache.h deleted file mode 100644 index cfd1c88..0000000 --- a/qtinterface/interface_tqt3/tqpixmapcache.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPIXMAPCACHE_H -#define TQT_TQPIXMAPCACHE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPixmapCache class -// For Qt3, no changes are needed - -#include <ntqpixmapcache.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPixmapCache class -// For Qt4, some changes are needed - -#include <Qt/ntqpixmapcache.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPIXMAPCACHE_H */ diff --git a/qtinterface/interface_tqt3/tqplatinumstyle.cpp b/qtinterface/interface_tqt3/tqplatinumstyle.cpp deleted file mode 100644 index eefaab4..0000000 --- a/qtinterface/interface_tqt3/tqplatinumstyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqplatinumstyle.h> diff --git a/qtinterface/interface_tqt3/tqplatinumstyle.h b/qtinterface/interface_tqt3/tqplatinumstyle.h deleted file mode 100644 index 93119a9..0000000 --- a/qtinterface/interface_tqt3/tqplatinumstyle.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQPLATINUMSTYLE_H -#define TQT_TQPLATINUMSTYLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPlatinumStyle class -// For Qt3, no changes are needed - -#include <ntqplatinumstyle.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPlatinumStyle class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQPLATINUMSTYLE_H */ diff --git a/qtinterface/interface_tqt3/tqpngio.cpp b/qtinterface/interface_tqt3/tqpngio.cpp deleted file mode 100644 index 3c2156b..0000000 --- a/qtinterface/interface_tqt3/tqpngio.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpngio.h> diff --git a/qtinterface/interface_tqt3/tqpngio.h b/qtinterface/interface_tqt3/tqpngio.h deleted file mode 100644 index bbe3850..0000000 --- a/qtinterface/interface_tqt3/tqpngio.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQPNGIO_H -#define TQT_TQPNGIO_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPNGImage class -// For Qt3, no changes are needed - -#include <ntqpngio.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPNGImage class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQPNGIO_H */ diff --git a/qtinterface/interface_tqt3/tqpoint.cpp b/qtinterface/interface_tqt3/tqpoint.cpp deleted file mode 100644 index 2c1899f..0000000 --- a/qtinterface/interface_tqt3/tqpoint.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpoint.h> diff --git a/qtinterface/interface_tqt3/tqpoint.h b/qtinterface/interface_tqt3/tqpoint.h deleted file mode 100644 index 67316b9..0000000 --- a/qtinterface/interface_tqt3/tqpoint.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPOINT_H -#define TQT_TQPOINT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPoint class -// For Qt3, no changes are needed - -#include <ntqpoint.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPoint class -// For Qt4, some changes are needed - -#include <Qt/ntqpoint.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPOINT_H */ diff --git a/qtinterface/interface_tqt3/tqpointarray.cpp b/qtinterface/interface_tqt3/tqpointarray.cpp deleted file mode 100644 index c8d4165..0000000 --- a/qtinterface/interface_tqt3/tqpointarray.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpointarray.h> - -#ifdef USE_QT4 - -/*! - \internal - Constructs a point array with \a nPoints points, taken from the - \a points array. - - Equivalent to setPoints(nPoints, points). -*/ - -Q3PointArray::Q3PointArray( int nPoints, const QCOORD *points ) -{ - setPoints( nPoints, points ); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqpointarray.h b/qtinterface/interface_tqt3/tqpointarray.h deleted file mode 100644 index 3a9ff76..0000000 --- a/qtinterface/interface_tqt3/tqpointarray.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPOINTARRAY_H -#define TQT_TQPOINTARRAY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QAccel class -// For Qt3, no changes are needed - -#include <ntqpointarray.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAccel class -// For Qt4, some changes are needed - -#include <tqt4/Qt/q3pointarray.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPOINTARRAY_H */ diff --git a/qtinterface/interface_tqt3/tqpolygonscanner.cpp b/qtinterface/interface_tqt3/tqpolygonscanner.cpp deleted file mode 100644 index 443b972..0000000 --- a/qtinterface/interface_tqt3/tqpolygonscanner.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpolygonscanner.h> diff --git a/qtinterface/interface_tqt3/tqpolygonscanner.h b/qtinterface/interface_tqt3/tqpolygonscanner.h deleted file mode 100644 index 7f0fbf7..0000000 --- a/qtinterface/interface_tqt3/tqpolygonscanner.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQPOLYGONSCANNER_H -#define TQT_TQPOLYGONSCANNER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPolygonScanner class -// For Qt3, no changes are needed - -#include <ntqpolygonscanner.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPolygonScanner class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQPOLYGONSCANNER_H */ diff --git a/qtinterface/interface_tqt3/tqpopupmenu.cpp b/qtinterface/interface_tqt3/tqpopupmenu.cpp deleted file mode 100644 index 46c3186..0000000 --- a/qtinterface/interface_tqt3/tqpopupmenu.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpopupmenu.h> - -#ifdef USE_QT4 - -void Q3PopupMenu::changeItem( int id, const QString &text ) { - changeItem( text, id ); -} - -void Q3PopupMenu::changeItem( const QString &text, int id ) { - changeItem( text, id ); -} - -void Q3PopupMenu::changeItem( const QPixmap &pixmap, int id ) { - changeItem( pixmap, id ); -} - -void Q3PopupMenu::changeItem( const QIconSet &icon, const QString &text, int id ) { - changeItem( icon, text, id ); -} - -#endif diff --git a/qtinterface/interface_tqt3/tqpopupmenu.h b/qtinterface/interface_tqt3/tqpopupmenu.h deleted file mode 100644 index 7157837..0000000 --- a/qtinterface/interface_tqt3/tqpopupmenu.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - -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_TQPOPUPMENU_H -#define TQT_TQPOPUPMENU_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPopupMenu class -// For Qt3, no changes are needed - -#include <ntqpopupmenu.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPopupMenu class -// For Qt4, some changes are needed - -#include <tqt4/Qt/q3popupmenu.h> -#include <tqt4/Qt/ntqmenudata.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPOPUPMENU_H */ diff --git a/qtinterface/interface_tqt3/tqprintdialog.cpp b/qtinterface/interface_tqt3/tqprintdialog.cpp deleted file mode 100644 index 7c026d9..0000000 --- a/qtinterface/interface_tqt3/tqprintdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqprintdialog.h> diff --git a/qtinterface/interface_tqt3/tqprintdialog.h b/qtinterface/interface_tqt3/tqprintdialog.h deleted file mode 100644 index edc2c77..0000000 --- a/qtinterface/interface_tqt3/tqprintdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPRINTDIALOG_H -#define TQT_TQPRINTDIALOG_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPrintDialog class -// For Qt3, no changes are needed - -#include <ntqprintdialog.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPrintDialog class -// For Qt4, some changes are needed - -#include <Qt/ntqprintdialog.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPRINTDIALOG_H */ diff --git a/qtinterface/interface_tqt3/tqprinter.cpp b/qtinterface/interface_tqt3/tqprinter.cpp deleted file mode 100644 index e8eb40f..0000000 --- a/qtinterface/interface_tqt3/tqprinter.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqprinter.h> diff --git a/qtinterface/interface_tqt3/tqprinter.h b/qtinterface/interface_tqt3/tqprinter.h deleted file mode 100644 index 5e1baba..0000000 --- a/qtinterface/interface_tqt3/tqprinter.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPRINTER_H -#define TQT_TQPRINTER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPrinter class -// For Qt3, no changes are needed - -#include <ntqprinter.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPrinter class -// For Qt4, some changes are needed - -#include <Qt/ntqprinter.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPRINTER_H */ diff --git a/qtinterface/interface_tqt3/tqprocess.cpp b/qtinterface/interface_tqt3/tqprocess.cpp deleted file mode 100644 index 0b20eaa..0000000 --- a/qtinterface/interface_tqt3/tqprocess.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqprocess.h> diff --git a/qtinterface/interface_tqt3/tqprocess.h b/qtinterface/interface_tqt3/tqprocess.h deleted file mode 100644 index ae96308..0000000 --- a/qtinterface/interface_tqt3/tqprocess.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPROCESS_H -#define TQT_TQPROCESS_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QProcess class -// For Qt3, no changes are needed - -#include <ntqprocess.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QProcess class -// For Qt4, some changes are needed - -#include <Qt/ntqprocess.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPROCESS_H */ diff --git a/qtinterface/interface_tqt3/tqprogressbar.cpp b/qtinterface/interface_tqt3/tqprogressbar.cpp deleted file mode 100644 index 8953610..0000000 --- a/qtinterface/interface_tqt3/tqprogressbar.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqprogressbar.h> diff --git a/qtinterface/interface_tqt3/tqprogressbar.h b/qtinterface/interface_tqt3/tqprogressbar.h deleted file mode 100644 index d8f6106..0000000 --- a/qtinterface/interface_tqt3/tqprogressbar.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPROGRESSBAR_H -#define TQT_TQPROGRESSBAR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QProgressBar class -// For Qt3, no changes are needed - -#include <ntqprogressbar.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QProgressBar class -// For Qt4, some changes are needed - -#include <Qt/ntqprogressbar.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPROGRESSBAR_H */ diff --git a/qtinterface/interface_tqt3/tqprogressdialog.cpp b/qtinterface/interface_tqt3/tqprogressdialog.cpp deleted file mode 100644 index d9735b6..0000000 --- a/qtinterface/interface_tqt3/tqprogressdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqprogressdialog.h> diff --git a/qtinterface/interface_tqt3/tqprogressdialog.h b/qtinterface/interface_tqt3/tqprogressdialog.h deleted file mode 100644 index 116867f..0000000 --- a/qtinterface/interface_tqt3/tqprogressdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPROGRESSDIALOG_H -#define TQT_TQPROGRESSDIALOG_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QProgressDialog class -// For Qt3, no changes are needed - -#include <ntqprogressdialog.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QProgressDialog class -// For Qt4, some changes are needed - -#include <Qt/q3progressdialog.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPROGRESSDIALOG_H */ diff --git a/qtinterface/interface_tqt3/tqptrcollection.cpp b/qtinterface/interface_tqt3/tqptrcollection.cpp deleted file mode 100644 index 3c7da7d..0000000 --- a/qtinterface/interface_tqt3/tqptrcollection.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqptrcollection.h> diff --git a/qtinterface/interface_tqt3/tqptrcollection.h b/qtinterface/interface_tqt3/tqptrcollection.h deleted file mode 100644 index 2901086..0000000 --- a/qtinterface/interface_tqt3/tqptrcollection.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPTRCOLLECTION_H -#define TQT_TQPTRCOLLECTION_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPtrCollection class -// For Qt3, no changes are needed - -#include <ntqptrcollection.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPtrCollection class -// For Qt4, some changes are needed - -#include <Qt/q3ptrcollection.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPTRCOLLECTION_H */ diff --git a/qtinterface/interface_tqt3/tqptrdict.cpp b/qtinterface/interface_tqt3/tqptrdict.cpp deleted file mode 100644 index 3c8c577..0000000 --- a/qtinterface/interface_tqt3/tqptrdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqptrdict.h> diff --git a/qtinterface/interface_tqt3/tqptrdict.h b/qtinterface/interface_tqt3/tqptrdict.h deleted file mode 100644 index 782e662..0000000 --- a/qtinterface/interface_tqt3/tqptrdict.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPTRDICT_H -#define TQT_TQPTRDICT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPtrDict class -// For Qt3, no changes are needed - -#include <ntqptrdict.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPtrDict class -// For Qt4, some changes are needed - -#include <Qt/q3ptrdict.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPTRDICT_H */ diff --git a/qtinterface/interface_tqt3/tqptrlist.cpp b/qtinterface/interface_tqt3/tqptrlist.cpp deleted file mode 100644 index da85c9b..0000000 --- a/qtinterface/interface_tqt3/tqptrlist.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqptrlist.h> - -// QList is a template class. Template classes do not generate object files. -// Therefore, template classes CANNOT contain out-of-line members. Period. -// Make your changes inline in the header file and don't look back! diff --git a/qtinterface/interface_tqt3/tqptrlist.h b/qtinterface/interface_tqt3/tqptrlist.h deleted file mode 100644 index 9b571a5..0000000 --- a/qtinterface/interface_tqt3/tqptrlist.h +++ /dev/null @@ -1,252 +0,0 @@ -/* - -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_TQPTRLIST_H -#define TQT_TQPTRLIST_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the TQPtrList class -// For Qt3, no changes are needed - -#include <ntqptrlist.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the TQPtrList class -// For Qt4, some changes are needed - -#include <Qt/q3ptrlist.h> -#include <Qt/q3glist.h> -#include <Qt/q3gvector.h> -#include <Qt/q3ptrcollection.h> -#include <Qt/ntqlist.h> - -/**************************************************************************** -** -** Definition of TQPtrList template/macro class -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the tools module of the Qt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free Qt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -template<class type> -class TQPtrListStdIterator : public Q3GListStdIterator -{ -public: - inline TQPtrListStdIterator( Q3LNode* n ): Q3GListStdIterator(n) {} - type *operator*() { return node ? (type *)node->getData() : 0; } - inline TQPtrListStdIterator<type> operator++() - { node = next(); return *this; } - inline TQPtrListStdIterator<type> operator++(int) - { Q3LNode* n = node; node = next(); return TQPtrListStdIterator<type>( n ); } - inline bool operator==( const TQPtrListStdIterator<type>& it ) const { return node == it.node; } - inline bool operator!=( const TQPtrListStdIterator<type>& it ) const { return node != it.node; } -}; - - -template<class type> -class TQPtrList -#ifdef Q_QDOC - : public Q3PtrCollection -#else - : public Q3GList -#endif -{ -public: - - TQPtrList() {} - TQPtrList( const TQPtrList<type> &l ) : Q3GList(l) {} - ~TQPtrList() { clear(); } - TQPtrList<type> &operator=(const TQPtrList<type> &l) - { return (TQPtrList<type>&)Q3GList::operator=(l); } - bool operator==( const TQPtrList<type> &list ) const - { return Q3GList::operator==( list ); } - bool operator!=( const TQPtrList<type> &list ) const - { return !Q3GList::operator==( list ); } - - // Interoperability - TQPtrList(const QList<type*>& l) - { - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - } - - TQPtrList<type>& operator= (const QList<type*>& l) - { - this->clear(); - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - return *this; - } - - operator QList<type*>() const { - QList<type*> list; - for (typename TQPtrList<type>::const_iterator it = TQPtrList<type>::constBegin(); - it != TQPtrList<type>::constEnd(); ++it) - list.append(*it); - return list; - } - - uint count() const { return Q3GList::count(); } - bool isEmpty() const { return Q3GList::count() == 0; } - bool insert( uint i, const type *d){ return Q3GList::insertAt(i,(Q3PtrCollection::Item)d); } - void inSort( const type *d ) { Q3GList::inSort((Q3PtrCollection::Item)d); } - void prepend( const type *d ) { Q3GList::insertAt(0,(Q3PtrCollection::Item)d); } - void append( const type *d ) { Q3GList::append((Q3PtrCollection::Item)d); } - bool remove( uint i ) { return Q3GList::removeAt(i); } - bool remove() { return Q3GList::remove((Q3PtrCollection::Item)0); } - bool remove( const type *d ) { return Q3GList::remove((Q3PtrCollection::Item)d); } - bool removeRef( const type *d ) { return Q3GList::removeRef((Q3PtrCollection::Item)d); } - void removeNode( Q3LNode *n ) { Q3GList::removeNode(n); } - bool removeFirst() { return Q3GList::removeFirst(); } - bool removeLast() { return Q3GList::removeLast(); } - type *take( uint i ) { return (type *)Q3GList::takeAt(i); } - type *take() { return (type *)Q3GList::take(); } - type *takeNode( Q3LNode *n ) { return (type *)Q3GList::takeNode(n); } - void clear() { Q3GList::clear(); } - void sort() { Q3GList::sort(); } - int find( const type *d ) { return Q3GList::find((Q3PtrCollection::Item)d); } - int findNext( const type *d ) { return Q3GList::find((Q3PtrCollection::Item)d,FALSE); } - int findRef( const type *d ) { return Q3GList::findRef((Q3PtrCollection::Item)d); } - int findNextRef( const type *d ){ return Q3GList::findRef((Q3PtrCollection::Item)d,FALSE);} - uint contains( const type *d ) const { return Q3GList::contains((Q3PtrCollection::Item)d); } - uint containsRef( const type *d ) const - { return Q3GList::containsRef((Q3PtrCollection::Item)d); } - bool replace( uint i, const type *d ) { return Q3GList::replaceAt( i, (Q3PtrCollection::Item)d ); } - type *at( uint i ) { return (type *)Q3GList::at(i); } - int at() const { return Q3GList::at(); } - type *current() const { return (type *)Q3GList::get(); } - Q3LNode *currentNode() const { return Q3GList::currentNode(); } - type *getFirst() const { return (type *)Q3GList::cfirst(); } - type *getLast() const { return (type *)Q3GList::clast(); } - type *first() { return (type *)Q3GList::first(); } - type *last() { return (type *)Q3GList::last(); } - type *next() { return (type *)Q3GList::next(); } - type *prev() { return (type *)Q3GList::prev(); } - void toVector( Q3GVector *vec )const{ Q3GList::toVector(vec); } - - - // standard iterators - typedef TQPtrListStdIterator<type> Iterator; - typedef TQPtrListStdIterator<type> ConstIterator; - inline Iterator begin() { return Q3GList::begin(); } - inline ConstIterator begin() const { return Q3GList::begin(); } - inline ConstIterator constBegin() const { return Q3GList::begin(); } - inline Iterator end() { return Q3GList::end(); } - inline ConstIterator end() const { return Q3GList::end(); } - inline ConstIterator constEnd() const { return Q3GList::end(); } - inline Iterator erase( Iterator it ) { return Q3GList::erase( it ); } - // stl syntax compatibility - typedef Iterator iterator; - typedef ConstIterator const_iterator; - - -#ifdef Q_QDOC -protected: - virtual int compareItems( Q3PtrCollection::Item, Q3PtrCollection::Item ); - virtual QDataStream& read( QDataStream&, Q3PtrCollection::Item& ); - virtual QDataStream& write( QDataStream&, Q3PtrCollection::Item ) const; -#endif - -private: - void deleteItem( Item d ); -}; - -#if !defined(Q_BROKEN_TEMPLATE_SPECIALIZATION) -template<> inline void TQPtrList<void>::deleteItem( Q3PtrCollection::Item ) -{ -} -#endif - -template<class type> inline void TQPtrList<type>::deleteItem( Q3PtrCollection::Item d ) -{ - if ( del_item ) delete (type *)d; -} - -template<class type> -class TQPtrListIterator : public Q3GListIterator -{ -public: - TQPtrListIterator(const TQPtrList<type> &l) :Q3GListIterator((Q3GList &)l) {} - ~TQPtrListIterator() {} - uint count() const { return list->count(); } - bool isEmpty() const { return list->count() == 0; } - bool atFirst() const { return Q3GListIterator::atFirst(); } - bool atLast() const { return Q3GListIterator::atLast(); } - type *toFirst() { return (type *)Q3GListIterator::toFirst(); } - type *toLast() { return (type *)Q3GListIterator::toLast(); } - operator type *() const { return (type *)Q3GListIterator::get(); } - type *operator*() { return (type *)Q3GListIterator::get(); } - - // No good, since TQPtrList<char> (ie. QStrList fails... - // - // MSVC++ gives warning - // Sunpro C++ 4.1 gives error - // type *operator->() { return (type *)Q3GListIterator::get(); } - - type *current() const { return (type *)Q3GListIterator::get(); } - type *operator()() { return (type *)Q3GListIterator::operator()();} - type *operator++() { return (type *)Q3GListIterator::operator++(); } - type *operator+=(uint j) { return (type *)Q3GListIterator::operator+=(j);} - type *operator--() { return (type *)Q3GListIterator::operator--(); } - type *operator-=(uint j) { return (type *)Q3GListIterator::operator-=(j);} - TQPtrListIterator<type>& operator=(const TQPtrListIterator<type>&it) - { Q3GListIterator::operator=(it); return *this; } -}; - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQPTRLIST_H */ diff --git a/qtinterface/interface_tqt3/tqptrqueue.cpp b/qtinterface/interface_tqt3/tqptrqueue.cpp deleted file mode 100644 index 8b49f60..0000000 --- a/qtinterface/interface_tqt3/tqptrqueue.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqptrqueue.h> diff --git a/qtinterface/interface_tqt3/tqptrqueue.h b/qtinterface/interface_tqt3/tqptrqueue.h deleted file mode 100644 index 254765a..0000000 --- a/qtinterface/interface_tqt3/tqptrqueue.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPTRQUEUE_H -#define TQT_TQPTRQUEUE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPtrQueue class -// For Qt3, no changes are needed - -#include <ntqptrqueue.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPtrQueue class -// For Qt4, some changes are needed - -#include <Qt/q3ptrqueue.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPTRQUEUE_H */ diff --git a/qtinterface/interface_tqt3/tqptrstack.cpp b/qtinterface/interface_tqt3/tqptrstack.cpp deleted file mode 100644 index 2c39e81..0000000 --- a/qtinterface/interface_tqt3/tqptrstack.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqptrstack.h> diff --git a/qtinterface/interface_tqt3/tqptrstack.h b/qtinterface/interface_tqt3/tqptrstack.h deleted file mode 100644 index 38317bf..0000000 --- a/qtinterface/interface_tqt3/tqptrstack.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPTRSTACK_H -#define TQT_TQPTRSTACK_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPtrStack class -// For Qt3, no changes are needed - -#include <ntqptrstack.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPtrStack class -// For Qt4, some changes are needed - -#include <Qt/q3ptrstack.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPTRSTACK_H */ diff --git a/qtinterface/interface_tqt3/tqptrvector.cpp b/qtinterface/interface_tqt3/tqptrvector.cpp deleted file mode 100644 index d205c27..0000000 --- a/qtinterface/interface_tqt3/tqptrvector.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqptrvector.h> diff --git a/qtinterface/interface_tqt3/tqptrvector.h b/qtinterface/interface_tqt3/tqptrvector.h deleted file mode 100644 index 282adbb..0000000 --- a/qtinterface/interface_tqt3/tqptrvector.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPTRVECTOR_H -#define TQT_TQPTRVECTOR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPtrVector class -// For Qt3, no changes are needed - -#include <ntqptrvector.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPtrVector class -// For Qt4, some changes are needed - -#include <Qt/q3ptrvector.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPTRVECTOR_H */ diff --git a/qtinterface/interface_tqt3/tqpushbutton.cpp b/qtinterface/interface_tqt3/tqpushbutton.cpp deleted file mode 100644 index e4e8359..0000000 --- a/qtinterface/interface_tqt3/tqpushbutton.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqpushbutton.h> diff --git a/qtinterface/interface_tqt3/tqpushbutton.h b/qtinterface/interface_tqt3/tqpushbutton.h deleted file mode 100644 index e434209..0000000 --- a/qtinterface/interface_tqt3/tqpushbutton.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQPUSHBUTTON_H -#define TQT_TQPUSHBUTTON_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QPushButton class -// For Qt3, no changes are needed - -#include <ntqpushbutton.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPushButton class -// For Qt4, some changes are needed - -#include <Qt/ntqpushbutton.h> - -#endif // USE_QT4 - -#endif /* TQT_TQPUSHBUTTON_H */ diff --git a/qtinterface/interface_tqt3/tqradiobutton.cpp b/qtinterface/interface_tqt3/tqradiobutton.cpp deleted file mode 100644 index ccb9e0c..0000000 --- a/qtinterface/interface_tqt3/tqradiobutton.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqradiobutton.h> diff --git a/qtinterface/interface_tqt3/tqradiobutton.h b/qtinterface/interface_tqt3/tqradiobutton.h deleted file mode 100644 index e61c6c2..0000000 --- a/qtinterface/interface_tqt3/tqradiobutton.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQRADIOBUTTON_H -#define TQT_TQRADIOBUTTON_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QRadioButton class -// For Qt3, no changes are needed - -#include <ntqradiobutton.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QRadioButton class -// For Qt4, some changes are needed - -#include <Qt/ntqradiobutton.h> - -#endif // USE_QT4 - -#endif /* TQT_TQRADIOBUTTON_H */ diff --git a/qtinterface/interface_tqt3/tqrangecontrol.cpp b/qtinterface/interface_tqt3/tqrangecontrol.cpp deleted file mode 100644 index 46618b5..0000000 --- a/qtinterface/interface_tqt3/tqrangecontrol.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqrangecontrol.h> diff --git a/qtinterface/interface_tqt3/tqrangecontrol.h b/qtinterface/interface_tqt3/tqrangecontrol.h deleted file mode 100644 index efcdcdb..0000000 --- a/qtinterface/interface_tqt3/tqrangecontrol.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQRANGECONTROL_H -#define TQT_TQRANGECONTROL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QRangeControl class -// For Qt3, no changes are needed - -#include <ntqrangecontrol.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QRangeControl class -// For Qt4, some changes are needed - -#include <Qt/q3rangecontrol.h> - -#endif // USE_QT4 - -#endif /* TQT_TQRANGECONTROL_H */ diff --git a/qtinterface/interface_tqt3/tqrect.cpp b/qtinterface/interface_tqt3/tqrect.cpp deleted file mode 100644 index 23cfbc9..0000000 --- a/qtinterface/interface_tqt3/tqrect.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqrect.h> diff --git a/qtinterface/interface_tqt3/tqrect.h b/qtinterface/interface_tqt3/tqrect.h deleted file mode 100644 index 9d5234e..0000000 --- a/qtinterface/interface_tqt3/tqrect.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQRECT_H -#define TQT_TQRECT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QRect class -// For Qt3, no changes are needed - -#include <ntqrect.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QRect class -// For Qt4, some changes are needed - -#include <Qt/ntqrect.h> - -#endif // USE_QT4 - -#endif /* TQT_TQRECT_H */ diff --git a/qtinterface/interface_tqt3/tqregexp.cpp b/qtinterface/interface_tqt3/tqregexp.cpp deleted file mode 100644 index 32a8ad2..0000000 --- a/qtinterface/interface_tqt3/tqregexp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqregexp.h> diff --git a/qtinterface/interface_tqt3/tqregexp.h b/qtinterface/interface_tqt3/tqregexp.h deleted file mode 100644 index 90f268f..0000000 --- a/qtinterface/interface_tqt3/tqregexp.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQREGEXP_H -#define TQT_TQREGEXP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QRegExp class -// For Qt3, no changes are needed - -#include <ntqregexp.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QRegExp class -// For Qt4, some changes are needed - -#include <Qt/ntqregexp.h> - -#endif // USE_QT4 - -#endif /* TQT_TQREGEXP_H */ diff --git a/qtinterface/interface_tqt3/tqregion.cpp b/qtinterface/interface_tqt3/tqregion.cpp deleted file mode 100644 index 321db50..0000000 --- a/qtinterface/interface_tqt3/tqregion.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqregion.h> diff --git a/qtinterface/interface_tqt3/tqregion.h b/qtinterface/interface_tqt3/tqregion.h deleted file mode 100644 index 577082c..0000000 --- a/qtinterface/interface_tqt3/tqregion.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQREGION_H -#define TQT_TQREGION_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QRegion class -// For Qt3, no changes are needed - -#include <ntqregion.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QRegion class -// For Qt4, some changes are needed - -#include <Qt/ntqregion.h> - -#endif // USE_QT4 - -#endif /* TQT_TQREGION_H */ diff --git a/qtinterface/interface_tqt3/tqrtlcodec.cpp b/qtinterface/interface_tqt3/tqrtlcodec.cpp deleted file mode 100644 index 19ab049..0000000 --- a/qtinterface/interface_tqt3/tqrtlcodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqrtlcodec.h> diff --git a/qtinterface/interface_tqt3/tqrtlcodec.h b/qtinterface/interface_tqt3/tqrtlcodec.h deleted file mode 100644 index aef8889..0000000 --- a/qtinterface/interface_tqt3/tqrtlcodec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQRTLCODEC_H -#define TQT_TQRTLCODEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QHebrewCodec class -// For Qt3, no changes are needed - -#include <ntqrtlcodec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHebrewCodec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQRTLCODEC_H */ diff --git a/qtinterface/interface_tqt3/tqscrollbar.cpp b/qtinterface/interface_tqt3/tqscrollbar.cpp deleted file mode 100644 index c775dc3..0000000 --- a/qtinterface/interface_tqt3/tqscrollbar.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqscrollbar.h> - -#ifdef USE_QT4 - -int QScrollBar::sliderStart() const { - return sliderPosition(); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqscrollbar.h b/qtinterface/interface_tqt3/tqscrollbar.h deleted file mode 100644 index 00c2eae..0000000 --- a/qtinterface/interface_tqt3/tqscrollbar.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSCROLLBAR_H -#define TQT_TQSCROLLBAR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QScrollBar class -// For Qt3, no changes are needed - -#include <ntqscrollbar.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QScrollBar class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqscrollbar.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSCROLLBAR_H */ diff --git a/qtinterface/interface_tqt3/tqscrollview.cpp b/qtinterface/interface_tqt3/tqscrollview.cpp deleted file mode 100644 index f47f645..0000000 --- a/qtinterface/interface_tqt3/tqscrollview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqscrollview.h> diff --git a/qtinterface/interface_tqt3/tqscrollview.h b/qtinterface/interface_tqt3/tqscrollview.h deleted file mode 100644 index d6eb623..0000000 --- a/qtinterface/interface_tqt3/tqscrollview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSCROLLVIEW_H -#define TQT_TQSCROLLVIEW_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QScrollView class -// For Qt3, no changes are needed - -#include <ntqscrollview.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QScrollView class -// For Qt4, some changes are needed - -#include <Qt/q3scrollview.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSCROLLVIEW_H */ diff --git a/qtinterface/interface_tqt3/tqsemaphore.cpp b/qtinterface/interface_tqt3/tqsemaphore.cpp deleted file mode 100644 index ea63c14..0000000 --- a/qtinterface/interface_tqt3/tqsemaphore.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsemaphore.h> diff --git a/qtinterface/interface_tqt3/tqsemaphore.h b/qtinterface/interface_tqt3/tqsemaphore.h deleted file mode 100644 index 9543fce..0000000 --- a/qtinterface/interface_tqt3/tqsemaphore.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSEMAPHORE_H -#define TQT_TQSEMAPHORE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSemaphore class -// For Qt3, no changes are needed - -#include <ntqsemaphore.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSemaphore class -// For Qt4, some changes are needed - -#include <Qt/q3semaphore.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSEMAPHORE_H */ diff --git a/qtinterface/interface_tqt3/tqserversocket.cpp b/qtinterface/interface_tqt3/tqserversocket.cpp deleted file mode 100644 index 020ba7e..0000000 --- a/qtinterface/interface_tqt3/tqserversocket.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqserversocket.h> diff --git a/qtinterface/interface_tqt3/tqserversocket.h b/qtinterface/interface_tqt3/tqserversocket.h deleted file mode 100644 index 6cf591d..0000000 --- a/qtinterface/interface_tqt3/tqserversocket.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSERVERSOCKET_H -#define TQT_TQSERVERSOCKET_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QServerSocket class -// For Qt3, no changes are needed - -#include <ntqserversocket.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QServerSocket class -// For Qt4, some changes are needed - -#include <Qt/q3serversocket.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSERVERSOCKET_H */ diff --git a/qtinterface/interface_tqt3/tqsession.h b/qtinterface/interface_tqt3/tqsession.h deleted file mode 100644 index b5b8cd5..0000000 --- a/qtinterface/interface_tqt3/tqsession.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQSESSION_H -#define TQT_TQSESSION_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Pull in Qt3 qsession defines - -#include <ntqsession.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qsession defines - -#include <ntqsession.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSESSION_H */ diff --git a/qtinterface/interface_tqt3/tqsessionmanager.cpp b/qtinterface/interface_tqt3/tqsessionmanager.cpp deleted file mode 100644 index 34d24f5..0000000 --- a/qtinterface/interface_tqt3/tqsessionmanager.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsessionmanager.h> diff --git a/qtinterface/interface_tqt3/tqsessionmanager.h b/qtinterface/interface_tqt3/tqsessionmanager.h deleted file mode 100644 index 890998c..0000000 --- a/qtinterface/interface_tqt3/tqsessionmanager.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSESSIONMANAGER_H -#define TQT_TQSESSIONMANAGER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSessionManager class -// For Qt3, no changes are needed - -#include <ntqsessionmanager.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSessionManager class -// For Qt4, some changes are needed - -#include <Qt/ntqsessionmanager.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSESSIONMANAGER_H */ diff --git a/qtinterface/interface_tqt3/tqsettings.cpp b/qtinterface/interface_tqt3/tqsettings.cpp deleted file mode 100644 index 4963b5c..0000000 --- a/qtinterface/interface_tqt3/tqsettings.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsettings.h> diff --git a/qtinterface/interface_tqt3/tqsettings.h b/qtinterface/interface_tqt3/tqsettings.h deleted file mode 100644 index c38094f..0000000 --- a/qtinterface/interface_tqt3/tqsettings.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSETTINGS_H -#define TQT_TQSETTINGS_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSettings class -// For Qt3, no changes are needed - -#include <ntqsettings.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSettings class -// For Qt4, some changes are needed - -#include <Qt/ntqsettings.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSETTINGS_H */ diff --git a/qtinterface/interface_tqt3/tqsgistyle.cpp b/qtinterface/interface_tqt3/tqsgistyle.cpp deleted file mode 100644 index 13192cf..0000000 --- a/qtinterface/interface_tqt3/tqsgistyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsgistyle.h> diff --git a/qtinterface/interface_tqt3/tqsgistyle.h b/qtinterface/interface_tqt3/tqsgistyle.h deleted file mode 100644 index 679e808..0000000 --- a/qtinterface/interface_tqt3/tqsgistyle.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQSGISTYLE_H -#define TQT_TQSGISTYLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSGIStyle class -// For Qt3, no changes are needed - -#include <ntqsgistyle.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSGIStyle class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQSGISTYLE_H */ diff --git a/qtinterface/interface_tqt3/tqshared.cpp b/qtinterface/interface_tqt3/tqshared.cpp deleted file mode 100644 index f1857e4..0000000 --- a/qtinterface/interface_tqt3/tqshared.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqshared.h> diff --git a/qtinterface/interface_tqt3/tqshared.h b/qtinterface/interface_tqt3/tqshared.h deleted file mode 100644 index a7e8be2..0000000 --- a/qtinterface/interface_tqt3/tqshared.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSHARED_H -#define TQT_TQSHARED_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QShared class -// For Qt3, no changes are needed - -#include <ntqsettings.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QShared class -// For Qt4, some changes are needed - -#include <Qt/q3shared.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSHARED_H */ diff --git a/qtinterface/interface_tqt3/tqsignal.cpp b/qtinterface/interface_tqt3/tqsignal.cpp deleted file mode 100644 index a48993b..0000000 --- a/qtinterface/interface_tqt3/tqsignal.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsignal.h> diff --git a/qtinterface/interface_tqt3/tqsignal.h b/qtinterface/interface_tqt3/tqsignal.h deleted file mode 100644 index 52618c3..0000000 --- a/qtinterface/interface_tqt3/tqsignal.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSIGNAL_H -#define TQT_TQSIGNAL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSignal class -// For Qt3, no changes are needed - -#include <ntqsignal.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSignal class -// For Qt4, some changes are needed - -#include <Qt/q3signal.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSIGNAL_H */ diff --git a/qtinterface/interface_tqt3/tqsignalmapper.cpp b/qtinterface/interface_tqt3/tqsignalmapper.cpp deleted file mode 100644 index 5bc3bcd..0000000 --- a/qtinterface/interface_tqt3/tqsignalmapper.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsignalmapper.h> diff --git a/qtinterface/interface_tqt3/tqsignalmapper.h b/qtinterface/interface_tqt3/tqsignalmapper.h deleted file mode 100644 index cce5648..0000000 --- a/qtinterface/interface_tqt3/tqsignalmapper.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSIGNALMAPPER_H -#define TQT_TQSIGNALMAPPER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSignalMapper class -// For Qt3, no changes are needed - -#include <ntqsignalmapper.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSignalMapper class -// For Qt4, some changes are needed - -#include <Qt/ntqsignalmapper.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSIGNALMAPPER_H */ diff --git a/qtinterface/interface_tqt3/tqsignalslotimp.cpp b/qtinterface/interface_tqt3/tqsignalslotimp.cpp deleted file mode 100644 index 70618e1..0000000 --- a/qtinterface/interface_tqt3/tqsignalslotimp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsignalslotimp.h> diff --git a/qtinterface/interface_tqt3/tqsignalslotimp.h b/qtinterface/interface_tqt3/tqsignalslotimp.h deleted file mode 100644 index 1fd1be9..0000000 --- a/qtinterface/interface_tqt3/tqsignalslotimp.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQSIGNALSLOTIMP_H -#define TQT_TQSIGNALSLOTIMP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSignalSlotImp class -// For Qt3, no changes are needed - -#include <ntqsignalslotimp.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSignalSlotImp class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQSIGNALSLOTIMP_H */ diff --git a/qtinterface/interface_tqt3/tqsimplerichtext.cpp b/qtinterface/interface_tqt3/tqsimplerichtext.cpp deleted file mode 100644 index ca8ca26..0000000 --- a/qtinterface/interface_tqt3/tqsimplerichtext.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsimplerichtext.h> diff --git a/qtinterface/interface_tqt3/tqsimplerichtext.h b/qtinterface/interface_tqt3/tqsimplerichtext.h deleted file mode 100644 index 7866db2..0000000 --- a/qtinterface/interface_tqt3/tqsimplerichtext.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSIMPLERICHTEXT_H -#define TQT_TQSIMPLERICHTEXT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSimpleRichText class -// For Qt3, no changes are needed - -#include <ntqsimplerichtext.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSimpleRichText class -// For Qt4, some changes are needed - -#include <Qt/q3simplerichtext.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSIMPLERICHTEXT_H */ diff --git a/qtinterface/interface_tqt3/tqsize.cpp b/qtinterface/interface_tqt3/tqsize.cpp deleted file mode 100644 index d94ca75..0000000 --- a/qtinterface/interface_tqt3/tqsize.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsize.h> diff --git a/qtinterface/interface_tqt3/tqsize.h b/qtinterface/interface_tqt3/tqsize.h deleted file mode 100644 index 75176b4..0000000 --- a/qtinterface/interface_tqt3/tqsize.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSIZE_H -#define TQT_TQSIZE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSize class -// For Qt3, no changes are needed - -#include <ntqsize.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSize class -// For Qt4, some changes are needed - -#include <Qt/ntqsize.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSIZE_H */ diff --git a/qtinterface/interface_tqt3/tqsizegrip.cpp b/qtinterface/interface_tqt3/tqsizegrip.cpp deleted file mode 100644 index 80c16e5..0000000 --- a/qtinterface/interface_tqt3/tqsizegrip.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsizegrip.h> diff --git a/qtinterface/interface_tqt3/tqsizegrip.h b/qtinterface/interface_tqt3/tqsizegrip.h deleted file mode 100644 index 355f8b6..0000000 --- a/qtinterface/interface_tqt3/tqsizegrip.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSIZEGRIP_H -#define TQT_TQSIZEGRIP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSizeGrip class -// For Qt3, no changes are needed - -#include <ntqsizegrip.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSizeGrip class -// For Qt4, some changes are needed - -#include <Qt/ntqsizegrip.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSIZEGRIP_H */ diff --git a/qtinterface/interface_tqt3/tqsizepolicy.cpp b/qtinterface/interface_tqt3/tqsizepolicy.cpp deleted file mode 100644 index 31c56b0..0000000 --- a/qtinterface/interface_tqt3/tqsizepolicy.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsizepolicy.h> diff --git a/qtinterface/interface_tqt3/tqsizepolicy.h b/qtinterface/interface_tqt3/tqsizepolicy.h deleted file mode 100644 index e784ff1..0000000 --- a/qtinterface/interface_tqt3/tqsizepolicy.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSIZEPOLICY_H -#define TQT_TQSIZEPOLICY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSizePolicy class -// For Qt3, no changes are needed - -#include <ntqsizepolicy.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSizePolicy class -// For Qt4, some changes are needed - -#include <Qt/ntqsizepolicy.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSIZEPOLICY_H */ diff --git a/qtinterface/interface_tqt3/tqsjiscodec.cpp b/qtinterface/interface_tqt3/tqsjiscodec.cpp deleted file mode 100644 index 8cf0837..0000000 --- a/qtinterface/interface_tqt3/tqsjiscodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsjiscodec.h> diff --git a/qtinterface/interface_tqt3/tqsjiscodec.h b/qtinterface/interface_tqt3/tqsjiscodec.h deleted file mode 100644 index 146a8d4..0000000 --- a/qtinterface/interface_tqt3/tqsjiscodec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQSJISCODEC_H -#define TQT_TQSJISCODEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSjisCodec class -// For Qt3, no changes are needed - -#include <ntqsjiscodec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSjisCodec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQSJISCODEC_H */ diff --git a/qtinterface/interface_tqt3/tqslider.cpp b/qtinterface/interface_tqt3/tqslider.cpp deleted file mode 100644 index 8b5e1d3..0000000 --- a/qtinterface/interface_tqt3/tqslider.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqslider.h> - -#ifdef USE_QT4 - - - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqslider.h b/qtinterface/interface_tqt3/tqslider.h deleted file mode 100644 index 5184a03..0000000 --- a/qtinterface/interface_tqt3/tqslider.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSLIDER_H -#define TQT_TQSLIDER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSlider class -// For Qt3, no changes are needed - -#include <ntqslider.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSlider class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqslider.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSLIDER_H */ diff --git a/qtinterface/interface_tqt3/tqsocket.cpp b/qtinterface/interface_tqt3/tqsocket.cpp deleted file mode 100644 index 4464e7d..0000000 --- a/qtinterface/interface_tqt3/tqsocket.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsocket.h> diff --git a/qtinterface/interface_tqt3/tqsocket.h b/qtinterface/interface_tqt3/tqsocket.h deleted file mode 100644 index d8e6750..0000000 --- a/qtinterface/interface_tqt3/tqsocket.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSOCKET_H -#define TQT_TQSOCKET_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSocket class -// For Qt3, no changes are needed - -#include <ntqsocket.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSocket class -// For Qt4, some changes are needed - -#include <Qt/q3socket.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSOCKET_H */ diff --git a/qtinterface/interface_tqt3/tqsocketdevice.cpp b/qtinterface/interface_tqt3/tqsocketdevice.cpp deleted file mode 100644 index dd9eaee..0000000 --- a/qtinterface/interface_tqt3/tqsocketdevice.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsocketdevice.h> diff --git a/qtinterface/interface_tqt3/tqsocketdevice.h b/qtinterface/interface_tqt3/tqsocketdevice.h deleted file mode 100644 index 3121b50..0000000 --- a/qtinterface/interface_tqt3/tqsocketdevice.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSOCKETDEVICE_H -#define TQT_TQSOCKETDEVICE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSocketDevice class -// For Qt3, no changes are needed - -#include <ntqsocketdevice.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSocketDevice class -// For Qt4, some changes are needed - -#include <Qt/q3socketdevice.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSOCKETDEVICE_H */ diff --git a/qtinterface/interface_tqt3/tqsocketnotifier.cpp b/qtinterface/interface_tqt3/tqsocketnotifier.cpp deleted file mode 100644 index adc8573..0000000 --- a/qtinterface/interface_tqt3/tqsocketnotifier.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsocketnotifier.h> diff --git a/qtinterface/interface_tqt3/tqsocketnotifier.h b/qtinterface/interface_tqt3/tqsocketnotifier.h deleted file mode 100644 index f90071a..0000000 --- a/qtinterface/interface_tqt3/tqsocketnotifier.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSOCKETNOTIFIER_H -#define TQT_TQSOCKETNOTIFIER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSocketNotifier class -// For Qt3, no changes are needed - -#include <ntqsocketnotifier.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSocketNotifier class -// For Qt4, some changes are needed - -#include <Qt/ntqsocketnotifier.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSOCKETNOTIFIER_H */ diff --git a/qtinterface/interface_tqt3/tqsound.cpp b/qtinterface/interface_tqt3/tqsound.cpp deleted file mode 100644 index 4481aab..0000000 --- a/qtinterface/interface_tqt3/tqsound.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsound.h> diff --git a/qtinterface/interface_tqt3/tqsound.h b/qtinterface/interface_tqt3/tqsound.h deleted file mode 100644 index f0d71a8..0000000 --- a/qtinterface/interface_tqt3/tqsound.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSOUND_H -#define TQT_TQSOUND_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSound class -// For Qt3, no changes are needed - -#include <ntqsound.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSound class -// For Qt4, some changes are needed - -#include <Qt/ntqsound.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSOUND_H */ diff --git a/qtinterface/interface_tqt3/tqspinbox.cpp b/qtinterface/interface_tqt3/tqspinbox.cpp deleted file mode 100644 index 53afffb..0000000 --- a/qtinterface/interface_tqt3/tqspinbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqspinbox.h> diff --git a/qtinterface/interface_tqt3/tqspinbox.h b/qtinterface/interface_tqt3/tqspinbox.h deleted file mode 100644 index 4ff2384..0000000 --- a/qtinterface/interface_tqt3/tqspinbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSPINBOX_H -#define TQT_TQSPINBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSpinBox class -// For Qt3, no changes are needed - -#include <ntqspinbox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSpinBox class -// For Qt4, some changes are needed - -#include <Qt/ntqspinbox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSPINBOX_H */ diff --git a/qtinterface/interface_tqt3/tqsplashscreen.cpp b/qtinterface/interface_tqt3/tqsplashscreen.cpp deleted file mode 100644 index 2950d81..0000000 --- a/qtinterface/interface_tqt3/tqsplashscreen.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsplashscreen.h> diff --git a/qtinterface/interface_tqt3/tqsplashscreen.h b/qtinterface/interface_tqt3/tqsplashscreen.h deleted file mode 100644 index aefc1f0..0000000 --- a/qtinterface/interface_tqt3/tqsplashscreen.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSPLASHSCREEN_H -#define TQT_TQSPLASHSCREEN_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSplashScreen class -// For Qt3, no changes are needed - -#include <ntqsplashscreen.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSplashScreen class -// For Qt4, some changes are needed - -#include <Qt/ntqsplashscreen.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSPLASHSCREEN_H */ diff --git a/qtinterface/interface_tqt3/tqsplitter.cpp b/qtinterface/interface_tqt3/tqsplitter.cpp deleted file mode 100644 index cec9138..0000000 --- a/qtinterface/interface_tqt3/tqsplitter.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsplitter.h> diff --git a/qtinterface/interface_tqt3/tqsplitter.h b/qtinterface/interface_tqt3/tqsplitter.h deleted file mode 100644 index 76991ef..0000000 --- a/qtinterface/interface_tqt3/tqsplitter.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSPLITTER_H -#define TQT_TQSPLITTER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSplitter class -// For Qt3, no changes are needed - -#include <ntqsplitter.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSplitter class -// For Qt4, some changes are needed - -#include <Qt/ntqsplitter.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSPLITTER_H */ diff --git a/qtinterface/interface_tqt3/tqsql.cpp b/qtinterface/interface_tqt3/tqsql.cpp deleted file mode 100644 index 498c871..0000000 --- a/qtinterface/interface_tqt3/tqsql.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsql.h> diff --git a/qtinterface/interface_tqt3/tqsql.h b/qtinterface/interface_tqt3/tqsql.h deleted file mode 100644 index 71bcc13..0000000 --- a/qtinterface/interface_tqt3/tqsql.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQL_H -#define TQT_TQSQL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSql class -// For Qt3, no changes are needed - -#include <ntqsql.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSql class -// For Qt4, some changes are needed - -#include <Qt/ntqsql.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQL_H */ diff --git a/qtinterface/interface_tqt3/tqsqlcursor.cpp b/qtinterface/interface_tqt3/tqsqlcursor.cpp deleted file mode 100644 index 3d231c1..0000000 --- a/qtinterface/interface_tqt3/tqsqlcursor.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqlcursor.h> diff --git a/qtinterface/interface_tqt3/tqsqlcursor.h b/qtinterface/interface_tqt3/tqsqlcursor.h deleted file mode 100644 index 5473f4c..0000000 --- a/qtinterface/interface_tqt3/tqsqlcursor.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLCURSOR_H -#define TQT_TQSQLCURSOR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlCursor class -// For Qt3, no changes are needed - -#include <ntqsqlcursor.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlCursor class -// For Qt4, some changes are needed - -#include <Qt/q3sqlcursor.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLCURSOR_H */ diff --git a/qtinterface/interface_tqt3/tqsqldatabase.cpp b/qtinterface/interface_tqt3/tqsqldatabase.cpp deleted file mode 100644 index 6a8b820..0000000 --- a/qtinterface/interface_tqt3/tqsqldatabase.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqldatabase.h> diff --git a/qtinterface/interface_tqt3/tqsqldatabase.h b/qtinterface/interface_tqt3/tqsqldatabase.h deleted file mode 100644 index 5b5fe98..0000000 --- a/qtinterface/interface_tqt3/tqsqldatabase.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLDATABASE_H -#define TQT_TQSQLDATABASE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlDatabase class -// For Qt3, no changes are needed - -#include <ntqsqldatabase.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlDatabase class -// For Qt4, some changes are needed - -#include <Qt/ntqsqldatabase.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLDATABASE_H */ diff --git a/qtinterface/interface_tqt3/tqsqldriver.cpp b/qtinterface/interface_tqt3/tqsqldriver.cpp deleted file mode 100644 index 2c3055c..0000000 --- a/qtinterface/interface_tqt3/tqsqldriver.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqldriver.h> diff --git a/qtinterface/interface_tqt3/tqsqldriver.h b/qtinterface/interface_tqt3/tqsqldriver.h deleted file mode 100644 index 96dd062..0000000 --- a/qtinterface/interface_tqt3/tqsqldriver.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLDRIVER_H -#define TQT_TQSQLDRIVER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlDriver class -// For Qt3, no changes are needed - -#include <ntqsqldriver.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlDriver class -// For Qt4, some changes are needed - -#include <Qt/ntqsqldriver.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLDRIVER_H */ diff --git a/qtinterface/interface_tqt3/tqsqldriverplugin.cpp b/qtinterface/interface_tqt3/tqsqldriverplugin.cpp deleted file mode 100644 index 4919153..0000000 --- a/qtinterface/interface_tqt3/tqsqldriverplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqldriverplugin.h> diff --git a/qtinterface/interface_tqt3/tqsqldriverplugin.h b/qtinterface/interface_tqt3/tqsqldriverplugin.h deleted file mode 100644 index 6cb6c27..0000000 --- a/qtinterface/interface_tqt3/tqsqldriverplugin.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLDRIVERPLUGIN_H -#define TQT_TQSQLDRIVERPLUGIN_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlDriverPlugin class -// For Qt3, no changes are needed - -#include <ntqsqldriverplugin.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlDriverPlugin class -// For Qt4, some changes are needed - -#include <Qt/ntqsqldriverplugin.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLDRIVERPLUGIN_H */ diff --git a/qtinterface/interface_tqt3/tqsqleditorfactory.cpp b/qtinterface/interface_tqt3/tqsqleditorfactory.cpp deleted file mode 100644 index ed4355b..0000000 --- a/qtinterface/interface_tqt3/tqsqleditorfactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqleditorfactory.h> diff --git a/qtinterface/interface_tqt3/tqsqleditorfactory.h b/qtinterface/interface_tqt3/tqsqleditorfactory.h deleted file mode 100644 index 3e8d108..0000000 --- a/qtinterface/interface_tqt3/tqsqleditorfactory.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLEDITORFACTORY_H -#define TQT_TQSQLEDITORFACTORY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlEditorFactory class -// For Qt3, no changes are needed - -#include <ntqsqleditorfactory.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlEditorFactory class -// For Qt4, some changes are needed - -#include <Qt/q3sqleditorfactory.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLEDITORFACTORY_H */ diff --git a/qtinterface/interface_tqt3/tqsqlerror.cpp b/qtinterface/interface_tqt3/tqsqlerror.cpp deleted file mode 100644 index ac78f9e..0000000 --- a/qtinterface/interface_tqt3/tqsqlerror.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqlerror.h> diff --git a/qtinterface/interface_tqt3/tqsqlerror.h b/qtinterface/interface_tqt3/tqsqlerror.h deleted file mode 100644 index 2494a91..0000000 --- a/qtinterface/interface_tqt3/tqsqlerror.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLERROR_H -#define TQT_TQSQLERROR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlError class -// For Qt3, no changes are needed - -#include <ntqsqlerror.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlError class -// For Qt4, some changes are needed - -#include <Qt/ntqsqlerror.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLERROR_H */ diff --git a/qtinterface/interface_tqt3/tqsqlfield.cpp b/qtinterface/interface_tqt3/tqsqlfield.cpp deleted file mode 100644 index 6ad2583..0000000 --- a/qtinterface/interface_tqt3/tqsqlfield.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqlfield.h> diff --git a/qtinterface/interface_tqt3/tqsqlfield.h b/qtinterface/interface_tqt3/tqsqlfield.h deleted file mode 100644 index 89a2824..0000000 --- a/qtinterface/interface_tqt3/tqsqlfield.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLFIELD_H -#define TQT_TQSQLFIELD_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlField class -// For Qt3, no changes are needed - -#include <ntqsqlfield.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlField class -// For Qt4, some changes are needed - -#include <Qt/q3sqlfieldinfo.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLFIELD_H */ diff --git a/qtinterface/interface_tqt3/tqsqlform.cpp b/qtinterface/interface_tqt3/tqsqlform.cpp deleted file mode 100644 index f7d5645..0000000 --- a/qtinterface/interface_tqt3/tqsqlform.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqlform.h> diff --git a/qtinterface/interface_tqt3/tqsqlform.h b/qtinterface/interface_tqt3/tqsqlform.h deleted file mode 100644 index 5febddb..0000000 --- a/qtinterface/interface_tqt3/tqsqlform.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLFORM_H -#define TQT_TQSQLFORM_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlForm class -// For Qt3, no changes are needed - -#include <ntqsqlform.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlForm class -// For Qt4, some changes are needed - -#include <Qt/q3sqlform.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLFORM_H */ diff --git a/qtinterface/interface_tqt3/tqsqlindex.cpp b/qtinterface/interface_tqt3/tqsqlindex.cpp deleted file mode 100644 index 0641c2c..0000000 --- a/qtinterface/interface_tqt3/tqsqlindex.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqlindex.h> diff --git a/qtinterface/interface_tqt3/tqsqlindex.h b/qtinterface/interface_tqt3/tqsqlindex.h deleted file mode 100644 index c39b5fd..0000000 --- a/qtinterface/interface_tqt3/tqsqlindex.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLINDEX_H -#define TQT_TQSQLINDEX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlIndex class -// For Qt3, no changes are needed - -#include <ntqsqlindex.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlIndex class -// For Qt4, some changes are needed - -#include <Qt/ntqsqlindex.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLINDEX_H */ diff --git a/qtinterface/interface_tqt3/tqsqlpropertymap.cpp b/qtinterface/interface_tqt3/tqsqlpropertymap.cpp deleted file mode 100644 index 390b755..0000000 --- a/qtinterface/interface_tqt3/tqsqlpropertymap.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqlpropertymap.h> diff --git a/qtinterface/interface_tqt3/tqsqlpropertymap.h b/qtinterface/interface_tqt3/tqsqlpropertymap.h deleted file mode 100644 index 4d35d33..0000000 --- a/qtinterface/interface_tqt3/tqsqlpropertymap.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLPROPERTYMAP_H -#define TQT_TQSQLPROPERTYMAP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlPropertyMap class -// For Qt3, no changes are needed - -#include <ntqsqlpropertymap.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlPropertyMap class -// For Qt4, some changes are needed - -#include <Qt/q3sqlpropertymap.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLPROPERTYMAP_H */ diff --git a/qtinterface/interface_tqt3/tqsqlquery.cpp b/qtinterface/interface_tqt3/tqsqlquery.cpp deleted file mode 100644 index e39c4aa..0000000 --- a/qtinterface/interface_tqt3/tqsqlquery.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqlquery.h> diff --git a/qtinterface/interface_tqt3/tqsqlquery.h b/qtinterface/interface_tqt3/tqsqlquery.h deleted file mode 100644 index 4c1a766..0000000 --- a/qtinterface/interface_tqt3/tqsqlquery.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLQUERY_H -#define TQT_TQSQLQUERY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlQuery class -// For Qt3, no changes are needed - -#include <ntqsqlquery.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlQuery class -// For Qt4, some changes are needed - -#include <Qt/ntqsqlquery.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLQUERY_H */ diff --git a/qtinterface/interface_tqt3/tqsqlrecord.cpp b/qtinterface/interface_tqt3/tqsqlrecord.cpp deleted file mode 100644 index de22214..0000000 --- a/qtinterface/interface_tqt3/tqsqlrecord.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqlrecord.h> diff --git a/qtinterface/interface_tqt3/tqsqlrecord.h b/qtinterface/interface_tqt3/tqsqlrecord.h deleted file mode 100644 index ad2d84f..0000000 --- a/qtinterface/interface_tqt3/tqsqlrecord.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLRECORD_H -#define TQT_TQSQLRECORD_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlRecord class -// For Qt3, no changes are needed - -#include <ntqsqlrecord.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlRecord class -// For Qt4, some changes are needed - -#include <Qt/ntqsqlrecord.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLRECORD_H */ diff --git a/qtinterface/interface_tqt3/tqsqlresult.cpp b/qtinterface/interface_tqt3/tqsqlresult.cpp deleted file mode 100644 index 062635d..0000000 --- a/qtinterface/interface_tqt3/tqsqlresult.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqlresult.h> diff --git a/qtinterface/interface_tqt3/tqsqlresult.h b/qtinterface/interface_tqt3/tqsqlresult.h deleted file mode 100644 index 6aa0ca4..0000000 --- a/qtinterface/interface_tqt3/tqsqlresult.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLRESULT_H -#define TQT_TQSQLRESULT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlResult class -// For Qt3, no changes are needed - -#include <ntqsqlresult.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlResult class -// For Qt4, some changes are needed - -#include <Qt/ntqsqlresult.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLRESULT_H */ diff --git a/qtinterface/interface_tqt3/tqsqlselectcursor.cpp b/qtinterface/interface_tqt3/tqsqlselectcursor.cpp deleted file mode 100644 index e76a691..0000000 --- a/qtinterface/interface_tqt3/tqsqlselectcursor.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsqlselectcursor.h> diff --git a/qtinterface/interface_tqt3/tqsqlselectcursor.h b/qtinterface/interface_tqt3/tqsqlselectcursor.h deleted file mode 100644 index 2be3e23..0000000 --- a/qtinterface/interface_tqt3/tqsqlselectcursor.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSQLSELECTCURSOR_H -#define TQT_TQSQLSELECTCURSOR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSqlSelectCursor class -// For Qt3, no changes are needed - -#include <ntqsqlselectcursor.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlSelectCursor class -// For Qt4, some changes are needed - -#include <Qt/q3sqlselectcursor.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSQLSELECTCURSOR_H */ diff --git a/qtinterface/interface_tqt3/tqstatusbar.cpp b/qtinterface/interface_tqt3/tqstatusbar.cpp deleted file mode 100644 index 5e3d8b8..0000000 --- a/qtinterface/interface_tqt3/tqstatusbar.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqstatusbar.h> diff --git a/qtinterface/interface_tqt3/tqstatusbar.h b/qtinterface/interface_tqt3/tqstatusbar.h deleted file mode 100644 index 3c59743..0000000 --- a/qtinterface/interface_tqt3/tqstatusbar.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSTATUSBAR_H -#define TQT_TQSTATUSBAR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QStatusBar class -// For Qt3, no changes are needed - -#include <ntqstatusbar.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStatusBar class -// For Qt4, some changes are needed - -#include <Qt/ntqstatusbar.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSTATUSBAR_H */ diff --git a/qtinterface/interface_tqt3/tqstring.cpp b/qtinterface/interface_tqt3/tqstring.cpp deleted file mode 100644 index 1e27c1b..0000000 --- a/qtinterface/interface_tqt3/tqstring.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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. - -*/ - -#define TQT_TQ_EXCLUDE_QCSTRING - -#include <tqt.h> -#include <ntqstring.h> - -#ifdef USE_QT4 - -int Q3CString::contains( const char *a ) const -{ - QString d = QString::fromAscii( data() ); - return d.count( a ); -} - -QString::operator bool () const -{ - if (this == QString::null) - return false; - else - return true; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqstring.h b/qtinterface/interface_tqt3/tqstring.h deleted file mode 100644 index 2e22c2e..0000000 --- a/qtinterface/interface_tqt3/tqstring.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - -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_TQSTRING_H -#define TQT_TQSTRING_H - -#include <tqt.h> -#include <ntqcstring.h> -#include <ntqdatastream.h> - -#ifdef USE_QT3 - -// Reimplement the QString class -// For Qt3, no changes are needed - -#include <ntqstring.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QString class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqstring.h> -#include <QtCore/QRegExp> - -#endif // USE_QT4 - -#endif /* TQT_TQSTRING_H */ diff --git a/qtinterface/interface_tqt3/tqstringlist.cpp b/qtinterface/interface_tqt3/tqstringlist.cpp deleted file mode 100644 index 9fa4d7b..0000000 --- a/qtinterface/interface_tqt3/tqstringlist.cpp +++ /dev/null @@ -1,178 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqstringlist.h> - -#ifdef USE_QT4 - -void TQStringList::sort() -{ - qHeapSort( *this ); -} - -TQStringList TQStringList::split( const QChar &sep, const QString &str, - bool allowEmptyEntries ) -{ - return split( QString(sep), str, allowEmptyEntries ); -} - -TQStringList TQStringList::split( const QString &sep, const QString &str, - bool allowEmptyEntries ) -{ - TQStringList lst; - - int j = 0; - int i = str.find( sep, j ); - - while ( i != -1 ) { - if ( i > j && i <= (int)str.length() ) - lst << str.mid( j, i - j ); - else if ( allowEmptyEntries ) - lst << QString::null; - j = i + sep.length(); - i = str.find( sep, sep.length() > 0 ? j : j+1 ); - } - - int l = str.length() - 1; - if ( str.mid( j, l - j + 1 ).length() > 0 ) - lst << str.mid( j, l - j + 1 ); - else if ( allowEmptyEntries ) - lst << QString::null; - - return lst; -} - -#ifndef TQT_NO_REGEXP -TQStringList TQStringList::split( const QRegExp &sep, const QString &str, - bool allowEmptyEntries ) -{ - TQStringList lst; - - QRegExp tep = sep; - - int j = 0; - int i = tep.search( str, j ); - - while ( i != -1 ) { - if ( str.mid( j, i - j ).length() > 0 ) - lst << str.mid( j, i - j ); - else if ( allowEmptyEntries ) - lst << QString::null; - if ( tep.matchedLength() == 0 ) - j = i + 1; - else - j = i + tep.matchedLength(); - i = tep.search( str, j ); - } - - int l = str.length() - 1; - if ( str.mid( j, l - j + 1 ).length() > 0 ) - lst << str.mid( j, l - j + 1 ); - else if ( allowEmptyEntries ) - lst << QString::null; - - return lst; -} -#endif - -TQStringList TQStringList::grep( const QString &str, bool cs ) const -{ - TQStringList res; - for ( TQStringList::ConstIterator it = begin(); it != end(); ++it ) - if ( (*it).contains(str, cs) ) - res << *it; - - return res; -} - - -#ifndef TQT_NO_REGEXP -TQStringList TQStringList::grep( const QRegExp &rx ) const -{ - TQStringList res; - for ( TQStringList::ConstIterator it = begin(); it != end(); ++it ) - if ( (*it).find(rx) != -1 ) - res << *it; - - return res; -} -#endif - -TQStringList& TQStringList::gres( const QString &before, const QString &after, - bool cs ) -{ - TQStringList::Iterator it = begin(); - while ( it != end() ) { - (*it).replace( before, after, cs ); - ++it; - } - return *this; -} - -#ifndef TQT_NO_REGEXP_CAPTURE -TQStringList& TQStringList::gres( const QRegExp &rx, const QString &after ) -{ - TQStringList::Iterator it = begin(); - while ( it != end() ) { - (*it).replace( rx, after ); - ++it; - } - return *this; -} -#endif - -QString TQStringList::join( const QString &sep ) const -{ - QString res; - bool alredy = FALSE; - for ( TQStringList::ConstIterator it = begin(); it != end(); ++it ) { - if ( alredy ) - res += sep; - alredy = TRUE; - res += *it; - } - - return res; -} - -#ifndef TQT_NO_DATASTREAM -QDataStream &operator>>( QDataStream & s, TQStringList& l ) -{ - return s >> (TQValueList<QString>&)l; -} - -QDataStream &operator<<( QDataStream & s, const TQStringList& l ) -{ - return s << (const TQValueList<QString>&)l; -} -#endif - -TQStringList TQStringList::fromStrList(const TQStrList& ascii) -{ - TQStringList res; - const char * s; - for ( TQStrListIterator it(ascii); (s=it.current()); ++it ) - res << s; - return res; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqstringlist.h b/qtinterface/interface_tqt3/tqstringlist.h deleted file mode 100644 index a9f0cde..0000000 --- a/qtinterface/interface_tqt3/tqstringlist.h +++ /dev/null @@ -1,168 +0,0 @@ -/* - -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_TQSTRINGLIST_H -#define TQT_TQSTRINGLIST_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the TQStringList class -// For Qt3, no changes are needed - -#include <ntqstringlist.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the TQStringList class -// For Qt4, some changes are needed - -#include <ntqvaluelist.h> -#include <ntqstrlist.h> -#include <ntqtl.h> -#include <Qt/ntqstringlist.h> - -/**************************************************************************** -** -** Definition of TQStringList class -** -** Created : 990406 -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the tools module of the Qt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free Qt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#ifndef TQT_NO_STRINGLIST - -class QRegExp; -template <class T> class QDeepCopy; - -#if defined(Q_TEMPLATEDLL) -// MOC_SKIP_BEGIN -//Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<QString>; -// MOC_SKIP_END -#endif - -class TQStringList : public TQValueList<QString> -{ -public: - TQStringList() { } - TQStringList( const TQStringList& l ) : TQValueList<QString>(l) { } - TQStringList( const TQValueList<QString>& l ) : TQValueList<QString>(l) { } - TQStringList( const QString& i ) { append(i); } -#ifndef TQT_NO_CAST_ASCII - TQStringList( const char* i ) { append(i); } -#endif - - // Interoperability - TQStringList(const QStringList& l) - { - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - } - - TQStringList& operator= (const QStringList& l) - { - this->clear(); - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - return *this; - } - - operator QStringList() const { - QStringList list; - for (TQStringList::const_iterator it = TQStringList::constBegin(); - it != TQStringList::constEnd(); ++it) - list.append(*it); - return list; - } - - static TQStringList fromStrList(const TQStrList&); - - void sort(); - - static TQStringList split( const QString &sep, const QString &str, bool allowEmptyEntries = FALSE ); - static TQStringList split( const QChar &sep, const QString &str, bool allowEmptyEntries = FALSE ); -#ifndef TQT_NO_REGEXP - static TQStringList split( const QRegExp &sep, const QString &str, bool allowEmptyEntries = FALSE ); -#endif - QString join( const QString &sep ) const; - - TQStringList grep( const QString &str, bool cs = TRUE ) const; -#ifndef TQT_NO_REGEXP - TQStringList grep( const QRegExp &expr ) const; -#endif - - TQStringList& gres( const QString &before, const QString &after, - bool cs = TRUE ); -#ifndef TQT_NO_REGEXP_CAPTURE - TQStringList& gres( const QRegExp &expr, const QString &after ); -#endif - -protected: - void detach() { TQValueList<QString>::detach(); } - friend class QDeepCopy< TQStringList >; -}; - -#ifndef TQT_NO_DATASTREAM -class QDataStream; -extern QDataStream &operator>>( QDataStream &, TQStringList& ); -extern QDataStream &operator<<( QDataStream &, const TQStringList& ); -#endif - -#endif - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQSTRINGLIST_H */ diff --git a/qtinterface/interface_tqt3/tqstrlist.cpp b/qtinterface/interface_tqt3/tqstrlist.cpp deleted file mode 100644 index 1845d60..0000000 --- a/qtinterface/interface_tqt3/tqstrlist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqstrlist.h> diff --git a/qtinterface/interface_tqt3/tqstrlist.h b/qtinterface/interface_tqt3/tqstrlist.h deleted file mode 100644 index 269a3e3..0000000 --- a/qtinterface/interface_tqt3/tqstrlist.h +++ /dev/null @@ -1,198 +0,0 @@ -/* - -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_TQSTRLIST_H -#define TQT_TQSTRLIST_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the TQStrList class -// For Qt3, no changes are needed - -#include <ntqstrlist.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the TQStrList class -// For Qt4, some changes are needed - -#include <ntqptrlist.h> -#include <Qt/q3strlist.h> -#include <Qt/q3ptrcollection.h> - -/**************************************************************************** -** -** Definition of TQStrList, TQStrIList and TQStrListIterator classes -** -** Created : 920730 -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the tools module of the Qt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free Qt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#if defined(Q_QDOC) -class TQStrListIterator : public TQPtrListIterator<char> -{ -}; -#else -typedef TQPtrListIterator<char> TQStrListIterator; -#endif - -class TQStrList : public TQPtrList<char> -{ -public: - TQStrList( bool deepCopies=TRUE ) { dc = deepCopies; del_item = deepCopies; } - TQStrList( const TQStrList & ); - ~TQStrList() { clear(); } - TQStrList& operator=( const TQStrList & ); - - // Interoperability - TQStrList(Q3StrList& l) - { - for (unsigned int i = 0; i < l.count(); ++i) append(l.at(i)); - } - - TQStrList& operator= (Q3StrList& l) - { - this->clear(); - for (unsigned int i = 0; i < l.count(); ++i) append(l.at(i)); - return *this; - } - - operator Q3StrList() { - Q3StrList list; - for (TQStrList::const_iterator it = TQStrList::constBegin(); - it != TQStrList::constEnd(); ++it) - list.append(*it); - return list; - } - - operator Q3StrList() const { - Q3StrList list; - for (TQStrList::const_iterator it = TQStrList::constBegin(); - it != TQStrList::constEnd(); ++it) - list.append(*it); - return list; - } - - // More interoperability - // Should convert to and from a QList<QByteArray> - TQStrList(const QList<QByteArray> &list) { - for (int i = 0; i < list.size(); ++i) - append(list.at(i).constData()); - } - - TQStrList &operator =(const QList<QByteArray> &list) { - clear(); - for (int i = 0; i < list.size(); ++i) - append(list.at(i).constData()); - return *this; - } - - operator QList<QByteArray>() const { - QList<QByteArray> list; - for (TQPtrListStdIterator<char> it = begin(); it != end(); ++it) - list.append(QByteArray(*it)); - return list; - } - -private: - Q3PtrCollection::Item newItem( Q3PtrCollection::Item d ) { return dc ? qstrdup( (const char*)d ) : d; } - void deleteItem( Q3PtrCollection::Item d ) { if ( del_item ) delete[] (char*)d; } - int compareItems( Q3PtrCollection::Item s1, Q3PtrCollection::Item s2 ) { return qstrcmp((const char*)s1, - (const char*)s2); } -#ifndef TQT_NO_DATASTREAM - QDataStream &read( QDataStream &s, Q3PtrCollection::Item &d ) - { s >> (char *&)d; return s; } - QDataStream &write( QDataStream &s, Q3PtrCollection::Item d ) const - { return s << (const char *)d; } -#endif - bool dc; -}; - - -class TQStrIList : public TQStrList // case insensitive string list -{ -public: - TQStrIList( bool deepCopies=TRUE ) : TQStrList( deepCopies ) {} - ~TQStrIList() { clear(); } -private: - int compareItems( Q3PtrCollection::Item s1, Q3PtrCollection::Item s2 ) - { return qstricmp((const char*)s1, - (const char*)s2); } -}; - - -inline TQStrList & TQStrList::operator=( const TQStrList &strList ) -{ - clear(); - dc = strList.dc; - del_item = dc; - TQPtrList<char>::operator=( strList ); - return *this; -} - -inline TQStrList::TQStrList( const TQStrList &strList ) - : TQPtrList<char>( strList ) -{ - dc = FALSE; - operator=( strList ); -} - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQSTRLIST_H */ diff --git a/qtinterface/interface_tqt3/tqstrvec.cpp b/qtinterface/interface_tqt3/tqstrvec.cpp deleted file mode 100644 index 0d7d690..0000000 --- a/qtinterface/interface_tqt3/tqstrvec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqstrvec.h> diff --git a/qtinterface/interface_tqt3/tqstrvec.h b/qtinterface/interface_tqt3/tqstrvec.h deleted file mode 100644 index 9aac69b..0000000 --- a/qtinterface/interface_tqt3/tqstrvec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQSTRVEC_H -#define TQT_TQSTRVEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QStrVec class -// For Qt3, no changes are needed - -#include <ntqstrvec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStrVec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQSTRVEC_H */ diff --git a/qtinterface/interface_tqt3/tqstyle.cpp b/qtinterface/interface_tqt3/tqstyle.cpp deleted file mode 100644 index 6763365..0000000 --- a/qtinterface/interface_tqt3/tqstyle.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqstyle.h> - -#ifdef USE_QT4 - -// TQStyle::TQStyle() : QStyle(), def(TRUE) {} - -// bool TQStyle::isDefault() const { -// return def; -// } - -bool QStyle::isDefault() const { - return def; -} - -bool QStyleOption::isDefault() const { - return def; -} - -Q3ListViewItem* QStyleOption::listViewItem() const { - const QStyleOptionQ3ListView *lv = qstyleoption_cast<const QStyleOptionQ3ListView *>(this); - QStyleOptionQ3ListViewItem item = lv->items.at(0); - return (Q3ListViewItem*)&item; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqstyle.h b/qtinterface/interface_tqt3/tqstyle.h deleted file mode 100644 index 65b1d45..0000000 --- a/qtinterface/interface_tqt3/tqstyle.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - -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_TQSTYLE_H -#define TQT_TQSTYLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QStyle class -// For Qt3, no changes are needed - -#include <ntqstyle.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStyle class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqstyle.h> -#include <Qt/q3listview.h> -#include <tqt4/Qt/qstyleoption.h> - -// class TQStyle : public QStyle { -// public: -// typedef QStyle::StateFlag StyleFlags; -// TQStyle(); -// virtual ~TQStyle() {}; -// -// bool isDefault() const; -// -// private: -// bool def; -// }; - -#endif // USE_QT4 - -#endif /* TQT_TQSTYLE_H */ diff --git a/qtinterface/interface_tqt3/tqstylefactory.cpp b/qtinterface/interface_tqt3/tqstylefactory.cpp deleted file mode 100644 index 3a865f7..0000000 --- a/qtinterface/interface_tqt3/tqstylefactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqstylefactory.h> diff --git a/qtinterface/interface_tqt3/tqstylefactory.h b/qtinterface/interface_tqt3/tqstylefactory.h deleted file mode 100644 index e0d490c..0000000 --- a/qtinterface/interface_tqt3/tqstylefactory.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSTYLEFACTORY_H -#define TQT_TQSTYLEFACTORY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QStyleFactory class -// For Qt3, no changes are needed - -#include <ntqstylefactory.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStyleFactory class -// For Qt4, some changes are needed - -#include <Qt/ntqstylefactory.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSTYLEFACTORY_H */ diff --git a/qtinterface/interface_tqt3/tqstyleplugin.cpp b/qtinterface/interface_tqt3/tqstyleplugin.cpp deleted file mode 100644 index 6e80239..0000000 --- a/qtinterface/interface_tqt3/tqstyleplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqstyleplugin.h> diff --git a/qtinterface/interface_tqt3/tqstyleplugin.h b/qtinterface/interface_tqt3/tqstyleplugin.h deleted file mode 100644 index 915367f..0000000 --- a/qtinterface/interface_tqt3/tqstyleplugin.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSTYLEPLUGIN_H -#define TQT_TQSTYLEPLUGIN_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QStylePlugin class -// For Qt3, no changes are needed - -#include <ntqstyleplugin.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStylePlugin class -// For Qt4, some changes are needed - -#include <Qt/ntqstyleplugin.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSTYLEPLUGIN_H */ diff --git a/qtinterface/interface_tqt3/tqstylesheet.cpp b/qtinterface/interface_tqt3/tqstylesheet.cpp deleted file mode 100644 index eea9b40..0000000 --- a/qtinterface/interface_tqt3/tqstylesheet.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqstylesheet.h> diff --git a/qtinterface/interface_tqt3/tqstylesheet.h b/qtinterface/interface_tqt3/tqstylesheet.h deleted file mode 100644 index 4b6be3b..0000000 --- a/qtinterface/interface_tqt3/tqstylesheet.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSTYLESHEET_H -#define TQT_TQSTYLESHEET_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QStyleSheet class -// For Qt3, no changes are needed - -#include <ntqstylesheet.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStyleSheet class -// For Qt4, some changes are needed - -#include <Qt/q3stylesheet.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSTYLESHEET_H */ diff --git a/qtinterface/interface_tqt3/tqsyntaxhighlighter.cpp b/qtinterface/interface_tqt3/tqsyntaxhighlighter.cpp deleted file mode 100644 index 8c7c8fa..0000000 --- a/qtinterface/interface_tqt3/tqsyntaxhighlighter.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqsyntaxhighlighter.h> diff --git a/qtinterface/interface_tqt3/tqsyntaxhighlighter.h b/qtinterface/interface_tqt3/tqsyntaxhighlighter.h deleted file mode 100644 index b49c621..0000000 --- a/qtinterface/interface_tqt3/tqsyntaxhighlighter.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQSYNTAXHIGHLIGHTER_H -#define TQT_TQSYNTAXHIGHLIGHTER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QSyntaxHighlighter class -// For Qt3, no changes are needed - -#include <ntqsyntaxhighlighter.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSyntaxHighlighter class -// For Qt4, some changes are needed - -#include <Qt/q3syntaxhighlighter.h> - -#endif // USE_QT4 - -#endif /* TQT_TQSYNTAXHIGHLIGHTER_H */ diff --git a/qtinterface/interface_tqt3/tqt.cpp b/qtinterface/interface_tqt3/tqt.cpp deleted file mode 100644 index 009b877..0000000 --- a/qtinterface/interface_tqt3/tqt.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> - -// Various methods that don't have a proper home (yet) - -#ifdef USE_QT4 - -static QColor tqblackptr_core = QColor(Qt::black); - -template <typename T> -QList<T>::operator bool() const { - return !this.isEmpty(); -} - -QBool::operator uint () const { - return b ? static_cast<uint>(1) : static_cast<uint>(0); -} - -QChar::operator int () const { - return static_cast<int>(*this); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqt_defs.h b/qtinterface/interface_tqt3/tqt_defs.h deleted file mode 100644 index 8d1c8b6..0000000 --- a/qtinterface/interface_tqt3/tqt_defs.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/qtinterface/interface_tqt3/tqt_undefs.h b/qtinterface/interface_tqt3/tqt_undefs.h deleted file mode 100644 index 8d1c8b6..0000000 --- a/qtinterface/interface_tqt3/tqt_undefs.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/qtinterface/interface_tqt3/tqtabbar.cpp b/qtinterface/interface_tqt3/tqtabbar.cpp deleted file mode 100644 index 8efb040..0000000 --- a/qtinterface/interface_tqt3/tqtabbar.cpp +++ /dev/null @@ -1,34 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtabbar.h> - -#ifdef USE_QT4 - -int QTabBar::tabAt(const int &pos) const { - #warning "tabAt(const int &pos) unimplemented!!!" - // FIXME - // What is the correct function to call here??? - //return tabAt(QPoint(pos)); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqtabbar.h b/qtinterface/interface_tqt3/tqtabbar.h deleted file mode 100644 index fcd2fdd..0000000 --- a/qtinterface/interface_tqt3/tqtabbar.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTABBAR_H -#define TQT_TQTABBAR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTabBar class -// For Qt3, no changes are needed - -#include <ntqtabbar.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTabBar class -// For Qt4, some changes are needed - -#include <Qt/ntqtabbar.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTABBAR_H */ diff --git a/qtinterface/interface_tqt3/tqtabdialog.cpp b/qtinterface/interface_tqt3/tqtabdialog.cpp deleted file mode 100644 index 0aeffd6..0000000 --- a/qtinterface/interface_tqt3/tqtabdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtabdialog.h> diff --git a/qtinterface/interface_tqt3/tqtabdialog.h b/qtinterface/interface_tqt3/tqtabdialog.h deleted file mode 100644 index 4d064a7..0000000 --- a/qtinterface/interface_tqt3/tqtabdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTABDIALOG_H -#define TQT_TQTABDIALOG_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTabDialog class -// For Qt3, no changes are needed - -#include <ntqtabdialog.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTabDialog class -// For Qt4, some changes are needed - -#include <Qt/q3tabdialog.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTABDIALOG_H */ diff --git a/qtinterface/interface_tqt3/tqtable.cpp b/qtinterface/interface_tqt3/tqtable.cpp deleted file mode 100644 index 41fde11..0000000 --- a/qtinterface/interface_tqt3/tqtable.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtable.h> diff --git a/qtinterface/interface_tqt3/tqtable.h b/qtinterface/interface_tqt3/tqtable.h deleted file mode 100644 index ae5e948..0000000 --- a/qtinterface/interface_tqt3/tqtable.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTABLE_H -#define TQT_TQTABLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTable class -// For Qt3, no changes are needed - -#include <ntqtable.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTable class -// For Qt4, some changes are needed - -#include <Qt/q3table.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTABLE_H */ diff --git a/qtinterface/interface_tqt3/tqtabwidget.cpp b/qtinterface/interface_tqt3/tqtabwidget.cpp deleted file mode 100644 index 8de15bd..0000000 --- a/qtinterface/interface_tqt3/tqtabwidget.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtabwidget.h> diff --git a/qtinterface/interface_tqt3/tqtabwidget.h b/qtinterface/interface_tqt3/tqtabwidget.h deleted file mode 100644 index 0511a24..0000000 --- a/qtinterface/interface_tqt3/tqtabwidget.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTABWIDGET_H -#define TQT_TQTABWIDGET_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTabWidget class -// For Qt3, no changes are needed - -#include <ntqtabwidget.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTabWidget class -// For Qt4, some changes are needed - -#include <Qt/ntqtabwidget.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTABWIDGET_H */ diff --git a/qtinterface/interface_tqt3/tqtextbrowser.cpp b/qtinterface/interface_tqt3/tqtextbrowser.cpp deleted file mode 100644 index 90130e3..0000000 --- a/qtinterface/interface_tqt3/tqtextbrowser.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtextbrowser.h> diff --git a/qtinterface/interface_tqt3/tqtextbrowser.h b/qtinterface/interface_tqt3/tqtextbrowser.h deleted file mode 100644 index 5578afb..0000000 --- a/qtinterface/interface_tqt3/tqtextbrowser.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTEXTBROWSER_H -#define TQT_TQTEXTBROWSER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTextBrowser class -// For Qt3, no changes are needed - -#include <ntqtextbrowser.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextBrowser class -// For Qt4, some changes are needed - -#include <Qt/ntqtextbrowser.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTBROWSER_H */ diff --git a/qtinterface/interface_tqt3/tqtextcodec.cpp b/qtinterface/interface_tqt3/tqtextcodec.cpp deleted file mode 100644 index ddc9518..0000000 --- a/qtinterface/interface_tqt3/tqtextcodec.cpp +++ /dev/null @@ -1,515 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtextcodec.h> - -#ifdef USE_QT4 - -// returns a string containing the letters and numbers from input, -// with a space separating run of a character class. e.g. "iso8859-1" -// becomes "iso 8859 1" -static QString lettersAndNumbers( const char * input ) -{ - QString result; - QChar c; - - while( input && *input ) { - c = *input; - if ( c.isLetter() || c.isNumber() ) - result += c.lower(); - if ( input[1] ) { - // add space at character class transition, except - // transition from upper-case to lower-case letter - QChar n( input[1] ); - if ( c.isLetter() && n.isLetter() ) { - if ( c == c.lower() && n == n.upper() ) - result += ' '; - } else if ( c.category() != n.category() ) { - result += ' '; - } - } - input++; - } - return result.simplifyWhiteSpace(); -} - -#define CHAINED 0xffff - -struct QMultiByteUnicodeTable { - // If multiByte, ignore unicode and index into multiByte - // with the next character. - QMultiByteUnicodeTable() : unicode(0xfffd), multiByte(0) { } - - ~QMultiByteUnicodeTable() - { - if ( multiByte ) - delete [] multiByte; - } - - ushort unicode; - QMultiByteUnicodeTable* multiByte; -}; - -static int getByte(char* &cursor) -{ - int byte = 0; - if ( *cursor ) { - if ( cursor[1] == 'x' ) - byte = strtol(cursor+2,&cursor,16); - else if ( cursor[1] == 'd' ) - byte = strtol(cursor+2,&cursor,10); - else - byte = strtol(cursor+2,&cursor,8); - } - return byte&0xff; -} - -class QTextCodecFromIOD; - -class QTextCodecFromIODDecoder : public QTextDecoder { - const QTextCodecFromIOD* codec; - QMultiByteUnicodeTable* mb; -public: - QTextCodecFromIODDecoder(const QTextCodecFromIOD* c); - //QString toUnicode(const char* chars, int len); - QString convertToUnicode(const char* chars, int len, int *state); -}; - -class QTextCodecFromIOD : public QTextCodec { - friend class QTextCodecFromIODDecoder; - - TQCString n; - - // If from_unicode_page[row()][cell()] is 0 and from_unicode_page_multiByte, - // use from_unicode_page_multiByte[row()][cell()] as string. - char** from_unicode_page; - char*** from_unicode_page_multiByte; - char unkn; - - // Only one of these is used - ushort* to_unicode; - QMultiByteUnicodeTable* to_unicode_multiByte; - int max_bytes_per_char; - TQStrList aliases; - - bool stateless() const { return !to_unicode_multiByte; } - -public: - QTextCodecFromIOD(QIODevice* iod) - { - from_unicode_page = 0; - to_unicode_multiByte = 0; - to_unicode = 0; - from_unicode_page_multiByte = 0; - max_bytes_per_char = 1; - - const int maxlen=100; - char line[maxlen]; - char esc='\\'; - char comm='%'; - bool incmap = FALSE; - while (iod->readLine(line,maxlen) > 0) { - if (0==qstrnicmp(line,"<code_set_name>",15)) - n = line+15; - else if (0==qstrnicmp(line,"<escape_char> ",14)) - esc = line[14]; - else if (0==qstrnicmp(line,"<comment_char> ",15)) - comm = line[15]; - else if (line[0]==comm && 0==qstrnicmp(line+1," alias ",7)) { - aliases.append(line+8); - } else if (0==qstrnicmp(line,"CHARMAP",7)) { - if (!from_unicode_page) { - from_unicode_page = new char*[256]; - for (int i=0; i<256; i++) - from_unicode_page[i]=0; - } - if (!to_unicode) { - to_unicode = new ushort[256]; - } - incmap = TRUE; - } else if (0==qstrnicmp(line,"END CHARMAP",11)) - break; - else if (incmap) { - char* cursor = line; - int byte=-1,unicode=-1; - ushort* mb_unicode=0; - const int maxmb=8; // more -> we'll need to improve datastructures - char mb[maxmb+1]; - int nmb=0; - - while (*cursor) { - if (cursor[0]=='<' && cursor[1]=='U' && - cursor[2]>='0' && cursor[2]<='9' && - cursor[3]>='0' && cursor[3]<='9') { - - unicode = strtol(cursor+2,&cursor,16); - - } else if (*cursor==esc) { - - byte = getByte(cursor); - - if ( *cursor == esc ) { - if ( !to_unicode_multiByte ) { - to_unicode_multiByte = - new QMultiByteUnicodeTable[256]; - for (int i=0; i<256; i++) { - to_unicode_multiByte[i].unicode = - to_unicode[i]; - to_unicode_multiByte[i].multiByte = 0; - } - delete [] to_unicode; - to_unicode = 0; - } - QMultiByteUnicodeTable* mbut = - to_unicode_multiByte+byte; - mb[nmb++] = byte; - while ( nmb < maxmb && *cursor == esc ) { - // Always at least once - - mbut->unicode = CHAINED; - byte = getByte(cursor); - mb[nmb++] = byte; - if (!mbut->multiByte) { - mbut->multiByte = - new QMultiByteUnicodeTable[256]; - } - mbut = mbut->multiByte+byte; - mb_unicode = & mbut->unicode; - } - - if ( nmb > max_bytes_per_char ) - max_bytes_per_char = nmb; - } - } else { - cursor++; - } - } - - if (unicode >= 0 && unicode <= 0xffff) - { - QChar ch((ushort)unicode); - if (!from_unicode_page[ch.row()]) { - from_unicode_page[ch.row()] = new char[256]; - for (int i=0; i<256; i++) - from_unicode_page[ch.row()][i]=0; - } - if ( mb_unicode ) { - from_unicode_page[ch.row()][ch.cell()] = 0; - if (!from_unicode_page_multiByte) { - from_unicode_page_multiByte = new char**[256]; - for (int i=0; i<256; i++) - from_unicode_page_multiByte[i]=0; - } - if (!from_unicode_page_multiByte[ch.row()]) { - from_unicode_page_multiByte[ch.row()] = new char*[256]; - for (int i=0; i<256; i++) - from_unicode_page_multiByte[ch.row()][i] = 0; - } - mb[nmb++] = 0; - from_unicode_page_multiByte[ch.row()][ch.cell()] - = qstrdup(mb); - *mb_unicode = unicode; - } else { - from_unicode_page[ch.row()][ch.cell()] = (char)byte; - if ( to_unicode ) - to_unicode[byte] = unicode; - else - to_unicode_multiByte[byte].unicode = unicode; - } - } else { - } - } - } - n = n.stripWhiteSpace(); - - unkn = '?'; // ##### Might be a bad choice. - } - - ~QTextCodecFromIOD() - { - if ( from_unicode_page ) { - for (int i=0; i<256; i++) - if (from_unicode_page[i]) - delete [] from_unicode_page[i]; - } - if ( from_unicode_page_multiByte ) { - for (int i=0; i<256; i++) - if (from_unicode_page_multiByte[i]) - for (int j=0; j<256; j++) - if (from_unicode_page_multiByte[i][j]) - delete [] from_unicode_page_multiByte[i][j]; - } - if ( to_unicode ) - delete [] to_unicode; - if ( to_unicode_multiByte ) - delete [] to_unicode_multiByte; - } - - bool ok() const - { - return !!from_unicode_page; - } - - QTextDecoder* makeDecoder() const - { - if ( stateless() ) - return QTextCodec::makeDecoder(); - else - return new QTextCodecFromIODDecoder(this); - } - - const char* qtio_name() const - { - return n; - } - - int mibEnum() const - { - return 0; // #### Unknown. - } - - int heuristicContentMatch(const char*, int) const - { - return 0; - } - - int heuristicNameMatch(const char* hint) const - { - int bestr = QTextCodec::heuristicNameMatch(hint); - TQStrListIterator it(aliases); - char* a; - while ((a=it.current())) { - ++it; - int r = simpleHeuristicNameMatch(a,hint); - if (r > bestr) - bestr = r; - } - return bestr; - } - - QString toUnicode(const char* chars, int len) const - { - const uchar* uchars = (const uchar*)chars; - QString result; - QMultiByteUnicodeTable* multiByte=to_unicode_multiByte; - if ( multiByte ) { - while (len--) { - QMultiByteUnicodeTable& mb = multiByte[*uchars]; - if ( mb.multiByte ) { - // Chained multi-byte - multiByte = mb.multiByte; - } else { - result += QChar(mb.unicode); - multiByte=to_unicode_multiByte; - } - uchars++; - } - } else { - while (len--) - result += QChar(to_unicode[*uchars++]); - } - return result; - } - - QString convertToUnicode(const char* chars, int len, ConverterState *state) const - { - return toUnicode(chars, len); - } - -#if !defined(Q_NO_USING_KEYWORD) - using QTextCodec::fromUnicode; -#endif - TQCString fromUnicode(const QString& uc, int& lenInOut) const - { - if (lenInOut > (int)uc.length()) - lenInOut = uc.length(); - int rlen = lenInOut*max_bytes_per_char; - TQCString rstr(rlen+1); - char* cursor = rstr.data(); - char* s=0; - int l = lenInOut; - int lout = 0; - for (int i=0; i<l; i++) { - QChar ch = uc[i]; - if ( ch == QChar() ) { - // special - *cursor++ = 0; - } else if ( from_unicode_page[ch.row()] && - from_unicode_page[ch.row()][ch.cell()] ) - { - *cursor++ = from_unicode_page[ch.row()][ch.cell()]; - lout++; - } else if ( from_unicode_page_multiByte && - from_unicode_page_multiByte[ch.row()] && - (s=from_unicode_page_multiByte[ch.row()][ch.cell()]) ) - { - while (*s) { - *cursor++ = *s++; - lout++; - } - } else { - *cursor++ = unkn; - lout++; - } - } - *cursor = 0; - lenInOut = lout; - return rstr; - } - - QByteArray convertFromUnicode(const QChar *charin, int len, ConverterState *state) const - { - return fromUnicode(charin, len); - } - - QByteArray name() const - { - return qtio_name(); - } -}; - -// QTextCodecFromIODDecoder::QTextCodecFromIODDecoder(const QTextCodecFromIOD* c) : -// codec(c) -// { -// mb = codec->to_unicode_multiByte; -// } - -QString QTextCodecFromIODDecoder::convertToUnicode(const char* chars, int len, int *state) -{ - const uchar* uchars = (const uchar*)chars; - QString result; - while (len--) { - QMultiByteUnicodeTable& t = mb[*uchars]; - if ( t.multiByte ) { - // Chained multi-byte - mb = t.multiByte; - } else { - if ( t.unicode ) - result += QChar(t.unicode); - mb=codec->to_unicode_multiByte; - } - uchars++; - } - return result; -} - -#ifndef TQT_NO_CODECS -// Cannot use <pre> or \code -/*! - Reads a POSIX2 charmap definition from \a iod. - The parser recognizes the following lines: - -<font name="sans"> - <code_set_name> <i>name</i></br> - <escape_char> <i>character</i></br> - % alias <i>alias</i></br> - CHARMAP</br> - <<i>token</i>> /x<i>hexbyte</i> <U<i>unicode</i>> ...</br> - <<i>token</i>> /d<i>decbyte</i> <U<i>unicode</i>> ...</br> - <<i>token</i>> /<i>octbyte</i> <U<i>unicode</i>> ...</br> - <<i>token</i>> /<i>any</i>/<i>any</i>... <U<i>unicode</i>> ...</br> - END CHARMAP</br> -</font> - - The resulting QTextCodec is returned (and also added to the global - list of codecs). The name() of the result is taken from the - code_set_name. - - Note that a codec constructed in this way uses much more memory - and is slower than a hand-written QTextCodec subclass, since - tables in code are kept in memory shared by all Qt applications. - - \sa loadCharmapFile() -*/ -QTextCodec* QTextCodec::loadCharmap(QIODevice* iod) -{ - QTextCodecFromIOD* r = new QTextCodecFromIOD(iod); - if ( !r->ok() ) { - delete r; - r = 0; - } - return r; -} - -/*! - A convenience function for loadCharmap() that loads the charmap - definition from the file \a filename. -*/ -QTextCodec* QTextCodec::loadCharmapFile(QString filename) -{ - QFile f(filename); - if (f.open(IO_ReadOnly)) { - QTextCodecFromIOD* r = new QTextCodecFromIOD(&f); - if ( !r->ok() ) - delete r; - else - return r; - } - return 0; -} - -/*! - Returns a value indicating how likely it is that this decoder is - appropriate for decoding some format that has the given name. The - name is compared with the \a hint. - - A good match returns a positive number around the length of the - string. A bad match is negative. - - The default implementation calls simpleHeuristicNameMatch() with - the name of the codec. -*/ -int QTextCodec::heuristicNameMatch(const char* hint) const -{ - return simpleHeuristicNameMatch(name(),hint); -} - -/*! - A simple utility function for heuristicNameMatch(): it does some - very minor character-skipping so that almost-exact matches score - high. \a name is the text we're matching and \a hint is used for - the comparison. -*/ -int QTextCodec::simpleHeuristicNameMatch(const char* name, const char* hint) -{ - // if they're the same, return a perfect score. - if ( name && hint && *name && *hint && qstricmp( name, hint ) == 0 ) - return qstrlen( hint ); - - // if the letters and numbers are the same, we have an "almost" - // perfect match. - QString h( lettersAndNumbers( hint ) ); - QString n( lettersAndNumbers( name ) ); - if ( h == n ) - return qstrlen( hint )-1; - - if ( h.stripWhiteSpace() == n.stripWhiteSpace() ) - return qstrlen( hint )-2; - - // could do some more here, but I don't think it's worth it - - return 0; -} - -#endif //TQT_NO_CODECS - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqtextcodec.h b/qtinterface/interface_tqt3/tqtextcodec.h deleted file mode 100644 index d76b8b8..0000000 --- a/qtinterface/interface_tqt3/tqtextcodec.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTEXTCODEC_H -#define TQT_TQTEXTCODEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTextCodec class -// For Qt3, no changes are needed - -#include <ntqtextcodec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextCodec class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqtextcodec.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTCODEC_H */ diff --git a/qtinterface/interface_tqt3/tqtextcodecfactory.cpp b/qtinterface/interface_tqt3/tqtextcodecfactory.cpp deleted file mode 100644 index 1772f2f..0000000 --- a/qtinterface/interface_tqt3/tqtextcodecfactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtextcodecfactory.h> diff --git a/qtinterface/interface_tqt3/tqtextcodecfactory.h b/qtinterface/interface_tqt3/tqtextcodecfactory.h deleted file mode 100644 index 0a864be..0000000 --- a/qtinterface/interface_tqt3/tqtextcodecfactory.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQTEXTCODECFACTORY_H -#define TQT_TQTEXTCODECFACTORY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTextCodecFactory class -// For Qt3, no changes are needed - -#include <ntqtextcodecfactory.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextCodecFactory class -// For Qt4, this class has been removed! - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTCODECFACTORY_H */ diff --git a/qtinterface/interface_tqt3/tqtextcodecplugin.cpp b/qtinterface/interface_tqt3/tqtextcodecplugin.cpp deleted file mode 100644 index 14e2c21..0000000 --- a/qtinterface/interface_tqt3/tqtextcodecplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtextcodecplugin.h> diff --git a/qtinterface/interface_tqt3/tqtextcodecplugin.h b/qtinterface/interface_tqt3/tqtextcodecplugin.h deleted file mode 100644 index 77321dc..0000000 --- a/qtinterface/interface_tqt3/tqtextcodecplugin.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTEXTCODECPLUGIN_H -#define TQT_TQTEXTCODECPLUGIN_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTextCodecPlugin class -// For Qt3, no changes are needed - -#include <ntqtextcodecplugin.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextCodecPlugin class -// For Qt4, some changes are needed - -#include <Qt/ntqtextcodecplugin.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTCODECPLUGIN_H */ diff --git a/qtinterface/interface_tqt3/tqtextedit.cpp b/qtinterface/interface_tqt3/tqtextedit.cpp deleted file mode 100644 index 09afa7d..0000000 --- a/qtinterface/interface_tqt3/tqtextedit.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtextedit.h> diff --git a/qtinterface/interface_tqt3/tqtextedit.h b/qtinterface/interface_tqt3/tqtextedit.h deleted file mode 100644 index d548be8..0000000 --- a/qtinterface/interface_tqt3/tqtextedit.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTEXTEDIT_H -#define TQT_TQTEXTEDIT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTextEdit class -// For Qt3, no changes are needed - -#include <ntqtextedit.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextEdit class -// For Qt4, some changes are needed - -#include <Qt/q3textedit.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTEDIT_H */ diff --git a/qtinterface/interface_tqt3/tqtextstream.cpp b/qtinterface/interface_tqt3/tqtextstream.cpp deleted file mode 100644 index fca2b18..0000000 --- a/qtinterface/interface_tqt3/tqtextstream.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtextstream.h> diff --git a/qtinterface/interface_tqt3/tqtextstream.h b/qtinterface/interface_tqt3/tqtextstream.h deleted file mode 100644 index 8b98a20..0000000 --- a/qtinterface/interface_tqt3/tqtextstream.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - -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_TQTEXTSTREAM_H -#define TQT_TQTEXTSTREAM_H - -#include <tqt.h> -#include <ntqstring.h> -#include <ntqiodevice.h> - -#ifdef USE_QT3 - -// Reimplement the QTextStream class -// For Qt3, no changes are needed - -#include <ntqtextstream.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextStream class -// For Qt4, some changes are needed - -#include <Qt/ntqtextstream.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTSTREAM_H */ diff --git a/qtinterface/interface_tqt3/tqtextview.cpp b/qtinterface/interface_tqt3/tqtextview.cpp deleted file mode 100644 index bda52c4..0000000 --- a/qtinterface/interface_tqt3/tqtextview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtextview.h> diff --git a/qtinterface/interface_tqt3/tqtextview.h b/qtinterface/interface_tqt3/tqtextview.h deleted file mode 100644 index 2d6338c..0000000 --- a/qtinterface/interface_tqt3/tqtextview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTEXTVIEW_H -#define TQT_TQTEXTVIEW_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTextView class -// For Qt3, no changes are needed - -#include <ntqtextview.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextView class -// For Qt4, some changes are needed - -#include <Qt/q3textview.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTVIEW_H */ diff --git a/qtinterface/interface_tqt3/tqtglobaldefines.h b/qtinterface/interface_tqt3/tqtglobaldefines.h deleted file mode 100644 index c39b03d..0000000 --- a/qtinterface/interface_tqt3/tqtglobaldefines.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - -Copyright (C) 2010-2011 Timothy Pearson <kb9vqf@pearsoncomputing.net> - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ diff --git a/qtinterface/interface_tqt3/tqthread.cpp b/qtinterface/interface_tqt3/tqthread.cpp deleted file mode 100644 index a471a6d..0000000 --- a/qtinterface/interface_tqt3/tqthread.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqthread.h> diff --git a/qtinterface/interface_tqt3/tqthread.h b/qtinterface/interface_tqt3/tqthread.h deleted file mode 100644 index 48e6bec..0000000 --- a/qtinterface/interface_tqt3/tqthread.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTHREAD_H -#define TQT_TQTHREAD_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QThread class -// For Qt3, no changes are needed - -#include <ntqthread.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QThread class -// For Qt4, some changes are needed - -#include <Qt/ntqthread.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTHREAD_H */ diff --git a/qtinterface/interface_tqt3/tqthreadstorage.cpp b/qtinterface/interface_tqt3/tqthreadstorage.cpp deleted file mode 100644 index 77a03d9..0000000 --- a/qtinterface/interface_tqt3/tqthreadstorage.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqthreadstorage.h> diff --git a/qtinterface/interface_tqt3/tqthreadstorage.h b/qtinterface/interface_tqt3/tqthreadstorage.h deleted file mode 100644 index a24e7f4..0000000 --- a/qtinterface/interface_tqt3/tqthreadstorage.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTHREADSTORAGE_H -#define TQT_TQTHREADSTORAGE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QThreadStorage class -// For Qt3, no changes are needed - -#include <ntqthreadstorage.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QThreadStorage class -// For Qt4, some changes are needed - -#include <Qt/ntqthreadstorage.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTHREADSTORAGE_H */ diff --git a/qtinterface/interface_tqt3/tqtimer.cpp b/qtinterface/interface_tqt3/tqtimer.cpp deleted file mode 100644 index 0b57d6b..0000000 --- a/qtinterface/interface_tqt3/tqtimer.cpp +++ /dev/null @@ -1,32 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtimer.h> - -#ifdef USE_QT4 - -// int QTimer::myNewFunction(int parameter_one) -// { -// return parameter_one; -// } - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqtimer.h b/qtinterface/interface_tqt3/tqtimer.h deleted file mode 100644 index 57da6ab..0000000 --- a/qtinterface/interface_tqt3/tqtimer.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTIMER_H -#define TQT_TQTIMER_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTimer class -// For Qt3, no changes are needed - -#include <ntqtimer.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTimer class -// For Qt4, some changes are needed - -#include <QtCore/ntqtimer.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTIMER_H */ diff --git a/qtinterface/interface_tqt3/tqtl.cpp b/qtinterface/interface_tqt3/tqtl.cpp deleted file mode 100644 index 695b62b..0000000 --- a/qtinterface/interface_tqt3/tqtl.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtl.h> diff --git a/qtinterface/interface_tqt3/tqtl.h b/qtinterface/interface_tqt3/tqtl.h deleted file mode 100644 index c05e563..0000000 --- a/qtinterface/interface_tqt3/tqtl.h +++ /dev/null @@ -1,362 +0,0 @@ -/* - -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_TQTL_H -#define TQT_TQTL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the Qtl class -// For Qt3, no changes are needed - -#include <ntqtl.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#include <Qt/ntqtextstream.h> - -// Reimplement the Qtl class -// For Qt4, this class was removed! - -/**************************************************************************** -** -** Definition of Qt template library classes -** -** Created : 990128 -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the tools module of the Qt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free Qt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -#ifndef TQT_NO_TEXTSTREAM -template <class T> -class TQTextOStreamIterator -{ -protected: - QTextOStream& stream; - QString separator; - -public: - TQTextOStreamIterator( QTextOStream& s) : stream( s ) {} - TQTextOStreamIterator( QTextOStream& s, const QString& sep ) - : stream( s ), separator( sep ) {} - TQTextOStreamIterator<T>& operator= ( const T& x ) { - stream << x; - if ( !separator.isEmpty() ) - stream << separator; - return *this; - } - TQTextOStreamIterator<T>& operator*() { return *this; } - TQTextOStreamIterator<T>& operator++() { return *this; } - TQTextOStreamIterator<T>& operator++(int) { return *this; } -}; -#endif //TQT_NO_TEXTSTREAM - -template <class InputIterator, class OutputIterator> -inline OutputIterator tqCopy( InputIterator _begin, InputIterator _end, - OutputIterator _dest ) -{ - while( _begin != _end ) - *_dest++ = *_begin++; - return _dest; -} - -template <class BiIterator, class BiOutputIterator> -inline BiOutputIterator tqCopyBackward( BiIterator _begin, BiIterator _end, - BiOutputIterator _dest ) -{ - while ( _begin != _end ) - *--_dest = *--_end; - return _dest; -} - -template <class InputIterator1, class InputIterator2> -inline bool tqEqual( InputIterator1 first1, InputIterator1 last1, InputIterator2 first2 ) -{ - // ### compare using !(*first1 == *first2) in Qt 4.0 - for ( ; first1 != last1; ++first1, ++first2 ) - if ( *first1 != *first2 ) - return FALSE; - return TRUE; -} - -template <class ForwardIterator, class T> -inline void tqFill( ForwardIterator first, ForwardIterator last, const T& val ) -{ - for ( ; first != last; ++first ) - *first = val; -} - -#if 0 -template <class BiIterator, class OutputIterator> -inline OutputIterator qReverseCopy( BiIterator _begin, BiIterator _end, - OutputIterator _dest ) -{ - while ( _begin != _end ) { - --_end; - *_dest = *_end; - ++_dest; - } - return _dest; -} -#endif - - -template <class InputIterator, class T> -inline InputIterator tqFind( InputIterator first, InputIterator last, - const T& val ) -{ - while ( first != last && *first != val ) - ++first; - return first; -} - -template <class InputIterator, class T, class Size> -inline void tqCount( InputIterator first, InputIterator last, const T& value, - Size& n ) -{ - for ( ; first != last; ++first ) - if ( *first == value ) - ++n; -} - -template <class T> -inline void tqSwap( T& _value1, T& _value2 ) -{ - T tmp = _value1; - _value1 = _value2; - _value2 = tmp; -} - - -template <class InputIterator> -void tqBubbleSort( InputIterator b, InputIterator e ) -{ - // Goto last element; - InputIterator last = e; - --last; - // only one element or no elements ? - if ( last == b ) - return; - - // So we have at least two elements in here - while( b != last ) { - bool swapped = FALSE; - InputIterator swap_pos = b; - InputIterator x = e; - InputIterator y = x; - y--; - do { - --x; - --y; - if ( *x < *y ) { - swapped = TRUE; - tqSwap( *x, *y ); - swap_pos = y; - } - } while( y != b ); - if ( !swapped ) - return; - b = swap_pos; - b++; - } -} - - -template <class Container> -inline void tqBubbleSort( Container &c ) -{ - tqBubbleSort( c.begin(), c.end() ); -} - - -template <class Value> -void tqHeapSortPushDown( Value* heap, int first, int last ) -{ - int r = first; - while ( r <= last / 2 ) { - if ( last == 2 * r ) { - // node r has only one child - if ( heap[2 * r] < heap[r] ) - tqSwap( heap[r], heap[2 * r] ); - r = last; - } else { - // node r has two children - if ( heap[2 * r] < heap[r] && !(heap[2 * r + 1] < heap[2 * r]) ) { - // swap with left child - tqSwap( heap[r], heap[2 * r] ); - r *= 2; - } else if ( heap[2 * r + 1] < heap[r] - && heap[2 * r + 1] < heap[2 * r] ) { - // swap with right child - tqSwap( heap[r], heap[2 * r + 1] ); - r = 2 * r + 1; - } else { - r = last; - } - } - } -} - - -template <class InputIterator, class Value> -void tqHeapSortHelper( InputIterator b, InputIterator e, Value, uint n ) -{ - // Create the heap - InputIterator insert = b; - Value* realheap = new Value[n]; - // Wow, what a fake. But I want the heap to be indexed as 1...n - Value* heap = realheap - 1; - int size = 0; - for( ; insert != e; ++insert ) { - heap[++size] = *insert; - int i = size; - while( i > 1 && heap[i] < heap[i / 2] ) { - tqSwap( heap[i], heap[i / 2] ); - i /= 2; - } - } - - // Now do the sorting - for( uint i = n; i > 0; i-- ) { - *b++ = heap[1]; - if ( i > 1 ) { - heap[1] = heap[i]; - tqHeapSortPushDown( heap, 1, (int)i - 1 ); - } - } - - delete[] realheap; -} - - -template <class InputIterator> -void tqHeapSort( InputIterator b, InputIterator e ) -{ - // Empty ? - if ( b == e ) - return; - - // How many entries have to be sorted ? - InputIterator it = b; - uint n = 0; - while ( it != e ) { - ++n; - ++it; - } - - // The second last parameter is a hack to retrieve the value type - // Do the real sorting here - tqHeapSortHelper( b, e, *b, n ); -} - - -template <class Container> -void tqHeapSort( Container &c ) -{ - if ( c.begin() == c.end() ) - return; - - // The second last parameter is a hack to retrieve the value type - // Do the real sorting here - tqHeapSortHelper( c.begin(), c.end(), *(c.begin()), (uint)c.count() ); -} - -template <class Container> -class TQBackInsertIterator -{ -public: - TQBackInsertIterator( Container &c ) - : container( &c ) - { - } - - TQBackInsertIterator<Container>& - operator=( const Q_TYPENAME Container::value_type &value ) - { - container->push_back( value ); - return *this; - } - - TQBackInsertIterator<Container>& operator*() - { - return *this; - } - - TQBackInsertIterator<Container>& operator++() - { - return *this; - } - - TQBackInsertIterator<Container>& operator++(int) - { - return *this; - } - -protected: - Container *container; -}; - -template <class Container> -inline TQBackInsertIterator<Container> qBackInserter( Container &c ) -{ - return TQBackInsertIterator<Container>( c ); -} - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQTL_H */ diff --git a/qtinterface/interface_tqt3/tqtoolbar.cpp b/qtinterface/interface_tqt3/tqtoolbar.cpp deleted file mode 100644 index 9969fa0..0000000 --- a/qtinterface/interface_tqt3/tqtoolbar.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtoolbar.h> diff --git a/qtinterface/interface_tqt3/tqtoolbar.h b/qtinterface/interface_tqt3/tqtoolbar.h deleted file mode 100644 index f029cc7..0000000 --- a/qtinterface/interface_tqt3/tqtoolbar.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - -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_TQTOOLBAR_H -#define TQT_TQTOOLBAR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QToolBar class -// For Qt3, no changes are needed - -#include <ntqtoolbar.h> - -#endif // USE_QT3 - - -#ifdef USE_QT4 - -// Reimplement the QToolBar class -// For Qt4, some changes are needed - -#include <Qt/q3toolbar.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTOOLBAR_H */ diff --git a/qtinterface/interface_tqt3/tqtoolbox.cpp b/qtinterface/interface_tqt3/tqtoolbox.cpp deleted file mode 100644 index 34a77cb..0000000 --- a/qtinterface/interface_tqt3/tqtoolbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtoolbox.h> diff --git a/qtinterface/interface_tqt3/tqtoolbox.h b/qtinterface/interface_tqt3/tqtoolbox.h deleted file mode 100644 index ae695fc..0000000 --- a/qtinterface/interface_tqt3/tqtoolbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTOOLBOX_H -#define TQT_TQTOOLBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QToolBox class -// For Qt3, no changes are needed - -#include <ntqtoolbox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QToolBox class -// For Qt4, some changes are needed - -#include <Qt/ntqtoolbox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTOOLBOX_H */ diff --git a/qtinterface/interface_tqt3/tqtoolbutton.cpp b/qtinterface/interface_tqt3/tqtoolbutton.cpp deleted file mode 100644 index e240205..0000000 --- a/qtinterface/interface_tqt3/tqtoolbutton.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtoolbutton.h> diff --git a/qtinterface/interface_tqt3/tqtoolbutton.h b/qtinterface/interface_tqt3/tqtoolbutton.h deleted file mode 100644 index 52cc862..0000000 --- a/qtinterface/interface_tqt3/tqtoolbutton.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTOOLBUTTON_H -#define TQT_TQTOOLBUTTON_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QToolButton class -// For Qt3, no changes are needed - -#include <ntqtoolbutton.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QToolButton class -// For Qt4, some changes are needed - -#include <Qt/ntqtoolbutton.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTOOLBUTTON_H */ diff --git a/qtinterface/interface_tqt3/tqtooltip.cpp b/qtinterface/interface_tqt3/tqtooltip.cpp deleted file mode 100644 index 452210b..0000000 --- a/qtinterface/interface_tqt3/tqtooltip.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtooltip.h> - -#ifdef USE_QT4 - -static bool globally_enabled = TRUE; - -void QToolTip::setGloballyEnabled( bool enable ) -{ - //globally_enabled = enable; -} - -bool QToolTip::isGloballyEnabled() -{ - return globally_enabled; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqtooltip.h b/qtinterface/interface_tqt3/tqtooltip.h deleted file mode 100644 index b1aaa04..0000000 --- a/qtinterface/interface_tqt3/tqtooltip.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQTOOLTIP_H -#define TQT_TQTOOLTIP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QToolTip class -// For Qt3, no changes are needed - -#include <ntqtooltip.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QToolTip class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqtooltip.h> - -#endif // USE_QT4 - -#endif /* TQT_TQTOOLTIP_H */ diff --git a/qtinterface/interface_tqt3/tqtranslator.cpp b/qtinterface/interface_tqt3/tqtranslator.cpp deleted file mode 100644 index a4deb70..0000000 --- a/qtinterface/interface_tqt3/tqtranslator.cpp +++ /dev/null @@ -1,404 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtranslator.h> - -#ifdef USE_QT4 - -static uint elfHash( const char * name ) -{ - const uchar *k; - uint h = 0; - uint g; - - if ( name ) { - k = (const uchar *) name; - while ( *k ) { - h = ( h << 4 ) + *k++; - if ( (g = (h & 0xf0000000)) != 0 ) - h ^= g >> 24; - h &= ~g; - } - } - if ( !h ) - h = 1; - return h; -} - -/*! - \class QTranslatorMessage - - \brief The QTranslatorMessage class contains a translator message and its - properties. - - \ingroup i18n - \ingroup environment - - This class is of no interest to most applications. It is useful - for translation tools such as \link linguist-manual.book Qt - Linguist\endlink. It is provided simply to make the API complete - and regular. - - For a QTranslator object, a lookup key is a triple (\e context, \e - {source text}, \e comment) that uniquely identifies a message. An - extended key is a quadruple (\e hash, \e context, \e {source - text}, \e comment), where \e hash is computed from the source text - and the comment. Unless you plan to read and write messages - yourself, you need not worry about the hash value. - - QTranslatorMessage stores this triple or quadruple and the relevant - translation if there is any. - - \sa QTranslator -*/ - -/*! - Constructs a translator message with the extended key (0, 0, 0, 0) - and QString::null as translation. -*/ - -QTranslatorMessage::QTranslatorMessage() - : h( 0 ), cx( 0 ), st( 0 ), cm( 0 ) -{ -} - - -/*! - Constructs an translator message with the extended key (\e h, \a - context, \a sourceText, \a comment), where \e h is computed from - \a sourceText and \a comment, and possibly with a \a translation. -*/ - -QTranslatorMessage::QTranslatorMessage( const char * context, - const char * sourceText, - const char * comment, - const QString& translation ) - : cx( context ), st( sourceText ), cm( comment ), tn( translation ) -{ - // 0 means we don't know, "" means empty - if ( cx == (const char*)0 ) - cx = ""; - if ( st == (const char*)0 ) - st = ""; - if ( cm == (const char*)0 ) - cm = ""; - h = elfHash( st + cm ); -} - - -/*! - Constructs a translator message read from the \a stream. The - resulting message may have any combination of content. - - \sa QTranslator::save() -*/ - -QTranslatorMessage::QTranslatorMessage( QDataStream & stream ) - : cx( 0 ), st( 0 ), cm( 0 ) -{ - QString str16; - char tag; - Q_UINT8 obs1; - - for ( ;; ) { - tag = 0; - if ( !stream.atEnd() ) - stream.readRawBytes( &tag, 1 ); - switch( (Tag)tag ) { - case Tag_End: - if ( h == 0 ) - h = elfHash( st + cm ); - return; - case Tag_SourceText16: // obsolete - stream >> str16; - st = str16.latin1(); - break; - case Tag_Translation: - stream >> tn; - break; - case Tag_Context16: // obsolete - stream >> str16; - cx = str16.latin1(); - break; - case Tag_Hash: - stream >> h; - break; - case Tag_SourceText: - stream >> st; - break; - case Tag_Context: - stream >> cx; - if ( cx == "" ) // for compatibility - cx = 0; - break; - case Tag_Comment: - stream >> cm; - break; - case Tag_Obsolete1: // obsolete - stream >> obs1; - break; - default: - h = 0; - st = 0; - cx = 0; - cm = 0; - tn = QString::null; - return; - } - } -} - - -/*! - Constructs a copy of translator message \a m. -*/ - -QTranslatorMessage::QTranslatorMessage( const QTranslatorMessage & m ) - : cx( m.cx ), st( m.st ), cm( m.cm ), tn( m.tn ) -{ - h = m.h; -} - - -/*! - Assigns message \a m to this translator message and returns a - reference to this translator message. -*/ - -QTranslatorMessage & QTranslatorMessage::operator=( - const QTranslatorMessage & m ) -{ - h = m.h; - cx = m.cx; - st = m.st; - cm = m.cm; - tn = m.tn; - return *this; -} - - -/*! - \fn uint QTranslatorMessage::hash() const - - Returns the hash value used internally to represent the lookup - key. This value is zero only if this translator message was - constructed from a stream containing invalid data. - - The hashing function is unspecified, but it will remain unchanged - in future versions of Qt. -*/ - -/*! - \fn const char *QTranslatorMessage::context() const - - Returns the context for this message (e.g. "MyDialog"). - - \warning This may return 0 if the QTranslator object is stripped - (compressed). -*/ - -/*! - \fn const char *QTranslatorMessage::sourceText() const - - Returns the source text of this message (e.g. "&Save"). - - \warning This may return 0 if the QTranslator object is stripped - (compressed). -*/ - -/*! - \fn const char *QTranslatorMessage::comment() const - - Returns the comment for this message (e.g. "File|Save"). - - \warning This may return 0 if the QTranslator object is stripped - (compressed). -*/ - -/*! - \fn void QTranslatorMessage::setTranslation( const QString & translation ) - - Sets the translation of the source text to \a translation. - - \sa translation() -*/ - -/*! - \fn QString QTranslatorMessage::translation() const - - Returns the translation of the source text (e.g., "&Sauvegarder"). - - \sa setTranslation() -*/ - -/*! - \enum QTranslatorMessage::Prefix - - Let (\e h, \e c, \e s, \e m) be the extended key. The possible - prefixes are - - \value NoPrefix no prefix - \value Hash only (\e h) - \value HashContext only (\e h, \e c) - \value HashContextSourceText only (\e h, \e c, \e s) - \value HashContextSourceTextComment the whole extended key, (\e - h, \e c, \e s, \e m) - - \sa write() commonPrefix() -*/ - -/*! - Writes this translator message to the \a stream. If \a strip is - FALSE (the default), all the information in the message is - written. If \a strip is TRUE, only the part of the extended key - specified by \a prefix is written with the translation (\c - HashContextSourceTextComment by default). - - \sa commonPrefix() -*/ - -void QTranslatorMessage::write( QDataStream & stream, bool strip, - Prefix prefix ) const -{ - char tag; - - tag = (char)Tag_Translation; - stream.writeRawBytes( &tag, 1 ); - stream << tn; - - bool mustWriteHash = TRUE; - if ( !strip ) - prefix = HashContextSourceTextComment; - - switch ( prefix ) { - case HashContextSourceTextComment: - tag = (char)Tag_Comment; - stream.writeRawBytes( &tag, 1 ); - stream << cm; - // fall through - case HashContextSourceText: - tag = (char)Tag_SourceText; - stream.writeRawBytes( &tag, 1 ); - stream << st; - // fall through - case HashContext: - tag = (char)Tag_Context; - stream.writeRawBytes( &tag, 1 ); - stream << cx; - // fall through - default: - if ( mustWriteHash ) { - tag = (char)Tag_Hash; - stream.writeRawBytes( &tag, 1 ); - stream << h; - } - } - - tag = (char)Tag_End; - stream.writeRawBytes( &tag, 1 ); -} - - -/*! - Returns the widest lookup prefix that is common to this translator - message and to message \a m. - - For example, if the extended key is for this message is (71, - "PrintDialog", "Yes", "Print?") and that for \a m is (71, - "PrintDialog", "No", "Print?"), this function returns \c - HashContext. - - \sa write() -*/ - -QTranslatorMessage::Prefix QTranslatorMessage::commonPrefix( - const QTranslatorMessage& m ) const -{ - if ( h != m.h ) - return NoPrefix; - if ( cx != m.cx ) - return Hash; - if ( st != m.st ) - return HashContext; - if ( cm != m.cm ) - return HashContextSourceText; - return HashContextSourceTextComment; -} - - -/*! - Returns TRUE if the extended key of this object is equal to that of - \a m; otherwise returns FALSE. -*/ - -bool QTranslatorMessage::operator==( const QTranslatorMessage& m ) const -{ - return h == m.h && cx == m.cx && st == m.st && cm == m.cm; -} - - -/*! - \fn bool QTranslatorMessage::operator!=( const QTranslatorMessage& m ) const - - Returns TRUE if the extended key of this object is different from - that of \a m; otherwise returns FALSE. -*/ - - -/*! - Returns TRUE if the extended key of this object is - lexicographically before than that of \a m; otherwise returns - FALSE. -*/ - -bool QTranslatorMessage::operator<( const QTranslatorMessage& m ) const -{ - return h != m.h ? h < m.h - : ( cx != m.cx ? cx < m.cx - : (st != m.st ? st < m.st : cm < m.cm) ); -} - - -/*! - \fn bool QTranslatorMessage::operator<=( const QTranslatorMessage& m ) const - - Returns TRUE if the extended key of this object is - lexicographically before that of \a m or if they are equal; - otherwise returns FALSE. -*/ - -/*! - \fn bool QTranslatorMessage::operator>( const QTranslatorMessage& m ) const - - Returns TRUE if the extended key of this object is - lexicographically after that of \a m; otherwise returns FALSE. -*/ - -/*! - \fn bool QTranslatorMessage::operator>=( const QTranslatorMessage& m ) const - - Returns TRUE if the extended key of this object is - lexicographically after that of \a m or if they are equal; - otherwise returns FALSE. -*/ - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqtranslator.h b/qtinterface/interface_tqt3/tqtranslator.h deleted file mode 100644 index 9956f9c..0000000 --- a/qtinterface/interface_tqt3/tqtranslator.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - -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_TQTRANSLATOR_H -#define TQT_TQTRANSLATOR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTranslator class -// For Qt3, no changes are needed - -#include <ntqtranslator.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTranslator class -// For Qt4, some changes are needed - -#include <Qt/ntqtranslator.h> - -//class Q_EXPORT QTranslatorMessage -class QTranslatorMessage -{ -public: - QTranslatorMessage(); - QTranslatorMessage( const char * context, - const char * sourceText, - const char * comment, - const QString& translation = QString::null ); - QTranslatorMessage( QDataStream & ); - QTranslatorMessage( const QTranslatorMessage & m ); - - QTranslatorMessage & operator=( const QTranslatorMessage & m ); - - uint hash() const { return h; } - const char *context() const { return cx; } - const char *sourceText() const { return st; } - const char *comment() const { return cm; } - - void setTranslation( const QString & translation ) { tn = translation; } - QString translation() const { return tn; } - - enum Prefix { NoPrefix, Hash, HashContext, HashContextSourceText, - HashContextSourceTextComment }; - void write( QDataStream & s, bool strip = FALSE, - Prefix prefix = HashContextSourceTextComment ) const; - Prefix commonPrefix( const QTranslatorMessage& ) const; - - bool operator==( const QTranslatorMessage& m ) const; - bool operator!=( const QTranslatorMessage& m ) const - { return !operator==( m ); } - bool operator<( const QTranslatorMessage& m ) const; - bool operator<=( const QTranslatorMessage& m ) const - { return !m.operator<( *this ); } - bool operator>( const QTranslatorMessage& m ) const - { return m.operator<( *this ); } - bool operator>=( const QTranslatorMessage& m ) const - { return !operator<( m ); } - -private: - uint h; - Q3CString cx; - Q3CString st; - Q3CString cm; - QString tn; - - enum Tag { Tag_End = 1, Tag_SourceText16, Tag_Translation, Tag_Context16, - Tag_Hash, Tag_SourceText, Tag_Context, Tag_Comment, - Tag_Obsolete1 }; -}; - -#endif // USE_QT4 - -#endif /* TQT_TQTRANSLATOR_H */ diff --git a/qtinterface/interface_tqt3/tqtsciicodec.cpp b/qtinterface/interface_tqt3/tqtsciicodec.cpp deleted file mode 100644 index 1e29395..0000000 --- a/qtinterface/interface_tqt3/tqtsciicodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqtsciicodec.h> diff --git a/qtinterface/interface_tqt3/tqtsciicodec.h b/qtinterface/interface_tqt3/tqtsciicodec.h deleted file mode 100644 index 916a970..0000000 --- a/qtinterface/interface_tqt3/tqtsciicodec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQTSCIICODEC_H -#define TQT_TQTSCIICODEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QTsciiCodec class -// For Qt3, no changes are needed - -#include <ntqtsciicodec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTsciiCodec class -// For Qt4, this class has been removed! - -#endif // USE_QT4 - -#endif /* TQT_TQTSCIICODEC_H */ diff --git a/qtinterface/interface_tqt3/tqurl.cpp b/qtinterface/interface_tqt3/tqurl.cpp deleted file mode 100644 index 01aab67..0000000 --- a/qtinterface/interface_tqt3/tqurl.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqurl.h> diff --git a/qtinterface/interface_tqt3/tqurl.h b/qtinterface/interface_tqt3/tqurl.h deleted file mode 100644 index a7a207b..0000000 --- a/qtinterface/interface_tqt3/tqurl.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQURL_H -#define TQT_TQURL_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QUrl class -// For Qt3, no changes are needed - -#include <ntqurl.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUrl class -// For Qt4, some changes are needed - -#include <Qt/ntqurl.h> - -#endif // USE_QT4 - -#endif /* TQT_TQURL_H */ diff --git a/qtinterface/interface_tqt3/tqurlinfo.cpp b/qtinterface/interface_tqt3/tqurlinfo.cpp deleted file mode 100644 index 9a6d516..0000000 --- a/qtinterface/interface_tqt3/tqurlinfo.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqurlinfo.h> diff --git a/qtinterface/interface_tqt3/tqurlinfo.h b/qtinterface/interface_tqt3/tqurlinfo.h deleted file mode 100644 index 63a6bfa..0000000 --- a/qtinterface/interface_tqt3/tqurlinfo.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQURLINFO_H -#define TQT_TQURLINFO_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QUrlInfo class -// For Qt3, no changes are needed - -#include <ntqurlinfo.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUrlInfo class -// For Qt4, some changes are needed - -#include <Qt/ntqurlinfo.h> - -#endif // USE_QT4 - -#endif /* TQT_TQURL_H */ diff --git a/qtinterface/interface_tqt3/tqurloperator.cpp b/qtinterface/interface_tqt3/tqurloperator.cpp deleted file mode 100644 index ff8ed5b..0000000 --- a/qtinterface/interface_tqt3/tqurloperator.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqurloperator.h> diff --git a/qtinterface/interface_tqt3/tqurloperator.h b/qtinterface/interface_tqt3/tqurloperator.h deleted file mode 100644 index 9426bc8..0000000 --- a/qtinterface/interface_tqt3/tqurloperator.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQURLOPERATOR_H -#define TQT_TQURLOPERATOR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QUrlOperator class -// For Qt3, no changes are needed - -#include <ntqurloperator.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUrlOperator class -// For Qt4, some changes are needed - -#include <Qt/q3urloperator.h> - -#endif // USE_QT4 - -#endif /* TQT_TQURLOPERATOR_H */ diff --git a/qtinterface/interface_tqt3/tqutfcodec.cpp b/qtinterface/interface_tqt3/tqutfcodec.cpp deleted file mode 100644 index f7a58ac..0000000 --- a/qtinterface/interface_tqt3/tqutfcodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqutfcodec.h> diff --git a/qtinterface/interface_tqt3/tqutfcodec.h b/qtinterface/interface_tqt3/tqutfcodec.h deleted file mode 100644 index aa3be3b..0000000 --- a/qtinterface/interface_tqt3/tqutfcodec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQUTFCODEC_H -#define TQT_TQUTFCODEC_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QUtfCodec class -// For Qt3, no changes are needed - -#include <ntqutfcodec.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUtfCodec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQUTFCODEC_H */ diff --git a/qtinterface/interface_tqt3/tquuid.cpp b/qtinterface/interface_tqt3/tquuid.cpp deleted file mode 100644 index 2e79461..0000000 --- a/qtinterface/interface_tqt3/tquuid.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntquuid.h> diff --git a/qtinterface/interface_tqt3/tquuid.h b/qtinterface/interface_tqt3/tquuid.h deleted file mode 100644 index 9f93b07..0000000 --- a/qtinterface/interface_tqt3/tquuid.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQUUID_H -#define TQT_TQUUID_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QUuid class -// For Qt3, no changes are needed - -#include <ntquuid.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUuid class -// For Qt4, some changes are needed - -#include <Qt/ntquuid.h> - -#endif // USE_QT4 - -#endif /* TQT_TQUUID_H */ diff --git a/qtinterface/interface_tqt3/tqvalidator.cpp b/qtinterface/interface_tqt3/tqvalidator.cpp deleted file mode 100644 index a918703..0000000 --- a/qtinterface/interface_tqt3/tqvalidator.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqvalidator.h> diff --git a/qtinterface/interface_tqt3/tqvalidator.h b/qtinterface/interface_tqt3/tqvalidator.h deleted file mode 100644 index 18c11c8..0000000 --- a/qtinterface/interface_tqt3/tqvalidator.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQVALIDATOR_H -#define TQT_TQVALIDATOR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QValidator class -// For Qt3, no changes are needed - -#include <ntqvalidator.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QValidator class -// For Qt4, some changes are needed - -#include <Qt/ntqvalidator.h> - -#endif // USE_QT4 - -#endif /* TQT_TQVALIDATOR_H */ diff --git a/qtinterface/interface_tqt3/tqvaluelist.cpp b/qtinterface/interface_tqt3/tqvaluelist.cpp deleted file mode 100644 index 2fa9dd6..0000000 --- a/qtinterface/interface_tqt3/tqvaluelist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqvaluelist.h> diff --git a/qtinterface/interface_tqt3/tqvaluelist.h b/qtinterface/interface_tqt3/tqvaluelist.h deleted file mode 100644 index 6237fde..0000000 --- a/qtinterface/interface_tqt3/tqvaluelist.h +++ /dev/null @@ -1,720 +0,0 @@ -/* - -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_TQVALUELIST_H -#define TQT_TQVALUELIST_H - -#include <tqt.h> -#include <ntqdatastream.h> - -#ifdef USE_QT3 - -// Reimplement the QValueList class -// For Qt3, no changes are needed - -#include <ntqvaluelist.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QValueList class -// For Qt4, some changes are needed - -#include <Qt/q3shared.h> -#include <Qt/q3valuelist.h> -#include <Qt/ntqlist.h> - -/**************************************************************************** -** $Id: qt/ntqvaluelist.h 3.3.7 edited Aug 31 2005 $ -** -** Definition of TQValueList class -** -** Created : 990406 -** -** Copyright (C) 1992-2005 Trolltech AS. All rights reserved. -** -** This file is part of the tools module of the Qt GUI Toolkit. -** -** This file may be distributed under the terms of the Q Public License -** as defined by Trolltech AS of Norway and appearing in the file -** LICENSE.QPL included in the packaging of this file. -** -** This file may be distributed and/or modified under the terms of the -** GNU General Public License version 2 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. -** -** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition -** licenses may use this file in accordance with the Qt Commercial License -** Agreement provided with the Software. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for -** information about Qt Commercial License Agreements. -** See http://www.trolltech.com/qpl/ for QPL licensing information. -** See http://www.trolltech.com/gpl/ for GPL licensing information. -** -** Contact info@trolltech.com if any conditions of this licensing are -** not clear to you. -** -**********************************************************************/ - -//#define QT_CHECK_VALUELIST_RANGE - -#if defined(Q_CC_MSVC) -#pragma warning(disable:4284) // "return type for operator -> is not a UDT" -#endif - -template <class T> -class TQValueListNode -{ -public: - TQValueListNode( const T& t ) : data( t ) { } - TQValueListNode() { } -#if defined(Q_TEMPLATEDLL) - // Workaround MS bug in memory de/allocation in DLL vs. EXE - virtual ~TQValueListNode() { } -#endif - - TQValueListNode<T>* next; - TQValueListNode<T>* prev; - T data; -}; - -template<class T> -class TQValueListIterator -{ - public: - /** - * Typedefs - */ - typedef TQValueListNode<T>* NodePtr; -#ifndef TQT_NO_STL - typedef std::bidirectional_iterator_tag iterator_category; -#endif - typedef T value_type; - typedef size_t size_type; -#ifndef TQT_NO_STL - typedef ptrdiff_t difference_type; -#else - typedef int difference_type; -#endif - typedef T* pointer; - typedef T& reference; - - /** - * Variables - */ - NodePtr node; - - /** - * Functions - */ - TQValueListIterator() : node( 0 ) {} - TQValueListIterator( NodePtr p ) : node( p ) {} - TQValueListIterator( const TQValueListIterator<T>& it ) : node( it.node ) {} - - bool operator==( const TQValueListIterator<T>& it ) const { return node == it.node; } - bool operator!=( const TQValueListIterator<T>& it ) const { return node != it.node; } - const T& operator*() const { return node->data; } - T& operator*() { return node->data; } - // UDT for T = x* - // T* operator->() const { return &node->data; } - - TQValueListIterator<T>& operator++() { - node = node->next; - return *this; - } - - TQValueListIterator<T> operator++(int) { - TQValueListIterator<T> tmp = *this; - node = node->next; - return tmp; - } - - TQValueListIterator<T>& operator--() { - node = node->prev; - return *this; - } - - TQValueListIterator<T> operator--(int) { - TQValueListIterator<T> tmp = *this; - node = node->prev; - return tmp; - } - - TQValueListIterator<T>& operator+=( int j ) { - while ( j-- ) - node = node->next; - return *this; - } - - TQValueListIterator<T>& operator-=( int j ) { - while ( j-- ) - node = node->prev; - return *this; - } - -}; - -template<class T> -class TQValueListConstIterator -{ - public: - /** - * Typedefs - */ - typedef TQValueListNode<T>* NodePtr; -#ifndef TQT_NO_STL - typedef std::bidirectional_iterator_tag iterator_category; -#endif - typedef T value_type; - typedef size_t size_type; -#ifndef TQT_NO_STL - typedef ptrdiff_t difference_type; -#else - typedef int difference_type; -#endif - typedef const T* pointer; - typedef const T& reference; - - /** - * Variables - */ - NodePtr node; - - /** - * Functions - */ - TQValueListConstIterator() : node( 0 ) {} - TQValueListConstIterator( NodePtr p ) : node( p ) {} - TQValueListConstIterator( const TQValueListConstIterator<T>& it ) : node( it.node ) {} - TQValueListConstIterator( const TQValueListIterator<T>& it ) : node( it.node ) {} - - bool operator==( const TQValueListConstIterator<T>& it ) const { return node == it.node; } - bool operator!=( const TQValueListConstIterator<T>& it ) const { return node != it.node; } - const T& operator*() const { return node->data; } - // UDT for T = x* - // const T* operator->() const { return &node->data; } - - TQValueListConstIterator<T>& operator++() { - node = node->next; - return *this; - } - - TQValueListConstIterator<T> operator++(int) { - TQValueListConstIterator<T> tmp = *this; - node = node->next; - return tmp; - } - - TQValueListConstIterator<T>& operator--() { - node = node->prev; - return *this; - } - - TQValueListConstIterator<T> operator--(int) { - TQValueListConstIterator<T> tmp = *this; - node = node->prev; - return tmp; - } -}; - -template <class T> -class TQValueListPrivate : public Q3Shared -{ -public: - /** - * Typedefs - */ - typedef TQValueListIterator<T> Iterator; - typedef TQValueListConstIterator<T> ConstIterator; - typedef TQValueListNode<T> Node; - typedef TQValueListNode<T>* NodePtr; - typedef size_t size_type; - - /** - * Functions - */ - TQValueListPrivate(); - TQValueListPrivate( const TQValueListPrivate<T>& _p ); - - void derefAndDelete() // ### hack to get around hp-cc brain damage - { - if ( deref() ) - delete this; - } - -#if defined(Q_TEMPLATEDLL) - // Workaround MS bug in memory de/allocation in DLL vs. EXE - virtual -#endif - ~TQValueListPrivate(); - - Iterator insert( Iterator it, const T& x ); - Iterator remove( Iterator it ); - NodePtr find( NodePtr start, const T& x ) const; - int findIndex( NodePtr start, const T& x ) const; - uint contains( const T& x ) const; - uint remove( const T& x ); - NodePtr at( size_type i ) const; - void clear(); - - NodePtr node; - size_type nodes; -}; - -template <class T> -TQValueListPrivate<T>::TQValueListPrivate() -{ - node = new Node; node->next = node->prev = node; nodes = 0; -} - -template <class T> -TQValueListPrivate<T>::TQValueListPrivate( const TQValueListPrivate<T>& _p ) - : Q3Shared() -{ - node = new Node; node->next = node->prev = node; nodes = 0; - Iterator b( _p.node->next ); - Iterator e( _p.node ); - Iterator i( node ); - while( b != e ) - insert( i, *b++ ); -} - -template <class T> -TQValueListPrivate<T>::~TQValueListPrivate() { - NodePtr p = node->next; - while( p != node ) { - NodePtr x = p->next; - delete p; - p = x; - } - delete node; -} - -template <class T> -Q_TYPENAME TQValueListPrivate<T>::Iterator TQValueListPrivate<T>::insert( Q_TYPENAME TQValueListPrivate<T>::Iterator it, const T& x ) -{ - NodePtr p = new Node( x ); - p->next = it.node; - p->prev = it.node->prev; - it.node->prev->next = p; - it.node->prev = p; - nodes++; - return p; -} - -template <class T> -Q_TYPENAME TQValueListPrivate<T>::Iterator TQValueListPrivate<T>::remove( Q_TYPENAME TQValueListPrivate<T>::Iterator it ) -{ - Q_ASSERT ( it.node != node ); - NodePtr next = it.node->next; - NodePtr prev = it.node->prev; - prev->next = next; - next->prev = prev; - delete it.node; - nodes--; - return Iterator( next ); -} - -template <class T> -Q_TYPENAME TQValueListPrivate<T>::NodePtr TQValueListPrivate<T>::find( Q_TYPENAME TQValueListPrivate<T>::NodePtr start, const T& x ) const -{ - ConstIterator first( start ); - ConstIterator last( node ); - while( first != last) { - if ( *first == x ) - return first.node; - ++first; - } - return last.node; -} - -template <class T> -int TQValueListPrivate<T>::findIndex( Q_TYPENAME TQValueListPrivate<T>::NodePtr start, const T& x ) const -{ - ConstIterator first( start ); - ConstIterator last( node ); - int pos = 0; - while( first != last) { - if ( *first == x ) - return pos; - ++first; - ++pos; - } - return -1; -} - -template <class T> -uint TQValueListPrivate<T>::contains( const T& x ) const -{ - uint result = 0; - Iterator first = Iterator( node->next ); - Iterator last = Iterator( node ); - while( first != last) { - if ( *first == x ) - ++result; - ++first; - } - return result; -} - -template <class T> -uint TQValueListPrivate<T>::remove( const T& _x ) -{ - const T x = _x; - uint result = 0; - Iterator first = Iterator( node->next ); - Iterator last = Iterator( node ); - while( first != last) { - if ( *first == x ) { - first = remove( first ); - ++result; - } else - ++first; - } - return result; -} - -template <class T> -Q_TYPENAME TQValueListPrivate<T>::NodePtr TQValueListPrivate<T>::at( size_type i ) const -{ - Q_ASSERT( i <= nodes ); - NodePtr p = node->next; - for( size_type x = 0; x < i; ++x ) - p = p->next; - return p; -} - -template <class T> -void TQValueListPrivate<T>::clear() -{ - nodes = 0; - NodePtr p = node->next; - while( p != node ) { - NodePtr next = p->next; - delete p; - p = next; - } - node->next = node->prev = node; -} - -#ifdef QT_CHECK_RANGE -# if !defined( TQT_NO_DEBUG ) && defined( QT_CHECK_VALUELIST_RANGE ) -# define QT_CHECK_INVALID_LIST_ELEMENT if ( empty() ) qWarning( "TQValueList: Warning invalid element" ) -# define QT_CHECK_INVALID_LIST_ELEMENT_FATAL Q_ASSERT( !empty() ); -# else -# define QT_CHECK_INVALID_LIST_ELEMENT -# define QT_CHECK_INVALID_LIST_ELEMENT_FATAL -# endif -#else -# define QT_CHECK_INVALID_LIST_ELEMENT -# define QT_CHECK_INVALID_LIST_ELEMENT_FATAL -#endif - -template <class T> class QDeepCopy; - -template <class T> -class TQValueList -{ -public: - /** - * Typedefs - */ - typedef TQValueListIterator<T> iterator; - typedef TQValueListConstIterator<T> const_iterator; - typedef T value_type; - typedef value_type* pointer; - typedef const value_type* const_pointer; - typedef value_type& reference; - typedef const value_type& const_reference; - typedef size_t size_type; -#ifndef TQT_NO_STL - typedef ptrdiff_t difference_type; -#else - typedef int difference_type; -#endif - - /** - * API - */ - TQValueList() { sh = new TQValueListPrivate<T>; } - TQValueList( const TQValueList<T>& l ) { sh = l.sh; sh->ref(); } -#ifndef TQT_NO_STL - TQValueList( const std::list<T>& l ) - { - sh = new TQValueListPrivate<T>; - qCopy( l.begin(), l.end(), std::back_inserter( *this ) ); - } -#endif - ~TQValueList() { sh->derefAndDelete(); } - - TQValueList<T>& operator= ( const TQValueList<T>& l ) - { - l.sh->ref(); - sh->derefAndDelete(); - sh = l.sh; - return *this; - } -#ifndef TQT_NO_STL - TQValueList<T>& operator= ( const std::list<T>& l ) - { - detach(); - qCopy( l.begin(), l.end(), std::back_inserter( *this ) ); - return *this; - } - bool operator== ( const std::list<T>& l ) const - { - if ( size() != l.size() ) - return FALSE; - const_iterator it2 = begin(); -#if !defined(Q_CC_MIPS) - typename -#endif - std::list<T>::const_iterator it = l.begin(); - for ( ; it2 != end(); ++it2, ++it ) - if ( !((*it2) == (*it)) ) - return FALSE; - return TRUE; - } -#endif - - // Interoperability - TQValueList(const QList<T>& l) - { - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - } - - TQValueList<T>& operator= (const QList<T>& l) - { - this->clear(); - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - return *this; - } - - operator QList<T>() const { - QList<T> list; - for (typename TQValueList<T>::const_iterator it = this->constBegin(); - it != this->constEnd(); ++it) - list.append(*it); - return list; - } - - bool operator== ( const TQValueList<T>& l ) const; - bool operator!= ( const TQValueList<T>& l ) const { return !( *this == l ); } - iterator begin() { detach(); return iterator( sh->node->next ); } - const_iterator begin() const { return const_iterator( sh->node->next ); } - const_iterator constBegin() const { return const_iterator( sh->node->next ); } - iterator end() { detach(); return iterator( sh->node ); } - const_iterator end() const { return const_iterator( sh->node ); } - const_iterator constEnd() const { return const_iterator( sh->node ); } - iterator insert( iterator it, const T& x ) { detach(); return sh->insert( it, x ); } - uint remove( const T& x ) { detach(); return sh->remove( x ); } - void clear(); - - // ### 4.0: move out of class - TQValueList<T>& operator<< ( const T& x ) - { - append( x ); - return *this; - } - - size_type size() const { return sh->nodes; } - bool empty() const { return sh->nodes == 0; } - void push_front( const T& x ) { detach(); sh->insert( begin(), x ); } - void push_back( const T& x ) { detach(); sh->insert( end(), x ); } - iterator erase( iterator pos ) { detach(); return sh->remove( pos ); } - iterator erase( iterator first, iterator last ); - reference front() { QT_CHECK_INVALID_LIST_ELEMENT_FATAL; return *begin(); } - const_reference front() const { QT_CHECK_INVALID_LIST_ELEMENT_FATAL; return *begin(); } - reference back() { QT_CHECK_INVALID_LIST_ELEMENT_FATAL; return *(--end()); } - const_reference back() const { QT_CHECK_INVALID_LIST_ELEMENT_FATAL; return *(--end()); } - void pop_front() { QT_CHECK_INVALID_LIST_ELEMENT; erase( begin() ); } - void pop_back() { - QT_CHECK_INVALID_LIST_ELEMENT; - iterator tmp = end(); - erase( --tmp ); - } - void insert( iterator pos, size_type n, const T& x ); - // Some compilers (incl. vc++) would instantiate this function even if - // it is not used; this would constrain TQValueList to classes that provide - // an operator< - /* - void sort() - { - qHeapSort( *this ); - } - */ - - TQValueList<T> operator+ ( const TQValueList<T>& l ) const; - TQValueList<T>& operator+= ( const TQValueList<T>& l ); - - iterator fromLast() { detach(); return iterator( sh->node->prev ); } - const_iterator fromLast() const { return const_iterator( sh->node->prev ); } - - bool isEmpty() const { return ( sh->nodes == 0 ); } - - iterator append( const T& x ) { detach(); return sh->insert( end(), x ); } - iterator prepend( const T& x ) { detach(); return sh->insert( begin(), x ); } - - iterator remove( iterator it ) { detach(); return sh->remove( it ); } - - T& first() { QT_CHECK_INVALID_LIST_ELEMENT; detach(); return sh->node->next->data; } - const T& first() const { QT_CHECK_INVALID_LIST_ELEMENT; return sh->node->next->data; } - T& last() { QT_CHECK_INVALID_LIST_ELEMENT; detach(); return sh->node->prev->data; } - const T& last() const { QT_CHECK_INVALID_LIST_ELEMENT; return sh->node->prev->data; } - - T& operator[] ( size_type i ) { QT_CHECK_INVALID_LIST_ELEMENT; detach(); return sh->at(i)->data; } - const T& operator[] ( size_type i ) const { QT_CHECK_INVALID_LIST_ELEMENT; return sh->at(i)->data; } - iterator at( size_type i ) { QT_CHECK_INVALID_LIST_ELEMENT; detach(); return iterator( sh->at(i) ); } - const_iterator at( size_type i ) const { QT_CHECK_INVALID_LIST_ELEMENT; return const_iterator( sh->at(i) ); } - iterator find ( const T& x ) { detach(); return iterator( sh->find( sh->node->next, x) ); } - const_iterator find ( const T& x ) const { return const_iterator( sh->find( sh->node->next, x) ); } - iterator find ( iterator it, const T& x ) { detach(); return iterator( sh->find( it.node, x ) ); } - const_iterator find ( const_iterator it, const T& x ) const { return const_iterator( sh->find( it.node, x ) ); } - int findIndex( const T& x ) const { return sh->findIndex( sh->node->next, x) ; } - size_type contains( const T& x ) const { return sh->contains( x ); } - - size_type count() const { return sh->nodes; } - - TQValueList<T>& operator+= ( const T& x ) - { - append( x ); - return *this; - } - typedef TQValueListIterator<T> Iterator; - typedef TQValueListConstIterator<T> ConstIterator; - typedef T ValueType; - -protected: - /** - * Helpers - */ - void detach() { if ( sh->count > 1 ) detachInternal(); } - - /** - * Variables - */ - TQValueListPrivate<T>* sh; - -private: - void detachInternal(); - - friend class QDeepCopy< TQValueList<T> >; -}; - -template <class T> -bool TQValueList<T>::operator== ( const TQValueList<T>& l ) const -{ - if ( size() != l.size() ) - return FALSE; - const_iterator it2 = begin(); - const_iterator it = l.begin(); - for( ; it != l.end(); ++it, ++it2 ) - if ( !( *it == *it2 ) ) - return FALSE; - return TRUE; -} - -template <class T> -void TQValueList<T>::clear() -{ - if ( sh->count == 1 ) sh->clear(); else { sh->deref(); sh = new TQValueListPrivate<T>; } -} - -template <class T> -Q_TYPENAME TQValueList<T>::iterator TQValueList<T>::erase( Q_TYPENAME TQValueList<T>::iterator first, Q_TYPENAME TQValueList<T>::iterator last ) -{ - while ( first != last ) - erase( first++ ); - return last; -} - - -template <class T> -void TQValueList<T>::insert( Q_TYPENAME TQValueList<T>::iterator pos, size_type n, const T& x ) -{ - for ( ; n > 0; --n ) - insert( pos, x ); -} - -template <class T> -TQValueList<T> TQValueList<T>::operator+ ( const TQValueList<T>& l ) const -{ - TQValueList<T> l2( *this ); - for( const_iterator it = l.begin(); it != l.end(); ++it ) - l2.append( *it ); - return l2; -} - -template <class T> -TQValueList<T>& TQValueList<T>::operator+= ( const TQValueList<T>& l ) -{ - TQValueList<T> copy = l; - for( const_iterator it = copy.begin(); it != copy.end(); ++it ) - append( *it ); - return *this; -} - -template <class T> -void TQValueList<T>::detachInternal() -{ - sh->deref(); sh = new TQValueListPrivate<T>( *sh ); -} - -#ifndef TQT_NO_DATASTREAM -template <class T> -QDataStream& operator>>( QDataStream& s, TQValueList<T>& l ) -{ - l.clear(); - Q_UINT32 c; - s >> c; - for( Q_UINT32 i = 0; i < c; ++i ) - { - T t; - s >> t; - l.append( t ); - if ( s.atEnd() ) - break; - } - return s; -} - -template <class T> -QDataStream& operator<<( QDataStream& s, const TQValueList<T>& l ) -{ - s << (Q_UINT32)l.size(); - TQValueListConstIterator<T> it = l.begin(); - for( ; it != l.end(); ++it ) - s << *it; - return s; -} -#endif // TQT_NO_DATASTREAM - -/****************************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQVALUELIST_H */ diff --git a/qtinterface/interface_tqt3/tqvaluestack.cpp b/qtinterface/interface_tqt3/tqvaluestack.cpp deleted file mode 100644 index e198006..0000000 --- a/qtinterface/interface_tqt3/tqvaluestack.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqvaluestack.h> diff --git a/qtinterface/interface_tqt3/tqvaluestack.h b/qtinterface/interface_tqt3/tqvaluestack.h deleted file mode 100644 index 0afc0c5..0000000 --- a/qtinterface/interface_tqt3/tqvaluestack.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQVALUESTACK_H -#define TQT_TQVALUESTACK_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QValueStack class -// For Qt3, no changes are needed - -#include <ntqvaluestack.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QValueStack class -// For Qt4, some changes are needed - -#include <Qt/q3valuestack.h> - -#endif // USE_QT4 - -#endif /* TQT_TQVALUESTACK_H */ diff --git a/qtinterface/interface_tqt3/tqvaluevector.cpp b/qtinterface/interface_tqt3/tqvaluevector.cpp deleted file mode 100644 index e222260..0000000 --- a/qtinterface/interface_tqt3/tqvaluevector.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqvaluevector.h> diff --git a/qtinterface/interface_tqt3/tqvaluevector.h b/qtinterface/interface_tqt3/tqvaluevector.h deleted file mode 100644 index 608db82..0000000 --- a/qtinterface/interface_tqt3/tqvaluevector.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQVALUEVECTOR_H -#define TQT_TQVALUEVECTOR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QValueVector class -// For Qt3, no changes are needed - -#include <ntqvaluevector.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QValueVector class -// For Qt4, some changes are needed - -#include <Qt/q3valuevector.h> - -#endif // USE_QT4 - -#endif /* TQT_TQVALUEVECTOR_H */ diff --git a/qtinterface/interface_tqt3/tqvariant.cpp b/qtinterface/interface_tqt3/tqvariant.cpp deleted file mode 100644 index da08e5a..0000000 --- a/qtinterface/interface_tqt3/tqvariant.cpp +++ /dev/null @@ -1,129 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqvariant.h> - -#ifdef USE_QT4 - -#include <Qt/ntqbitmap.h> - -// This is taken straight from <private/qvariant_p.h> -#ifdef Q_CC_SUN // Sun CC picks the wrong overload, so introduce awful hack - -template <typename T> -inline T *v_cast(const QVariant::Private *nd, T * = 0) -{ - QVariant::Private *d = const_cast<QVariant::Private *>(nd); - return ((sizeof(T) > sizeof(QVariant::Private::Data)) - ? static_cast<T *>(d->data.shared->ptr) - : static_cast<T *>(static_cast<void *>(&d->data.c))); -} - -#else // every other compiler in this world - -template <typename T> -inline const T *v_cast(const QVariant::Private *d, T * = 0) -{ - return ((sizeof(T) > sizeof(QVariant::Private::Data)) - ? static_cast<const T *>(d->data.shared->ptr) - : static_cast<const T *>(static_cast<const void *>(&d->data.c))); -} - -template <typename T> -inline T *v_cast(QVariant::Private *d, T * = 0) -{ - return ((sizeof(T) > sizeof(QVariant::Private::Data)) - ? static_cast<T *>(d->data.shared->ptr) - : static_cast<T *>(static_cast<void *>(&d->data.c))); -} - -#endif - -template <typename T> -inline T qVariantToHelper(const QVariant::Private &d, QVariant::Type t, - const QVariant::Handler *handler, T * = 0) -{ - if (d.type == t) - return *v_cast<T>(&d); - - T ret; - handler->convert(&d, t, &ret, 0); - return ret; -} - -QFont QVariant::toFont() const { - return qVariantToHelper<QFont>(d, Font, handler); -} - -QColor QVariant::toColor() const { - return qVariantToHelper<QColor>(d, Color, handler); -} - -QCursor QVariant::toCursor() const { - return qVariantToHelper<QCursor>(d, Cursor, handler); -} - -QBitmap QVariant::toBitmap() const { - return qVariantToHelper<QBitmap>(d, Bitmap, handler); -} - -Q3PointArray QVariant::toPointArray() const { - return qVariantToHelper<Q3PointArray>(d, PointArray, handler); -} - -QRegion QVariant::toRegion() const { - return qVariantToHelper<QRegion>(d, Region, handler); -} - -QPixmap QVariant::toPixmap() const { - return qVariantToHelper<QPixmap>(d, Pixmap, handler); -} - -QImage QVariant::toImage() const { - return qVariantToHelper<QImage>(d, Image, handler); -} - -QBrush QVariant::toBrush() const { - return qVariantToHelper<QBrush>(d, Brush, handler); -} - -QPalette QVariant::toPalette() const { - return qVariantToHelper<QPalette>(d, Palette, handler); -} - -QColorGroup QVariant::toColorGroup() const { - return qVariantToHelper<QColorGroup>(d, ColorGroup, handler); -} - -QIconSet QVariant::toIconSet() const { - return qVariantToHelper<QIconSet>(d, IconSet, handler); -} - -QFont QVariant::asFont() { - return toFont(); -} - -QColor QVariant::asColor() { - return toColor(); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqvariant.h b/qtinterface/interface_tqt3/tqvariant.h deleted file mode 100644 index b03b514..0000000 --- a/qtinterface/interface_tqt3/tqvariant.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - -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_TQVARIANT_H -#define TQT_TQVARIANT_H - -#include <tqt.h> -#include <ntqdatastream.h> - -#ifdef USE_QT3 - -// Reimplement the QVariant class -// For Qt3, no changes are needed - -#include <ntqvariant.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QVariant class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqvariant.h> - -#endif // USE_QT4 - -#endif /* TQT_TQVARIANT_H */ diff --git a/qtinterface/interface_tqt3/tqvbox.cpp b/qtinterface/interface_tqt3/tqvbox.cpp deleted file mode 100644 index 30958fd..0000000 --- a/qtinterface/interface_tqt3/tqvbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqvbox.h> diff --git a/qtinterface/interface_tqt3/tqvbox.h b/qtinterface/interface_tqt3/tqvbox.h deleted file mode 100644 index 82ba68f..0000000 --- a/qtinterface/interface_tqt3/tqvbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQVBOX_H -#define TQT_TQVBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QVBox class -// For Qt3, no changes are needed - -#include <ntqvbox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QVBox class -// For Qt4, some changes are needed - -#include <Qt/q3vbox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQVBOX_H */ diff --git a/qtinterface/interface_tqt3/tqvbuttongroup.cpp b/qtinterface/interface_tqt3/tqvbuttongroup.cpp deleted file mode 100644 index 55bc19b..0000000 --- a/qtinterface/interface_tqt3/tqvbuttongroup.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqvbuttongroup.h> diff --git a/qtinterface/interface_tqt3/tqvbuttongroup.h b/qtinterface/interface_tqt3/tqvbuttongroup.h deleted file mode 100644 index 467184f..0000000 --- a/qtinterface/interface_tqt3/tqvbuttongroup.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQVBUTTONGROUP_H -#define TQT_TQVBUTTONGROUP_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QVButtonGroup class -// For Qt3, no changes are needed - -#include <ntqvbuttongroup.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QVButtonGroup class -// For Qt4, no changes are needed - -#include <Qt/q3buttongroup.h> - -#endif // USE_QT4 - -#endif /* TQT_TQVBUTTONGROUP_H */ diff --git a/qtinterface/interface_tqt3/tqvfbhdr.cpp b/qtinterface/interface_tqt3/tqvfbhdr.cpp deleted file mode 100644 index 0bdf5e6..0000000 --- a/qtinterface/interface_tqt3/tqvfbhdr.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqvfbhdr.h> diff --git a/qtinterface/interface_tqt3/tqvfbhdr.h b/qtinterface/interface_tqt3/tqvfbhdr.h deleted file mode 100644 index f42a418..0000000 --- a/qtinterface/interface_tqt3/tqvfbhdr.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQVFBHDR_H -#define TQT_TQVFBHDR_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QVFBHDR class -// For Qt3, no changes are needed - -#include <ntqvfbhdr.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QVFBHDR class -// For Qt4, some changes are needed - -#include <Qt/ntqvfbhdr.h> - -#endif // USE_QT4 - -#endif /* TQT_TQVFBHDR_H */ diff --git a/qtinterface/interface_tqt3/tqvgroupbox.cpp b/qtinterface/interface_tqt3/tqvgroupbox.cpp deleted file mode 100644 index a639426..0000000 --- a/qtinterface/interface_tqt3/tqvgroupbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqvgroupbox.h> diff --git a/qtinterface/interface_tqt3/tqvgroupbox.h b/qtinterface/interface_tqt3/tqvgroupbox.h deleted file mode 100644 index fc04aae..0000000 --- a/qtinterface/interface_tqt3/tqvgroupbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQVGROUPBOX_H -#define TQT_TQVGROUPBOX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QVGroupBox class -// For Qt3, no changes are needed - -#include <ntqvgroupbox.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QVGroupBox class -// For Qt4, some changes are needed - -#include <Qt/q3vgroupbox.h> - -#endif // USE_QT4 - -#endif /* TQT_TQVGROUPBOX_H */ diff --git a/qtinterface/interface_tqt3/tqwaitcondition.cpp b/qtinterface/interface_tqt3/tqwaitcondition.cpp deleted file mode 100644 index 6399787..0000000 --- a/qtinterface/interface_tqt3/tqwaitcondition.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwaitcondition.h> diff --git a/qtinterface/interface_tqt3/tqwaitcondition.h b/qtinterface/interface_tqt3/tqwaitcondition.h deleted file mode 100644 index 397a8fa..0000000 --- a/qtinterface/interface_tqt3/tqwaitcondition.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQWAITCONDITION_H -#define TQT_TQWAITCONDITION_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWaitCondition class -// For Qt3, no changes are needed - -#include <ntqwaitcondition.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWaitCondition class -// For Qt4, some changes are needed - -#include <Qt/ntqwaitcondition.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWAITCONDITION_H */ diff --git a/qtinterface/interface_tqt3/tqwhatsthis.cpp b/qtinterface/interface_tqt3/tqwhatsthis.cpp deleted file mode 100644 index 8a4ff7d..0000000 --- a/qtinterface/interface_tqt3/tqwhatsthis.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwhatsthis.h> - -#ifdef USE_QT4 - -static QString textFor( QWidget * widget, const QPoint & pos, bool includeParents ) { - QString text; - Q3WhatsThis *wt = new Q3WhatsThis(widget); - text = wt->text(pos); - delete wt; - return text; -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqwhatsthis.h b/qtinterface/interface_tqt3/tqwhatsthis.h deleted file mode 100644 index 86cee74..0000000 --- a/qtinterface/interface_tqt3/tqwhatsthis.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQWHATSTHIS_H -#define TQT_TQWHATSTHIS_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWhatsThis class -// For Qt3, no changes are needed - -#include <ntqwhatsthis.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWhatsThis class -// For Qt4, some changes are needed - -#include <tqt4/Qt/q3whatsthis.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWHATSTHIS_H */ diff --git a/qtinterface/interface_tqt3/tqwidget.cpp b/qtinterface/interface_tqt3/tqwidget.cpp deleted file mode 100644 index af0c6c7..0000000 --- a/qtinterface/interface_tqt3/tqwidget.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwidget.h> - -#ifdef USE_QT4 - -Qt::WidgetAttribute QWidget::testWState( Qt::WidgetAttribute s ) const { - return (Qt::WidgetAttribute)(data->widget_attributes & s); -} - -Qt::WindowFlags QWidget::testWFlags( Qt::WindowFlags f ) const { - return (Qt::WindowFlags)(data->window_flags & f); -} - -#endif // USE_QT4 diff --git a/qtinterface/interface_tqt3/tqwidget.h b/qtinterface/interface_tqt3/tqwidget.h deleted file mode 100644 index af408e3..0000000 --- a/qtinterface/interface_tqt3/tqwidget.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQWIDGET_H -#define TQT_TQWIDGET_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWidget class -// For Qt3, no changes are needed - -#include <ntqwidget.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWidget class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqwidget.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGET_H */ diff --git a/qtinterface/interface_tqt3/tqwidgetfactory.cpp b/qtinterface/interface_tqt3/tqwidgetfactory.cpp deleted file mode 100644 index 3802ff7..0000000 --- a/qtinterface/interface_tqt3/tqwidgetfactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwidgetfactory.h> diff --git a/qtinterface/interface_tqt3/tqwidgetfactory.h b/qtinterface/interface_tqt3/tqwidgetfactory.h deleted file mode 100644 index 75e301d..0000000 --- a/qtinterface/interface_tqt3/tqwidgetfactory.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQWIDGETFACTORY_H -#define TQT_TQWIDGETFACTORY_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWidgetFactory class -// For Qt3, no changes are needed - -#include <ntqwidgetfactory.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWidgetFactory class -// For Qt4, some changes are needed - -#include <QtDesigner/formbuilder.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGETFACTORY_H */ diff --git a/qtinterface/interface_tqt3/tqwidgetintdict.cpp b/qtinterface/interface_tqt3/tqwidgetintdict.cpp deleted file mode 100644 index 3d7dc6a..0000000 --- a/qtinterface/interface_tqt3/tqwidgetintdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwidgetintdict.h> diff --git a/qtinterface/interface_tqt3/tqwidgetintdict.h b/qtinterface/interface_tqt3/tqwidgetintdict.h deleted file mode 100644 index ce19cde..0000000 --- a/qtinterface/interface_tqt3/tqwidgetintdict.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQWIDGETINTDICT_H -#define TQT_TQWIDGETINTDICT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWidgetIntDict class -// For Qt3, no changes are needed - -#include <ntqwidgetintdict.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWidgetIntDict class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGETINTDICT_H */ diff --git a/qtinterface/interface_tqt3/tqwidgetlist.cpp b/qtinterface/interface_tqt3/tqwidgetlist.cpp deleted file mode 100644 index f2da147..0000000 --- a/qtinterface/interface_tqt3/tqwidgetlist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwidgetlist.h> diff --git a/qtinterface/interface_tqt3/tqwidgetlist.h b/qtinterface/interface_tqt3/tqwidgetlist.h deleted file mode 100644 index 8b5bba4..0000000 --- a/qtinterface/interface_tqt3/tqwidgetlist.h +++ /dev/null @@ -1,91 +0,0 @@ -/* - -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_TQWIDGETLIST_H -#define TQT_TQWIDGETLIST_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the TQWidgetList class -// For Qt3, no changes are needed - -#include <ntqwidgetlist.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the TQWidgetList class -// For Qt4, this class was removed! - -#include <ntqwidget.h> -#include <ntqptrlist.h> - -class TQWidgetList : public TQPtrList<QWidget> -{ -public: - TQWidgetList() : TQPtrList<QWidget>() {} - TQWidgetList( const TQWidgetList &list ) : TQPtrList<QWidget>(list) {} - ~TQWidgetList() { clear(); } - TQWidgetList &operator=(const TQWidgetList &list) - { return (TQWidgetList&)TQPtrList<QWidget>::operator=(list); } - - // Interoperability - TQWidgetList(const QWidgetList& l) - { - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - } - - TQWidgetList& operator= (const QWidgetList& l) - { - this->clear(); - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - return *this; - } - - operator QWidgetList() const { - QWidgetList list; - for (TQWidgetList::const_iterator it = TQWidgetList::constBegin(); - it != TQWidgetList::constEnd(); ++it) - list.append(*it); - return list; - } - - operator TQWidgetList*() { - TQWidgetList *qwl; - qwl = new TQWidgetList(*this); - return qwl; - } -}; - -class TQWidgetListIt : public TQPtrListIterator<QWidget> -{ -public: - TQWidgetListIt( const TQWidgetList &l ) : TQPtrListIterator<QWidget>(l) {} - TQWidgetListIt &operator=(const TQWidgetListIt &i) - { return (TQWidgetListIt&)TQPtrListIterator<QWidget>::operator=(i); } -}; - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGETLIST_H */ diff --git a/qtinterface/interface_tqt3/tqwidgetplugin.cpp b/qtinterface/interface_tqt3/tqwidgetplugin.cpp deleted file mode 100644 index 411075f..0000000 --- a/qtinterface/interface_tqt3/tqwidgetplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwidgetplugin.h> diff --git a/qtinterface/interface_tqt3/tqwidgetplugin.h b/qtinterface/interface_tqt3/tqwidgetplugin.h deleted file mode 100644 index ffe3e60..0000000 --- a/qtinterface/interface_tqt3/tqwidgetplugin.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQWIDGETPLUGIN_H -#define TQT_TQWIDGETPLUGIN_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWidgetPlugin class -// For Qt3, no changes are needed - -#include <ntqwidgetplugin.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWidgetPlugin class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGETPLUGIN_H */ diff --git a/qtinterface/interface_tqt3/tqwidgetstack.cpp b/qtinterface/interface_tqt3/tqwidgetstack.cpp deleted file mode 100644 index aa616a8..0000000 --- a/qtinterface/interface_tqt3/tqwidgetstack.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwidgetstack.h> diff --git a/qtinterface/interface_tqt3/tqwidgetstack.h b/qtinterface/interface_tqt3/tqwidgetstack.h deleted file mode 100644 index 7fb3f0b..0000000 --- a/qtinterface/interface_tqt3/tqwidgetstack.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQWIDGETSTACK_H -#define TQT_TQWIDGETSTACK_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWidgetStack class -// For Qt3, no changes are needed - -#include <ntqwidgetstack.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWidgetStack class -// For Qt4, some changes are needed - -#include <Qt/q3widgetstack.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGETSTACK_H */ diff --git a/qtinterface/interface_tqt3/tqwindowdefs.h b/qtinterface/interface_tqt3/tqwindowdefs.h deleted file mode 100644 index 8cf652a..0000000 --- a/qtinterface/interface_tqt3/tqwindowdefs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQWINDOWDEFS_H -#define TQT_TQWINDOWDEFS_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Pull in Qt3 qwindowdefs defines - -#include <ntqwindowdefs.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qwindowdefs defines - -#include <Qt/ntqwindowdefs.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWINDOWDEFS_H */ diff --git a/qtinterface/interface_tqt3/tqwindowsstyle.cpp b/qtinterface/interface_tqt3/tqwindowsstyle.cpp deleted file mode 100644 index 2fc7b73..0000000 --- a/qtinterface/interface_tqt3/tqwindowsstyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwindowsstyle.h> diff --git a/qtinterface/interface_tqt3/tqwindowsstyle.h b/qtinterface/interface_tqt3/tqwindowsstyle.h deleted file mode 100644 index 05dadfa..0000000 --- a/qtinterface/interface_tqt3/tqwindowsstyle.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQWINDOWSSTYLE_H -#define TQT_TQWINDOWSSTYLE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWindowsStyle class -// For Qt3, no changes are needed - -#include <ntqwindowsstyle.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWindowsStyle class -// For Qt4, some changes are needed - -#include <Qt/ntqwindowsstyle.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWINDOWSSTYLE_H */ diff --git a/qtinterface/interface_tqt3/tqwinexport.h b/qtinterface/interface_tqt3/tqwinexport.h deleted file mode 100644 index 3c4d5b4..0000000 --- a/qtinterface/interface_tqt3/tqwinexport.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -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_TQWINEXPORT_H -#define TQT_TQWINEXPORT_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Pull in Qt3 qwinexport defines - -#include <ntqwinexport.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qwinexport defines - -#include <ntqwinexport.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWINEXPORT_H */ diff --git a/qtinterface/interface_tqt3/tqwizard.cpp b/qtinterface/interface_tqt3/tqwizard.cpp deleted file mode 100644 index be4f793..0000000 --- a/qtinterface/interface_tqt3/tqwizard.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwizard.h> diff --git a/qtinterface/interface_tqt3/tqwizard.h b/qtinterface/interface_tqt3/tqwizard.h deleted file mode 100644 index c8ea464..0000000 --- a/qtinterface/interface_tqt3/tqwizard.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQWIZARD_H -#define TQT_TQWIZARD_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWizard class -// For Qt3, no changes are needed - -#include <ntqwizard.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWizard class -// For Qt4, some changes are needed - -#include <Qt/q3wizard.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWIZARD_H */ diff --git a/qtinterface/interface_tqt3/tqwmatrix.cpp b/qtinterface/interface_tqt3/tqwmatrix.cpp deleted file mode 100644 index d0a02c8..0000000 --- a/qtinterface/interface_tqt3/tqwmatrix.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqwmatrix.h> diff --git a/qtinterface/interface_tqt3/tqwmatrix.h b/qtinterface/interface_tqt3/tqwmatrix.h deleted file mode 100644 index 4bcceb1..0000000 --- a/qtinterface/interface_tqt3/tqwmatrix.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQWMATRIX_H -#define TQT_TQWMATRIX_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWMatrix class -// For Qt3, no changes are needed - -#include <ntqwmatrix.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWMatrix class -// For Qt4, some changes are needed - -#include <Qt/qmatrix.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWMATRIX_H */ diff --git a/qtinterface/interface_tqt3/tqworkspace.cpp b/qtinterface/interface_tqt3/tqworkspace.cpp deleted file mode 100644 index 6d030e3..0000000 --- a/qtinterface/interface_tqt3/tqworkspace.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqworkspace.h> diff --git a/qtinterface/interface_tqt3/tqworkspace.h b/qtinterface/interface_tqt3/tqworkspace.h deleted file mode 100644 index c30b630..0000000 --- a/qtinterface/interface_tqt3/tqworkspace.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQWORKSPACE_H -#define TQT_TQWORKSPACE_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QWorkspace class -// For Qt3, no changes are needed - -#include <ntqworkspace.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWorkspace class -// For Qt4, some changes are needed - -#include <Qt/ntqworkspace.h> - -#endif // USE_QT4 - -#endif /* TQT_TQWORKSPACE_H */ diff --git a/qtinterface/interface_tqt3/tqxml.cpp b/qtinterface/interface_tqt3/tqxml.cpp deleted file mode 100644 index 36dc873..0000000 --- a/qtinterface/interface_tqt3/tqxml.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <ntqxml.h> diff --git a/qtinterface/interface_tqt3/tqxml.h b/qtinterface/interface_tqt3/tqxml.h deleted file mode 100644 index 7d4a9ef..0000000 --- a/qtinterface/interface_tqt3/tqxml.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -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_TQXML_H -#define TQT_TQXML_H - -#include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QXml class -// For Qt3, no changes are needed - -#include <ntqxml.h> - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QXml class -// For Qt4, some changes are needed - -#include <Qt/ntqxml.h> - -#endif // USE_QT4 - -#endif /* TQT_TQXML_H */ diff --git a/qtinterface/iqtimer.cpp b/qtinterface/iqtimer.cpp deleted file mode 100644 index f4fd0e7..0000000 --- a/qtinterface/iqtimer.cpp +++ /dev/null @@ -1,30 +0,0 @@ -/* - -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. - -*/ - -#include <tqt.h> -#include <tqtimer.h> - -#ifdef USE_QT3 - -//class IQTimer : public QTimer {}; -//typedef QTimer IQTimer; - -#endif diff --git a/qtinterface/mcopidl-tqt b/qtinterface/mcopidl-tqt deleted file mode 100755 index 3b390c5..0000000 --- a/qtinterface/mcopidl-tqt +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -if [[ $1 == "" ]]; then - echo "Usage: mcopidl-tqt <mcopidl_binary> <options> <input_file>" -else - cp -Rp ${BASH_ARGV[0]} ${BASH_ARGV[0]}.bkp -# tqt-replace ${BASH_ARGV[0]} - $@ - cp -Rp ${BASH_ARGV[0]}.bkp ${BASH_ARGV[0]} - rm -f ${BASH_ARGV[0]}.bkp -fi diff --git a/qtinterface/moc-tqt b/qtinterface/moc-tqt deleted file mode 100755 index e8c3d53..0000000 --- a/qtinterface/moc-tqt +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -if [[ $1 == "" ]]; then - echo "Usage: moc-tqt <moc_binary> <input_file> <output_file>" -else - cp -Rp $2 $2.bkp - tqt-replace $2 - $1 $2 -o $3 - cp -Rp $2.bkp $2 - rm -f $2.bkp -fi diff --git a/qtinterface/parser.sh b/qtinterface/parser.sh deleted file mode 100755 index d45b28b..0000000 --- a/qtinterface/parser.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# -# Run me like this: -# ls tq* | grep '\.h' | sed 's/\.h/\\\.h/g' | xargs ./parser.sh - -for var in "$@" -do - echo -n "find ./ -type f -iname \"*.c*\" -exec sed -i 's/\([^t]\)" - echo -n ${var##t} | sed 's/\.h/\\\.h/g' - echo -n "/\1" - echo -n $var | sed 's/\.h/\\\.h/g' - echo "/g' {} \;" - - echo -n "find ./ -type f -iname \"*.h*\" -exec sed -i 's/\([^t]\)" - echo -n ${var##t} | sed 's/\.h/\\\.h/g' - echo -n "/\1" - echo -n $var | sed 's/\.h/\\\.h/g' - echo "/g' {} \;" -done diff --git a/qtinterface/parser2.sh b/qtinterface/parser2.sh deleted file mode 100755 index 0272595..0000000 --- a/qtinterface/parser2.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -# -# Run me like this: -# ls tq* | grep .h | xargs ./parser2.sh -# -# Before use, check for correct operation with this -# ls tq* | grep .h | xargs ./parser2.sh | grep EXPORT - -echo "#!/bin/bash" - -echo " " - -for var in "$@" -do - cat $var | grep "class " | sed 's/class //g' | sed 's/QM_EXPORT_XML //g' | sed 's/Q_EXPORT //g' | sed 's/QM_EXPORT_TABLE //g' | sed 's/QM_EXPORT_SQL //g' | sed 's/QM_EXPORT_NETWORK //g' | sed 's/QM_EXPORT_CANVAS //g' | sed 's/QM_EXPORT_DOM //g' | sed 's/QM_EXPORT_HTTP //g' | sed 's/QM_EXPORT_ICONVIEW //g' | sed 's/QM_EXPORT_OPENGL //g' | sed 's/Q_EXPORT_CODECS_JP //g' | sed 's/Q_EXPORT_CODECS_CN //g' | sed 's/Q_PNGEXPORT //g' | sed 's/Q_EXPORT_STYLE_COMPACT //g' | sed 's/Q_EXPORT_CODECS_KR //g' | awk '{print $1}' | sed 's/\/\/.//g' | sed 's/\/\///g' | sed 's/://g' | sed 's/;//g' | xargs ./parser3.sh -done - -echo " " - -echo "find ./ -type f -iname \"*.h*\" -exec sed -i 's/TTQ/TQ/g' {} \;" -echo "find ./ -type f -iname \"*.h*\" -exec sed -i 's/TTQ/TQ/g' {} \;" -echo "find ./ -type f -iname \"*.h*\" -exec sed -i 's/TTQ/TQ/g' {} \;" -echo "find ./ -type f -iname \"*.h*\" -exec sed -i 's/TTQ/TQ/g' {} \;" -echo "find ./ -type f -iname \"*.c*\" -exec sed -i 's/TTQ/TQ/g' {} \;" -echo "find ./ -type f -iname \"*.c*\" -exec sed -i 's/TTQ/TQ/g' {} \;" -echo "find ./ -type f -iname \"*.c*\" -exec sed -i 's/TTQ/TQ/g' {} \;" -echo "find ./ -type f -iname \"*.c*\" -exec sed -i 's/TTQ/TQ/g' {} \;" diff --git a/qtinterface/parser3.sh b/qtinterface/parser3.sh deleted file mode 100755 index e784a41..0000000 --- a/qtinterface/parser3.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -# -# DO NOT RUN ME -# See parser2 - -for var in "$@" -do -# echo -n "find ./ -type f -iname \"*.c*\" -exec sed -i 's/\([^T]\)" - echo -n "find ./ -type f -iname \"*.c*\" -exec sed -i 's/" - echo -n ${var##T} -# echo -n "/\1" - echo -n "/" - echo -n $var - echo "/g' {} \;" - -# echo -n "find ./ -type f -iname \"*.h*\" -exec sed -i 's/\([^T]\)" - echo -n "find ./ -type f -iname \"*.h*\" -exec sed -i 's/" - echo -n ${var##T} -# echo -n "/\1" - echo -n "/" - echo -n $var - echo "/g' {} \;" -done - diff --git a/qtinterface/tqt-replace-tqt3.cmake b/qtinterface/tqt-replace-tqt3.cmake deleted file mode 100755 index 8d69a5f..0000000 --- a/qtinterface/tqt-replace-tqt3.cmake +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -QT_VERSION=@QT_VERSION@ - -if [[ "$1" == "" ]]; then - echo "Usage: tqt-replace <input_file>" -else - sed -i 's/Q_SLOTS>/slots>/g' "$1" - sed -i 's/Q_SIGNALS>/signals>/g' "$1" - exit 0 -fi diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake deleted file mode 100644 index 8ef2faa..0000000 --- a/qtinterface/tqt.h.cmake +++ /dev/null @@ -1,323 +0,0 @@ -/* - -Copyright (C) 2010-2011 Timothy Pearson <kb9vqf@pearsoncomputing.net> - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_H -#define TQT_H - -#define USE_QT@QT_VERSION@ - -#ifndef TQT_VERSION_ONLY - -#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 */ - - -#include <ntqglobal.h> - -#ifdef QT_NO_SQL -#define TQT_NO_SQL -#endif /* QT_NO_SQL */ - -#ifdef Q_WS_X11 -#define TQ_WS_X11 -#endif /* Q_WS_X11 */ - -#define Qt TQt - -#define TQ_INLINE_TEMPLATES Q_INLINE_TEMPLATES -#define TQ_DUMMY_COMPARISON_OPERATOR Q_DUMMY_COMPARISON_OPERATOR -#define TQ_REFCOUNT Q_REFCOUNT -#define TQ_TYPENAME Q_TYPENAME - -#define TQ_BYTE_ORDER Q_BYTE_ORDER -#define TQ_LITTLE_ENDIAN Q_LITTLE_ENDIAN -#define TQ_BIG_ENDIAN Q_BIG_ENDIAN - -#define TQT_CHECK_INVALID_MAP_ELEMENT QT_CHECK_INVALID_MAP_ELEMENT - -#define TQT_PRODUCT_LICENSEE QT_PRODUCT_LICENSEE - -#define TQT_TRANSLATE_NOOP QT_TRANSLATE_NOOP - -#define TQ_StrongFocus TQWidget::StrongFocus -#define TQ_NoFocus TQWidget::NoFocus -#define TQ_WheelFocus TQWidget::WheelFocus -#define TQ_ClickFocus TQWidget::ClickFocus -#define TQ_TabFocus TQWidget::TabFocus -#define TQ_FocusPolicy TQWidget::FocusPolicy -#define TQ_ScaleFree TQImage::ScaleFree -#define TQ_ScaleMin TQImage::ScaleMin -#define TQ_ScaleMax TQImage::ScaleMax -#define TQ_ScaleMode TQImage::ScaleMode - -#define TQ_PrimitiveElement PrimitiveElement -#define TQ_StyleHint StyleHint -#define TQ_Horizontal Horizontal -#define TQ_Vertical Vertical -#define TQ_Alignment Qt::AlignmentFlags -#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 TQ_WFlags TQt::WFlags -#define TQ_OpenMode int - -#define tqtr tr -#define tqaccess access -#define tqcolorTable colorTable -#define TQSO_Default Default -#define SO_Default Default -#define tqstrcmp qstrcmp -#define tqt_dynamic_cast dynamic_cast -#define TQImage_ScaleFree QImage::ScaleFree -#define TQIODevice_OpenModeFlag int - -#define tqqt_cast tqt_cast - -#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 IID_TQUnknown IID_QUnknown -#define IID_TQComponentInformation IID_QComponentInformation -#define IID_TQWidgetFactory IID_QWidgetFactory - -#ifndef TQT_NO_COMPAT_NAMES - -#define qint64 long -#define quint64 unsigned long - -#define QObject TQObject -#define QWidget TQWidget -#define QImage TQImage -#define QPair TQPair -#define QRgb TQRgb -#define QColor TQColor -#define QChar TQChar -#define QString TQString -#define QIODevice TQIODevice - -#endif - -#define tqmoc moc -#define TQMOC MOC - -#define WPaintOnScreen ((WFlags)0) - -#define TQRGB_MASK TQT_RGB_MASK - -#define tqInstallMsgHandler qInstallMsgHandler - -#define tqdrawPrimitive drawPrimitive - -#define tqsizeFromContents sizeFromContents - -#define QMIN TQMIN -#define QMAX TQMAX -#define QABS TQABS - -#define tqMakePair qMakePair - -#define tqt_ucm_query_verification_data qt_ucm_query_verification_data - -#define TQ_ControlElement ControlElement -#define TQ_ComplexControl ComplexControl - -#define static_TQUType_int static_QUType_int -#define static_TQUType_TQString static_QUType_TQString -#define static_TQUType_ptr static_QUType_ptr -#define static_TQUType_bool static_QUType_bool -#define static_TQUType_varptr static_QUType_varptr -#define static_TQUType_charstar static_QUType_charstar - -#define TQ_EXTERN_C Q_EXTERN_C -#define TQ_EXPORT_PLUGIN Q_EXPORT_PLUGIN -#define TQ_EXPORT Q_EXPORT - -#define tqreadBlock readBlock -#define tqwriteBlock writeBlock -#define TQT_TQIO_LONG TQ_LONG -#define TQT_TQIO_ULONG TQ_ULONG - -#define tqt_mo_access access -#define tqt_mo_ci_name name -#define tqt_mo_ci_value value -#define tqt_mo_ci_count count -#define tqt_mo_ci_items items -#define tqt_mo_ci_method method - -#define TQT_TQOBJECT(x) (static_cast<TQObject*>(static_cast<TQObject*>(x))) -#define TQT_TQWIDGET(x) (static_cast<TQWidget*>(static_cast<TQWidget*>(x))) -#define TQT_TQSIZEPOLICY(x) (static_cast<TQSizePolicy*>(static_cast<TQSizePolicy*>(x))) -#define TQT_TQLAYOUT(x) (static_cast<TQLayout*>(static_cast<TQLayout*>(x))) -#define TQT_TQGRIDLAYOUT(x) (static_cast<TQGridLayout*>(static_cast<TQGridLayout*>(x))) -#define TQT_TQPAINTER(x) (static_cast<TQPainter*>(static_cast<TQPainter*>(x))) -#define TQT_TQPAINTDEVICE(x) (static_cast<TQPaintDevice*>(static_cast<TQPaintDevice*>(x))) -#define TQT_TQLAYOUTITEM(x) (static_cast<TQLayoutItem*>(static_cast<TQLayoutItem*>(x))) -#define TQT_TQIODEVICE(x) (static_cast<TQIODevice*>(static_cast<TQIODevice*>(x))) -#define TQT_TQCOLOR(x) (static_cast<TQColor*>(static_cast<TQColor*>(x))) -#define TQT_TQCHAR(x) TQChar(x) -#define TQT_TQSTRING(x) TQString(x) -#define TQT_TQBUFFER(x) (static_cast<TQBuffer*>(static_cast<TQBuffer*>(x))) -#define TQT_TQWMATRIX(x) (static_cast<TQWMatrix*>(static_cast<TQMatrix*>(x))) -#define TQT_TQFILE(x) (static_cast<TQFile*>(static_cast<TQFile*>(x))) -#define TQT_TQBYTEARRAY(x) (static_cast<TQByteArray*>(static_cast<TQByteArray*>(x))) -#define TQT_TQMIMESOURCE(x) (static_cast<TQMimeSource*>(static_cast<TQMimeSource*>(x))) -#define TQT_TQWEXTRA(x) (static_cast<TQWExtra*>(static_cast<TQWExtra*>(x))) -#define TQT_TQPIXMAP(x) (static_cast<TQPixmap*>(static_cast<TQPixmap*>(x))) -#define TQT_TQCLIPBOARD(x) (static_cast<TQClipboard*>(static_cast<TQClipboard*>(x))) -#define TQT_TQPRINTER(x) (static_cast<TQPrinter*>(static_cast<TQPrinter*>(x))) -#define TQT_TQVARIANT(x) (static_cast<TQVariant*>(static_cast<TQVariant*>(x))) -#define TQT_TQMETAOBJECT(x) (static_cast<TQMetaObject*>(static_cast<TQMetaObject*>(x))) -#define TQT_TQSTYLEOPTION(x) (static_cast<TQStyleOption*>(static_cast<TQStyleOption*>(x))) -#define TQT_TQEVENT(x) (static_cast<TQEvent*>(static_cast<TQEvent*>(x))) -#define TQT_TQKEYEVENT(x) (static_cast<TQKeyEvent*>(static_cast<TQKeyEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQMOVEEVENT(x) (static_cast<TQMoveEvent*>(static_cast<TQMoveEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQSHOWEVENT(x) (static_cast<TQShowEvent*>(static_cast<TQShowEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQMOUSEEVENT(x) (static_cast<TQMouseEvent*>(static_cast<TQMouseEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQWHEELEVENT(x) (static_cast<TQWheelEvent*>(static_cast<TQWheelEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQFOCUSEVENT(x) (static_cast<TQFocusEvent*>(static_cast<TQFocusEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQPAINTEVENT(x) (static_cast<TQPaintEvent*>(static_cast<TQPaintEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQCHILDEVENT(x) (static_cast<TQChildEvent*>(static_cast<TQChildEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQCLOSEEVENT(x) (static_cast<TQCloseEvent*>(static_cast<TQCloseEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQTIMEREVENT(x) (static_cast<TQTimerEvent*>(static_cast<TQTimerEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQRESIZEEVENT(x) (static_cast<TQResizeEvent*>(static_cast<TQResizeEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQTABLETEVENT(x) (static_cast<TQTabletEvent*>(static_cast<TQTabletEvent*>(static_cast<TQEvent*>(x)))) -#define TQT_TQCONTEXTMENUEVENT(x) (static_cast<TQContextMenuEvent*>(static_cast<TQContextMenuEvent*>(static_cast<TQEvent*>(x)))) - -#define TQT_TQOBJECT_OBJECT(x) x -#define TQT_TQSIZEPOLICY_OBJECT(x) x -#define TQT_TQLAYOUT_OBJECT(x) x -#define TQT_TQCOLOR_OBJECT(x) x -#define TQT_TQSTRING_OBJECT(x) x -#define TQT_TQSTRLIST_OBJECT(x) x -#define TQT_TQSTRINGLIST_OBJECT(x) x -#define TQT_TQWMATRIX_OBJECT(x) x -#define TQT_TQRECT_OBJECT(x) x -#define TQT_TQBYTEARRAY_OBJECT(x) x -#define TQT_TQPIXMAP_OBJECT(x) x -#define TQT_TQTIME_OBJECT(x) x -#define TQT_TQDATE_OBJECT(x) x -#define TQT_TQDATETIME_OBJECT(x) x -#define TQT_TQBRUSH_OBJECT(x) x -#define TQT_TQPALETTE_OBJECT(x) x -#define TQT_TQPOINT_OBJECT(x) x -#define TQT_TQREGION_OBJECT(x) x -#define TQT_TQIMAGE_OBJECT(x) x -#define TQT_TQPAINTDEVICE_OBJECT(x) x -#define TQT_TQVARIANT_OBJECT(x) x -#define TQT_TQIODEVICE_OBJECT(x) x -#define TQT_TQSTYLEOPTION_OBJECT(x) x - -#define TQT_TQOBJECT_CONST(x) (static_cast<const TQObject*>(static_cast<const TQObject*>(x))) -#define TQT_TQWIDGET_CONST(x) (static_cast<const TQWidget*>(static_cast<const TQWidget*>(x))) -#define TQT_TQMIMESOURCE_CONST(x) (static_cast<const TQMimeSource*>(static_cast<const TQMimeSource*>(x))) -#define TQT_TQBRUSH_CONST(x) (static_cast<const TQBrush*>(static_cast<const TQBrush*>(x))) -#define TQT_TQPIXMAP_CONST(x) (static_cast<const TQPixmap*>(static_cast<const TQPixmap*>(x))) -#define TQT_TQPAINTDEVICE_CONST(x) (static_cast<const TQPaintDevice*>(static_cast<const TQPaintDevice*>(x))) -#define TQT_TQCOLOR_CONST(x) (static_cast<const TQColor*>(static_cast<const TQColor*>(x))) -#define TQT_TQPRINTER_CONST(x) (static_cast<const TQPrinter*>(static_cast<const TQPrinter*>(x))) -#define TQT_TQIODEVICE_CONST(x) (static_cast<const TQIODevice*>(static_cast<const TQIODevice*>(x))) -#define TQT_TQVARIANT_CONST(x) (static_cast<const TQVariant*>(static_cast<const TQVariant*>(x))) -#define TQT_TQMETAOBJECT_CONST(x) (static_cast<const TQMetaObject*>(static_cast<const TQMetaObject*>(x))) -#define TQT_TQSTYLEOPTION_CONST(x) (static_cast<const TQStyleOption*>(static_cast<const TQStyleOption*>(x))) - -#define TQT_BASE_OBJECT_NAME TQObject -#define TQT_BASE_OBJECT(x) (static_cast<TQT_BASE_OBJECT_NAME*>(x)) -#define TQT_BASE_OBJECT_CONST(x) (static_cast<const TQT_BASE_OBJECT_NAME*>(x)) - -#define setTqmaximumSize setMaximumSize -#define setTqminimumSize setMinimumSize -#define setTqalignment setAlignment -#define setTqgeometry setGeometry - -#define tqarrowCursor Qt::arrowCursor -#define tqupArrowCursor Qt::upArrowCursor -#define tqcrossCursor Qt::crossCursor -#define tqwaitCursor Qt::waitCursor -#define tqibeamCursor Qt::ibeamCursor -#define tqsizeVerCursor Qt::sizeVerCursor -#define tqsizeHorCursor Qt::sizeHorCursor -#define tqsizeBDiagCursor Qt::sizeBDiagCursor -#define tqsizeFDiagCursor Qt::sizeFDiagCursor -#define tqsizeAllCursor Qt::sizeAllCursor -#define tqblankCursor Qt::blankCursor -#define tqsplitVCursor Qt::splitVCursor -#define tqsplitHCursor Qt::splitHCursor -#define tqpointingHandCursor Qt::pointingHandCursor -#define tqforbiddenCursor Qt::forbiddenCursor -#define tqwhatsThisCursor Qt::whatsThisCursor -#define tqbusyCursor Qt::busyCursor - -#define SET_QT_X_TIME(x) set_tqt_x_time(x) -#define GET_QT_X_TIME(x) get_tqt_x_time() -#define SET_QT_X_USER_TIME(x) set_tqt_x_time(x) -#define GET_QT_X_USER_TIME(x) get_tqt_x_time() - -#endif /* TQT_VERSION_ONLY */ - -#endif /* TQT_H */ diff --git a/qtinterface/tqt.pc.cmake b/qtinterface/tqt.pc.cmake deleted file mode 100644 index e47cabd..0000000 --- a/qtinterface/tqt.pc.cmake +++ /dev/null @@ -1,15 +0,0 @@ -prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@PC_EXEC_PREFIX@ -libdir=@PC_LIB_DIR@ -includedir=@PC_INCLUDE_DIR@ - -tmoc_executable=@BIN_INSTALL_DIR@/tmoc -moc_executable=@MOC_EXECUTABLE@ -uic_executable=@UIC_EXECUTABLE@ - -Name: TQt -Description: Interface and abstraction library for Qt and Trinity -Version: @TQT_VERSION@ -Libs: -L${libdir} -ltqt -L@TQT_LIBRARY_DIR@ @PC_TQT_LIBRARIES@ -Cflags: @QT_DEFINITIONS@ -I@TQT_INCLUDE_DIR@ -I${includedir} -include tqt.h - diff --git a/qtinterface/tqtqui.pc.cmake b/qtinterface/tqtqui.pc.cmake deleted file mode 100644 index f968fbb..0000000 --- a/qtinterface/tqtqui.pc.cmake +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@PC_EXEC_PREFIX@ -libdir=@PC_LIB_DIR@ -includedir=@PC_INCLUDE_DIR@ - -Name: TQtQUI -Description: Interface and abstraction library for Qt and Trinity (QUI library) -Version: @TQT_VERSION@ -Libs: -L${libdir} -ltqt -ltqui -L@TQT_LIBRARY_DIR@ @PC_TQT_LIBRARIES@ -Cflags: @QT_DEFINITIONS@ -I@TQT_INCLUDE_DIR@ -I${includedir} -include tqt.h - diff --git a/qtinterface/uic-tqt.cmake b/qtinterface/uic-tqt.cmake deleted file mode 100755 index bcf2c58..0000000 --- a/qtinterface/uic-tqt.cmake +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -if [[ $1 == "" ]]; then - echo "Usage: uic-tqt <uic arguments>" -else - for var in "$@" - do - if [[ ${var##*.} == "ui" ]]; then - uifile=$var - fi - done - - if [[ "$uifile" != "" ]]; then - cp -Rp $uifile $uifile.bkp - tqt-replace $uifile - fi - @UIC_EXECUTABLE@ "$@" - if [[ "$uifile" != "" ]]; then - cp -Rp $uifile.bkp $uifile - rm -f $uifile.bkp - fi -fi |