From 27917305452f2a55ae3be74e83b8a724248ec43f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 20:43:47 -0600 Subject: Split out qt3 and tqt3 files --- qtinterface/CMakeLists.txt | 250 +++--- qtinterface/interface_qt3/private/tqcom_p.h | 35 + qtinterface/interface_qt3/private/tqeffects_p.h | 40 + qtinterface/interface_qt3/private/tqinternal_p.h | 40 + .../interface_qt3/private/tqlayoutengine_p.h | 36 + .../interface_qt3/private/tqpluginmanager_p.h | 35 + qtinterface/interface_qt3/private/tqrichtext_p.h | 40 + qtinterface/interface_qt3/private/tqtextengine_p.h | 40 + qtinterface/interface_qt3/private/tqucom_p.h | 35 + .../interface_qt3/private/tqucomextra_p.cpp | 27 + qtinterface/interface_qt3/private/tqucomextra_p.h | 48 ++ .../interface_qt3/private/tqwidgetinterface_p.h | 35 + qtinterface/interface_qt3/tq1xcompatibility.cpp | 23 + qtinterface/interface_qt3/tq1xcompatibility.h | 39 + qtinterface/interface_qt3/tqabstractlayout.cpp | 23 + qtinterface/interface_qt3/tqabstractlayout.h | 39 + qtinterface/interface_qt3/tqaccel.cpp | 23 + qtinterface/interface_qt3/tqaccel.h | 45 + qtinterface/interface_qt3/tqaccessible.cpp | 23 + qtinterface/interface_qt3/tqaccessible.h | 45 + qtinterface/interface_qt3/tqaction.cpp | 23 + qtinterface/interface_qt3/tqaction.h | 46 + qtinterface/interface_qt3/tqapp.h | 31 + qtinterface/interface_qt3/tqapplication.cpp | 70 ++ qtinterface/interface_qt3/tqapplication.h | 52 ++ qtinterface/interface_qt3/tqarray.h | 31 + qtinterface/interface_qt3/tqasciicache.cpp | 23 + qtinterface/interface_qt3/tqasciicache.h | 45 + qtinterface/interface_qt3/tqasciidict.cpp | 23 + qtinterface/interface_qt3/tqasciidict.h | 45 + qtinterface/interface_qt3/tqassistantclient.cpp | 26 + qtinterface/interface_qt3/tqassistantclient.h | 33 + qtinterface/interface_qt3/tqasyncimageio.cpp | 23 + qtinterface/interface_qt3/tqasyncimageio.h | 43 + qtinterface/interface_qt3/tqasyncio.cpp | 23 + qtinterface/interface_qt3/tqasyncio.h | 44 + qtinterface/interface_qt3/tqbig5codec.cpp | 23 + qtinterface/interface_qt3/tqbig5codec.h | 43 + qtinterface/interface_qt3/tqbitarray.cpp | 23 + qtinterface/interface_qt3/tqbitarray.h | 45 + qtinterface/interface_qt3/tqbitarry.h | 31 + qtinterface/interface_qt3/tqbitmap.cpp | 23 + qtinterface/interface_qt3/tqbitmap.h | 45 + qtinterface/interface_qt3/tqbrush.cpp | 23 + qtinterface/interface_qt3/tqbrush.h | 45 + qtinterface/interface_qt3/tqbttngrp.h | 31 + qtinterface/interface_qt3/tqbuffer.cpp | 23 + qtinterface/interface_qt3/tqbuffer.h | 45 + qtinterface/interface_qt3/tqbutton.cpp | 23 + qtinterface/interface_qt3/tqbutton.h | 45 + qtinterface/interface_qt3/tqbuttongroup.cpp | 23 + qtinterface/interface_qt3/tqbuttongroup.h | 45 + qtinterface/interface_qt3/tqcache.cpp | 23 + qtinterface/interface_qt3/tqcache.h | 45 + qtinterface/interface_qt3/tqcanvas.cpp | 23 + qtinterface/interface_qt3/tqcanvas.h | 45 + qtinterface/interface_qt3/tqcdestyle.cpp | 23 + qtinterface/interface_qt3/tqcdestyle.h | 45 + qtinterface/interface_qt3/tqcheckbox.cpp | 23 + qtinterface/interface_qt3/tqcheckbox.h | 45 + qtinterface/interface_qt3/tqchkbox.h | 31 + qtinterface/interface_qt3/tqcleanuphandler.cpp | 23 + qtinterface/interface_qt3/tqcleanuphandler.h | 131 +++ qtinterface/interface_qt3/tqclipboard.cpp | 23 + qtinterface/interface_qt3/tqclipboard.h | 45 + qtinterface/interface_qt3/tqclipbrd.h | 31 + qtinterface/interface_qt3/tqcollect.h | 31 + qtinterface/interface_qt3/tqcollection.h | 31 + qtinterface/interface_qt3/tqcolor.cpp | 23 + qtinterface/interface_qt3/tqcolor.h | 45 + qtinterface/interface_qt3/tqcolordialog.cpp | 23 + qtinterface/interface_qt3/tqcolordialog.h | 45 + qtinterface/interface_qt3/tqcombo.h | 31 + qtinterface/interface_qt3/tqcombobox.cpp | 23 + qtinterface/interface_qt3/tqcombobox.h | 45 + qtinterface/interface_qt3/tqcommonstyle.cpp | 95 +++ qtinterface/interface_qt3/tqcommonstyle.h | 47 ++ qtinterface/interface_qt3/tqcompactstyle.cpp | 23 + qtinterface/interface_qt3/tqcompactstyle.h | 43 + qtinterface/interface_qt3/tqconfig.h | 43 + qtinterface/interface_qt3/tqconnect.h | 31 + qtinterface/interface_qt3/tqconnection.cpp | 23 + qtinterface/interface_qt3/tqconnection.h | 43 + qtinterface/interface_qt3/tqcstring.cpp | 55 ++ qtinterface/interface_qt3/tqcstring.h | 53 ++ qtinterface/interface_qt3/tqcursor.cpp | 23 + qtinterface/interface_qt3/tqcursor.h | 45 + qtinterface/interface_qt3/tqdatabrowser.cpp | 23 + qtinterface/interface_qt3/tqdatabrowser.h | 45 + qtinterface/interface_qt3/tqdatastream.cpp | 43 + qtinterface/interface_qt3/tqdatastream.h | 46 + qtinterface/interface_qt3/tqdatatable.cpp | 23 + qtinterface/interface_qt3/tqdatatable.h | 45 + qtinterface/interface_qt3/tqdataview.cpp | 23 + qtinterface/interface_qt3/tqdataview.h | 45 + qtinterface/interface_qt3/tqdatetime.cpp | 23 + qtinterface/interface_qt3/tqdatetime.h | 45 + qtinterface/interface_qt3/tqdatetimeedit.cpp | 23 + qtinterface/interface_qt3/tqdatetimeedit.h | 45 + qtinterface/interface_qt3/tqdatetm.h | 31 + qtinterface/interface_qt3/tqdeepcopy.cpp | 23 + qtinterface/interface_qt3/tqdeepcopy.h | 45 + qtinterface/interface_qt3/tqdesktopwidget.cpp | 23 + qtinterface/interface_qt3/tqdesktopwidget.h | 45 + qtinterface/interface_qt3/tqdial.cpp | 23 + qtinterface/interface_qt3/tqdial.h | 45 + qtinterface/interface_qt3/tqdialog.cpp | 23 + qtinterface/interface_qt3/tqdialog.h | 45 + qtinterface/interface_qt3/tqdict.cpp | 23 + qtinterface/interface_qt3/tqdict.h | 45 + qtinterface/interface_qt3/tqdir.cpp | 40 + qtinterface/interface_qt3/tqdir.h | 45 + qtinterface/interface_qt3/tqdns.cpp | 23 + qtinterface/interface_qt3/tqdns.h | 45 + qtinterface/interface_qt3/tqdockarea.cpp | 23 + qtinterface/interface_qt3/tqdockarea.h | 45 + qtinterface/interface_qt3/tqdockwindow.cpp | 23 + qtinterface/interface_qt3/tqdockwindow.h | 45 + qtinterface/interface_qt3/tqdom.cpp | 23 + qtinterface/interface_qt3/tqdom.h | 45 + qtinterface/interface_qt3/tqdragobject.cpp | 23 + qtinterface/interface_qt3/tqdragobject.h | 45 + qtinterface/interface_qt3/tqdrawutil.cpp | 23 + qtinterface/interface_qt3/tqdrawutil.h | 45 + qtinterface/interface_qt3/tqdrawutl.h | 31 + qtinterface/interface_qt3/tqdropsite.cpp | 23 + qtinterface/interface_qt3/tqdropsite.h | 45 + qtinterface/interface_qt3/tqdstream.h | 31 + qtinterface/interface_qt3/tqeditorfactory.cpp | 23 + qtinterface/interface_qt3/tqeditorfactory.h | 45 + qtinterface/interface_qt3/tqerrormessage.cpp | 23 + qtinterface/interface_qt3/tqerrormessage.h | 45 + qtinterface/interface_qt3/tqeucjpcodec.cpp | 23 + qtinterface/interface_qt3/tqeucjpcodec.h | 43 + qtinterface/interface_qt3/tqeuckrcodec.cpp | 23 + qtinterface/interface_qt3/tqeuckrcodec.h | 42 + qtinterface/interface_qt3/tqevent.cpp | 23 + qtinterface/interface_qt3/tqevent.h | 45 + qtinterface/interface_qt3/tqeventloop.cpp | 36 + qtinterface/interface_qt3/tqeventloop.h | 63 ++ qtinterface/interface_qt3/tqfeatures.h | 43 + qtinterface/interface_qt3/tqfile.cpp | 23 + qtinterface/interface_qt3/tqfile.h | 45 + qtinterface/interface_qt3/tqfiledef.h | 41 + qtinterface/interface_qt3/tqfiledialog.cpp | 23 + qtinterface/interface_qt3/tqfiledialog.h | 45 + qtinterface/interface_qt3/tqfiledlg.h | 31 + qtinterface/interface_qt3/tqfileinf.h | 31 + qtinterface/interface_qt3/tqfileinfo.cpp | 31 + qtinterface/interface_qt3/tqfileinfo.h | 45 + qtinterface/interface_qt3/tqfocusdata.cpp | 23 + qtinterface/interface_qt3/tqfocusdata.h | 43 + qtinterface/interface_qt3/tqfont.cpp | 23 + qtinterface/interface_qt3/tqfont.h | 45 + qtinterface/interface_qt3/tqfontdatabase.cpp | 23 + qtinterface/interface_qt3/tqfontdatabase.h | 45 + qtinterface/interface_qt3/tqfontdialog.cpp | 23 + qtinterface/interface_qt3/tqfontdialog.h | 45 + qtinterface/interface_qt3/tqfontinf.h | 31 + qtinterface/interface_qt3/tqfontinfo.cpp | 23 + qtinterface/interface_qt3/tqfontinfo.h | 45 + qtinterface/interface_qt3/tqfontmet.h | 31 + qtinterface/interface_qt3/tqfontmetrics.cpp | 23 + qtinterface/interface_qt3/tqfontmetrics.h | 45 + qtinterface/interface_qt3/tqframe.cpp | 23 + qtinterface/interface_qt3/tqframe.h | 45 + qtinterface/interface_qt3/tqftp.cpp | 23 + qtinterface/interface_qt3/tqftp.h | 45 + qtinterface/interface_qt3/tqgarray.cpp | 23 + qtinterface/interface_qt3/tqgarray.h | 45 + qtinterface/interface_qt3/tqgb18030codec.cpp | 23 + qtinterface/interface_qt3/tqgb18030codec.h | 43 + qtinterface/interface_qt3/tqgbkcodec.h | 31 + qtinterface/interface_qt3/tqgcache.cpp | 23 + qtinterface/interface_qt3/tqgcache.h | 43 + qtinterface/interface_qt3/tqgdict.cpp | 23 + qtinterface/interface_qt3/tqgdict.h | 43 + qtinterface/interface_qt3/tqgeneric.h | 37 + qtinterface/interface_qt3/tqgif.h | 43 + qtinterface/interface_qt3/tqgl.cpp | 23 + qtinterface/interface_qt3/tqgl.h | 45 + qtinterface/interface_qt3/tqglcolormap.cpp | 23 + qtinterface/interface_qt3/tqglcolormap.h | 45 + qtinterface/interface_qt3/tqglist.cpp | 23 + qtinterface/interface_qt3/tqglist.h | 45 + qtinterface/interface_qt3/tqglobal.h | 43 + qtinterface/interface_qt3/tqgplugin.cpp | 23 + qtinterface/interface_qt3/tqgplugin.h | 43 + qtinterface/interface_qt3/tqgrid.cpp | 23 + qtinterface/interface_qt3/tqgrid.h | 45 + qtinterface/interface_qt3/tqgridview.cpp | 23 + qtinterface/interface_qt3/tqgridview.h | 45 + qtinterface/interface_qt3/tqgroupbox.cpp | 23 + qtinterface/interface_qt3/tqgroupbox.h | 45 + qtinterface/interface_qt3/tqgrpbox.h | 31 + qtinterface/interface_qt3/tqguardedptr.cpp | 23 + qtinterface/interface_qt3/tqguardedptr.h | 45 + qtinterface/interface_qt3/tqgvector.cpp | 23 + qtinterface/interface_qt3/tqgvector.h | 43 + qtinterface/interface_qt3/tqhbox.cpp | 23 + qtinterface/interface_qt3/tqhbox.h | 45 + qtinterface/interface_qt3/tqhbuttongroup.cpp | 23 + qtinterface/interface_qt3/tqhbuttongroup.h | 45 + qtinterface/interface_qt3/tqheader.cpp | 23 + qtinterface/interface_qt3/tqheader.h | 45 + qtinterface/interface_qt3/tqhgroupbox.cpp | 23 + qtinterface/interface_qt3/tqhgroupbox.h | 45 + qtinterface/interface_qt3/tqhostaddress.cpp | 23 + qtinterface/interface_qt3/tqhostaddress.h | 45 + qtinterface/interface_qt3/tqhttp.cpp | 23 + qtinterface/interface_qt3/tqhttp.h | 45 + qtinterface/interface_qt3/tqiconset.cpp | 136 +++ qtinterface/interface_qt3/tqiconset.h | 70 ++ qtinterface/interface_qt3/tqiconview.cpp | 23 + qtinterface/interface_qt3/tqiconview.h | 45 + qtinterface/interface_qt3/tqimage.cpp | 69 ++ qtinterface/interface_qt3/tqimage.h | 67 ++ qtinterface/interface_qt3/tqimageformatplugin.cpp | 23 + qtinterface/interface_qt3/tqimageformatplugin.h | 43 + qtinterface/interface_qt3/tqinputcontext.cpp | 23 + qtinterface/interface_qt3/tqinputcontext.h | 45 + .../interface_qt3/tqinputcontextfactory.cpp | 23 + qtinterface/interface_qt3/tqinputcontextfactory.h | 45 + qtinterface/interface_qt3/tqinputdialog.cpp | 23 + qtinterface/interface_qt3/tqinputdialog.h | 45 + qtinterface/interface_qt3/tqintcach.h | 31 + qtinterface/interface_qt3/tqintcache.cpp | 23 + qtinterface/interface_qt3/tqintcache.h | 45 + qtinterface/interface_qt3/tqintdict.cpp | 23 + qtinterface/interface_qt3/tqintdict.h | 45 + qtinterface/interface_qt3/tqinterlacestyle.cpp | 23 + qtinterface/interface_qt3/tqinterlacestyle.h | 49 ++ qtinterface/interface_qt3/tqiodev.h | 31 + qtinterface/interface_qt3/tqiodevice.cpp | 70 ++ qtinterface/interface_qt3/tqiodevice.h | 60 ++ qtinterface/interface_qt3/tqjiscodec.cpp | 23 + qtinterface/interface_qt3/tqjiscodec.h | 45 + qtinterface/interface_qt3/tqjpegio.h | 42 + qtinterface/interface_qt3/tqjpunicode.cpp | 23 + qtinterface/interface_qt3/tqjpunicode.h | 43 + qtinterface/interface_qt3/tqkeycode.h | 31 + qtinterface/interface_qt3/tqkeysequence.cpp | 23 + qtinterface/interface_qt3/tqkeysequence.h | 45 + qtinterface/interface_qt3/tqlabel.cpp | 23 + qtinterface/interface_qt3/tqlabel.h | 45 + qtinterface/interface_qt3/tqlayout.cpp | 23 + qtinterface/interface_qt3/tqlayout.h | 45 + qtinterface/interface_qt3/tqlcdnum.h | 31 + qtinterface/interface_qt3/tqlcdnumber.cpp | 23 + qtinterface/interface_qt3/tqlcdnumber.h | 45 + qtinterface/interface_qt3/tqlibrary.cpp | 23 + qtinterface/interface_qt3/tqlibrary.h | 45 + qtinterface/interface_qt3/tqlined.h | 31 + qtinterface/interface_qt3/tqlineedit.cpp | 23 + qtinterface/interface_qt3/tqlineedit.h | 45 + qtinterface/interface_qt3/tqlist.h | 31 + qtinterface/interface_qt3/tqlistbox.cpp | 23 + qtinterface/interface_qt3/tqlistbox.h | 45 + qtinterface/interface_qt3/tqlistiterator.cpp | 48 ++ qtinterface/interface_qt3/tqlistiterator.h | 86 ++ qtinterface/interface_qt3/tqlistview.cpp | 23 + qtinterface/interface_qt3/tqlistview.h | 45 + qtinterface/interface_qt3/tqlocale.cpp | 23 + qtinterface/interface_qt3/tqlocale.h | 45 + qtinterface/interface_qt3/tqlocalfs.cpp | 23 + qtinterface/interface_qt3/tqlocalfs.h | 45 + qtinterface/interface_qt3/tqmainwindow.cpp | 23 + qtinterface/interface_qt3/tqmainwindow.h | 45 + qtinterface/interface_qt3/tqmap.cpp | 243 ++++++ qtinterface/interface_qt3/tqmap.h | 935 +++++++++++++++++++++ qtinterface/interface_qt3/tqmemarray.cpp | 23 + qtinterface/interface_qt3/tqmemarray.h | 45 + qtinterface/interface_qt3/tqmenubar.cpp | 23 + qtinterface/interface_qt3/tqmenubar.h | 45 + qtinterface/interface_qt3/tqmenudata.cpp | 82 ++ qtinterface/interface_qt3/tqmenudata.h | 45 + qtinterface/interface_qt3/tqmenudta.h | 31 + qtinterface/interface_qt3/tqmessagebox.cpp | 23 + qtinterface/interface_qt3/tqmessagebox.h | 45 + qtinterface/interface_qt3/tqmetaobj.h | 31 + qtinterface/interface_qt3/tqmetaobject.cpp | 303 +++++++ qtinterface/interface_qt3/tqmetaobject.h | 48 ++ qtinterface/interface_qt3/tqmime.cpp | 23 + qtinterface/interface_qt3/tqmime.h | 45 + qtinterface/interface_qt3/tqmlined.h | 31 + qtinterface/interface_qt3/tqmngio.h | 43 + qtinterface/interface_qt3/tqmodules.h | 43 + qtinterface/interface_qt3/tqmotifplusstyle.cpp | 23 + qtinterface/interface_qt3/tqmotifplusstyle.h | 43 + qtinterface/interface_qt3/tqmotifstyle.cpp | 23 + qtinterface/interface_qt3/tqmotifstyle.h | 45 + qtinterface/interface_qt3/tqmovie.cpp | 57 ++ qtinterface/interface_qt3/tqmovie.h | 60 ++ qtinterface/interface_qt3/tqmsgbox.h | 31 + qtinterface/interface_qt3/tqmultilinedit.h | 31 + qtinterface/interface_qt3/tqmultilineedit.cpp | 23 + qtinterface/interface_qt3/tqmultilineedit.h | 45 + qtinterface/interface_qt3/tqmutex.cpp | 23 + qtinterface/interface_qt3/tqmutex.h | 45 + qtinterface/interface_qt3/tqnamespace.cpp | 23 + qtinterface/interface_qt3/tqnamespace.h | 45 + qtinterface/interface_qt3/tqnetwork.h | 43 + qtinterface/interface_qt3/tqnetworkprotocol.cpp | 23 + qtinterface/interface_qt3/tqnetworkprotocol.h | 45 + qtinterface/interface_qt3/tqnp.cpp | 23 + qtinterface/interface_qt3/tqnp.h | 43 + qtinterface/interface_qt3/tqobjcoll.h | 32 + qtinterface/interface_qt3/tqobjdefs.h | 31 + qtinterface/interface_qt3/tqobject.cpp | 54 ++ qtinterface/interface_qt3/tqobject.h | 45 + .../interface_qt3/tqobjectcleanuphandler.cpp | 23 + qtinterface/interface_qt3/tqobjectcleanuphandler.h | 45 + qtinterface/interface_qt3/tqobjectdict.cpp | 23 + qtinterface/interface_qt3/tqobjectdict.h | 43 + qtinterface/interface_qt3/tqobjectlist.cpp | 23 + qtinterface/interface_qt3/tqobjectlist.h | 45 + qtinterface/interface_qt3/tqpaintd.h | 31 + qtinterface/interface_qt3/tqpaintdc.h | 31 + qtinterface/interface_qt3/tqpaintdevice.cpp | 123 +++ qtinterface/interface_qt3/tqpaintdevice.h | 45 + qtinterface/interface_qt3/tqpaintdevicemetrics.cpp | 23 + qtinterface/interface_qt3/tqpaintdevicemetrics.h | 45 + qtinterface/interface_qt3/tqpainter.cpp | 44 + qtinterface/interface_qt3/tqpainter.h | 45 + qtinterface/interface_qt3/tqpair.cpp | 23 + qtinterface/interface_qt3/tqpair.h | 143 ++++ qtinterface/interface_qt3/tqpalette.cpp | 23 + qtinterface/interface_qt3/tqpalette.h | 45 + qtinterface/interface_qt3/tqpdevmet.h | 31 + qtinterface/interface_qt3/tqpen.cpp | 23 + qtinterface/interface_qt3/tqpen.h | 45 + qtinterface/interface_qt3/tqpicture.cpp | 23 + qtinterface/interface_qt3/tqpicture.h | 45 + qtinterface/interface_qt3/tqpixmap.cpp | 66 ++ qtinterface/interface_qt3/tqpixmap.h | 45 + qtinterface/interface_qt3/tqpixmapcache.cpp | 23 + qtinterface/interface_qt3/tqpixmapcache.h | 45 + qtinterface/interface_qt3/tqplatinumstyle.cpp | 23 + qtinterface/interface_qt3/tqplatinumstyle.h | 43 + qtinterface/interface_qt3/tqpmcache.h | 31 + qtinterface/interface_qt3/tqpngio.cpp | 23 + qtinterface/interface_qt3/tqpngio.h | 43 + qtinterface/interface_qt3/tqpntarry.h | 31 + qtinterface/interface_qt3/tqpoint.cpp | 23 + qtinterface/interface_qt3/tqpoint.h | 45 + qtinterface/interface_qt3/tqpointarray.cpp | 40 + qtinterface/interface_qt3/tqpointarray.h | 45 + qtinterface/interface_qt3/tqpolygonscanner.cpp | 23 + qtinterface/interface_qt3/tqpolygonscanner.h | 43 + qtinterface/interface_qt3/tqpopmenu.h | 31 + qtinterface/interface_qt3/tqpopupmenu.cpp | 43 + qtinterface/interface_qt3/tqpopupmenu.h | 46 + qtinterface/interface_qt3/tqprintdialog.cpp | 23 + qtinterface/interface_qt3/tqprintdialog.h | 45 + qtinterface/interface_qt3/tqprinter.cpp | 23 + qtinterface/interface_qt3/tqprinter.h | 45 + qtinterface/interface_qt3/tqprndlg.h | 31 + qtinterface/interface_qt3/tqprocess.cpp | 23 + qtinterface/interface_qt3/tqprocess.h | 45 + qtinterface/interface_qt3/tqprogbar.h | 31 + qtinterface/interface_qt3/tqprogdlg.h | 31 + qtinterface/interface_qt3/tqprogressbar.cpp | 23 + qtinterface/interface_qt3/tqprogressbar.h | 45 + qtinterface/interface_qt3/tqprogressdialog.cpp | 23 + qtinterface/interface_qt3/tqprogressdialog.h | 45 + qtinterface/interface_qt3/tqptrcollection.cpp | 23 + qtinterface/interface_qt3/tqptrcollection.h | 45 + qtinterface/interface_qt3/tqptrdict.cpp | 23 + qtinterface/interface_qt3/tqptrdict.h | 45 + qtinterface/interface_qt3/tqptrlist.cpp | 27 + qtinterface/interface_qt3/tqptrlist.h | 257 ++++++ qtinterface/interface_qt3/tqptrqueue.cpp | 23 + qtinterface/interface_qt3/tqptrqueue.h | 45 + qtinterface/interface_qt3/tqptrstack.cpp | 23 + qtinterface/interface_qt3/tqptrstack.h | 45 + qtinterface/interface_qt3/tqptrvector.cpp | 23 + qtinterface/interface_qt3/tqptrvector.h | 45 + qtinterface/interface_qt3/tqpushbt.h | 31 + qtinterface/interface_qt3/tqpushbutton.cpp | 23 + qtinterface/interface_qt3/tqpushbutton.h | 45 + qtinterface/interface_qt3/tqqueue.h | 31 + qtinterface/interface_qt3/tqradiobt.h | 31 + qtinterface/interface_qt3/tqradiobutton.cpp | 23 + qtinterface/interface_qt3/tqradiobutton.h | 45 + qtinterface/interface_qt3/tqrangecontrol.cpp | 23 + qtinterface/interface_qt3/tqrangecontrol.h | 45 + qtinterface/interface_qt3/tqrangect.h | 31 + qtinterface/interface_qt3/tqrect.cpp | 23 + qtinterface/interface_qt3/tqrect.h | 45 + qtinterface/interface_qt3/tqregexp.cpp | 23 + qtinterface/interface_qt3/tqregexp.h | 45 + qtinterface/interface_qt3/tqregion.cpp | 23 + qtinterface/interface_qt3/tqregion.h | 45 + qtinterface/interface_qt3/tqrtlcodec.cpp | 23 + qtinterface/interface_qt3/tqrtlcodec.h | 43 + qtinterface/interface_qt3/tqscrbar.h | 31 + qtinterface/interface_qt3/tqscrollbar.cpp | 31 + qtinterface/interface_qt3/tqscrollbar.h | 45 + qtinterface/interface_qt3/tqscrollview.cpp | 23 + qtinterface/interface_qt3/tqscrollview.h | 45 + qtinterface/interface_qt3/tqsemaphore.cpp | 23 + qtinterface/interface_qt3/tqsemaphore.h | 45 + qtinterface/interface_qt3/tqsemimodal.cpp | 23 + qtinterface/interface_qt3/tqsemimodal.h | 43 + qtinterface/interface_qt3/tqserversocket.cpp | 23 + qtinterface/interface_qt3/tqserversocket.h | 45 + qtinterface/interface_qt3/tqsession.h | 43 + qtinterface/interface_qt3/tqsessionmanager.cpp | 23 + qtinterface/interface_qt3/tqsessionmanager.h | 45 + qtinterface/interface_qt3/tqsettings.cpp | 23 + qtinterface/interface_qt3/tqsettings.h | 45 + qtinterface/interface_qt3/tqsgistyle.cpp | 23 + qtinterface/interface_qt3/tqsgistyle.h | 43 + qtinterface/interface_qt3/tqshared.cpp | 23 + qtinterface/interface_qt3/tqshared.h | 45 + qtinterface/interface_qt3/tqsignal.cpp | 23 + qtinterface/interface_qt3/tqsignal.h | 45 + qtinterface/interface_qt3/tqsignalmapper.cpp | 23 + qtinterface/interface_qt3/tqsignalmapper.h | 45 + qtinterface/interface_qt3/tqsignalslotimp.cpp | 23 + qtinterface/interface_qt3/tqsignalslotimp.h | 43 + qtinterface/interface_qt3/tqsimplerichtext.cpp | 23 + qtinterface/interface_qt3/tqsimplerichtext.h | 45 + qtinterface/interface_qt3/tqsize.cpp | 23 + qtinterface/interface_qt3/tqsize.h | 45 + qtinterface/interface_qt3/tqsizegrip.cpp | 23 + qtinterface/interface_qt3/tqsizegrip.h | 45 + qtinterface/interface_qt3/tqsizepolicy.cpp | 23 + qtinterface/interface_qt3/tqsizepolicy.h | 45 + qtinterface/interface_qt3/tqsjiscodec.cpp | 23 + qtinterface/interface_qt3/tqsjiscodec.h | 43 + qtinterface/interface_qt3/tqslider.cpp | 29 + qtinterface/interface_qt3/tqslider.h | 45 + qtinterface/interface_qt3/tqsocket.cpp | 23 + qtinterface/interface_qt3/tqsocket.h | 45 + qtinterface/interface_qt3/tqsocketdevice.cpp | 23 + qtinterface/interface_qt3/tqsocketdevice.h | 45 + qtinterface/interface_qt3/tqsocketnotifier.cpp | 23 + qtinterface/interface_qt3/tqsocketnotifier.h | 45 + qtinterface/interface_qt3/tqsocknot.h | 31 + qtinterface/interface_qt3/tqsortedlist.cpp | 23 + qtinterface/interface_qt3/tqsortedlist.h | 45 + qtinterface/interface_qt3/tqsound.cpp | 23 + qtinterface/interface_qt3/tqsound.h | 45 + qtinterface/interface_qt3/tqspinbox.cpp | 23 + qtinterface/interface_qt3/tqspinbox.h | 45 + qtinterface/interface_qt3/tqsplashscreen.cpp | 23 + qtinterface/interface_qt3/tqsplashscreen.h | 45 + qtinterface/interface_qt3/tqsplitter.cpp | 23 + qtinterface/interface_qt3/tqsplitter.h | 45 + qtinterface/interface_qt3/tqsql.cpp | 23 + qtinterface/interface_qt3/tqsql.h | 45 + qtinterface/interface_qt3/tqsqlcursor.cpp | 23 + qtinterface/interface_qt3/tqsqlcursor.h | 45 + qtinterface/interface_qt3/tqsqldatabase.cpp | 23 + qtinterface/interface_qt3/tqsqldatabase.h | 45 + qtinterface/interface_qt3/tqsqldriver.cpp | 23 + qtinterface/interface_qt3/tqsqldriver.h | 45 + qtinterface/interface_qt3/tqsqldriverplugin.cpp | 23 + qtinterface/interface_qt3/tqsqldriverplugin.h | 45 + qtinterface/interface_qt3/tqsqleditorfactory.cpp | 23 + qtinterface/interface_qt3/tqsqleditorfactory.h | 45 + qtinterface/interface_qt3/tqsqlerror.cpp | 23 + qtinterface/interface_qt3/tqsqlerror.h | 45 + qtinterface/interface_qt3/tqsqlfield.cpp | 23 + qtinterface/interface_qt3/tqsqlfield.h | 45 + qtinterface/interface_qt3/tqsqlform.cpp | 23 + qtinterface/interface_qt3/tqsqlform.h | 45 + qtinterface/interface_qt3/tqsqlindex.cpp | 23 + qtinterface/interface_qt3/tqsqlindex.h | 45 + qtinterface/interface_qt3/tqsqlpropertymap.cpp | 23 + qtinterface/interface_qt3/tqsqlpropertymap.h | 45 + qtinterface/interface_qt3/tqsqlquery.cpp | 23 + qtinterface/interface_qt3/tqsqlquery.h | 45 + qtinterface/interface_qt3/tqsqlrecord.cpp | 23 + qtinterface/interface_qt3/tqsqlrecord.h | 45 + qtinterface/interface_qt3/tqsqlresult.cpp | 23 + qtinterface/interface_qt3/tqsqlresult.h | 45 + qtinterface/interface_qt3/tqsqlselectcursor.cpp | 23 + qtinterface/interface_qt3/tqsqlselectcursor.h | 45 + qtinterface/interface_qt3/tqstack.h | 43 + qtinterface/interface_qt3/tqstatusbar.cpp | 23 + qtinterface/interface_qt3/tqstatusbar.h | 45 + qtinterface/interface_qt3/tqstring.cpp | 43 + qtinterface/interface_qt3/tqstring.h | 48 ++ qtinterface/interface_qt3/tqstringlist.cpp | 178 ++++ qtinterface/interface_qt3/tqstringlist.h | 168 ++++ qtinterface/interface_qt3/tqstrlist.cpp | 23 + qtinterface/interface_qt3/tqstrlist.h | 198 +++++ qtinterface/interface_qt3/tqstrvec.cpp | 23 + qtinterface/interface_qt3/tqstrvec.h | 43 + qtinterface/interface_qt3/tqstyle.cpp | 47 ++ qtinterface/interface_qt3/tqstyle.h | 59 ++ qtinterface/interface_qt3/tqstylefactory.cpp | 23 + qtinterface/interface_qt3/tqstylefactory.h | 45 + qtinterface/interface_qt3/tqstyleplugin.cpp | 23 + qtinterface/interface_qt3/tqstyleplugin.h | 45 + qtinterface/interface_qt3/tqstylesheet.cpp | 23 + qtinterface/interface_qt3/tqstylesheet.h | 45 + qtinterface/interface_qt3/tqsyntaxhighlighter.cpp | 23 + qtinterface/interface_qt3/tqsyntaxhighlighter.h | 45 + qtinterface/interface_qt3/tqt.cpp | 43 + qtinterface/interface_qt3/tqt_defs.h | 1 + qtinterface/interface_qt3/tqt_undefs.h | 1 + qtinterface/interface_qt3/tqtabbar.cpp | 34 + qtinterface/interface_qt3/tqtabbar.h | 45 + qtinterface/interface_qt3/tqtabdialog.cpp | 23 + qtinterface/interface_qt3/tqtabdialog.h | 45 + qtinterface/interface_qt3/tqtabdlg.h | 31 + qtinterface/interface_qt3/tqtable.cpp | 23 + qtinterface/interface_qt3/tqtable.h | 45 + qtinterface/interface_qt3/tqtabwidget.cpp | 23 + qtinterface/interface_qt3/tqtabwidget.h | 45 + qtinterface/interface_qt3/tqtextbrowser.cpp | 23 + qtinterface/interface_qt3/tqtextbrowser.h | 45 + qtinterface/interface_qt3/tqtextcodec.cpp | 515 ++++++++++++ qtinterface/interface_qt3/tqtextcodec.h | 45 + qtinterface/interface_qt3/tqtextcodecfactory.cpp | 23 + qtinterface/interface_qt3/tqtextcodecfactory.h | 43 + qtinterface/interface_qt3/tqtextcodecplugin.cpp | 23 + qtinterface/interface_qt3/tqtextcodecplugin.h | 45 + qtinterface/interface_qt3/tqtextedit.cpp | 23 + qtinterface/interface_qt3/tqtextedit.h | 45 + qtinterface/interface_qt3/tqtextstream.cpp | 23 + qtinterface/interface_qt3/tqtextstream.h | 47 ++ qtinterface/interface_qt3/tqtextview.cpp | 23 + qtinterface/interface_qt3/tqtextview.h | 45 + qtinterface/interface_qt3/tqtglobaldefines.h | 20 + qtinterface/interface_qt3/tqthread.cpp | 23 + qtinterface/interface_qt3/tqthread.h | 45 + qtinterface/interface_qt3/tqthreadstorage.cpp | 23 + qtinterface/interface_qt3/tqthreadstorage.h | 45 + qtinterface/interface_qt3/tqtimer.cpp | 32 + qtinterface/interface_qt3/tqtimer.h | 45 + qtinterface/interface_qt3/tqtl.cpp | 23 + qtinterface/interface_qt3/tqtl.h | 362 ++++++++ qtinterface/interface_qt3/tqtoolbar.cpp | 23 + qtinterface/interface_qt3/tqtoolbar.h | 46 + qtinterface/interface_qt3/tqtoolbox.cpp | 23 + qtinterface/interface_qt3/tqtoolbox.h | 45 + qtinterface/interface_qt3/tqtoolbutton.cpp | 23 + qtinterface/interface_qt3/tqtoolbutton.h | 45 + qtinterface/interface_qt3/tqtooltip.cpp | 39 + qtinterface/interface_qt3/tqtooltip.h | 45 + qtinterface/interface_qt3/tqtranslator.cpp | 404 +++++++++ qtinterface/interface_qt3/tqtranslator.h | 96 +++ qtinterface/interface_qt3/tqtsciicodec.cpp | 23 + qtinterface/interface_qt3/tqtsciicodec.h | 43 + qtinterface/interface_qt3/tqtstream.h | 31 + qtinterface/interface_qt3/tqurl.cpp | 23 + qtinterface/interface_qt3/tqurl.h | 45 + qtinterface/interface_qt3/tqurlinfo.cpp | 23 + qtinterface/interface_qt3/tqurlinfo.h | 45 + qtinterface/interface_qt3/tqurloperator.cpp | 23 + qtinterface/interface_qt3/tqurloperator.h | 45 + qtinterface/interface_qt3/tqutfcodec.cpp | 23 + qtinterface/interface_qt3/tqutfcodec.h | 43 + qtinterface/interface_qt3/tquuid.cpp | 23 + qtinterface/interface_qt3/tquuid.h | 45 + qtinterface/interface_qt3/tqvalidator.cpp | 23 + qtinterface/interface_qt3/tqvalidator.h | 45 + qtinterface/interface_qt3/tqvaluelist.cpp | 23 + qtinterface/interface_qt3/tqvaluelist.h | 720 ++++++++++++++++ qtinterface/interface_qt3/tqvaluestack.cpp | 23 + qtinterface/interface_qt3/tqvaluestack.h | 45 + qtinterface/interface_qt3/tqvaluevector.cpp | 23 + qtinterface/interface_qt3/tqvaluevector.h | 45 + qtinterface/interface_qt3/tqvariant.cpp | 129 +++ qtinterface/interface_qt3/tqvariant.h | 46 + qtinterface/interface_qt3/tqvbox.cpp | 23 + qtinterface/interface_qt3/tqvbox.h | 45 + qtinterface/interface_qt3/tqvbuttongroup.cpp | 23 + qtinterface/interface_qt3/tqvbuttongroup.h | 45 + qtinterface/interface_qt3/tqvector.h | 31 + qtinterface/interface_qt3/tqvfbhdr.cpp | 23 + qtinterface/interface_qt3/tqvfbhdr.h | 45 + qtinterface/interface_qt3/tqvgroupbox.cpp | 23 + qtinterface/interface_qt3/tqvgroupbox.h | 45 + qtinterface/interface_qt3/tqwaitcondition.cpp | 23 + qtinterface/interface_qt3/tqwaitcondition.h | 45 + qtinterface/interface_qt3/tqwhatsthis.cpp | 35 + qtinterface/interface_qt3/tqwhatsthis.h | 45 + qtinterface/interface_qt3/tqwidcoll.h | 32 + qtinterface/interface_qt3/tqwidget.cpp | 35 + qtinterface/interface_qt3/tqwidget.h | 45 + qtinterface/interface_qt3/tqwidgetfactory.cpp | 23 + qtinterface/interface_qt3/tqwidgetfactory.h | 45 + qtinterface/interface_qt3/tqwidgetintdict.cpp | 23 + qtinterface/interface_qt3/tqwidgetintdict.h | 43 + qtinterface/interface_qt3/tqwidgetlist.cpp | 23 + qtinterface/interface_qt3/tqwidgetlist.h | 91 ++ qtinterface/interface_qt3/tqwidgetplugin.cpp | 23 + qtinterface/interface_qt3/tqwidgetplugin.h | 43 + qtinterface/interface_qt3/tqwidgetstack.cpp | 23 + qtinterface/interface_qt3/tqwidgetstack.h | 45 + qtinterface/interface_qt3/tqwindefs.h | 31 + qtinterface/interface_qt3/tqwindowdefs.h | 43 + qtinterface/interface_qt3/tqwindowsstyle.cpp | 23 + qtinterface/interface_qt3/tqwindowsstyle.h | 45 + qtinterface/interface_qt3/tqwinexport.h | 43 + qtinterface/interface_qt3/tqwizard.cpp | 23 + qtinterface/interface_qt3/tqwizard.h | 45 + qtinterface/interface_qt3/tqwmatrix.cpp | 23 + qtinterface/interface_qt3/tqwmatrix.h | 45 + qtinterface/interface_qt3/tqworkspace.cpp | 23 + qtinterface/interface_qt3/tqworkspace.h | 45 + qtinterface/interface_qt3/tqxml.cpp | 23 + qtinterface/interface_qt3/tqxml.h | 45 + qtinterface/interface_tqt3/private/tqcom_p.h | 35 + qtinterface/interface_tqt3/private/tqeffects_p.h | 40 + qtinterface/interface_tqt3/private/tqinternal_p.h | 40 + .../interface_tqt3/private/tqlayoutengine_p.h | 36 + .../interface_tqt3/private/tqpluginmanager_p.h | 35 + qtinterface/interface_tqt3/private/tqrichtext_p.h | 40 + .../interface_tqt3/private/tqtextengine_p.h | 40 + qtinterface/interface_tqt3/private/tqucom_p.h | 35 + .../interface_tqt3/private/tqucomextra_p.cpp | 27 + qtinterface/interface_tqt3/private/tqucomextra_p.h | 48 ++ .../interface_tqt3/private/tqwidgetinterface_p.h | 35 + qtinterface/interface_tqt3/tq1xcompatibility.cpp | 23 + qtinterface/interface_tqt3/tq1xcompatibility.h | 39 + qtinterface/interface_tqt3/tqabstractlayout.cpp | 23 + qtinterface/interface_tqt3/tqabstractlayout.h | 39 + qtinterface/interface_tqt3/tqaccel.cpp | 23 + qtinterface/interface_tqt3/tqaccel.h | 45 + qtinterface/interface_tqt3/tqaccessible.cpp | 23 + qtinterface/interface_tqt3/tqaccessible.h | 45 + qtinterface/interface_tqt3/tqaction.cpp | 23 + qtinterface/interface_tqt3/tqaction.h | 46 + qtinterface/interface_tqt3/tqapp.h | 31 + qtinterface/interface_tqt3/tqapplication.cpp | 70 ++ qtinterface/interface_tqt3/tqapplication.h | 52 ++ qtinterface/interface_tqt3/tqarray.h | 31 + qtinterface/interface_tqt3/tqasciicache.cpp | 23 + qtinterface/interface_tqt3/tqasciicache.h | 45 + qtinterface/interface_tqt3/tqasciidict.cpp | 23 + qtinterface/interface_tqt3/tqasciidict.h | 45 + qtinterface/interface_tqt3/tqassistantclient.cpp | 26 + qtinterface/interface_tqt3/tqassistantclient.h | 33 + qtinterface/interface_tqt3/tqasyncimageio.cpp | 23 + qtinterface/interface_tqt3/tqasyncimageio.h | 43 + qtinterface/interface_tqt3/tqasyncio.cpp | 23 + qtinterface/interface_tqt3/tqasyncio.h | 44 + qtinterface/interface_tqt3/tqbig5codec.cpp | 23 + qtinterface/interface_tqt3/tqbig5codec.h | 43 + qtinterface/interface_tqt3/tqbitarray.cpp | 23 + qtinterface/interface_tqt3/tqbitarray.h | 45 + qtinterface/interface_tqt3/tqbitarry.h | 31 + qtinterface/interface_tqt3/tqbitmap.cpp | 23 + qtinterface/interface_tqt3/tqbitmap.h | 45 + qtinterface/interface_tqt3/tqbrush.cpp | 23 + qtinterface/interface_tqt3/tqbrush.h | 45 + qtinterface/interface_tqt3/tqbttngrp.h | 31 + qtinterface/interface_tqt3/tqbuffer.cpp | 23 + qtinterface/interface_tqt3/tqbuffer.h | 45 + qtinterface/interface_tqt3/tqbutton.cpp | 23 + qtinterface/interface_tqt3/tqbutton.h | 45 + qtinterface/interface_tqt3/tqbuttongroup.cpp | 23 + qtinterface/interface_tqt3/tqbuttongroup.h | 45 + qtinterface/interface_tqt3/tqcache.cpp | 23 + qtinterface/interface_tqt3/tqcache.h | 45 + qtinterface/interface_tqt3/tqcanvas.cpp | 23 + qtinterface/interface_tqt3/tqcanvas.h | 45 + qtinterface/interface_tqt3/tqcdestyle.cpp | 23 + qtinterface/interface_tqt3/tqcdestyle.h | 45 + qtinterface/interface_tqt3/tqcheckbox.cpp | 23 + qtinterface/interface_tqt3/tqcheckbox.h | 45 + qtinterface/interface_tqt3/tqchkbox.h | 31 + qtinterface/interface_tqt3/tqcleanuphandler.cpp | 23 + qtinterface/interface_tqt3/tqcleanuphandler.h | 131 +++ qtinterface/interface_tqt3/tqclipboard.cpp | 23 + qtinterface/interface_tqt3/tqclipboard.h | 45 + qtinterface/interface_tqt3/tqclipbrd.h | 31 + qtinterface/interface_tqt3/tqcollect.h | 31 + qtinterface/interface_tqt3/tqcollection.h | 31 + qtinterface/interface_tqt3/tqcolor.cpp | 23 + qtinterface/interface_tqt3/tqcolor.h | 45 + qtinterface/interface_tqt3/tqcolordialog.cpp | 23 + qtinterface/interface_tqt3/tqcolordialog.h | 45 + qtinterface/interface_tqt3/tqcombo.h | 31 + qtinterface/interface_tqt3/tqcombobox.cpp | 23 + qtinterface/interface_tqt3/tqcombobox.h | 45 + qtinterface/interface_tqt3/tqcommonstyle.cpp | 95 +++ qtinterface/interface_tqt3/tqcommonstyle.h | 47 ++ qtinterface/interface_tqt3/tqcompactstyle.cpp | 23 + qtinterface/interface_tqt3/tqcompactstyle.h | 43 + qtinterface/interface_tqt3/tqconfig.h | 43 + qtinterface/interface_tqt3/tqconnect.h | 31 + qtinterface/interface_tqt3/tqconnection.cpp | 23 + qtinterface/interface_tqt3/tqconnection.h | 43 + qtinterface/interface_tqt3/tqcstring.cpp | 55 ++ qtinterface/interface_tqt3/tqcstring.h | 53 ++ qtinterface/interface_tqt3/tqcursor.cpp | 23 + qtinterface/interface_tqt3/tqcursor.h | 45 + qtinterface/interface_tqt3/tqdatabrowser.cpp | 23 + qtinterface/interface_tqt3/tqdatabrowser.h | 45 + qtinterface/interface_tqt3/tqdatastream.cpp | 43 + qtinterface/interface_tqt3/tqdatastream.h | 46 + qtinterface/interface_tqt3/tqdatatable.cpp | 23 + qtinterface/interface_tqt3/tqdatatable.h | 45 + qtinterface/interface_tqt3/tqdataview.cpp | 23 + qtinterface/interface_tqt3/tqdataview.h | 45 + qtinterface/interface_tqt3/tqdatetime.cpp | 23 + qtinterface/interface_tqt3/tqdatetime.h | 45 + qtinterface/interface_tqt3/tqdatetimeedit.cpp | 23 + qtinterface/interface_tqt3/tqdatetimeedit.h | 45 + qtinterface/interface_tqt3/tqdatetm.h | 31 + qtinterface/interface_tqt3/tqdeepcopy.cpp | 23 + qtinterface/interface_tqt3/tqdeepcopy.h | 45 + qtinterface/interface_tqt3/tqdesktopwidget.cpp | 23 + qtinterface/interface_tqt3/tqdesktopwidget.h | 45 + qtinterface/interface_tqt3/tqdial.cpp | 23 + qtinterface/interface_tqt3/tqdial.h | 45 + qtinterface/interface_tqt3/tqdialog.cpp | 23 + qtinterface/interface_tqt3/tqdialog.h | 45 + qtinterface/interface_tqt3/tqdict.cpp | 23 + qtinterface/interface_tqt3/tqdict.h | 45 + qtinterface/interface_tqt3/tqdir.cpp | 40 + qtinterface/interface_tqt3/tqdir.h | 45 + qtinterface/interface_tqt3/tqdns.cpp | 23 + qtinterface/interface_tqt3/tqdns.h | 45 + qtinterface/interface_tqt3/tqdockarea.cpp | 23 + qtinterface/interface_tqt3/tqdockarea.h | 45 + qtinterface/interface_tqt3/tqdockwindow.cpp | 23 + qtinterface/interface_tqt3/tqdockwindow.h | 45 + qtinterface/interface_tqt3/tqdom.cpp | 23 + qtinterface/interface_tqt3/tqdom.h | 45 + qtinterface/interface_tqt3/tqdragobject.cpp | 23 + qtinterface/interface_tqt3/tqdragobject.h | 45 + qtinterface/interface_tqt3/tqdrawutil.cpp | 23 + qtinterface/interface_tqt3/tqdrawutil.h | 45 + qtinterface/interface_tqt3/tqdrawutl.h | 31 + qtinterface/interface_tqt3/tqdropsite.cpp | 23 + qtinterface/interface_tqt3/tqdropsite.h | 45 + qtinterface/interface_tqt3/tqdstream.h | 31 + qtinterface/interface_tqt3/tqeditorfactory.cpp | 23 + qtinterface/interface_tqt3/tqeditorfactory.h | 45 + qtinterface/interface_tqt3/tqerrormessage.cpp | 23 + qtinterface/interface_tqt3/tqerrormessage.h | 45 + qtinterface/interface_tqt3/tqeucjpcodec.cpp | 23 + qtinterface/interface_tqt3/tqeucjpcodec.h | 43 + qtinterface/interface_tqt3/tqeuckrcodec.cpp | 23 + qtinterface/interface_tqt3/tqeuckrcodec.h | 42 + qtinterface/interface_tqt3/tqevent.cpp | 23 + qtinterface/interface_tqt3/tqevent.h | 45 + qtinterface/interface_tqt3/tqeventloop.cpp | 36 + qtinterface/interface_tqt3/tqeventloop.h | 63 ++ qtinterface/interface_tqt3/tqfeatures.h | 43 + qtinterface/interface_tqt3/tqfile.cpp | 23 + qtinterface/interface_tqt3/tqfile.h | 45 + qtinterface/interface_tqt3/tqfiledef.h | 41 + qtinterface/interface_tqt3/tqfiledialog.cpp | 23 + qtinterface/interface_tqt3/tqfiledialog.h | 45 + qtinterface/interface_tqt3/tqfiledlg.h | 31 + qtinterface/interface_tqt3/tqfileinf.h | 31 + qtinterface/interface_tqt3/tqfileinfo.cpp | 31 + qtinterface/interface_tqt3/tqfileinfo.h | 45 + qtinterface/interface_tqt3/tqfocusdata.cpp | 23 + qtinterface/interface_tqt3/tqfocusdata.h | 43 + qtinterface/interface_tqt3/tqfont.cpp | 23 + qtinterface/interface_tqt3/tqfont.h | 45 + qtinterface/interface_tqt3/tqfontdatabase.cpp | 23 + qtinterface/interface_tqt3/tqfontdatabase.h | 45 + qtinterface/interface_tqt3/tqfontdialog.cpp | 23 + qtinterface/interface_tqt3/tqfontdialog.h | 45 + qtinterface/interface_tqt3/tqfontinf.h | 31 + qtinterface/interface_tqt3/tqfontinfo.cpp | 23 + qtinterface/interface_tqt3/tqfontinfo.h | 45 + qtinterface/interface_tqt3/tqfontmet.h | 31 + qtinterface/interface_tqt3/tqfontmetrics.cpp | 23 + qtinterface/interface_tqt3/tqfontmetrics.h | 45 + qtinterface/interface_tqt3/tqframe.cpp | 23 + qtinterface/interface_tqt3/tqframe.h | 45 + qtinterface/interface_tqt3/tqftp.cpp | 23 + qtinterface/interface_tqt3/tqftp.h | 45 + qtinterface/interface_tqt3/tqgarray.cpp | 23 + qtinterface/interface_tqt3/tqgarray.h | 45 + qtinterface/interface_tqt3/tqgb18030codec.cpp | 23 + qtinterface/interface_tqt3/tqgb18030codec.h | 43 + qtinterface/interface_tqt3/tqgbkcodec.h | 31 + qtinterface/interface_tqt3/tqgcache.cpp | 23 + qtinterface/interface_tqt3/tqgcache.h | 43 + qtinterface/interface_tqt3/tqgdict.cpp | 23 + qtinterface/interface_tqt3/tqgdict.h | 43 + qtinterface/interface_tqt3/tqgeneric.h | 37 + qtinterface/interface_tqt3/tqgif.h | 43 + qtinterface/interface_tqt3/tqgl.cpp | 23 + qtinterface/interface_tqt3/tqgl.h | 45 + qtinterface/interface_tqt3/tqglcolormap.cpp | 23 + qtinterface/interface_tqt3/tqglcolormap.h | 45 + qtinterface/interface_tqt3/tqglist.cpp | 23 + qtinterface/interface_tqt3/tqglist.h | 45 + qtinterface/interface_tqt3/tqglobal.h | 43 + qtinterface/interface_tqt3/tqgplugin.cpp | 23 + qtinterface/interface_tqt3/tqgplugin.h | 43 + qtinterface/interface_tqt3/tqgrid.cpp | 23 + qtinterface/interface_tqt3/tqgrid.h | 45 + qtinterface/interface_tqt3/tqgridview.cpp | 23 + qtinterface/interface_tqt3/tqgridview.h | 45 + qtinterface/interface_tqt3/tqgroupbox.cpp | 23 + qtinterface/interface_tqt3/tqgroupbox.h | 45 + qtinterface/interface_tqt3/tqgrpbox.h | 31 + qtinterface/interface_tqt3/tqguardedptr.cpp | 23 + qtinterface/interface_tqt3/tqguardedptr.h | 45 + qtinterface/interface_tqt3/tqgvector.cpp | 23 + qtinterface/interface_tqt3/tqgvector.h | 43 + qtinterface/interface_tqt3/tqhbox.cpp | 23 + qtinterface/interface_tqt3/tqhbox.h | 45 + qtinterface/interface_tqt3/tqhbuttongroup.cpp | 23 + qtinterface/interface_tqt3/tqhbuttongroup.h | 45 + qtinterface/interface_tqt3/tqheader.cpp | 23 + qtinterface/interface_tqt3/tqheader.h | 45 + qtinterface/interface_tqt3/tqhgroupbox.cpp | 23 + qtinterface/interface_tqt3/tqhgroupbox.h | 45 + qtinterface/interface_tqt3/tqhostaddress.cpp | 23 + qtinterface/interface_tqt3/tqhostaddress.h | 45 + qtinterface/interface_tqt3/tqhttp.cpp | 23 + qtinterface/interface_tqt3/tqhttp.h | 45 + qtinterface/interface_tqt3/tqiconset.cpp | 136 +++ qtinterface/interface_tqt3/tqiconset.h | 70 ++ qtinterface/interface_tqt3/tqiconview.cpp | 23 + qtinterface/interface_tqt3/tqiconview.h | 45 + qtinterface/interface_tqt3/tqimage.cpp | 69 ++ qtinterface/interface_tqt3/tqimage.h | 67 ++ qtinterface/interface_tqt3/tqimageformatplugin.cpp | 23 + qtinterface/interface_tqt3/tqimageformatplugin.h | 43 + qtinterface/interface_tqt3/tqinputcontext.cpp | 23 + qtinterface/interface_tqt3/tqinputcontext.h | 45 + .../interface_tqt3/tqinputcontextfactory.cpp | 23 + qtinterface/interface_tqt3/tqinputcontextfactory.h | 45 + qtinterface/interface_tqt3/tqinputdialog.cpp | 23 + qtinterface/interface_tqt3/tqinputdialog.h | 45 + qtinterface/interface_tqt3/tqintcach.h | 31 + qtinterface/interface_tqt3/tqintcache.cpp | 23 + qtinterface/interface_tqt3/tqintcache.h | 45 + qtinterface/interface_tqt3/tqintdict.cpp | 23 + qtinterface/interface_tqt3/tqintdict.h | 45 + qtinterface/interface_tqt3/tqinterlacestyle.cpp | 23 + qtinterface/interface_tqt3/tqinterlacestyle.h | 49 ++ qtinterface/interface_tqt3/tqiodev.h | 31 + qtinterface/interface_tqt3/tqiodevice.cpp | 70 ++ qtinterface/interface_tqt3/tqiodevice.h | 60 ++ qtinterface/interface_tqt3/tqjiscodec.cpp | 23 + qtinterface/interface_tqt3/tqjiscodec.h | 45 + qtinterface/interface_tqt3/tqjpegio.h | 42 + qtinterface/interface_tqt3/tqjpunicode.cpp | 23 + qtinterface/interface_tqt3/tqjpunicode.h | 43 + qtinterface/interface_tqt3/tqkeycode.h | 31 + qtinterface/interface_tqt3/tqkeysequence.cpp | 23 + qtinterface/interface_tqt3/tqkeysequence.h | 45 + qtinterface/interface_tqt3/tqlabel.cpp | 23 + qtinterface/interface_tqt3/tqlabel.h | 45 + qtinterface/interface_tqt3/tqlayout.cpp | 23 + qtinterface/interface_tqt3/tqlayout.h | 45 + qtinterface/interface_tqt3/tqlcdnum.h | 31 + qtinterface/interface_tqt3/tqlcdnumber.cpp | 23 + qtinterface/interface_tqt3/tqlcdnumber.h | 45 + qtinterface/interface_tqt3/tqlibrary.cpp | 23 + qtinterface/interface_tqt3/tqlibrary.h | 45 + qtinterface/interface_tqt3/tqlined.h | 31 + qtinterface/interface_tqt3/tqlineedit.cpp | 23 + qtinterface/interface_tqt3/tqlineedit.h | 45 + qtinterface/interface_tqt3/tqlist.h | 31 + qtinterface/interface_tqt3/tqlistbox.cpp | 23 + qtinterface/interface_tqt3/tqlistbox.h | 45 + qtinterface/interface_tqt3/tqlistiterator.cpp | 48 ++ qtinterface/interface_tqt3/tqlistiterator.h | 86 ++ qtinterface/interface_tqt3/tqlistview.cpp | 23 + qtinterface/interface_tqt3/tqlistview.h | 45 + qtinterface/interface_tqt3/tqlocale.cpp | 23 + qtinterface/interface_tqt3/tqlocale.h | 45 + qtinterface/interface_tqt3/tqlocalfs.cpp | 23 + qtinterface/interface_tqt3/tqlocalfs.h | 45 + qtinterface/interface_tqt3/tqmainwindow.cpp | 23 + qtinterface/interface_tqt3/tqmainwindow.h | 45 + qtinterface/interface_tqt3/tqmap.cpp | 243 ++++++ qtinterface/interface_tqt3/tqmap.h | 935 +++++++++++++++++++++ qtinterface/interface_tqt3/tqmemarray.cpp | 23 + qtinterface/interface_tqt3/tqmemarray.h | 45 + qtinterface/interface_tqt3/tqmenubar.cpp | 23 + qtinterface/interface_tqt3/tqmenubar.h | 45 + qtinterface/interface_tqt3/tqmenudata.cpp | 82 ++ qtinterface/interface_tqt3/tqmenudata.h | 45 + qtinterface/interface_tqt3/tqmenudta.h | 31 + qtinterface/interface_tqt3/tqmessagebox.cpp | 23 + qtinterface/interface_tqt3/tqmessagebox.h | 45 + qtinterface/interface_tqt3/tqmetaobj.h | 31 + qtinterface/interface_tqt3/tqmetaobject.cpp | 303 +++++++ qtinterface/interface_tqt3/tqmetaobject.h | 48 ++ qtinterface/interface_tqt3/tqmime.cpp | 23 + qtinterface/interface_tqt3/tqmime.h | 45 + qtinterface/interface_tqt3/tqmlined.h | 31 + qtinterface/interface_tqt3/tqmngio.h | 43 + qtinterface/interface_tqt3/tqmodules.h | 43 + qtinterface/interface_tqt3/tqmotifplusstyle.cpp | 23 + qtinterface/interface_tqt3/tqmotifplusstyle.h | 43 + qtinterface/interface_tqt3/tqmotifstyle.cpp | 23 + qtinterface/interface_tqt3/tqmotifstyle.h | 45 + qtinterface/interface_tqt3/tqmovie.cpp | 57 ++ qtinterface/interface_tqt3/tqmovie.h | 60 ++ qtinterface/interface_tqt3/tqmsgbox.h | 31 + qtinterface/interface_tqt3/tqmultilinedit.h | 31 + qtinterface/interface_tqt3/tqmultilineedit.cpp | 23 + qtinterface/interface_tqt3/tqmultilineedit.h | 45 + qtinterface/interface_tqt3/tqmutex.cpp | 23 + qtinterface/interface_tqt3/tqmutex.h | 45 + qtinterface/interface_tqt3/tqnamespace.cpp | 23 + qtinterface/interface_tqt3/tqnamespace.h | 45 + qtinterface/interface_tqt3/tqnetwork.h | 43 + qtinterface/interface_tqt3/tqnetworkprotocol.cpp | 23 + qtinterface/interface_tqt3/tqnetworkprotocol.h | 45 + qtinterface/interface_tqt3/tqnp.cpp | 23 + qtinterface/interface_tqt3/tqnp.h | 43 + qtinterface/interface_tqt3/tqobjcoll.h | 32 + qtinterface/interface_tqt3/tqobjdefs.h | 31 + qtinterface/interface_tqt3/tqobject.cpp | 54 ++ qtinterface/interface_tqt3/tqobject.h | 45 + .../interface_tqt3/tqobjectcleanuphandler.cpp | 23 + .../interface_tqt3/tqobjectcleanuphandler.h | 45 + qtinterface/interface_tqt3/tqobjectdict.cpp | 23 + qtinterface/interface_tqt3/tqobjectdict.h | 43 + qtinterface/interface_tqt3/tqobjectlist.cpp | 23 + qtinterface/interface_tqt3/tqobjectlist.h | 45 + qtinterface/interface_tqt3/tqpaintd.h | 31 + qtinterface/interface_tqt3/tqpaintdc.h | 31 + qtinterface/interface_tqt3/tqpaintdevice.cpp | 123 +++ qtinterface/interface_tqt3/tqpaintdevice.h | 45 + .../interface_tqt3/tqpaintdevicemetrics.cpp | 23 + qtinterface/interface_tqt3/tqpaintdevicemetrics.h | 45 + qtinterface/interface_tqt3/tqpainter.cpp | 44 + qtinterface/interface_tqt3/tqpainter.h | 45 + qtinterface/interface_tqt3/tqpair.cpp | 23 + qtinterface/interface_tqt3/tqpair.h | 143 ++++ qtinterface/interface_tqt3/tqpalette.cpp | 23 + qtinterface/interface_tqt3/tqpalette.h | 45 + qtinterface/interface_tqt3/tqpdevmet.h | 31 + qtinterface/interface_tqt3/tqpen.cpp | 23 + qtinterface/interface_tqt3/tqpen.h | 45 + qtinterface/interface_tqt3/tqpicture.cpp | 23 + qtinterface/interface_tqt3/tqpicture.h | 45 + qtinterface/interface_tqt3/tqpixmap.cpp | 66 ++ qtinterface/interface_tqt3/tqpixmap.h | 45 + qtinterface/interface_tqt3/tqpixmapcache.cpp | 23 + qtinterface/interface_tqt3/tqpixmapcache.h | 45 + qtinterface/interface_tqt3/tqplatinumstyle.cpp | 23 + qtinterface/interface_tqt3/tqplatinumstyle.h | 43 + qtinterface/interface_tqt3/tqpmcache.h | 31 + qtinterface/interface_tqt3/tqpngio.cpp | 23 + qtinterface/interface_tqt3/tqpngio.h | 43 + qtinterface/interface_tqt3/tqpntarry.h | 31 + qtinterface/interface_tqt3/tqpoint.cpp | 23 + qtinterface/interface_tqt3/tqpoint.h | 45 + qtinterface/interface_tqt3/tqpointarray.cpp | 40 + qtinterface/interface_tqt3/tqpointarray.h | 45 + qtinterface/interface_tqt3/tqpolygonscanner.cpp | 23 + qtinterface/interface_tqt3/tqpolygonscanner.h | 43 + qtinterface/interface_tqt3/tqpopmenu.h | 31 + qtinterface/interface_tqt3/tqpopupmenu.cpp | 43 + qtinterface/interface_tqt3/tqpopupmenu.h | 46 + qtinterface/interface_tqt3/tqprintdialog.cpp | 23 + qtinterface/interface_tqt3/tqprintdialog.h | 45 + qtinterface/interface_tqt3/tqprinter.cpp | 23 + qtinterface/interface_tqt3/tqprinter.h | 45 + qtinterface/interface_tqt3/tqprndlg.h | 31 + qtinterface/interface_tqt3/tqprocess.cpp | 23 + qtinterface/interface_tqt3/tqprocess.h | 45 + qtinterface/interface_tqt3/tqprogbar.h | 31 + qtinterface/interface_tqt3/tqprogdlg.h | 31 + qtinterface/interface_tqt3/tqprogressbar.cpp | 23 + qtinterface/interface_tqt3/tqprogressbar.h | 45 + qtinterface/interface_tqt3/tqprogressdialog.cpp | 23 + qtinterface/interface_tqt3/tqprogressdialog.h | 45 + qtinterface/interface_tqt3/tqptrcollection.cpp | 23 + qtinterface/interface_tqt3/tqptrcollection.h | 45 + qtinterface/interface_tqt3/tqptrdict.cpp | 23 + qtinterface/interface_tqt3/tqptrdict.h | 45 + qtinterface/interface_tqt3/tqptrlist.cpp | 27 + qtinterface/interface_tqt3/tqptrlist.h | 257 ++++++ qtinterface/interface_tqt3/tqptrqueue.cpp | 23 + qtinterface/interface_tqt3/tqptrqueue.h | 45 + qtinterface/interface_tqt3/tqptrstack.cpp | 23 + qtinterface/interface_tqt3/tqptrstack.h | 45 + qtinterface/interface_tqt3/tqptrvector.cpp | 23 + qtinterface/interface_tqt3/tqptrvector.h | 45 + qtinterface/interface_tqt3/tqpushbt.h | 31 + qtinterface/interface_tqt3/tqpushbutton.cpp | 23 + qtinterface/interface_tqt3/tqpushbutton.h | 45 + qtinterface/interface_tqt3/tqqueue.h | 31 + qtinterface/interface_tqt3/tqradiobt.h | 31 + qtinterface/interface_tqt3/tqradiobutton.cpp | 23 + qtinterface/interface_tqt3/tqradiobutton.h | 45 + qtinterface/interface_tqt3/tqrangecontrol.cpp | 23 + qtinterface/interface_tqt3/tqrangecontrol.h | 45 + qtinterface/interface_tqt3/tqrangect.h | 31 + qtinterface/interface_tqt3/tqrect.cpp | 23 + qtinterface/interface_tqt3/tqrect.h | 45 + qtinterface/interface_tqt3/tqregexp.cpp | 23 + qtinterface/interface_tqt3/tqregexp.h | 45 + qtinterface/interface_tqt3/tqregion.cpp | 23 + qtinterface/interface_tqt3/tqregion.h | 45 + qtinterface/interface_tqt3/tqrtlcodec.cpp | 23 + qtinterface/interface_tqt3/tqrtlcodec.h | 43 + qtinterface/interface_tqt3/tqscrbar.h | 31 + qtinterface/interface_tqt3/tqscrollbar.cpp | 31 + qtinterface/interface_tqt3/tqscrollbar.h | 45 + qtinterface/interface_tqt3/tqscrollview.cpp | 23 + qtinterface/interface_tqt3/tqscrollview.h | 45 + qtinterface/interface_tqt3/tqsemaphore.cpp | 23 + qtinterface/interface_tqt3/tqsemaphore.h | 45 + qtinterface/interface_tqt3/tqsemimodal.cpp | 23 + qtinterface/interface_tqt3/tqsemimodal.h | 43 + qtinterface/interface_tqt3/tqserversocket.cpp | 23 + qtinterface/interface_tqt3/tqserversocket.h | 45 + qtinterface/interface_tqt3/tqsession.h | 43 + qtinterface/interface_tqt3/tqsessionmanager.cpp | 23 + qtinterface/interface_tqt3/tqsessionmanager.h | 45 + qtinterface/interface_tqt3/tqsettings.cpp | 23 + qtinterface/interface_tqt3/tqsettings.h | 45 + qtinterface/interface_tqt3/tqsgistyle.cpp | 23 + qtinterface/interface_tqt3/tqsgistyle.h | 43 + qtinterface/interface_tqt3/tqshared.cpp | 23 + qtinterface/interface_tqt3/tqshared.h | 45 + qtinterface/interface_tqt3/tqsignal.cpp | 23 + qtinterface/interface_tqt3/tqsignal.h | 45 + qtinterface/interface_tqt3/tqsignalmapper.cpp | 23 + qtinterface/interface_tqt3/tqsignalmapper.h | 45 + qtinterface/interface_tqt3/tqsignalslotimp.cpp | 23 + qtinterface/interface_tqt3/tqsignalslotimp.h | 43 + qtinterface/interface_tqt3/tqsimplerichtext.cpp | 23 + qtinterface/interface_tqt3/tqsimplerichtext.h | 45 + qtinterface/interface_tqt3/tqsize.cpp | 23 + qtinterface/interface_tqt3/tqsize.h | 45 + qtinterface/interface_tqt3/tqsizegrip.cpp | 23 + qtinterface/interface_tqt3/tqsizegrip.h | 45 + qtinterface/interface_tqt3/tqsizepolicy.cpp | 23 + qtinterface/interface_tqt3/tqsizepolicy.h | 45 + qtinterface/interface_tqt3/tqsjiscodec.cpp | 23 + qtinterface/interface_tqt3/tqsjiscodec.h | 43 + qtinterface/interface_tqt3/tqslider.cpp | 29 + qtinterface/interface_tqt3/tqslider.h | 45 + qtinterface/interface_tqt3/tqsocket.cpp | 23 + qtinterface/interface_tqt3/tqsocket.h | 45 + qtinterface/interface_tqt3/tqsocketdevice.cpp | 23 + qtinterface/interface_tqt3/tqsocketdevice.h | 45 + qtinterface/interface_tqt3/tqsocketnotifier.cpp | 23 + qtinterface/interface_tqt3/tqsocketnotifier.h | 45 + qtinterface/interface_tqt3/tqsocknot.h | 31 + qtinterface/interface_tqt3/tqsortedlist.cpp | 23 + qtinterface/interface_tqt3/tqsortedlist.h | 45 + qtinterface/interface_tqt3/tqsound.cpp | 23 + qtinterface/interface_tqt3/tqsound.h | 45 + qtinterface/interface_tqt3/tqspinbox.cpp | 23 + qtinterface/interface_tqt3/tqspinbox.h | 45 + qtinterface/interface_tqt3/tqsplashscreen.cpp | 23 + qtinterface/interface_tqt3/tqsplashscreen.h | 45 + qtinterface/interface_tqt3/tqsplitter.cpp | 23 + qtinterface/interface_tqt3/tqsplitter.h | 45 + qtinterface/interface_tqt3/tqsql.cpp | 23 + qtinterface/interface_tqt3/tqsql.h | 45 + qtinterface/interface_tqt3/tqsqlcursor.cpp | 23 + qtinterface/interface_tqt3/tqsqlcursor.h | 45 + qtinterface/interface_tqt3/tqsqldatabase.cpp | 23 + qtinterface/interface_tqt3/tqsqldatabase.h | 45 + qtinterface/interface_tqt3/tqsqldriver.cpp | 23 + qtinterface/interface_tqt3/tqsqldriver.h | 45 + qtinterface/interface_tqt3/tqsqldriverplugin.cpp | 23 + qtinterface/interface_tqt3/tqsqldriverplugin.h | 45 + qtinterface/interface_tqt3/tqsqleditorfactory.cpp | 23 + qtinterface/interface_tqt3/tqsqleditorfactory.h | 45 + qtinterface/interface_tqt3/tqsqlerror.cpp | 23 + qtinterface/interface_tqt3/tqsqlerror.h | 45 + qtinterface/interface_tqt3/tqsqlfield.cpp | 23 + qtinterface/interface_tqt3/tqsqlfield.h | 45 + qtinterface/interface_tqt3/tqsqlform.cpp | 23 + qtinterface/interface_tqt3/tqsqlform.h | 45 + qtinterface/interface_tqt3/tqsqlindex.cpp | 23 + qtinterface/interface_tqt3/tqsqlindex.h | 45 + qtinterface/interface_tqt3/tqsqlpropertymap.cpp | 23 + qtinterface/interface_tqt3/tqsqlpropertymap.h | 45 + qtinterface/interface_tqt3/tqsqlquery.cpp | 23 + qtinterface/interface_tqt3/tqsqlquery.h | 45 + qtinterface/interface_tqt3/tqsqlrecord.cpp | 23 + qtinterface/interface_tqt3/tqsqlrecord.h | 45 + qtinterface/interface_tqt3/tqsqlresult.cpp | 23 + qtinterface/interface_tqt3/tqsqlresult.h | 45 + qtinterface/interface_tqt3/tqsqlselectcursor.cpp | 23 + qtinterface/interface_tqt3/tqsqlselectcursor.h | 45 + qtinterface/interface_tqt3/tqstack.h | 43 + qtinterface/interface_tqt3/tqstatusbar.cpp | 23 + qtinterface/interface_tqt3/tqstatusbar.h | 45 + qtinterface/interface_tqt3/tqstring.cpp | 43 + qtinterface/interface_tqt3/tqstring.h | 48 ++ qtinterface/interface_tqt3/tqstringlist.cpp | 178 ++++ qtinterface/interface_tqt3/tqstringlist.h | 168 ++++ qtinterface/interface_tqt3/tqstrlist.cpp | 23 + qtinterface/interface_tqt3/tqstrlist.h | 198 +++++ qtinterface/interface_tqt3/tqstrvec.cpp | 23 + qtinterface/interface_tqt3/tqstrvec.h | 43 + qtinterface/interface_tqt3/tqstyle.cpp | 47 ++ qtinterface/interface_tqt3/tqstyle.h | 59 ++ qtinterface/interface_tqt3/tqstylefactory.cpp | 23 + qtinterface/interface_tqt3/tqstylefactory.h | 45 + qtinterface/interface_tqt3/tqstyleplugin.cpp | 23 + qtinterface/interface_tqt3/tqstyleplugin.h | 45 + qtinterface/interface_tqt3/tqstylesheet.cpp | 23 + qtinterface/interface_tqt3/tqstylesheet.h | 45 + qtinterface/interface_tqt3/tqsyntaxhighlighter.cpp | 23 + qtinterface/interface_tqt3/tqsyntaxhighlighter.h | 45 + qtinterface/interface_tqt3/tqt.cpp | 43 + qtinterface/interface_tqt3/tqt_defs.h | 1 + qtinterface/interface_tqt3/tqt_undefs.h | 1 + qtinterface/interface_tqt3/tqtabbar.cpp | 34 + qtinterface/interface_tqt3/tqtabbar.h | 45 + qtinterface/interface_tqt3/tqtabdialog.cpp | 23 + qtinterface/interface_tqt3/tqtabdialog.h | 45 + qtinterface/interface_tqt3/tqtabdlg.h | 31 + qtinterface/interface_tqt3/tqtable.cpp | 23 + qtinterface/interface_tqt3/tqtable.h | 45 + qtinterface/interface_tqt3/tqtabwidget.cpp | 23 + qtinterface/interface_tqt3/tqtabwidget.h | 45 + qtinterface/interface_tqt3/tqtextbrowser.cpp | 23 + qtinterface/interface_tqt3/tqtextbrowser.h | 45 + qtinterface/interface_tqt3/tqtextcodec.cpp | 515 ++++++++++++ qtinterface/interface_tqt3/tqtextcodec.h | 45 + qtinterface/interface_tqt3/tqtextcodecfactory.cpp | 23 + qtinterface/interface_tqt3/tqtextcodecfactory.h | 43 + qtinterface/interface_tqt3/tqtextcodecplugin.cpp | 23 + qtinterface/interface_tqt3/tqtextcodecplugin.h | 45 + qtinterface/interface_tqt3/tqtextedit.cpp | 23 + qtinterface/interface_tqt3/tqtextedit.h | 45 + qtinterface/interface_tqt3/tqtextstream.cpp | 23 + qtinterface/interface_tqt3/tqtextstream.h | 47 ++ qtinterface/interface_tqt3/tqtextview.cpp | 23 + qtinterface/interface_tqt3/tqtextview.h | 45 + qtinterface/interface_tqt3/tqtglobaldefines.h | 20 + qtinterface/interface_tqt3/tqthread.cpp | 23 + qtinterface/interface_tqt3/tqthread.h | 45 + qtinterface/interface_tqt3/tqthreadstorage.cpp | 23 + qtinterface/interface_tqt3/tqthreadstorage.h | 45 + qtinterface/interface_tqt3/tqtimer.cpp | 32 + qtinterface/interface_tqt3/tqtimer.h | 45 + qtinterface/interface_tqt3/tqtl.cpp | 23 + qtinterface/interface_tqt3/tqtl.h | 362 ++++++++ qtinterface/interface_tqt3/tqtoolbar.cpp | 23 + qtinterface/interface_tqt3/tqtoolbar.h | 46 + qtinterface/interface_tqt3/tqtoolbox.cpp | 23 + qtinterface/interface_tqt3/tqtoolbox.h | 45 + qtinterface/interface_tqt3/tqtoolbutton.cpp | 23 + qtinterface/interface_tqt3/tqtoolbutton.h | 45 + qtinterface/interface_tqt3/tqtooltip.cpp | 39 + qtinterface/interface_tqt3/tqtooltip.h | 45 + qtinterface/interface_tqt3/tqtranslator.cpp | 404 +++++++++ qtinterface/interface_tqt3/tqtranslator.h | 96 +++ qtinterface/interface_tqt3/tqtsciicodec.cpp | 23 + qtinterface/interface_tqt3/tqtsciicodec.h | 43 + qtinterface/interface_tqt3/tqtstream.h | 31 + qtinterface/interface_tqt3/tqurl.cpp | 23 + qtinterface/interface_tqt3/tqurl.h | 45 + qtinterface/interface_tqt3/tqurlinfo.cpp | 23 + qtinterface/interface_tqt3/tqurlinfo.h | 45 + qtinterface/interface_tqt3/tqurloperator.cpp | 23 + qtinterface/interface_tqt3/tqurloperator.h | 45 + qtinterface/interface_tqt3/tqutfcodec.cpp | 23 + qtinterface/interface_tqt3/tqutfcodec.h | 43 + qtinterface/interface_tqt3/tquuid.cpp | 23 + qtinterface/interface_tqt3/tquuid.h | 45 + qtinterface/interface_tqt3/tqvalidator.cpp | 23 + qtinterface/interface_tqt3/tqvalidator.h | 45 + qtinterface/interface_tqt3/tqvaluelist.cpp | 23 + qtinterface/interface_tqt3/tqvaluelist.h | 720 ++++++++++++++++ qtinterface/interface_tqt3/tqvaluestack.cpp | 23 + qtinterface/interface_tqt3/tqvaluestack.h | 45 + qtinterface/interface_tqt3/tqvaluevector.cpp | 23 + qtinterface/interface_tqt3/tqvaluevector.h | 45 + qtinterface/interface_tqt3/tqvariant.cpp | 129 +++ qtinterface/interface_tqt3/tqvariant.h | 46 + qtinterface/interface_tqt3/tqvbox.cpp | 23 + qtinterface/interface_tqt3/tqvbox.h | 45 + qtinterface/interface_tqt3/tqvbuttongroup.cpp | 23 + qtinterface/interface_tqt3/tqvbuttongroup.h | 45 + qtinterface/interface_tqt3/tqvector.h | 31 + qtinterface/interface_tqt3/tqvfbhdr.cpp | 23 + qtinterface/interface_tqt3/tqvfbhdr.h | 45 + qtinterface/interface_tqt3/tqvgroupbox.cpp | 23 + qtinterface/interface_tqt3/tqvgroupbox.h | 45 + qtinterface/interface_tqt3/tqwaitcondition.cpp | 23 + qtinterface/interface_tqt3/tqwaitcondition.h | 45 + qtinterface/interface_tqt3/tqwhatsthis.cpp | 35 + qtinterface/interface_tqt3/tqwhatsthis.h | 45 + qtinterface/interface_tqt3/tqwidcoll.h | 32 + qtinterface/interface_tqt3/tqwidget.cpp | 35 + qtinterface/interface_tqt3/tqwidget.h | 45 + qtinterface/interface_tqt3/tqwidgetfactory.cpp | 23 + qtinterface/interface_tqt3/tqwidgetfactory.h | 45 + qtinterface/interface_tqt3/tqwidgetintdict.cpp | 23 + qtinterface/interface_tqt3/tqwidgetintdict.h | 43 + qtinterface/interface_tqt3/tqwidgetlist.cpp | 23 + qtinterface/interface_tqt3/tqwidgetlist.h | 91 ++ qtinterface/interface_tqt3/tqwidgetplugin.cpp | 23 + qtinterface/interface_tqt3/tqwidgetplugin.h | 43 + qtinterface/interface_tqt3/tqwidgetstack.cpp | 23 + qtinterface/interface_tqt3/tqwidgetstack.h | 45 + qtinterface/interface_tqt3/tqwindefs.h | 31 + qtinterface/interface_tqt3/tqwindowdefs.h | 43 + qtinterface/interface_tqt3/tqwindowsstyle.cpp | 23 + qtinterface/interface_tqt3/tqwindowsstyle.h | 45 + qtinterface/interface_tqt3/tqwinexport.h | 43 + qtinterface/interface_tqt3/tqwizard.cpp | 23 + qtinterface/interface_tqt3/tqwizard.h | 45 + qtinterface/interface_tqt3/tqwmatrix.cpp | 23 + qtinterface/interface_tqt3/tqwmatrix.h | 45 + qtinterface/interface_tqt3/tqworkspace.cpp | 23 + qtinterface/interface_tqt3/tqworkspace.h | 45 + qtinterface/interface_tqt3/tqxml.cpp | 23 + qtinterface/interface_tqt3/tqxml.h | 45 + qtinterface/private/tqcom_p.h | 35 - qtinterface/private/tqeffects_p.h | 40 - qtinterface/private/tqinternal_p.h | 40 - qtinterface/private/tqlayoutengine_p.h | 36 - qtinterface/private/tqpluginmanager_p.h | 35 - qtinterface/private/tqrichtext_p.h | 40 - qtinterface/private/tqtextengine_p.h | 40 - qtinterface/private/tqucom_p.h | 35 - qtinterface/private/tqucomextra_p.cpp | 27 - qtinterface/private/tqucomextra_p.h | 48 -- qtinterface/private/tqwidgetinterface_p.h | 35 - qtinterface/tq1xcompatibility.cpp | 23 - qtinterface/tq1xcompatibility.h | 39 - qtinterface/tqabstractlayout.cpp | 23 - qtinterface/tqabstractlayout.h | 39 - qtinterface/tqaccel.cpp | 23 - qtinterface/tqaccel.h | 45 - qtinterface/tqaccessible.cpp | 23 - qtinterface/tqaccessible.h | 45 - qtinterface/tqaction.cpp | 23 - qtinterface/tqaction.h | 46 - qtinterface/tqapp.h | 31 - qtinterface/tqapplication.cpp | 70 -- qtinterface/tqapplication.h | 52 -- qtinterface/tqarray.h | 31 - qtinterface/tqasciicache.cpp | 23 - qtinterface/tqasciicache.h | 45 - qtinterface/tqasciidict.cpp | 23 - qtinterface/tqasciidict.h | 45 - qtinterface/tqassistantclient.cpp | 26 - qtinterface/tqassistantclient.h | 33 - qtinterface/tqasyncimageio.cpp | 23 - qtinterface/tqasyncimageio.h | 43 - qtinterface/tqasyncio.cpp | 23 - qtinterface/tqasyncio.h | 44 - qtinterface/tqbig5codec.cpp | 23 - qtinterface/tqbig5codec.h | 43 - qtinterface/tqbitarray.cpp | 23 - qtinterface/tqbitarray.h | 45 - qtinterface/tqbitarry.h | 31 - qtinterface/tqbitmap.cpp | 23 - qtinterface/tqbitmap.h | 45 - qtinterface/tqbrush.cpp | 23 - qtinterface/tqbrush.h | 45 - qtinterface/tqbttngrp.h | 31 - qtinterface/tqbuffer.cpp | 23 - qtinterface/tqbuffer.h | 45 - qtinterface/tqbutton.cpp | 23 - qtinterface/tqbutton.h | 45 - qtinterface/tqbuttongroup.cpp | 23 - qtinterface/tqbuttongroup.h | 45 - qtinterface/tqcache.cpp | 23 - qtinterface/tqcache.h | 45 - qtinterface/tqcanvas.cpp | 23 - qtinterface/tqcanvas.h | 45 - qtinterface/tqcdestyle.cpp | 23 - qtinterface/tqcdestyle.h | 45 - qtinterface/tqcheckbox.cpp | 23 - qtinterface/tqcheckbox.h | 45 - qtinterface/tqchkbox.h | 31 - qtinterface/tqcleanuphandler.cpp | 23 - qtinterface/tqcleanuphandler.h | 131 --- qtinterface/tqclipboard.cpp | 23 - qtinterface/tqclipboard.h | 45 - qtinterface/tqclipbrd.h | 31 - qtinterface/tqcollect.h | 31 - qtinterface/tqcollection.h | 31 - qtinterface/tqcolor.cpp | 23 - qtinterface/tqcolor.h | 45 - qtinterface/tqcolordialog.cpp | 23 - qtinterface/tqcolordialog.h | 45 - qtinterface/tqcombo.h | 31 - qtinterface/tqcombobox.cpp | 23 - qtinterface/tqcombobox.h | 45 - qtinterface/tqcommonstyle.cpp | 95 --- qtinterface/tqcommonstyle.h | 47 -- qtinterface/tqcompactstyle.cpp | 23 - qtinterface/tqcompactstyle.h | 43 - qtinterface/tqconfig.h | 43 - qtinterface/tqconnect.h | 31 - qtinterface/tqconnection.cpp | 23 - qtinterface/tqconnection.h | 43 - qtinterface/tqcstring.cpp | 55 -- qtinterface/tqcstring.h | 53 -- qtinterface/tqcursor.cpp | 23 - qtinterface/tqcursor.h | 45 - qtinterface/tqdatabrowser.cpp | 23 - qtinterface/tqdatabrowser.h | 45 - qtinterface/tqdatastream.cpp | 43 - qtinterface/tqdatastream.h | 46 - qtinterface/tqdatatable.cpp | 23 - qtinterface/tqdatatable.h | 45 - qtinterface/tqdataview.cpp | 23 - qtinterface/tqdataview.h | 45 - qtinterface/tqdatetime.cpp | 23 - qtinterface/tqdatetime.h | 45 - qtinterface/tqdatetimeedit.cpp | 23 - qtinterface/tqdatetimeedit.h | 45 - qtinterface/tqdatetm.h | 31 - qtinterface/tqdeepcopy.cpp | 23 - qtinterface/tqdeepcopy.h | 45 - qtinterface/tqdesktopwidget.cpp | 23 - qtinterface/tqdesktopwidget.h | 45 - qtinterface/tqdial.cpp | 23 - qtinterface/tqdial.h | 45 - qtinterface/tqdialog.cpp | 23 - qtinterface/tqdialog.h | 45 - qtinterface/tqdict.cpp | 23 - qtinterface/tqdict.h | 45 - qtinterface/tqdir.cpp | 40 - qtinterface/tqdir.h | 45 - qtinterface/tqdns.cpp | 23 - qtinterface/tqdns.h | 45 - qtinterface/tqdockarea.cpp | 23 - qtinterface/tqdockarea.h | 45 - qtinterface/tqdockwindow.cpp | 23 - qtinterface/tqdockwindow.h | 45 - qtinterface/tqdom.cpp | 23 - qtinterface/tqdom.h | 45 - qtinterface/tqdragobject.cpp | 23 - qtinterface/tqdragobject.h | 45 - qtinterface/tqdrawutil.cpp | 23 - qtinterface/tqdrawutil.h | 45 - qtinterface/tqdrawutl.h | 31 - qtinterface/tqdropsite.cpp | 23 - qtinterface/tqdropsite.h | 45 - qtinterface/tqdstream.h | 31 - qtinterface/tqeditorfactory.cpp | 23 - qtinterface/tqeditorfactory.h | 45 - qtinterface/tqerrormessage.cpp | 23 - qtinterface/tqerrormessage.h | 45 - qtinterface/tqeucjpcodec.cpp | 23 - qtinterface/tqeucjpcodec.h | 43 - qtinterface/tqeuckrcodec.cpp | 23 - qtinterface/tqeuckrcodec.h | 42 - qtinterface/tqevent.cpp | 23 - qtinterface/tqevent.h | 45 - qtinterface/tqeventloop.cpp | 36 - qtinterface/tqeventloop.h | 63 -- qtinterface/tqfeatures.h | 43 - qtinterface/tqfile.cpp | 23 - qtinterface/tqfile.h | 45 - qtinterface/tqfiledef.h | 41 - qtinterface/tqfiledialog.cpp | 23 - qtinterface/tqfiledialog.h | 45 - qtinterface/tqfiledlg.h | 31 - qtinterface/tqfileinf.h | 31 - qtinterface/tqfileinfo.cpp | 31 - qtinterface/tqfileinfo.h | 45 - qtinterface/tqfocusdata.cpp | 23 - qtinterface/tqfocusdata.h | 43 - qtinterface/tqfont.cpp | 23 - qtinterface/tqfont.h | 45 - qtinterface/tqfontdatabase.cpp | 23 - qtinterface/tqfontdatabase.h | 45 - qtinterface/tqfontdialog.cpp | 23 - qtinterface/tqfontdialog.h | 45 - qtinterface/tqfontinf.h | 31 - qtinterface/tqfontinfo.cpp | 23 - qtinterface/tqfontinfo.h | 45 - qtinterface/tqfontmet.h | 31 - qtinterface/tqfontmetrics.cpp | 23 - qtinterface/tqfontmetrics.h | 45 - qtinterface/tqframe.cpp | 23 - qtinterface/tqframe.h | 45 - qtinterface/tqftp.cpp | 23 - qtinterface/tqftp.h | 45 - qtinterface/tqgarray.cpp | 23 - qtinterface/tqgarray.h | 45 - qtinterface/tqgb18030codec.cpp | 23 - qtinterface/tqgb18030codec.h | 43 - qtinterface/tqgbkcodec.h | 31 - qtinterface/tqgcache.cpp | 23 - qtinterface/tqgcache.h | 43 - qtinterface/tqgdict.cpp | 23 - qtinterface/tqgdict.h | 43 - qtinterface/tqgeneric.h | 37 - qtinterface/tqgif.h | 43 - qtinterface/tqgl.cpp | 23 - qtinterface/tqgl.h | 45 - qtinterface/tqglcolormap.cpp | 23 - qtinterface/tqglcolormap.h | 45 - qtinterface/tqglist.cpp | 23 - qtinterface/tqglist.h | 45 - qtinterface/tqglobal.h | 43 - qtinterface/tqgplugin.cpp | 23 - qtinterface/tqgplugin.h | 43 - qtinterface/tqgrid.cpp | 23 - qtinterface/tqgrid.h | 45 - qtinterface/tqgridview.cpp | 23 - qtinterface/tqgridview.h | 45 - qtinterface/tqgroupbox.cpp | 23 - qtinterface/tqgroupbox.h | 45 - qtinterface/tqgrpbox.h | 31 - qtinterface/tqguardedptr.cpp | 23 - qtinterface/tqguardedptr.h | 45 - qtinterface/tqgvector.cpp | 23 - qtinterface/tqgvector.h | 43 - qtinterface/tqhbox.cpp | 23 - qtinterface/tqhbox.h | 45 - qtinterface/tqhbuttongroup.cpp | 23 - qtinterface/tqhbuttongroup.h | 45 - qtinterface/tqheader.cpp | 23 - qtinterface/tqheader.h | 45 - qtinterface/tqhgroupbox.cpp | 23 - qtinterface/tqhgroupbox.h | 45 - qtinterface/tqhostaddress.cpp | 23 - qtinterface/tqhostaddress.h | 45 - qtinterface/tqhttp.cpp | 23 - qtinterface/tqhttp.h | 45 - qtinterface/tqiconset.cpp | 136 --- qtinterface/tqiconset.h | 70 -- qtinterface/tqiconview.cpp | 23 - qtinterface/tqiconview.h | 45 - qtinterface/tqimage.cpp | 69 -- qtinterface/tqimage.h | 67 -- qtinterface/tqimageformatplugin.cpp | 23 - qtinterface/tqimageformatplugin.h | 43 - qtinterface/tqinputcontext.cpp | 23 - qtinterface/tqinputcontext.h | 45 - qtinterface/tqinputcontextfactory.cpp | 23 - qtinterface/tqinputcontextfactory.h | 45 - qtinterface/tqinputdialog.cpp | 23 - qtinterface/tqinputdialog.h | 45 - qtinterface/tqintcach.h | 31 - qtinterface/tqintcache.cpp | 23 - qtinterface/tqintcache.h | 45 - qtinterface/tqintdict.cpp | 23 - qtinterface/tqintdict.h | 45 - qtinterface/tqinterlacestyle.cpp | 23 - qtinterface/tqinterlacestyle.h | 49 -- qtinterface/tqiodev.h | 31 - qtinterface/tqiodevice.cpp | 70 -- qtinterface/tqiodevice.h | 60 -- qtinterface/tqjiscodec.cpp | 23 - qtinterface/tqjiscodec.h | 45 - qtinterface/tqjpegio.h | 42 - qtinterface/tqjpunicode.cpp | 23 - qtinterface/tqjpunicode.h | 43 - qtinterface/tqkeycode.h | 31 - qtinterface/tqkeysequence.cpp | 23 - qtinterface/tqkeysequence.h | 45 - qtinterface/tqlabel.cpp | 23 - qtinterface/tqlabel.h | 45 - qtinterface/tqlayout.cpp | 23 - qtinterface/tqlayout.h | 45 - qtinterface/tqlcdnum.h | 31 - qtinterface/tqlcdnumber.cpp | 23 - qtinterface/tqlcdnumber.h | 45 - qtinterface/tqlibrary.cpp | 23 - qtinterface/tqlibrary.h | 45 - qtinterface/tqlined.h | 31 - qtinterface/tqlineedit.cpp | 23 - qtinterface/tqlineedit.h | 45 - qtinterface/tqlist.h | 31 - qtinterface/tqlistbox.cpp | 23 - qtinterface/tqlistbox.h | 45 - qtinterface/tqlistiterator.cpp | 48 -- qtinterface/tqlistiterator.h | 86 -- qtinterface/tqlistview.cpp | 23 - qtinterface/tqlistview.h | 45 - qtinterface/tqlocale.cpp | 23 - qtinterface/tqlocale.h | 45 - qtinterface/tqlocalfs.cpp | 23 - qtinterface/tqlocalfs.h | 45 - qtinterface/tqmainwindow.cpp | 23 - qtinterface/tqmainwindow.h | 45 - qtinterface/tqmap.cpp | 243 ------ qtinterface/tqmap.h | 935 --------------------- qtinterface/tqmemarray.cpp | 23 - qtinterface/tqmemarray.h | 45 - qtinterface/tqmenubar.cpp | 23 - qtinterface/tqmenubar.h | 45 - qtinterface/tqmenudata.cpp | 82 -- qtinterface/tqmenudata.h | 45 - qtinterface/tqmenudta.h | 31 - qtinterface/tqmessagebox.cpp | 23 - qtinterface/tqmessagebox.h | 45 - qtinterface/tqmetaobj.h | 31 - qtinterface/tqmetaobject.cpp | 303 ------- qtinterface/tqmetaobject.h | 48 -- qtinterface/tqmime.cpp | 23 - qtinterface/tqmime.h | 45 - qtinterface/tqmlined.h | 31 - qtinterface/tqmngio.h | 43 - qtinterface/tqmodules.h | 43 - qtinterface/tqmotifplusstyle.cpp | 23 - qtinterface/tqmotifplusstyle.h | 43 - qtinterface/tqmotifstyle.cpp | 23 - qtinterface/tqmotifstyle.h | 45 - qtinterface/tqmovie.cpp | 57 -- qtinterface/tqmovie.h | 60 -- qtinterface/tqmsgbox.h | 31 - qtinterface/tqmultilinedit.h | 31 - qtinterface/tqmultilineedit.cpp | 23 - qtinterface/tqmultilineedit.h | 45 - qtinterface/tqmutex.cpp | 23 - qtinterface/tqmutex.h | 45 - qtinterface/tqnamespace.cpp | 23 - qtinterface/tqnamespace.h | 45 - qtinterface/tqnetwork.h | 43 - qtinterface/tqnetworkprotocol.cpp | 23 - qtinterface/tqnetworkprotocol.h | 45 - qtinterface/tqnp.cpp | 23 - qtinterface/tqnp.h | 43 - qtinterface/tqobjcoll.h | 32 - qtinterface/tqobjdefs.h | 31 - qtinterface/tqobject.cpp | 54 -- qtinterface/tqobject.h | 45 - qtinterface/tqobjectcleanuphandler.cpp | 23 - qtinterface/tqobjectcleanuphandler.h | 45 - qtinterface/tqobjectdict.cpp | 23 - qtinterface/tqobjectdict.h | 43 - qtinterface/tqobjectlist.cpp | 23 - qtinterface/tqobjectlist.h | 45 - qtinterface/tqpaintd.h | 31 - qtinterface/tqpaintdc.h | 31 - qtinterface/tqpaintdevice.cpp | 123 --- qtinterface/tqpaintdevice.h | 45 - qtinterface/tqpaintdevicemetrics.cpp | 23 - qtinterface/tqpaintdevicemetrics.h | 45 - qtinterface/tqpainter.cpp | 44 - qtinterface/tqpainter.h | 45 - qtinterface/tqpair.cpp | 23 - qtinterface/tqpair.h | 143 ---- qtinterface/tqpalette.cpp | 23 - qtinterface/tqpalette.h | 45 - qtinterface/tqpdevmet.h | 31 - qtinterface/tqpen.cpp | 23 - qtinterface/tqpen.h | 45 - qtinterface/tqpicture.cpp | 23 - qtinterface/tqpicture.h | 45 - qtinterface/tqpixmap.cpp | 66 -- qtinterface/tqpixmap.h | 45 - qtinterface/tqpixmapcache.cpp | 23 - qtinterface/tqpixmapcache.h | 45 - qtinterface/tqplatinumstyle.cpp | 23 - qtinterface/tqplatinumstyle.h | 43 - qtinterface/tqpmcache.h | 31 - qtinterface/tqpngio.cpp | 23 - qtinterface/tqpngio.h | 43 - qtinterface/tqpntarry.h | 31 - qtinterface/tqpoint.cpp | 23 - qtinterface/tqpoint.h | 45 - qtinterface/tqpointarray.cpp | 40 - qtinterface/tqpointarray.h | 45 - qtinterface/tqpolygonscanner.cpp | 23 - qtinterface/tqpolygonscanner.h | 43 - qtinterface/tqpopmenu.h | 31 - qtinterface/tqpopupmenu.cpp | 43 - qtinterface/tqpopupmenu.h | 46 - qtinterface/tqprintdialog.cpp | 23 - qtinterface/tqprintdialog.h | 45 - qtinterface/tqprinter.cpp | 23 - qtinterface/tqprinter.h | 45 - qtinterface/tqprndlg.h | 31 - qtinterface/tqprocess.cpp | 23 - qtinterface/tqprocess.h | 45 - qtinterface/tqprogbar.h | 31 - qtinterface/tqprogdlg.h | 31 - qtinterface/tqprogressbar.cpp | 23 - qtinterface/tqprogressbar.h | 45 - qtinterface/tqprogressdialog.cpp | 23 - qtinterface/tqprogressdialog.h | 45 - qtinterface/tqptrcollection.cpp | 23 - qtinterface/tqptrcollection.h | 45 - qtinterface/tqptrdict.cpp | 23 - qtinterface/tqptrdict.h | 45 - qtinterface/tqptrlist.cpp | 27 - qtinterface/tqptrlist.h | 257 ------ qtinterface/tqptrqueue.cpp | 23 - qtinterface/tqptrqueue.h | 45 - qtinterface/tqptrstack.cpp | 23 - qtinterface/tqptrstack.h | 45 - qtinterface/tqptrvector.cpp | 23 - qtinterface/tqptrvector.h | 45 - qtinterface/tqpushbt.h | 31 - qtinterface/tqpushbutton.cpp | 23 - qtinterface/tqpushbutton.h | 45 - qtinterface/tqqueue.h | 31 - qtinterface/tqradiobt.h | 31 - qtinterface/tqradiobutton.cpp | 23 - qtinterface/tqradiobutton.h | 45 - qtinterface/tqrangecontrol.cpp | 23 - qtinterface/tqrangecontrol.h | 45 - qtinterface/tqrangect.h | 31 - qtinterface/tqrect.cpp | 23 - qtinterface/tqrect.h | 45 - qtinterface/tqregexp.cpp | 23 - qtinterface/tqregexp.h | 45 - qtinterface/tqregion.cpp | 23 - qtinterface/tqregion.h | 45 - qtinterface/tqrtlcodec.cpp | 23 - qtinterface/tqrtlcodec.h | 43 - qtinterface/tqscrbar.h | 31 - qtinterface/tqscrollbar.cpp | 31 - qtinterface/tqscrollbar.h | 45 - qtinterface/tqscrollview.cpp | 23 - qtinterface/tqscrollview.h | 45 - qtinterface/tqsemaphore.cpp | 23 - qtinterface/tqsemaphore.h | 45 - qtinterface/tqsemimodal.cpp | 23 - qtinterface/tqsemimodal.h | 43 - qtinterface/tqserversocket.cpp | 23 - qtinterface/tqserversocket.h | 45 - qtinterface/tqsession.h | 43 - qtinterface/tqsessionmanager.cpp | 23 - qtinterface/tqsessionmanager.h | 45 - qtinterface/tqsettings.cpp | 23 - qtinterface/tqsettings.h | 45 - qtinterface/tqsgistyle.cpp | 23 - qtinterface/tqsgistyle.h | 43 - qtinterface/tqshared.cpp | 23 - qtinterface/tqshared.h | 45 - qtinterface/tqsignal.cpp | 23 - qtinterface/tqsignal.h | 45 - qtinterface/tqsignalmapper.cpp | 23 - qtinterface/tqsignalmapper.h | 45 - qtinterface/tqsignalslotimp.cpp | 23 - qtinterface/tqsignalslotimp.h | 43 - qtinterface/tqsimplerichtext.cpp | 23 - qtinterface/tqsimplerichtext.h | 45 - qtinterface/tqsize.cpp | 23 - qtinterface/tqsize.h | 45 - qtinterface/tqsizegrip.cpp | 23 - qtinterface/tqsizegrip.h | 45 - qtinterface/tqsizepolicy.cpp | 23 - qtinterface/tqsizepolicy.h | 45 - qtinterface/tqsjiscodec.cpp | 23 - qtinterface/tqsjiscodec.h | 43 - qtinterface/tqslider.cpp | 29 - qtinterface/tqslider.h | 45 - qtinterface/tqsocket.cpp | 23 - qtinterface/tqsocket.h | 45 - qtinterface/tqsocketdevice.cpp | 23 - qtinterface/tqsocketdevice.h | 45 - qtinterface/tqsocketnotifier.cpp | 23 - qtinterface/tqsocketnotifier.h | 45 - qtinterface/tqsocknot.h | 31 - qtinterface/tqsortedlist.cpp | 23 - qtinterface/tqsortedlist.h | 45 - qtinterface/tqsound.cpp | 23 - qtinterface/tqsound.h | 45 - qtinterface/tqspinbox.cpp | 23 - qtinterface/tqspinbox.h | 45 - qtinterface/tqsplashscreen.cpp | 23 - qtinterface/tqsplashscreen.h | 45 - qtinterface/tqsplitter.cpp | 23 - qtinterface/tqsplitter.h | 45 - qtinterface/tqsql.cpp | 23 - qtinterface/tqsql.h | 45 - qtinterface/tqsqlcursor.cpp | 23 - qtinterface/tqsqlcursor.h | 45 - qtinterface/tqsqldatabase.cpp | 23 - qtinterface/tqsqldatabase.h | 45 - qtinterface/tqsqldriver.cpp | 23 - qtinterface/tqsqldriver.h | 45 - qtinterface/tqsqldriverplugin.cpp | 23 - qtinterface/tqsqldriverplugin.h | 45 - qtinterface/tqsqleditorfactory.cpp | 23 - qtinterface/tqsqleditorfactory.h | 45 - qtinterface/tqsqlerror.cpp | 23 - qtinterface/tqsqlerror.h | 45 - qtinterface/tqsqlfield.cpp | 23 - qtinterface/tqsqlfield.h | 45 - qtinterface/tqsqlform.cpp | 23 - qtinterface/tqsqlform.h | 45 - qtinterface/tqsqlindex.cpp | 23 - qtinterface/tqsqlindex.h | 45 - qtinterface/tqsqlpropertymap.cpp | 23 - qtinterface/tqsqlpropertymap.h | 45 - qtinterface/tqsqlquery.cpp | 23 - qtinterface/tqsqlquery.h | 45 - qtinterface/tqsqlrecord.cpp | 23 - qtinterface/tqsqlrecord.h | 45 - qtinterface/tqsqlresult.cpp | 23 - qtinterface/tqsqlresult.h | 45 - qtinterface/tqsqlselectcursor.cpp | 23 - qtinterface/tqsqlselectcursor.h | 45 - qtinterface/tqstack.h | 43 - qtinterface/tqstatusbar.cpp | 23 - qtinterface/tqstatusbar.h | 45 - qtinterface/tqstring.cpp | 43 - qtinterface/tqstring.h | 48 -- qtinterface/tqstringlist.cpp | 178 ---- qtinterface/tqstringlist.h | 168 ---- qtinterface/tqstrlist.cpp | 23 - qtinterface/tqstrlist.h | 198 ----- qtinterface/tqstrvec.cpp | 23 - qtinterface/tqstrvec.h | 43 - qtinterface/tqstyle.cpp | 47 -- qtinterface/tqstyle.h | 59 -- qtinterface/tqstylefactory.cpp | 23 - qtinterface/tqstylefactory.h | 45 - qtinterface/tqstyleplugin.cpp | 23 - qtinterface/tqstyleplugin.h | 45 - qtinterface/tqstylesheet.cpp | 23 - qtinterface/tqstylesheet.h | 45 - qtinterface/tqsyntaxhighlighter.cpp | 23 - qtinterface/tqsyntaxhighlighter.h | 45 - qtinterface/tqt.cpp | 43 - qtinterface/tqt_defs.h | 1 - qtinterface/tqt_undefs.h | 1 - qtinterface/tqtabbar.cpp | 34 - qtinterface/tqtabbar.h | 45 - qtinterface/tqtabdialog.cpp | 23 - qtinterface/tqtabdialog.h | 45 - qtinterface/tqtabdlg.h | 31 - qtinterface/tqtable.cpp | 23 - qtinterface/tqtable.h | 45 - qtinterface/tqtabwidget.cpp | 23 - qtinterface/tqtabwidget.h | 45 - qtinterface/tqtextbrowser.cpp | 23 - qtinterface/tqtextbrowser.h | 45 - qtinterface/tqtextcodec.cpp | 515 ------------ qtinterface/tqtextcodec.h | 45 - qtinterface/tqtextcodecfactory.cpp | 23 - qtinterface/tqtextcodecfactory.h | 43 - qtinterface/tqtextcodecplugin.cpp | 23 - qtinterface/tqtextcodecplugin.h | 45 - qtinterface/tqtextedit.cpp | 23 - qtinterface/tqtextedit.h | 45 - qtinterface/tqtextstream.cpp | 23 - qtinterface/tqtextstream.h | 47 -- qtinterface/tqtextview.cpp | 23 - qtinterface/tqtextview.h | 45 - qtinterface/tqtglobaldefines.h | 20 - qtinterface/tqthread.cpp | 23 - qtinterface/tqthread.h | 45 - qtinterface/tqthreadstorage.cpp | 23 - qtinterface/tqthreadstorage.h | 45 - qtinterface/tqtimer.cpp | 32 - qtinterface/tqtimer.h | 45 - qtinterface/tqtl.cpp | 23 - qtinterface/tqtl.h | 362 -------- qtinterface/tqtoolbar.cpp | 23 - qtinterface/tqtoolbar.h | 46 - qtinterface/tqtoolbox.cpp | 23 - qtinterface/tqtoolbox.h | 45 - qtinterface/tqtoolbutton.cpp | 23 - qtinterface/tqtoolbutton.h | 45 - qtinterface/tqtooltip.cpp | 39 - qtinterface/tqtooltip.h | 45 - qtinterface/tqtranslator.cpp | 404 --------- qtinterface/tqtranslator.h | 96 --- qtinterface/tqtsciicodec.cpp | 23 - qtinterface/tqtsciicodec.h | 43 - qtinterface/tqtstream.h | 31 - qtinterface/tqurl.cpp | 23 - qtinterface/tqurl.h | 45 - qtinterface/tqurlinfo.cpp | 23 - qtinterface/tqurlinfo.h | 45 - qtinterface/tqurloperator.cpp | 23 - qtinterface/tqurloperator.h | 45 - qtinterface/tqutfcodec.cpp | 23 - qtinterface/tqutfcodec.h | 43 - qtinterface/tquuid.cpp | 23 - qtinterface/tquuid.h | 45 - qtinterface/tqvalidator.cpp | 23 - qtinterface/tqvalidator.h | 45 - qtinterface/tqvaluelist.cpp | 23 - qtinterface/tqvaluelist.h | 720 ---------------- qtinterface/tqvaluestack.cpp | 23 - qtinterface/tqvaluestack.h | 45 - qtinterface/tqvaluevector.cpp | 23 - qtinterface/tqvaluevector.h | 45 - qtinterface/tqvariant.cpp | 129 --- qtinterface/tqvariant.h | 46 - qtinterface/tqvbox.cpp | 23 - qtinterface/tqvbox.h | 45 - qtinterface/tqvbuttongroup.cpp | 23 - qtinterface/tqvbuttongroup.h | 45 - qtinterface/tqvector.h | 31 - qtinterface/tqvfbhdr.cpp | 23 - qtinterface/tqvfbhdr.h | 45 - qtinterface/tqvgroupbox.cpp | 23 - qtinterface/tqvgroupbox.h | 45 - qtinterface/tqwaitcondition.cpp | 23 - qtinterface/tqwaitcondition.h | 45 - qtinterface/tqwhatsthis.cpp | 35 - qtinterface/tqwhatsthis.h | 45 - qtinterface/tqwidcoll.h | 32 - qtinterface/tqwidget.cpp | 35 - qtinterface/tqwidget.h | 45 - qtinterface/tqwidgetfactory.cpp | 23 - qtinterface/tqwidgetfactory.h | 45 - qtinterface/tqwidgetintdict.cpp | 23 - qtinterface/tqwidgetintdict.h | 43 - qtinterface/tqwidgetlist.cpp | 23 - qtinterface/tqwidgetlist.h | 91 -- qtinterface/tqwidgetplugin.cpp | 23 - qtinterface/tqwidgetplugin.h | 43 - qtinterface/tqwidgetstack.cpp | 23 - qtinterface/tqwidgetstack.h | 45 - qtinterface/tqwindefs.h | 31 - qtinterface/tqwindowdefs.h | 43 - qtinterface/tqwindowsstyle.cpp | 23 - qtinterface/tqwindowsstyle.h | 45 - qtinterface/tqwinexport.h | 43 - qtinterface/tqwizard.cpp | 23 - qtinterface/tqwizard.h | 45 - qtinterface/tqwmatrix.cpp | 23 - qtinterface/tqwmatrix.h | 45 - qtinterface/tqworkspace.cpp | 23 - qtinterface/tqworkspace.h | 45 - qtinterface/tqxml.cpp | 23 - qtinterface/tqxml.h | 45 - 1822 files changed, 51804 insertions(+), 25960 deletions(-) create mode 100644 qtinterface/interface_qt3/private/tqcom_p.h create mode 100644 qtinterface/interface_qt3/private/tqeffects_p.h create mode 100644 qtinterface/interface_qt3/private/tqinternal_p.h create mode 100644 qtinterface/interface_qt3/private/tqlayoutengine_p.h create mode 100644 qtinterface/interface_qt3/private/tqpluginmanager_p.h create mode 100644 qtinterface/interface_qt3/private/tqrichtext_p.h create mode 100644 qtinterface/interface_qt3/private/tqtextengine_p.h create mode 100644 qtinterface/interface_qt3/private/tqucom_p.h create mode 100644 qtinterface/interface_qt3/private/tqucomextra_p.cpp create mode 100644 qtinterface/interface_qt3/private/tqucomextra_p.h create mode 100644 qtinterface/interface_qt3/private/tqwidgetinterface_p.h create mode 100644 qtinterface/interface_qt3/tq1xcompatibility.cpp create mode 100644 qtinterface/interface_qt3/tq1xcompatibility.h create mode 100644 qtinterface/interface_qt3/tqabstractlayout.cpp create mode 100644 qtinterface/interface_qt3/tqabstractlayout.h create mode 100644 qtinterface/interface_qt3/tqaccel.cpp create mode 100644 qtinterface/interface_qt3/tqaccel.h create mode 100644 qtinterface/interface_qt3/tqaccessible.cpp create mode 100644 qtinterface/interface_qt3/tqaccessible.h create mode 100644 qtinterface/interface_qt3/tqaction.cpp create mode 100644 qtinterface/interface_qt3/tqaction.h create mode 100644 qtinterface/interface_qt3/tqapp.h create mode 100644 qtinterface/interface_qt3/tqapplication.cpp create mode 100644 qtinterface/interface_qt3/tqapplication.h create mode 100644 qtinterface/interface_qt3/tqarray.h create mode 100644 qtinterface/interface_qt3/tqasciicache.cpp create mode 100644 qtinterface/interface_qt3/tqasciicache.h create mode 100644 qtinterface/interface_qt3/tqasciidict.cpp create mode 100644 qtinterface/interface_qt3/tqasciidict.h create mode 100644 qtinterface/interface_qt3/tqassistantclient.cpp create mode 100644 qtinterface/interface_qt3/tqassistantclient.h create mode 100644 qtinterface/interface_qt3/tqasyncimageio.cpp create mode 100644 qtinterface/interface_qt3/tqasyncimageio.h create mode 100644 qtinterface/interface_qt3/tqasyncio.cpp create mode 100644 qtinterface/interface_qt3/tqasyncio.h create mode 100644 qtinterface/interface_qt3/tqbig5codec.cpp create mode 100644 qtinterface/interface_qt3/tqbig5codec.h create mode 100644 qtinterface/interface_qt3/tqbitarray.cpp create mode 100644 qtinterface/interface_qt3/tqbitarray.h create mode 100644 qtinterface/interface_qt3/tqbitarry.h create mode 100644 qtinterface/interface_qt3/tqbitmap.cpp create mode 100644 qtinterface/interface_qt3/tqbitmap.h create mode 100644 qtinterface/interface_qt3/tqbrush.cpp create mode 100644 qtinterface/interface_qt3/tqbrush.h create mode 100644 qtinterface/interface_qt3/tqbttngrp.h create mode 100644 qtinterface/interface_qt3/tqbuffer.cpp create mode 100644 qtinterface/interface_qt3/tqbuffer.h create mode 100644 qtinterface/interface_qt3/tqbutton.cpp create mode 100644 qtinterface/interface_qt3/tqbutton.h create mode 100644 qtinterface/interface_qt3/tqbuttongroup.cpp create mode 100644 qtinterface/interface_qt3/tqbuttongroup.h create mode 100644 qtinterface/interface_qt3/tqcache.cpp create mode 100644 qtinterface/interface_qt3/tqcache.h create mode 100644 qtinterface/interface_qt3/tqcanvas.cpp create mode 100644 qtinterface/interface_qt3/tqcanvas.h create mode 100644 qtinterface/interface_qt3/tqcdestyle.cpp create mode 100644 qtinterface/interface_qt3/tqcdestyle.h create mode 100644 qtinterface/interface_qt3/tqcheckbox.cpp create mode 100644 qtinterface/interface_qt3/tqcheckbox.h create mode 100644 qtinterface/interface_qt3/tqchkbox.h create mode 100644 qtinterface/interface_qt3/tqcleanuphandler.cpp create mode 100644 qtinterface/interface_qt3/tqcleanuphandler.h create mode 100644 qtinterface/interface_qt3/tqclipboard.cpp create mode 100644 qtinterface/interface_qt3/tqclipboard.h create mode 100644 qtinterface/interface_qt3/tqclipbrd.h create mode 100644 qtinterface/interface_qt3/tqcollect.h create mode 100644 qtinterface/interface_qt3/tqcollection.h create mode 100644 qtinterface/interface_qt3/tqcolor.cpp create mode 100644 qtinterface/interface_qt3/tqcolor.h create mode 100644 qtinterface/interface_qt3/tqcolordialog.cpp create mode 100644 qtinterface/interface_qt3/tqcolordialog.h create mode 100644 qtinterface/interface_qt3/tqcombo.h create mode 100644 qtinterface/interface_qt3/tqcombobox.cpp create mode 100644 qtinterface/interface_qt3/tqcombobox.h create mode 100644 qtinterface/interface_qt3/tqcommonstyle.cpp create mode 100644 qtinterface/interface_qt3/tqcommonstyle.h create mode 100644 qtinterface/interface_qt3/tqcompactstyle.cpp create mode 100644 qtinterface/interface_qt3/tqcompactstyle.h create mode 100644 qtinterface/interface_qt3/tqconfig.h create mode 100644 qtinterface/interface_qt3/tqconnect.h create mode 100644 qtinterface/interface_qt3/tqconnection.cpp create mode 100644 qtinterface/interface_qt3/tqconnection.h create mode 100644 qtinterface/interface_qt3/tqcstring.cpp create mode 100644 qtinterface/interface_qt3/tqcstring.h create mode 100644 qtinterface/interface_qt3/tqcursor.cpp create mode 100644 qtinterface/interface_qt3/tqcursor.h create mode 100644 qtinterface/interface_qt3/tqdatabrowser.cpp create mode 100644 qtinterface/interface_qt3/tqdatabrowser.h create mode 100644 qtinterface/interface_qt3/tqdatastream.cpp create mode 100644 qtinterface/interface_qt3/tqdatastream.h create mode 100644 qtinterface/interface_qt3/tqdatatable.cpp create mode 100644 qtinterface/interface_qt3/tqdatatable.h create mode 100644 qtinterface/interface_qt3/tqdataview.cpp create mode 100644 qtinterface/interface_qt3/tqdataview.h create mode 100644 qtinterface/interface_qt3/tqdatetime.cpp create mode 100644 qtinterface/interface_qt3/tqdatetime.h create mode 100644 qtinterface/interface_qt3/tqdatetimeedit.cpp create mode 100644 qtinterface/interface_qt3/tqdatetimeedit.h create mode 100644 qtinterface/interface_qt3/tqdatetm.h create mode 100644 qtinterface/interface_qt3/tqdeepcopy.cpp create mode 100644 qtinterface/interface_qt3/tqdeepcopy.h create mode 100644 qtinterface/interface_qt3/tqdesktopwidget.cpp create mode 100644 qtinterface/interface_qt3/tqdesktopwidget.h create mode 100644 qtinterface/interface_qt3/tqdial.cpp create mode 100644 qtinterface/interface_qt3/tqdial.h create mode 100644 qtinterface/interface_qt3/tqdialog.cpp create mode 100644 qtinterface/interface_qt3/tqdialog.h create mode 100644 qtinterface/interface_qt3/tqdict.cpp create mode 100644 qtinterface/interface_qt3/tqdict.h create mode 100644 qtinterface/interface_qt3/tqdir.cpp create mode 100644 qtinterface/interface_qt3/tqdir.h create mode 100644 qtinterface/interface_qt3/tqdns.cpp create mode 100644 qtinterface/interface_qt3/tqdns.h create mode 100644 qtinterface/interface_qt3/tqdockarea.cpp create mode 100644 qtinterface/interface_qt3/tqdockarea.h create mode 100644 qtinterface/interface_qt3/tqdockwindow.cpp create mode 100644 qtinterface/interface_qt3/tqdockwindow.h create mode 100644 qtinterface/interface_qt3/tqdom.cpp create mode 100644 qtinterface/interface_qt3/tqdom.h create mode 100644 qtinterface/interface_qt3/tqdragobject.cpp create mode 100644 qtinterface/interface_qt3/tqdragobject.h create mode 100644 qtinterface/interface_qt3/tqdrawutil.cpp create mode 100644 qtinterface/interface_qt3/tqdrawutil.h create mode 100644 qtinterface/interface_qt3/tqdrawutl.h create mode 100644 qtinterface/interface_qt3/tqdropsite.cpp create mode 100644 qtinterface/interface_qt3/tqdropsite.h create mode 100644 qtinterface/interface_qt3/tqdstream.h create mode 100644 qtinterface/interface_qt3/tqeditorfactory.cpp create mode 100644 qtinterface/interface_qt3/tqeditorfactory.h create mode 100644 qtinterface/interface_qt3/tqerrormessage.cpp create mode 100644 qtinterface/interface_qt3/tqerrormessage.h create mode 100644 qtinterface/interface_qt3/tqeucjpcodec.cpp create mode 100644 qtinterface/interface_qt3/tqeucjpcodec.h create mode 100644 qtinterface/interface_qt3/tqeuckrcodec.cpp create mode 100644 qtinterface/interface_qt3/tqeuckrcodec.h create mode 100644 qtinterface/interface_qt3/tqevent.cpp create mode 100644 qtinterface/interface_qt3/tqevent.h create mode 100644 qtinterface/interface_qt3/tqeventloop.cpp create mode 100644 qtinterface/interface_qt3/tqeventloop.h create mode 100644 qtinterface/interface_qt3/tqfeatures.h create mode 100644 qtinterface/interface_qt3/tqfile.cpp create mode 100644 qtinterface/interface_qt3/tqfile.h create mode 100644 qtinterface/interface_qt3/tqfiledef.h create mode 100644 qtinterface/interface_qt3/tqfiledialog.cpp create mode 100644 qtinterface/interface_qt3/tqfiledialog.h create mode 100644 qtinterface/interface_qt3/tqfiledlg.h create mode 100644 qtinterface/interface_qt3/tqfileinf.h create mode 100644 qtinterface/interface_qt3/tqfileinfo.cpp create mode 100644 qtinterface/interface_qt3/tqfileinfo.h create mode 100644 qtinterface/interface_qt3/tqfocusdata.cpp create mode 100644 qtinterface/interface_qt3/tqfocusdata.h create mode 100644 qtinterface/interface_qt3/tqfont.cpp create mode 100644 qtinterface/interface_qt3/tqfont.h create mode 100644 qtinterface/interface_qt3/tqfontdatabase.cpp create mode 100644 qtinterface/interface_qt3/tqfontdatabase.h create mode 100644 qtinterface/interface_qt3/tqfontdialog.cpp create mode 100644 qtinterface/interface_qt3/tqfontdialog.h create mode 100644 qtinterface/interface_qt3/tqfontinf.h create mode 100644 qtinterface/interface_qt3/tqfontinfo.cpp create mode 100644 qtinterface/interface_qt3/tqfontinfo.h create mode 100644 qtinterface/interface_qt3/tqfontmet.h create mode 100644 qtinterface/interface_qt3/tqfontmetrics.cpp create mode 100644 qtinterface/interface_qt3/tqfontmetrics.h create mode 100644 qtinterface/interface_qt3/tqframe.cpp create mode 100644 qtinterface/interface_qt3/tqframe.h create mode 100644 qtinterface/interface_qt3/tqftp.cpp create mode 100644 qtinterface/interface_qt3/tqftp.h create mode 100644 qtinterface/interface_qt3/tqgarray.cpp create mode 100644 qtinterface/interface_qt3/tqgarray.h create mode 100644 qtinterface/interface_qt3/tqgb18030codec.cpp create mode 100644 qtinterface/interface_qt3/tqgb18030codec.h create mode 100644 qtinterface/interface_qt3/tqgbkcodec.h create mode 100644 qtinterface/interface_qt3/tqgcache.cpp create mode 100644 qtinterface/interface_qt3/tqgcache.h create mode 100644 qtinterface/interface_qt3/tqgdict.cpp create mode 100644 qtinterface/interface_qt3/tqgdict.h create mode 100644 qtinterface/interface_qt3/tqgeneric.h create mode 100644 qtinterface/interface_qt3/tqgif.h create mode 100644 qtinterface/interface_qt3/tqgl.cpp create mode 100644 qtinterface/interface_qt3/tqgl.h create mode 100644 qtinterface/interface_qt3/tqglcolormap.cpp create mode 100644 qtinterface/interface_qt3/tqglcolormap.h create mode 100644 qtinterface/interface_qt3/tqglist.cpp create mode 100644 qtinterface/interface_qt3/tqglist.h create mode 100644 qtinterface/interface_qt3/tqglobal.h create mode 100644 qtinterface/interface_qt3/tqgplugin.cpp create mode 100644 qtinterface/interface_qt3/tqgplugin.h create mode 100644 qtinterface/interface_qt3/tqgrid.cpp create mode 100644 qtinterface/interface_qt3/tqgrid.h create mode 100644 qtinterface/interface_qt3/tqgridview.cpp create mode 100644 qtinterface/interface_qt3/tqgridview.h create mode 100644 qtinterface/interface_qt3/tqgroupbox.cpp create mode 100644 qtinterface/interface_qt3/tqgroupbox.h create mode 100644 qtinterface/interface_qt3/tqgrpbox.h create mode 100644 qtinterface/interface_qt3/tqguardedptr.cpp create mode 100644 qtinterface/interface_qt3/tqguardedptr.h create mode 100644 qtinterface/interface_qt3/tqgvector.cpp create mode 100644 qtinterface/interface_qt3/tqgvector.h create mode 100644 qtinterface/interface_qt3/tqhbox.cpp create mode 100644 qtinterface/interface_qt3/tqhbox.h create mode 100644 qtinterface/interface_qt3/tqhbuttongroup.cpp create mode 100644 qtinterface/interface_qt3/tqhbuttongroup.h create mode 100644 qtinterface/interface_qt3/tqheader.cpp create mode 100644 qtinterface/interface_qt3/tqheader.h create mode 100644 qtinterface/interface_qt3/tqhgroupbox.cpp create mode 100644 qtinterface/interface_qt3/tqhgroupbox.h create mode 100644 qtinterface/interface_qt3/tqhostaddress.cpp create mode 100644 qtinterface/interface_qt3/tqhostaddress.h create mode 100644 qtinterface/interface_qt3/tqhttp.cpp create mode 100644 qtinterface/interface_qt3/tqhttp.h create mode 100644 qtinterface/interface_qt3/tqiconset.cpp create mode 100644 qtinterface/interface_qt3/tqiconset.h create mode 100644 qtinterface/interface_qt3/tqiconview.cpp create mode 100644 qtinterface/interface_qt3/tqiconview.h create mode 100644 qtinterface/interface_qt3/tqimage.cpp create mode 100644 qtinterface/interface_qt3/tqimage.h create mode 100644 qtinterface/interface_qt3/tqimageformatplugin.cpp create mode 100644 qtinterface/interface_qt3/tqimageformatplugin.h create mode 100644 qtinterface/interface_qt3/tqinputcontext.cpp create mode 100644 qtinterface/interface_qt3/tqinputcontext.h create mode 100644 qtinterface/interface_qt3/tqinputcontextfactory.cpp create mode 100644 qtinterface/interface_qt3/tqinputcontextfactory.h create mode 100644 qtinterface/interface_qt3/tqinputdialog.cpp create mode 100644 qtinterface/interface_qt3/tqinputdialog.h create mode 100644 qtinterface/interface_qt3/tqintcach.h create mode 100644 qtinterface/interface_qt3/tqintcache.cpp create mode 100644 qtinterface/interface_qt3/tqintcache.h create mode 100644 qtinterface/interface_qt3/tqintdict.cpp create mode 100644 qtinterface/interface_qt3/tqintdict.h create mode 100644 qtinterface/interface_qt3/tqinterlacestyle.cpp create mode 100644 qtinterface/interface_qt3/tqinterlacestyle.h create mode 100644 qtinterface/interface_qt3/tqiodev.h create mode 100644 qtinterface/interface_qt3/tqiodevice.cpp create mode 100644 qtinterface/interface_qt3/tqiodevice.h create mode 100644 qtinterface/interface_qt3/tqjiscodec.cpp create mode 100644 qtinterface/interface_qt3/tqjiscodec.h create mode 100644 qtinterface/interface_qt3/tqjpegio.h create mode 100644 qtinterface/interface_qt3/tqjpunicode.cpp create mode 100644 qtinterface/interface_qt3/tqjpunicode.h create mode 100644 qtinterface/interface_qt3/tqkeycode.h create mode 100644 qtinterface/interface_qt3/tqkeysequence.cpp create mode 100644 qtinterface/interface_qt3/tqkeysequence.h create mode 100644 qtinterface/interface_qt3/tqlabel.cpp create mode 100644 qtinterface/interface_qt3/tqlabel.h create mode 100644 qtinterface/interface_qt3/tqlayout.cpp create mode 100644 qtinterface/interface_qt3/tqlayout.h create mode 100644 qtinterface/interface_qt3/tqlcdnum.h create mode 100644 qtinterface/interface_qt3/tqlcdnumber.cpp create mode 100644 qtinterface/interface_qt3/tqlcdnumber.h create mode 100644 qtinterface/interface_qt3/tqlibrary.cpp create mode 100644 qtinterface/interface_qt3/tqlibrary.h create mode 100644 qtinterface/interface_qt3/tqlined.h create mode 100644 qtinterface/interface_qt3/tqlineedit.cpp create mode 100644 qtinterface/interface_qt3/tqlineedit.h create mode 100644 qtinterface/interface_qt3/tqlist.h create mode 100644 qtinterface/interface_qt3/tqlistbox.cpp create mode 100644 qtinterface/interface_qt3/tqlistbox.h create mode 100644 qtinterface/interface_qt3/tqlistiterator.cpp create mode 100644 qtinterface/interface_qt3/tqlistiterator.h create mode 100644 qtinterface/interface_qt3/tqlistview.cpp create mode 100644 qtinterface/interface_qt3/tqlistview.h create mode 100644 qtinterface/interface_qt3/tqlocale.cpp create mode 100644 qtinterface/interface_qt3/tqlocale.h create mode 100644 qtinterface/interface_qt3/tqlocalfs.cpp create mode 100644 qtinterface/interface_qt3/tqlocalfs.h create mode 100644 qtinterface/interface_qt3/tqmainwindow.cpp create mode 100644 qtinterface/interface_qt3/tqmainwindow.h create mode 100644 qtinterface/interface_qt3/tqmap.cpp create mode 100644 qtinterface/interface_qt3/tqmap.h create mode 100644 qtinterface/interface_qt3/tqmemarray.cpp create mode 100644 qtinterface/interface_qt3/tqmemarray.h create mode 100644 qtinterface/interface_qt3/tqmenubar.cpp create mode 100644 qtinterface/interface_qt3/tqmenubar.h create mode 100644 qtinterface/interface_qt3/tqmenudata.cpp create mode 100644 qtinterface/interface_qt3/tqmenudata.h create mode 100644 qtinterface/interface_qt3/tqmenudta.h create mode 100644 qtinterface/interface_qt3/tqmessagebox.cpp create mode 100644 qtinterface/interface_qt3/tqmessagebox.h create mode 100644 qtinterface/interface_qt3/tqmetaobj.h create mode 100644 qtinterface/interface_qt3/tqmetaobject.cpp create mode 100644 qtinterface/interface_qt3/tqmetaobject.h create mode 100644 qtinterface/interface_qt3/tqmime.cpp create mode 100644 qtinterface/interface_qt3/tqmime.h create mode 100644 qtinterface/interface_qt3/tqmlined.h create mode 100644 qtinterface/interface_qt3/tqmngio.h create mode 100644 qtinterface/interface_qt3/tqmodules.h create mode 100644 qtinterface/interface_qt3/tqmotifplusstyle.cpp create mode 100644 qtinterface/interface_qt3/tqmotifplusstyle.h create mode 100644 qtinterface/interface_qt3/tqmotifstyle.cpp create mode 100644 qtinterface/interface_qt3/tqmotifstyle.h create mode 100644 qtinterface/interface_qt3/tqmovie.cpp create mode 100644 qtinterface/interface_qt3/tqmovie.h create mode 100644 qtinterface/interface_qt3/tqmsgbox.h create mode 100644 qtinterface/interface_qt3/tqmultilinedit.h create mode 100644 qtinterface/interface_qt3/tqmultilineedit.cpp create mode 100644 qtinterface/interface_qt3/tqmultilineedit.h create mode 100644 qtinterface/interface_qt3/tqmutex.cpp create mode 100644 qtinterface/interface_qt3/tqmutex.h create mode 100644 qtinterface/interface_qt3/tqnamespace.cpp create mode 100644 qtinterface/interface_qt3/tqnamespace.h create mode 100644 qtinterface/interface_qt3/tqnetwork.h create mode 100644 qtinterface/interface_qt3/tqnetworkprotocol.cpp create mode 100644 qtinterface/interface_qt3/tqnetworkprotocol.h create mode 100644 qtinterface/interface_qt3/tqnp.cpp create mode 100644 qtinterface/interface_qt3/tqnp.h create mode 100644 qtinterface/interface_qt3/tqobjcoll.h create mode 100644 qtinterface/interface_qt3/tqobjdefs.h create mode 100644 qtinterface/interface_qt3/tqobject.cpp create mode 100644 qtinterface/interface_qt3/tqobject.h create mode 100644 qtinterface/interface_qt3/tqobjectcleanuphandler.cpp create mode 100644 qtinterface/interface_qt3/tqobjectcleanuphandler.h create mode 100644 qtinterface/interface_qt3/tqobjectdict.cpp create mode 100644 qtinterface/interface_qt3/tqobjectdict.h create mode 100644 qtinterface/interface_qt3/tqobjectlist.cpp create mode 100644 qtinterface/interface_qt3/tqobjectlist.h create mode 100644 qtinterface/interface_qt3/tqpaintd.h create mode 100644 qtinterface/interface_qt3/tqpaintdc.h create mode 100644 qtinterface/interface_qt3/tqpaintdevice.cpp create mode 100644 qtinterface/interface_qt3/tqpaintdevice.h create mode 100644 qtinterface/interface_qt3/tqpaintdevicemetrics.cpp create mode 100644 qtinterface/interface_qt3/tqpaintdevicemetrics.h create mode 100644 qtinterface/interface_qt3/tqpainter.cpp create mode 100644 qtinterface/interface_qt3/tqpainter.h create mode 100644 qtinterface/interface_qt3/tqpair.cpp create mode 100644 qtinterface/interface_qt3/tqpair.h create mode 100644 qtinterface/interface_qt3/tqpalette.cpp create mode 100644 qtinterface/interface_qt3/tqpalette.h create mode 100644 qtinterface/interface_qt3/tqpdevmet.h create mode 100644 qtinterface/interface_qt3/tqpen.cpp create mode 100644 qtinterface/interface_qt3/tqpen.h create mode 100644 qtinterface/interface_qt3/tqpicture.cpp create mode 100644 qtinterface/interface_qt3/tqpicture.h create mode 100644 qtinterface/interface_qt3/tqpixmap.cpp create mode 100644 qtinterface/interface_qt3/tqpixmap.h create mode 100644 qtinterface/interface_qt3/tqpixmapcache.cpp create mode 100644 qtinterface/interface_qt3/tqpixmapcache.h create mode 100644 qtinterface/interface_qt3/tqplatinumstyle.cpp create mode 100644 qtinterface/interface_qt3/tqplatinumstyle.h create mode 100644 qtinterface/interface_qt3/tqpmcache.h create mode 100644 qtinterface/interface_qt3/tqpngio.cpp create mode 100644 qtinterface/interface_qt3/tqpngio.h create mode 100644 qtinterface/interface_qt3/tqpntarry.h create mode 100644 qtinterface/interface_qt3/tqpoint.cpp create mode 100644 qtinterface/interface_qt3/tqpoint.h create mode 100644 qtinterface/interface_qt3/tqpointarray.cpp create mode 100644 qtinterface/interface_qt3/tqpointarray.h create mode 100644 qtinterface/interface_qt3/tqpolygonscanner.cpp create mode 100644 qtinterface/interface_qt3/tqpolygonscanner.h create mode 100644 qtinterface/interface_qt3/tqpopmenu.h create mode 100644 qtinterface/interface_qt3/tqpopupmenu.cpp create mode 100644 qtinterface/interface_qt3/tqpopupmenu.h create mode 100644 qtinterface/interface_qt3/tqprintdialog.cpp create mode 100644 qtinterface/interface_qt3/tqprintdialog.h create mode 100644 qtinterface/interface_qt3/tqprinter.cpp create mode 100644 qtinterface/interface_qt3/tqprinter.h create mode 100644 qtinterface/interface_qt3/tqprndlg.h create mode 100644 qtinterface/interface_qt3/tqprocess.cpp create mode 100644 qtinterface/interface_qt3/tqprocess.h create mode 100644 qtinterface/interface_qt3/tqprogbar.h create mode 100644 qtinterface/interface_qt3/tqprogdlg.h create mode 100644 qtinterface/interface_qt3/tqprogressbar.cpp create mode 100644 qtinterface/interface_qt3/tqprogressbar.h create mode 100644 qtinterface/interface_qt3/tqprogressdialog.cpp create mode 100644 qtinterface/interface_qt3/tqprogressdialog.h create mode 100644 qtinterface/interface_qt3/tqptrcollection.cpp create mode 100644 qtinterface/interface_qt3/tqptrcollection.h create mode 100644 qtinterface/interface_qt3/tqptrdict.cpp create mode 100644 qtinterface/interface_qt3/tqptrdict.h create mode 100644 qtinterface/interface_qt3/tqptrlist.cpp create mode 100644 qtinterface/interface_qt3/tqptrlist.h create mode 100644 qtinterface/interface_qt3/tqptrqueue.cpp create mode 100644 qtinterface/interface_qt3/tqptrqueue.h create mode 100644 qtinterface/interface_qt3/tqptrstack.cpp create mode 100644 qtinterface/interface_qt3/tqptrstack.h create mode 100644 qtinterface/interface_qt3/tqptrvector.cpp create mode 100644 qtinterface/interface_qt3/tqptrvector.h create mode 100644 qtinterface/interface_qt3/tqpushbt.h create mode 100644 qtinterface/interface_qt3/tqpushbutton.cpp create mode 100644 qtinterface/interface_qt3/tqpushbutton.h create mode 100644 qtinterface/interface_qt3/tqqueue.h create mode 100644 qtinterface/interface_qt3/tqradiobt.h create mode 100644 qtinterface/interface_qt3/tqradiobutton.cpp create mode 100644 qtinterface/interface_qt3/tqradiobutton.h create mode 100644 qtinterface/interface_qt3/tqrangecontrol.cpp create mode 100644 qtinterface/interface_qt3/tqrangecontrol.h create mode 100644 qtinterface/interface_qt3/tqrangect.h create mode 100644 qtinterface/interface_qt3/tqrect.cpp create mode 100644 qtinterface/interface_qt3/tqrect.h create mode 100644 qtinterface/interface_qt3/tqregexp.cpp create mode 100644 qtinterface/interface_qt3/tqregexp.h create mode 100644 qtinterface/interface_qt3/tqregion.cpp create mode 100644 qtinterface/interface_qt3/tqregion.h create mode 100644 qtinterface/interface_qt3/tqrtlcodec.cpp create mode 100644 qtinterface/interface_qt3/tqrtlcodec.h create mode 100644 qtinterface/interface_qt3/tqscrbar.h create mode 100644 qtinterface/interface_qt3/tqscrollbar.cpp create mode 100644 qtinterface/interface_qt3/tqscrollbar.h create mode 100644 qtinterface/interface_qt3/tqscrollview.cpp create mode 100644 qtinterface/interface_qt3/tqscrollview.h create mode 100644 qtinterface/interface_qt3/tqsemaphore.cpp create mode 100644 qtinterface/interface_qt3/tqsemaphore.h create mode 100644 qtinterface/interface_qt3/tqsemimodal.cpp create mode 100644 qtinterface/interface_qt3/tqsemimodal.h create mode 100644 qtinterface/interface_qt3/tqserversocket.cpp create mode 100644 qtinterface/interface_qt3/tqserversocket.h create mode 100644 qtinterface/interface_qt3/tqsession.h create mode 100644 qtinterface/interface_qt3/tqsessionmanager.cpp create mode 100644 qtinterface/interface_qt3/tqsessionmanager.h create mode 100644 qtinterface/interface_qt3/tqsettings.cpp create mode 100644 qtinterface/interface_qt3/tqsettings.h create mode 100644 qtinterface/interface_qt3/tqsgistyle.cpp create mode 100644 qtinterface/interface_qt3/tqsgistyle.h create mode 100644 qtinterface/interface_qt3/tqshared.cpp create mode 100644 qtinterface/interface_qt3/tqshared.h create mode 100644 qtinterface/interface_qt3/tqsignal.cpp create mode 100644 qtinterface/interface_qt3/tqsignal.h create mode 100644 qtinterface/interface_qt3/tqsignalmapper.cpp create mode 100644 qtinterface/interface_qt3/tqsignalmapper.h create mode 100644 qtinterface/interface_qt3/tqsignalslotimp.cpp create mode 100644 qtinterface/interface_qt3/tqsignalslotimp.h create mode 100644 qtinterface/interface_qt3/tqsimplerichtext.cpp create mode 100644 qtinterface/interface_qt3/tqsimplerichtext.h create mode 100644 qtinterface/interface_qt3/tqsize.cpp create mode 100644 qtinterface/interface_qt3/tqsize.h create mode 100644 qtinterface/interface_qt3/tqsizegrip.cpp create mode 100644 qtinterface/interface_qt3/tqsizegrip.h create mode 100644 qtinterface/interface_qt3/tqsizepolicy.cpp create mode 100644 qtinterface/interface_qt3/tqsizepolicy.h create mode 100644 qtinterface/interface_qt3/tqsjiscodec.cpp create mode 100644 qtinterface/interface_qt3/tqsjiscodec.h create mode 100644 qtinterface/interface_qt3/tqslider.cpp create mode 100644 qtinterface/interface_qt3/tqslider.h create mode 100644 qtinterface/interface_qt3/tqsocket.cpp create mode 100644 qtinterface/interface_qt3/tqsocket.h create mode 100644 qtinterface/interface_qt3/tqsocketdevice.cpp create mode 100644 qtinterface/interface_qt3/tqsocketdevice.h create mode 100644 qtinterface/interface_qt3/tqsocketnotifier.cpp create mode 100644 qtinterface/interface_qt3/tqsocketnotifier.h create mode 100644 qtinterface/interface_qt3/tqsocknot.h create mode 100644 qtinterface/interface_qt3/tqsortedlist.cpp create mode 100644 qtinterface/interface_qt3/tqsortedlist.h create mode 100644 qtinterface/interface_qt3/tqsound.cpp create mode 100644 qtinterface/interface_qt3/tqsound.h create mode 100644 qtinterface/interface_qt3/tqspinbox.cpp create mode 100644 qtinterface/interface_qt3/tqspinbox.h create mode 100644 qtinterface/interface_qt3/tqsplashscreen.cpp create mode 100644 qtinterface/interface_qt3/tqsplashscreen.h create mode 100644 qtinterface/interface_qt3/tqsplitter.cpp create mode 100644 qtinterface/interface_qt3/tqsplitter.h create mode 100644 qtinterface/interface_qt3/tqsql.cpp create mode 100644 qtinterface/interface_qt3/tqsql.h create mode 100644 qtinterface/interface_qt3/tqsqlcursor.cpp create mode 100644 qtinterface/interface_qt3/tqsqlcursor.h create mode 100644 qtinterface/interface_qt3/tqsqldatabase.cpp create mode 100644 qtinterface/interface_qt3/tqsqldatabase.h create mode 100644 qtinterface/interface_qt3/tqsqldriver.cpp create mode 100644 qtinterface/interface_qt3/tqsqldriver.h create mode 100644 qtinterface/interface_qt3/tqsqldriverplugin.cpp create mode 100644 qtinterface/interface_qt3/tqsqldriverplugin.h create mode 100644 qtinterface/interface_qt3/tqsqleditorfactory.cpp create mode 100644 qtinterface/interface_qt3/tqsqleditorfactory.h create mode 100644 qtinterface/interface_qt3/tqsqlerror.cpp create mode 100644 qtinterface/interface_qt3/tqsqlerror.h create mode 100644 qtinterface/interface_qt3/tqsqlfield.cpp create mode 100644 qtinterface/interface_qt3/tqsqlfield.h create mode 100644 qtinterface/interface_qt3/tqsqlform.cpp create mode 100644 qtinterface/interface_qt3/tqsqlform.h create mode 100644 qtinterface/interface_qt3/tqsqlindex.cpp create mode 100644 qtinterface/interface_qt3/tqsqlindex.h create mode 100644 qtinterface/interface_qt3/tqsqlpropertymap.cpp create mode 100644 qtinterface/interface_qt3/tqsqlpropertymap.h create mode 100644 qtinterface/interface_qt3/tqsqlquery.cpp create mode 100644 qtinterface/interface_qt3/tqsqlquery.h create mode 100644 qtinterface/interface_qt3/tqsqlrecord.cpp create mode 100644 qtinterface/interface_qt3/tqsqlrecord.h create mode 100644 qtinterface/interface_qt3/tqsqlresult.cpp create mode 100644 qtinterface/interface_qt3/tqsqlresult.h create mode 100644 qtinterface/interface_qt3/tqsqlselectcursor.cpp create mode 100644 qtinterface/interface_qt3/tqsqlselectcursor.h create mode 100644 qtinterface/interface_qt3/tqstack.h create mode 100644 qtinterface/interface_qt3/tqstatusbar.cpp create mode 100644 qtinterface/interface_qt3/tqstatusbar.h create mode 100644 qtinterface/interface_qt3/tqstring.cpp create mode 100644 qtinterface/interface_qt3/tqstring.h create mode 100644 qtinterface/interface_qt3/tqstringlist.cpp create mode 100644 qtinterface/interface_qt3/tqstringlist.h create mode 100644 qtinterface/interface_qt3/tqstrlist.cpp create mode 100644 qtinterface/interface_qt3/tqstrlist.h create mode 100644 qtinterface/interface_qt3/tqstrvec.cpp create mode 100644 qtinterface/interface_qt3/tqstrvec.h create mode 100644 qtinterface/interface_qt3/tqstyle.cpp create mode 100644 qtinterface/interface_qt3/tqstyle.h create mode 100644 qtinterface/interface_qt3/tqstylefactory.cpp create mode 100644 qtinterface/interface_qt3/tqstylefactory.h create mode 100644 qtinterface/interface_qt3/tqstyleplugin.cpp create mode 100644 qtinterface/interface_qt3/tqstyleplugin.h create mode 100644 qtinterface/interface_qt3/tqstylesheet.cpp create mode 100644 qtinterface/interface_qt3/tqstylesheet.h create mode 100644 qtinterface/interface_qt3/tqsyntaxhighlighter.cpp create mode 100644 qtinterface/interface_qt3/tqsyntaxhighlighter.h create mode 100644 qtinterface/interface_qt3/tqt.cpp create mode 100644 qtinterface/interface_qt3/tqt_defs.h create mode 100644 qtinterface/interface_qt3/tqt_undefs.h create mode 100644 qtinterface/interface_qt3/tqtabbar.cpp create mode 100644 qtinterface/interface_qt3/tqtabbar.h create mode 100644 qtinterface/interface_qt3/tqtabdialog.cpp create mode 100644 qtinterface/interface_qt3/tqtabdialog.h create mode 100644 qtinterface/interface_qt3/tqtabdlg.h create mode 100644 qtinterface/interface_qt3/tqtable.cpp create mode 100644 qtinterface/interface_qt3/tqtable.h create mode 100644 qtinterface/interface_qt3/tqtabwidget.cpp create mode 100644 qtinterface/interface_qt3/tqtabwidget.h create mode 100644 qtinterface/interface_qt3/tqtextbrowser.cpp create mode 100644 qtinterface/interface_qt3/tqtextbrowser.h create mode 100644 qtinterface/interface_qt3/tqtextcodec.cpp create mode 100644 qtinterface/interface_qt3/tqtextcodec.h create mode 100644 qtinterface/interface_qt3/tqtextcodecfactory.cpp create mode 100644 qtinterface/interface_qt3/tqtextcodecfactory.h create mode 100644 qtinterface/interface_qt3/tqtextcodecplugin.cpp create mode 100644 qtinterface/interface_qt3/tqtextcodecplugin.h create mode 100644 qtinterface/interface_qt3/tqtextedit.cpp create mode 100644 qtinterface/interface_qt3/tqtextedit.h create mode 100644 qtinterface/interface_qt3/tqtextstream.cpp create mode 100644 qtinterface/interface_qt3/tqtextstream.h create mode 100644 qtinterface/interface_qt3/tqtextview.cpp create mode 100644 qtinterface/interface_qt3/tqtextview.h create mode 100644 qtinterface/interface_qt3/tqtglobaldefines.h create mode 100644 qtinterface/interface_qt3/tqthread.cpp create mode 100644 qtinterface/interface_qt3/tqthread.h create mode 100644 qtinterface/interface_qt3/tqthreadstorage.cpp create mode 100644 qtinterface/interface_qt3/tqthreadstorage.h create mode 100644 qtinterface/interface_qt3/tqtimer.cpp create mode 100644 qtinterface/interface_qt3/tqtimer.h create mode 100644 qtinterface/interface_qt3/tqtl.cpp create mode 100644 qtinterface/interface_qt3/tqtl.h create mode 100644 qtinterface/interface_qt3/tqtoolbar.cpp create mode 100644 qtinterface/interface_qt3/tqtoolbar.h create mode 100644 qtinterface/interface_qt3/tqtoolbox.cpp create mode 100644 qtinterface/interface_qt3/tqtoolbox.h create mode 100644 qtinterface/interface_qt3/tqtoolbutton.cpp create mode 100644 qtinterface/interface_qt3/tqtoolbutton.h create mode 100644 qtinterface/interface_qt3/tqtooltip.cpp create mode 100644 qtinterface/interface_qt3/tqtooltip.h create mode 100644 qtinterface/interface_qt3/tqtranslator.cpp create mode 100644 qtinterface/interface_qt3/tqtranslator.h create mode 100644 qtinterface/interface_qt3/tqtsciicodec.cpp create mode 100644 qtinterface/interface_qt3/tqtsciicodec.h create mode 100644 qtinterface/interface_qt3/tqtstream.h create mode 100644 qtinterface/interface_qt3/tqurl.cpp create mode 100644 qtinterface/interface_qt3/tqurl.h create mode 100644 qtinterface/interface_qt3/tqurlinfo.cpp create mode 100644 qtinterface/interface_qt3/tqurlinfo.h create mode 100644 qtinterface/interface_qt3/tqurloperator.cpp create mode 100644 qtinterface/interface_qt3/tqurloperator.h create mode 100644 qtinterface/interface_qt3/tqutfcodec.cpp create mode 100644 qtinterface/interface_qt3/tqutfcodec.h create mode 100644 qtinterface/interface_qt3/tquuid.cpp create mode 100644 qtinterface/interface_qt3/tquuid.h create mode 100644 qtinterface/interface_qt3/tqvalidator.cpp create mode 100644 qtinterface/interface_qt3/tqvalidator.h create mode 100644 qtinterface/interface_qt3/tqvaluelist.cpp create mode 100644 qtinterface/interface_qt3/tqvaluelist.h create mode 100644 qtinterface/interface_qt3/tqvaluestack.cpp create mode 100644 qtinterface/interface_qt3/tqvaluestack.h create mode 100644 qtinterface/interface_qt3/tqvaluevector.cpp create mode 100644 qtinterface/interface_qt3/tqvaluevector.h create mode 100644 qtinterface/interface_qt3/tqvariant.cpp create mode 100644 qtinterface/interface_qt3/tqvariant.h create mode 100644 qtinterface/interface_qt3/tqvbox.cpp create mode 100644 qtinterface/interface_qt3/tqvbox.h create mode 100644 qtinterface/interface_qt3/tqvbuttongroup.cpp create mode 100644 qtinterface/interface_qt3/tqvbuttongroup.h create mode 100644 qtinterface/interface_qt3/tqvector.h create mode 100644 qtinterface/interface_qt3/tqvfbhdr.cpp create mode 100644 qtinterface/interface_qt3/tqvfbhdr.h create mode 100644 qtinterface/interface_qt3/tqvgroupbox.cpp create mode 100644 qtinterface/interface_qt3/tqvgroupbox.h create mode 100644 qtinterface/interface_qt3/tqwaitcondition.cpp create mode 100644 qtinterface/interface_qt3/tqwaitcondition.h create mode 100644 qtinterface/interface_qt3/tqwhatsthis.cpp create mode 100644 qtinterface/interface_qt3/tqwhatsthis.h create mode 100644 qtinterface/interface_qt3/tqwidcoll.h create mode 100644 qtinterface/interface_qt3/tqwidget.cpp create mode 100644 qtinterface/interface_qt3/tqwidget.h create mode 100644 qtinterface/interface_qt3/tqwidgetfactory.cpp create mode 100644 qtinterface/interface_qt3/tqwidgetfactory.h create mode 100644 qtinterface/interface_qt3/tqwidgetintdict.cpp create mode 100644 qtinterface/interface_qt3/tqwidgetintdict.h create mode 100644 qtinterface/interface_qt3/tqwidgetlist.cpp create mode 100644 qtinterface/interface_qt3/tqwidgetlist.h create mode 100644 qtinterface/interface_qt3/tqwidgetplugin.cpp create mode 100644 qtinterface/interface_qt3/tqwidgetplugin.h create mode 100644 qtinterface/interface_qt3/tqwidgetstack.cpp create mode 100644 qtinterface/interface_qt3/tqwidgetstack.h create mode 100644 qtinterface/interface_qt3/tqwindefs.h create mode 100644 qtinterface/interface_qt3/tqwindowdefs.h create mode 100644 qtinterface/interface_qt3/tqwindowsstyle.cpp create mode 100644 qtinterface/interface_qt3/tqwindowsstyle.h create mode 100644 qtinterface/interface_qt3/tqwinexport.h create mode 100644 qtinterface/interface_qt3/tqwizard.cpp create mode 100644 qtinterface/interface_qt3/tqwizard.h create mode 100644 qtinterface/interface_qt3/tqwmatrix.cpp create mode 100644 qtinterface/interface_qt3/tqwmatrix.h create mode 100644 qtinterface/interface_qt3/tqworkspace.cpp create mode 100644 qtinterface/interface_qt3/tqworkspace.h create mode 100644 qtinterface/interface_qt3/tqxml.cpp create mode 100644 qtinterface/interface_qt3/tqxml.h create mode 100644 qtinterface/interface_tqt3/private/tqcom_p.h create mode 100644 qtinterface/interface_tqt3/private/tqeffects_p.h create mode 100644 qtinterface/interface_tqt3/private/tqinternal_p.h create mode 100644 qtinterface/interface_tqt3/private/tqlayoutengine_p.h create mode 100644 qtinterface/interface_tqt3/private/tqpluginmanager_p.h create mode 100644 qtinterface/interface_tqt3/private/tqrichtext_p.h create mode 100644 qtinterface/interface_tqt3/private/tqtextengine_p.h create mode 100644 qtinterface/interface_tqt3/private/tqucom_p.h create mode 100644 qtinterface/interface_tqt3/private/tqucomextra_p.cpp create mode 100644 qtinterface/interface_tqt3/private/tqucomextra_p.h create mode 100644 qtinterface/interface_tqt3/private/tqwidgetinterface_p.h create mode 100644 qtinterface/interface_tqt3/tq1xcompatibility.cpp create mode 100644 qtinterface/interface_tqt3/tq1xcompatibility.h create mode 100644 qtinterface/interface_tqt3/tqabstractlayout.cpp create mode 100644 qtinterface/interface_tqt3/tqabstractlayout.h create mode 100644 qtinterface/interface_tqt3/tqaccel.cpp create mode 100644 qtinterface/interface_tqt3/tqaccel.h create mode 100644 qtinterface/interface_tqt3/tqaccessible.cpp create mode 100644 qtinterface/interface_tqt3/tqaccessible.h create mode 100644 qtinterface/interface_tqt3/tqaction.cpp create mode 100644 qtinterface/interface_tqt3/tqaction.h create mode 100644 qtinterface/interface_tqt3/tqapp.h create mode 100644 qtinterface/interface_tqt3/tqapplication.cpp create mode 100644 qtinterface/interface_tqt3/tqapplication.h create mode 100644 qtinterface/interface_tqt3/tqarray.h create mode 100644 qtinterface/interface_tqt3/tqasciicache.cpp create mode 100644 qtinterface/interface_tqt3/tqasciicache.h create mode 100644 qtinterface/interface_tqt3/tqasciidict.cpp create mode 100644 qtinterface/interface_tqt3/tqasciidict.h create mode 100644 qtinterface/interface_tqt3/tqassistantclient.cpp create mode 100644 qtinterface/interface_tqt3/tqassistantclient.h create mode 100644 qtinterface/interface_tqt3/tqasyncimageio.cpp create mode 100644 qtinterface/interface_tqt3/tqasyncimageio.h create mode 100644 qtinterface/interface_tqt3/tqasyncio.cpp create mode 100644 qtinterface/interface_tqt3/tqasyncio.h create mode 100644 qtinterface/interface_tqt3/tqbig5codec.cpp create mode 100644 qtinterface/interface_tqt3/tqbig5codec.h create mode 100644 qtinterface/interface_tqt3/tqbitarray.cpp create mode 100644 qtinterface/interface_tqt3/tqbitarray.h create mode 100644 qtinterface/interface_tqt3/tqbitarry.h create mode 100644 qtinterface/interface_tqt3/tqbitmap.cpp create mode 100644 qtinterface/interface_tqt3/tqbitmap.h create mode 100644 qtinterface/interface_tqt3/tqbrush.cpp create mode 100644 qtinterface/interface_tqt3/tqbrush.h create mode 100644 qtinterface/interface_tqt3/tqbttngrp.h create mode 100644 qtinterface/interface_tqt3/tqbuffer.cpp create mode 100644 qtinterface/interface_tqt3/tqbuffer.h create mode 100644 qtinterface/interface_tqt3/tqbutton.cpp create mode 100644 qtinterface/interface_tqt3/tqbutton.h create mode 100644 qtinterface/interface_tqt3/tqbuttongroup.cpp create mode 100644 qtinterface/interface_tqt3/tqbuttongroup.h create mode 100644 qtinterface/interface_tqt3/tqcache.cpp create mode 100644 qtinterface/interface_tqt3/tqcache.h create mode 100644 qtinterface/interface_tqt3/tqcanvas.cpp create mode 100644 qtinterface/interface_tqt3/tqcanvas.h create mode 100644 qtinterface/interface_tqt3/tqcdestyle.cpp create mode 100644 qtinterface/interface_tqt3/tqcdestyle.h create mode 100644 qtinterface/interface_tqt3/tqcheckbox.cpp create mode 100644 qtinterface/interface_tqt3/tqcheckbox.h create mode 100644 qtinterface/interface_tqt3/tqchkbox.h create mode 100644 qtinterface/interface_tqt3/tqcleanuphandler.cpp create mode 100644 qtinterface/interface_tqt3/tqcleanuphandler.h create mode 100644 qtinterface/interface_tqt3/tqclipboard.cpp create mode 100644 qtinterface/interface_tqt3/tqclipboard.h create mode 100644 qtinterface/interface_tqt3/tqclipbrd.h create mode 100644 qtinterface/interface_tqt3/tqcollect.h create mode 100644 qtinterface/interface_tqt3/tqcollection.h create mode 100644 qtinterface/interface_tqt3/tqcolor.cpp create mode 100644 qtinterface/interface_tqt3/tqcolor.h create mode 100644 qtinterface/interface_tqt3/tqcolordialog.cpp create mode 100644 qtinterface/interface_tqt3/tqcolordialog.h create mode 100644 qtinterface/interface_tqt3/tqcombo.h create mode 100644 qtinterface/interface_tqt3/tqcombobox.cpp create mode 100644 qtinterface/interface_tqt3/tqcombobox.h create mode 100644 qtinterface/interface_tqt3/tqcommonstyle.cpp create mode 100644 qtinterface/interface_tqt3/tqcommonstyle.h create mode 100644 qtinterface/interface_tqt3/tqcompactstyle.cpp create mode 100644 qtinterface/interface_tqt3/tqcompactstyle.h create mode 100644 qtinterface/interface_tqt3/tqconfig.h create mode 100644 qtinterface/interface_tqt3/tqconnect.h create mode 100644 qtinterface/interface_tqt3/tqconnection.cpp create mode 100644 qtinterface/interface_tqt3/tqconnection.h create mode 100644 qtinterface/interface_tqt3/tqcstring.cpp create mode 100644 qtinterface/interface_tqt3/tqcstring.h create mode 100644 qtinterface/interface_tqt3/tqcursor.cpp create mode 100644 qtinterface/interface_tqt3/tqcursor.h create mode 100644 qtinterface/interface_tqt3/tqdatabrowser.cpp create mode 100644 qtinterface/interface_tqt3/tqdatabrowser.h create mode 100644 qtinterface/interface_tqt3/tqdatastream.cpp create mode 100644 qtinterface/interface_tqt3/tqdatastream.h create mode 100644 qtinterface/interface_tqt3/tqdatatable.cpp create mode 100644 qtinterface/interface_tqt3/tqdatatable.h create mode 100644 qtinterface/interface_tqt3/tqdataview.cpp create mode 100644 qtinterface/interface_tqt3/tqdataview.h create mode 100644 qtinterface/interface_tqt3/tqdatetime.cpp create mode 100644 qtinterface/interface_tqt3/tqdatetime.h create mode 100644 qtinterface/interface_tqt3/tqdatetimeedit.cpp create mode 100644 qtinterface/interface_tqt3/tqdatetimeedit.h create mode 100644 qtinterface/interface_tqt3/tqdatetm.h create mode 100644 qtinterface/interface_tqt3/tqdeepcopy.cpp create mode 100644 qtinterface/interface_tqt3/tqdeepcopy.h create mode 100644 qtinterface/interface_tqt3/tqdesktopwidget.cpp create mode 100644 qtinterface/interface_tqt3/tqdesktopwidget.h create mode 100644 qtinterface/interface_tqt3/tqdial.cpp create mode 100644 qtinterface/interface_tqt3/tqdial.h create mode 100644 qtinterface/interface_tqt3/tqdialog.cpp create mode 100644 qtinterface/interface_tqt3/tqdialog.h create mode 100644 qtinterface/interface_tqt3/tqdict.cpp create mode 100644 qtinterface/interface_tqt3/tqdict.h create mode 100644 qtinterface/interface_tqt3/tqdir.cpp create mode 100644 qtinterface/interface_tqt3/tqdir.h create mode 100644 qtinterface/interface_tqt3/tqdns.cpp create mode 100644 qtinterface/interface_tqt3/tqdns.h create mode 100644 qtinterface/interface_tqt3/tqdockarea.cpp create mode 100644 qtinterface/interface_tqt3/tqdockarea.h create mode 100644 qtinterface/interface_tqt3/tqdockwindow.cpp create mode 100644 qtinterface/interface_tqt3/tqdockwindow.h create mode 100644 qtinterface/interface_tqt3/tqdom.cpp create mode 100644 qtinterface/interface_tqt3/tqdom.h create mode 100644 qtinterface/interface_tqt3/tqdragobject.cpp create mode 100644 qtinterface/interface_tqt3/tqdragobject.h create mode 100644 qtinterface/interface_tqt3/tqdrawutil.cpp create mode 100644 qtinterface/interface_tqt3/tqdrawutil.h create mode 100644 qtinterface/interface_tqt3/tqdrawutl.h create mode 100644 qtinterface/interface_tqt3/tqdropsite.cpp create mode 100644 qtinterface/interface_tqt3/tqdropsite.h create mode 100644 qtinterface/interface_tqt3/tqdstream.h create mode 100644 qtinterface/interface_tqt3/tqeditorfactory.cpp create mode 100644 qtinterface/interface_tqt3/tqeditorfactory.h create mode 100644 qtinterface/interface_tqt3/tqerrormessage.cpp create mode 100644 qtinterface/interface_tqt3/tqerrormessage.h create mode 100644 qtinterface/interface_tqt3/tqeucjpcodec.cpp create mode 100644 qtinterface/interface_tqt3/tqeucjpcodec.h create mode 100644 qtinterface/interface_tqt3/tqeuckrcodec.cpp create mode 100644 qtinterface/interface_tqt3/tqeuckrcodec.h create mode 100644 qtinterface/interface_tqt3/tqevent.cpp create mode 100644 qtinterface/interface_tqt3/tqevent.h create mode 100644 qtinterface/interface_tqt3/tqeventloop.cpp create mode 100644 qtinterface/interface_tqt3/tqeventloop.h create mode 100644 qtinterface/interface_tqt3/tqfeatures.h create mode 100644 qtinterface/interface_tqt3/tqfile.cpp create mode 100644 qtinterface/interface_tqt3/tqfile.h create mode 100644 qtinterface/interface_tqt3/tqfiledef.h create mode 100644 qtinterface/interface_tqt3/tqfiledialog.cpp create mode 100644 qtinterface/interface_tqt3/tqfiledialog.h create mode 100644 qtinterface/interface_tqt3/tqfiledlg.h create mode 100644 qtinterface/interface_tqt3/tqfileinf.h create mode 100644 qtinterface/interface_tqt3/tqfileinfo.cpp create mode 100644 qtinterface/interface_tqt3/tqfileinfo.h create mode 100644 qtinterface/interface_tqt3/tqfocusdata.cpp create mode 100644 qtinterface/interface_tqt3/tqfocusdata.h create mode 100644 qtinterface/interface_tqt3/tqfont.cpp create mode 100644 qtinterface/interface_tqt3/tqfont.h create mode 100644 qtinterface/interface_tqt3/tqfontdatabase.cpp create mode 100644 qtinterface/interface_tqt3/tqfontdatabase.h create mode 100644 qtinterface/interface_tqt3/tqfontdialog.cpp create mode 100644 qtinterface/interface_tqt3/tqfontdialog.h create mode 100644 qtinterface/interface_tqt3/tqfontinf.h create mode 100644 qtinterface/interface_tqt3/tqfontinfo.cpp create mode 100644 qtinterface/interface_tqt3/tqfontinfo.h create mode 100644 qtinterface/interface_tqt3/tqfontmet.h create mode 100644 qtinterface/interface_tqt3/tqfontmetrics.cpp create mode 100644 qtinterface/interface_tqt3/tqfontmetrics.h create mode 100644 qtinterface/interface_tqt3/tqframe.cpp create mode 100644 qtinterface/interface_tqt3/tqframe.h create mode 100644 qtinterface/interface_tqt3/tqftp.cpp create mode 100644 qtinterface/interface_tqt3/tqftp.h create mode 100644 qtinterface/interface_tqt3/tqgarray.cpp create mode 100644 qtinterface/interface_tqt3/tqgarray.h create mode 100644 qtinterface/interface_tqt3/tqgb18030codec.cpp create mode 100644 qtinterface/interface_tqt3/tqgb18030codec.h create mode 100644 qtinterface/interface_tqt3/tqgbkcodec.h create mode 100644 qtinterface/interface_tqt3/tqgcache.cpp create mode 100644 qtinterface/interface_tqt3/tqgcache.h create mode 100644 qtinterface/interface_tqt3/tqgdict.cpp create mode 100644 qtinterface/interface_tqt3/tqgdict.h create mode 100644 qtinterface/interface_tqt3/tqgeneric.h create mode 100644 qtinterface/interface_tqt3/tqgif.h create mode 100644 qtinterface/interface_tqt3/tqgl.cpp create mode 100644 qtinterface/interface_tqt3/tqgl.h create mode 100644 qtinterface/interface_tqt3/tqglcolormap.cpp create mode 100644 qtinterface/interface_tqt3/tqglcolormap.h create mode 100644 qtinterface/interface_tqt3/tqglist.cpp create mode 100644 qtinterface/interface_tqt3/tqglist.h create mode 100644 qtinterface/interface_tqt3/tqglobal.h create mode 100644 qtinterface/interface_tqt3/tqgplugin.cpp create mode 100644 qtinterface/interface_tqt3/tqgplugin.h create mode 100644 qtinterface/interface_tqt3/tqgrid.cpp create mode 100644 qtinterface/interface_tqt3/tqgrid.h create mode 100644 qtinterface/interface_tqt3/tqgridview.cpp create mode 100644 qtinterface/interface_tqt3/tqgridview.h create mode 100644 qtinterface/interface_tqt3/tqgroupbox.cpp create mode 100644 qtinterface/interface_tqt3/tqgroupbox.h create mode 100644 qtinterface/interface_tqt3/tqgrpbox.h create mode 100644 qtinterface/interface_tqt3/tqguardedptr.cpp create mode 100644 qtinterface/interface_tqt3/tqguardedptr.h create mode 100644 qtinterface/interface_tqt3/tqgvector.cpp create mode 100644 qtinterface/interface_tqt3/tqgvector.h create mode 100644 qtinterface/interface_tqt3/tqhbox.cpp create mode 100644 qtinterface/interface_tqt3/tqhbox.h create mode 100644 qtinterface/interface_tqt3/tqhbuttongroup.cpp create mode 100644 qtinterface/interface_tqt3/tqhbuttongroup.h create mode 100644 qtinterface/interface_tqt3/tqheader.cpp create mode 100644 qtinterface/interface_tqt3/tqheader.h create mode 100644 qtinterface/interface_tqt3/tqhgroupbox.cpp create mode 100644 qtinterface/interface_tqt3/tqhgroupbox.h create mode 100644 qtinterface/interface_tqt3/tqhostaddress.cpp create mode 100644 qtinterface/interface_tqt3/tqhostaddress.h create mode 100644 qtinterface/interface_tqt3/tqhttp.cpp create mode 100644 qtinterface/interface_tqt3/tqhttp.h create mode 100644 qtinterface/interface_tqt3/tqiconset.cpp create mode 100644 qtinterface/interface_tqt3/tqiconset.h create mode 100644 qtinterface/interface_tqt3/tqiconview.cpp create mode 100644 qtinterface/interface_tqt3/tqiconview.h create mode 100644 qtinterface/interface_tqt3/tqimage.cpp create mode 100644 qtinterface/interface_tqt3/tqimage.h create mode 100644 qtinterface/interface_tqt3/tqimageformatplugin.cpp create mode 100644 qtinterface/interface_tqt3/tqimageformatplugin.h create mode 100644 qtinterface/interface_tqt3/tqinputcontext.cpp create mode 100644 qtinterface/interface_tqt3/tqinputcontext.h create mode 100644 qtinterface/interface_tqt3/tqinputcontextfactory.cpp create mode 100644 qtinterface/interface_tqt3/tqinputcontextfactory.h create mode 100644 qtinterface/interface_tqt3/tqinputdialog.cpp create mode 100644 qtinterface/interface_tqt3/tqinputdialog.h create mode 100644 qtinterface/interface_tqt3/tqintcach.h create mode 100644 qtinterface/interface_tqt3/tqintcache.cpp create mode 100644 qtinterface/interface_tqt3/tqintcache.h create mode 100644 qtinterface/interface_tqt3/tqintdict.cpp create mode 100644 qtinterface/interface_tqt3/tqintdict.h create mode 100644 qtinterface/interface_tqt3/tqinterlacestyle.cpp create mode 100644 qtinterface/interface_tqt3/tqinterlacestyle.h create mode 100644 qtinterface/interface_tqt3/tqiodev.h create mode 100644 qtinterface/interface_tqt3/tqiodevice.cpp create mode 100644 qtinterface/interface_tqt3/tqiodevice.h create mode 100644 qtinterface/interface_tqt3/tqjiscodec.cpp create mode 100644 qtinterface/interface_tqt3/tqjiscodec.h create mode 100644 qtinterface/interface_tqt3/tqjpegio.h create mode 100644 qtinterface/interface_tqt3/tqjpunicode.cpp create mode 100644 qtinterface/interface_tqt3/tqjpunicode.h create mode 100644 qtinterface/interface_tqt3/tqkeycode.h create mode 100644 qtinterface/interface_tqt3/tqkeysequence.cpp create mode 100644 qtinterface/interface_tqt3/tqkeysequence.h create mode 100644 qtinterface/interface_tqt3/tqlabel.cpp create mode 100644 qtinterface/interface_tqt3/tqlabel.h create mode 100644 qtinterface/interface_tqt3/tqlayout.cpp create mode 100644 qtinterface/interface_tqt3/tqlayout.h create mode 100644 qtinterface/interface_tqt3/tqlcdnum.h create mode 100644 qtinterface/interface_tqt3/tqlcdnumber.cpp create mode 100644 qtinterface/interface_tqt3/tqlcdnumber.h create mode 100644 qtinterface/interface_tqt3/tqlibrary.cpp create mode 100644 qtinterface/interface_tqt3/tqlibrary.h create mode 100644 qtinterface/interface_tqt3/tqlined.h create mode 100644 qtinterface/interface_tqt3/tqlineedit.cpp create mode 100644 qtinterface/interface_tqt3/tqlineedit.h create mode 100644 qtinterface/interface_tqt3/tqlist.h create mode 100644 qtinterface/interface_tqt3/tqlistbox.cpp create mode 100644 qtinterface/interface_tqt3/tqlistbox.h create mode 100644 qtinterface/interface_tqt3/tqlistiterator.cpp create mode 100644 qtinterface/interface_tqt3/tqlistiterator.h create mode 100644 qtinterface/interface_tqt3/tqlistview.cpp create mode 100644 qtinterface/interface_tqt3/tqlistview.h create mode 100644 qtinterface/interface_tqt3/tqlocale.cpp create mode 100644 qtinterface/interface_tqt3/tqlocale.h create mode 100644 qtinterface/interface_tqt3/tqlocalfs.cpp create mode 100644 qtinterface/interface_tqt3/tqlocalfs.h create mode 100644 qtinterface/interface_tqt3/tqmainwindow.cpp create mode 100644 qtinterface/interface_tqt3/tqmainwindow.h create mode 100644 qtinterface/interface_tqt3/tqmap.cpp create mode 100644 qtinterface/interface_tqt3/tqmap.h create mode 100644 qtinterface/interface_tqt3/tqmemarray.cpp create mode 100644 qtinterface/interface_tqt3/tqmemarray.h create mode 100644 qtinterface/interface_tqt3/tqmenubar.cpp create mode 100644 qtinterface/interface_tqt3/tqmenubar.h create mode 100644 qtinterface/interface_tqt3/tqmenudata.cpp create mode 100644 qtinterface/interface_tqt3/tqmenudata.h create mode 100644 qtinterface/interface_tqt3/tqmenudta.h create mode 100644 qtinterface/interface_tqt3/tqmessagebox.cpp create mode 100644 qtinterface/interface_tqt3/tqmessagebox.h create mode 100644 qtinterface/interface_tqt3/tqmetaobj.h create mode 100644 qtinterface/interface_tqt3/tqmetaobject.cpp create mode 100644 qtinterface/interface_tqt3/tqmetaobject.h create mode 100644 qtinterface/interface_tqt3/tqmime.cpp create mode 100644 qtinterface/interface_tqt3/tqmime.h create mode 100644 qtinterface/interface_tqt3/tqmlined.h create mode 100644 qtinterface/interface_tqt3/tqmngio.h create mode 100644 qtinterface/interface_tqt3/tqmodules.h create mode 100644 qtinterface/interface_tqt3/tqmotifplusstyle.cpp create mode 100644 qtinterface/interface_tqt3/tqmotifplusstyle.h create mode 100644 qtinterface/interface_tqt3/tqmotifstyle.cpp create mode 100644 qtinterface/interface_tqt3/tqmotifstyle.h create mode 100644 qtinterface/interface_tqt3/tqmovie.cpp create mode 100644 qtinterface/interface_tqt3/tqmovie.h create mode 100644 qtinterface/interface_tqt3/tqmsgbox.h create mode 100644 qtinterface/interface_tqt3/tqmultilinedit.h create mode 100644 qtinterface/interface_tqt3/tqmultilineedit.cpp create mode 100644 qtinterface/interface_tqt3/tqmultilineedit.h create mode 100644 qtinterface/interface_tqt3/tqmutex.cpp create mode 100644 qtinterface/interface_tqt3/tqmutex.h create mode 100644 qtinterface/interface_tqt3/tqnamespace.cpp create mode 100644 qtinterface/interface_tqt3/tqnamespace.h create mode 100644 qtinterface/interface_tqt3/tqnetwork.h create mode 100644 qtinterface/interface_tqt3/tqnetworkprotocol.cpp create mode 100644 qtinterface/interface_tqt3/tqnetworkprotocol.h create mode 100644 qtinterface/interface_tqt3/tqnp.cpp create mode 100644 qtinterface/interface_tqt3/tqnp.h create mode 100644 qtinterface/interface_tqt3/tqobjcoll.h create mode 100644 qtinterface/interface_tqt3/tqobjdefs.h create mode 100644 qtinterface/interface_tqt3/tqobject.cpp create mode 100644 qtinterface/interface_tqt3/tqobject.h create mode 100644 qtinterface/interface_tqt3/tqobjectcleanuphandler.cpp create mode 100644 qtinterface/interface_tqt3/tqobjectcleanuphandler.h create mode 100644 qtinterface/interface_tqt3/tqobjectdict.cpp create mode 100644 qtinterface/interface_tqt3/tqobjectdict.h create mode 100644 qtinterface/interface_tqt3/tqobjectlist.cpp create mode 100644 qtinterface/interface_tqt3/tqobjectlist.h create mode 100644 qtinterface/interface_tqt3/tqpaintd.h create mode 100644 qtinterface/interface_tqt3/tqpaintdc.h create mode 100644 qtinterface/interface_tqt3/tqpaintdevice.cpp create mode 100644 qtinterface/interface_tqt3/tqpaintdevice.h create mode 100644 qtinterface/interface_tqt3/tqpaintdevicemetrics.cpp create mode 100644 qtinterface/interface_tqt3/tqpaintdevicemetrics.h create mode 100644 qtinterface/interface_tqt3/tqpainter.cpp create mode 100644 qtinterface/interface_tqt3/tqpainter.h create mode 100644 qtinterface/interface_tqt3/tqpair.cpp create mode 100644 qtinterface/interface_tqt3/tqpair.h create mode 100644 qtinterface/interface_tqt3/tqpalette.cpp create mode 100644 qtinterface/interface_tqt3/tqpalette.h create mode 100644 qtinterface/interface_tqt3/tqpdevmet.h create mode 100644 qtinterface/interface_tqt3/tqpen.cpp create mode 100644 qtinterface/interface_tqt3/tqpen.h create mode 100644 qtinterface/interface_tqt3/tqpicture.cpp create mode 100644 qtinterface/interface_tqt3/tqpicture.h create mode 100644 qtinterface/interface_tqt3/tqpixmap.cpp create mode 100644 qtinterface/interface_tqt3/tqpixmap.h create mode 100644 qtinterface/interface_tqt3/tqpixmapcache.cpp create mode 100644 qtinterface/interface_tqt3/tqpixmapcache.h create mode 100644 qtinterface/interface_tqt3/tqplatinumstyle.cpp create mode 100644 qtinterface/interface_tqt3/tqplatinumstyle.h create mode 100644 qtinterface/interface_tqt3/tqpmcache.h create mode 100644 qtinterface/interface_tqt3/tqpngio.cpp create mode 100644 qtinterface/interface_tqt3/tqpngio.h create mode 100644 qtinterface/interface_tqt3/tqpntarry.h create mode 100644 qtinterface/interface_tqt3/tqpoint.cpp create mode 100644 qtinterface/interface_tqt3/tqpoint.h create mode 100644 qtinterface/interface_tqt3/tqpointarray.cpp create mode 100644 qtinterface/interface_tqt3/tqpointarray.h create mode 100644 qtinterface/interface_tqt3/tqpolygonscanner.cpp create mode 100644 qtinterface/interface_tqt3/tqpolygonscanner.h create mode 100644 qtinterface/interface_tqt3/tqpopmenu.h create mode 100644 qtinterface/interface_tqt3/tqpopupmenu.cpp create mode 100644 qtinterface/interface_tqt3/tqpopupmenu.h create mode 100644 qtinterface/interface_tqt3/tqprintdialog.cpp create mode 100644 qtinterface/interface_tqt3/tqprintdialog.h create mode 100644 qtinterface/interface_tqt3/tqprinter.cpp create mode 100644 qtinterface/interface_tqt3/tqprinter.h create mode 100644 qtinterface/interface_tqt3/tqprndlg.h create mode 100644 qtinterface/interface_tqt3/tqprocess.cpp create mode 100644 qtinterface/interface_tqt3/tqprocess.h create mode 100644 qtinterface/interface_tqt3/tqprogbar.h create mode 100644 qtinterface/interface_tqt3/tqprogdlg.h create mode 100644 qtinterface/interface_tqt3/tqprogressbar.cpp create mode 100644 qtinterface/interface_tqt3/tqprogressbar.h create mode 100644 qtinterface/interface_tqt3/tqprogressdialog.cpp create mode 100644 qtinterface/interface_tqt3/tqprogressdialog.h create mode 100644 qtinterface/interface_tqt3/tqptrcollection.cpp create mode 100644 qtinterface/interface_tqt3/tqptrcollection.h create mode 100644 qtinterface/interface_tqt3/tqptrdict.cpp create mode 100644 qtinterface/interface_tqt3/tqptrdict.h create mode 100644 qtinterface/interface_tqt3/tqptrlist.cpp create mode 100644 qtinterface/interface_tqt3/tqptrlist.h create mode 100644 qtinterface/interface_tqt3/tqptrqueue.cpp create mode 100644 qtinterface/interface_tqt3/tqptrqueue.h create mode 100644 qtinterface/interface_tqt3/tqptrstack.cpp create mode 100644 qtinterface/interface_tqt3/tqptrstack.h create mode 100644 qtinterface/interface_tqt3/tqptrvector.cpp create mode 100644 qtinterface/interface_tqt3/tqptrvector.h create mode 100644 qtinterface/interface_tqt3/tqpushbt.h create mode 100644 qtinterface/interface_tqt3/tqpushbutton.cpp create mode 100644 qtinterface/interface_tqt3/tqpushbutton.h create mode 100644 qtinterface/interface_tqt3/tqqueue.h create mode 100644 qtinterface/interface_tqt3/tqradiobt.h create mode 100644 qtinterface/interface_tqt3/tqradiobutton.cpp create mode 100644 qtinterface/interface_tqt3/tqradiobutton.h create mode 100644 qtinterface/interface_tqt3/tqrangecontrol.cpp create mode 100644 qtinterface/interface_tqt3/tqrangecontrol.h create mode 100644 qtinterface/interface_tqt3/tqrangect.h create mode 100644 qtinterface/interface_tqt3/tqrect.cpp create mode 100644 qtinterface/interface_tqt3/tqrect.h create mode 100644 qtinterface/interface_tqt3/tqregexp.cpp create mode 100644 qtinterface/interface_tqt3/tqregexp.h create mode 100644 qtinterface/interface_tqt3/tqregion.cpp create mode 100644 qtinterface/interface_tqt3/tqregion.h create mode 100644 qtinterface/interface_tqt3/tqrtlcodec.cpp create mode 100644 qtinterface/interface_tqt3/tqrtlcodec.h create mode 100644 qtinterface/interface_tqt3/tqscrbar.h create mode 100644 qtinterface/interface_tqt3/tqscrollbar.cpp create mode 100644 qtinterface/interface_tqt3/tqscrollbar.h create mode 100644 qtinterface/interface_tqt3/tqscrollview.cpp create mode 100644 qtinterface/interface_tqt3/tqscrollview.h create mode 100644 qtinterface/interface_tqt3/tqsemaphore.cpp create mode 100644 qtinterface/interface_tqt3/tqsemaphore.h create mode 100644 qtinterface/interface_tqt3/tqsemimodal.cpp create mode 100644 qtinterface/interface_tqt3/tqsemimodal.h create mode 100644 qtinterface/interface_tqt3/tqserversocket.cpp create mode 100644 qtinterface/interface_tqt3/tqserversocket.h create mode 100644 qtinterface/interface_tqt3/tqsession.h create mode 100644 qtinterface/interface_tqt3/tqsessionmanager.cpp create mode 100644 qtinterface/interface_tqt3/tqsessionmanager.h create mode 100644 qtinterface/interface_tqt3/tqsettings.cpp create mode 100644 qtinterface/interface_tqt3/tqsettings.h create mode 100644 qtinterface/interface_tqt3/tqsgistyle.cpp create mode 100644 qtinterface/interface_tqt3/tqsgistyle.h create mode 100644 qtinterface/interface_tqt3/tqshared.cpp create mode 100644 qtinterface/interface_tqt3/tqshared.h create mode 100644 qtinterface/interface_tqt3/tqsignal.cpp create mode 100644 qtinterface/interface_tqt3/tqsignal.h create mode 100644 qtinterface/interface_tqt3/tqsignalmapper.cpp create mode 100644 qtinterface/interface_tqt3/tqsignalmapper.h create mode 100644 qtinterface/interface_tqt3/tqsignalslotimp.cpp create mode 100644 qtinterface/interface_tqt3/tqsignalslotimp.h create mode 100644 qtinterface/interface_tqt3/tqsimplerichtext.cpp create mode 100644 qtinterface/interface_tqt3/tqsimplerichtext.h create mode 100644 qtinterface/interface_tqt3/tqsize.cpp create mode 100644 qtinterface/interface_tqt3/tqsize.h create mode 100644 qtinterface/interface_tqt3/tqsizegrip.cpp create mode 100644 qtinterface/interface_tqt3/tqsizegrip.h create mode 100644 qtinterface/interface_tqt3/tqsizepolicy.cpp create mode 100644 qtinterface/interface_tqt3/tqsizepolicy.h create mode 100644 qtinterface/interface_tqt3/tqsjiscodec.cpp create mode 100644 qtinterface/interface_tqt3/tqsjiscodec.h create mode 100644 qtinterface/interface_tqt3/tqslider.cpp create mode 100644 qtinterface/interface_tqt3/tqslider.h create mode 100644 qtinterface/interface_tqt3/tqsocket.cpp create mode 100644 qtinterface/interface_tqt3/tqsocket.h create mode 100644 qtinterface/interface_tqt3/tqsocketdevice.cpp create mode 100644 qtinterface/interface_tqt3/tqsocketdevice.h create mode 100644 qtinterface/interface_tqt3/tqsocketnotifier.cpp create mode 100644 qtinterface/interface_tqt3/tqsocketnotifier.h create mode 100644 qtinterface/interface_tqt3/tqsocknot.h create mode 100644 qtinterface/interface_tqt3/tqsortedlist.cpp create mode 100644 qtinterface/interface_tqt3/tqsortedlist.h create mode 100644 qtinterface/interface_tqt3/tqsound.cpp create mode 100644 qtinterface/interface_tqt3/tqsound.h create mode 100644 qtinterface/interface_tqt3/tqspinbox.cpp create mode 100644 qtinterface/interface_tqt3/tqspinbox.h create mode 100644 qtinterface/interface_tqt3/tqsplashscreen.cpp create mode 100644 qtinterface/interface_tqt3/tqsplashscreen.h create mode 100644 qtinterface/interface_tqt3/tqsplitter.cpp create mode 100644 qtinterface/interface_tqt3/tqsplitter.h create mode 100644 qtinterface/interface_tqt3/tqsql.cpp create mode 100644 qtinterface/interface_tqt3/tqsql.h create mode 100644 qtinterface/interface_tqt3/tqsqlcursor.cpp create mode 100644 qtinterface/interface_tqt3/tqsqlcursor.h create mode 100644 qtinterface/interface_tqt3/tqsqldatabase.cpp create mode 100644 qtinterface/interface_tqt3/tqsqldatabase.h create mode 100644 qtinterface/interface_tqt3/tqsqldriver.cpp create mode 100644 qtinterface/interface_tqt3/tqsqldriver.h create mode 100644 qtinterface/interface_tqt3/tqsqldriverplugin.cpp create mode 100644 qtinterface/interface_tqt3/tqsqldriverplugin.h create mode 100644 qtinterface/interface_tqt3/tqsqleditorfactory.cpp create mode 100644 qtinterface/interface_tqt3/tqsqleditorfactory.h create mode 100644 qtinterface/interface_tqt3/tqsqlerror.cpp create mode 100644 qtinterface/interface_tqt3/tqsqlerror.h create mode 100644 qtinterface/interface_tqt3/tqsqlfield.cpp create mode 100644 qtinterface/interface_tqt3/tqsqlfield.h create mode 100644 qtinterface/interface_tqt3/tqsqlform.cpp create mode 100644 qtinterface/interface_tqt3/tqsqlform.h create mode 100644 qtinterface/interface_tqt3/tqsqlindex.cpp create mode 100644 qtinterface/interface_tqt3/tqsqlindex.h create mode 100644 qtinterface/interface_tqt3/tqsqlpropertymap.cpp create mode 100644 qtinterface/interface_tqt3/tqsqlpropertymap.h create mode 100644 qtinterface/interface_tqt3/tqsqlquery.cpp create mode 100644 qtinterface/interface_tqt3/tqsqlquery.h create mode 100644 qtinterface/interface_tqt3/tqsqlrecord.cpp create mode 100644 qtinterface/interface_tqt3/tqsqlrecord.h create mode 100644 qtinterface/interface_tqt3/tqsqlresult.cpp create mode 100644 qtinterface/interface_tqt3/tqsqlresult.h create mode 100644 qtinterface/interface_tqt3/tqsqlselectcursor.cpp create mode 100644 qtinterface/interface_tqt3/tqsqlselectcursor.h create mode 100644 qtinterface/interface_tqt3/tqstack.h create mode 100644 qtinterface/interface_tqt3/tqstatusbar.cpp create mode 100644 qtinterface/interface_tqt3/tqstatusbar.h create mode 100644 qtinterface/interface_tqt3/tqstring.cpp create mode 100644 qtinterface/interface_tqt3/tqstring.h create mode 100644 qtinterface/interface_tqt3/tqstringlist.cpp create mode 100644 qtinterface/interface_tqt3/tqstringlist.h create mode 100644 qtinterface/interface_tqt3/tqstrlist.cpp create mode 100644 qtinterface/interface_tqt3/tqstrlist.h create mode 100644 qtinterface/interface_tqt3/tqstrvec.cpp create mode 100644 qtinterface/interface_tqt3/tqstrvec.h create mode 100644 qtinterface/interface_tqt3/tqstyle.cpp create mode 100644 qtinterface/interface_tqt3/tqstyle.h create mode 100644 qtinterface/interface_tqt3/tqstylefactory.cpp create mode 100644 qtinterface/interface_tqt3/tqstylefactory.h create mode 100644 qtinterface/interface_tqt3/tqstyleplugin.cpp create mode 100644 qtinterface/interface_tqt3/tqstyleplugin.h create mode 100644 qtinterface/interface_tqt3/tqstylesheet.cpp create mode 100644 qtinterface/interface_tqt3/tqstylesheet.h create mode 100644 qtinterface/interface_tqt3/tqsyntaxhighlighter.cpp create mode 100644 qtinterface/interface_tqt3/tqsyntaxhighlighter.h create mode 100644 qtinterface/interface_tqt3/tqt.cpp create mode 100644 qtinterface/interface_tqt3/tqt_defs.h create mode 100644 qtinterface/interface_tqt3/tqt_undefs.h create mode 100644 qtinterface/interface_tqt3/tqtabbar.cpp create mode 100644 qtinterface/interface_tqt3/tqtabbar.h create mode 100644 qtinterface/interface_tqt3/tqtabdialog.cpp create mode 100644 qtinterface/interface_tqt3/tqtabdialog.h create mode 100644 qtinterface/interface_tqt3/tqtabdlg.h create mode 100644 qtinterface/interface_tqt3/tqtable.cpp create mode 100644 qtinterface/interface_tqt3/tqtable.h create mode 100644 qtinterface/interface_tqt3/tqtabwidget.cpp create mode 100644 qtinterface/interface_tqt3/tqtabwidget.h create mode 100644 qtinterface/interface_tqt3/tqtextbrowser.cpp create mode 100644 qtinterface/interface_tqt3/tqtextbrowser.h create mode 100644 qtinterface/interface_tqt3/tqtextcodec.cpp create mode 100644 qtinterface/interface_tqt3/tqtextcodec.h create mode 100644 qtinterface/interface_tqt3/tqtextcodecfactory.cpp create mode 100644 qtinterface/interface_tqt3/tqtextcodecfactory.h create mode 100644 qtinterface/interface_tqt3/tqtextcodecplugin.cpp create mode 100644 qtinterface/interface_tqt3/tqtextcodecplugin.h create mode 100644 qtinterface/interface_tqt3/tqtextedit.cpp create mode 100644 qtinterface/interface_tqt3/tqtextedit.h create mode 100644 qtinterface/interface_tqt3/tqtextstream.cpp create mode 100644 qtinterface/interface_tqt3/tqtextstream.h create mode 100644 qtinterface/interface_tqt3/tqtextview.cpp create mode 100644 qtinterface/interface_tqt3/tqtextview.h create mode 100644 qtinterface/interface_tqt3/tqtglobaldefines.h create mode 100644 qtinterface/interface_tqt3/tqthread.cpp create mode 100644 qtinterface/interface_tqt3/tqthread.h create mode 100644 qtinterface/interface_tqt3/tqthreadstorage.cpp create mode 100644 qtinterface/interface_tqt3/tqthreadstorage.h create mode 100644 qtinterface/interface_tqt3/tqtimer.cpp create mode 100644 qtinterface/interface_tqt3/tqtimer.h create mode 100644 qtinterface/interface_tqt3/tqtl.cpp create mode 100644 qtinterface/interface_tqt3/tqtl.h create mode 100644 qtinterface/interface_tqt3/tqtoolbar.cpp create mode 100644 qtinterface/interface_tqt3/tqtoolbar.h create mode 100644 qtinterface/interface_tqt3/tqtoolbox.cpp create mode 100644 qtinterface/interface_tqt3/tqtoolbox.h create mode 100644 qtinterface/interface_tqt3/tqtoolbutton.cpp create mode 100644 qtinterface/interface_tqt3/tqtoolbutton.h create mode 100644 qtinterface/interface_tqt3/tqtooltip.cpp create mode 100644 qtinterface/interface_tqt3/tqtooltip.h create mode 100644 qtinterface/interface_tqt3/tqtranslator.cpp create mode 100644 qtinterface/interface_tqt3/tqtranslator.h create mode 100644 qtinterface/interface_tqt3/tqtsciicodec.cpp create mode 100644 qtinterface/interface_tqt3/tqtsciicodec.h create mode 100644 qtinterface/interface_tqt3/tqtstream.h create mode 100644 qtinterface/interface_tqt3/tqurl.cpp create mode 100644 qtinterface/interface_tqt3/tqurl.h create mode 100644 qtinterface/interface_tqt3/tqurlinfo.cpp create mode 100644 qtinterface/interface_tqt3/tqurlinfo.h create mode 100644 qtinterface/interface_tqt3/tqurloperator.cpp create mode 100644 qtinterface/interface_tqt3/tqurloperator.h create mode 100644 qtinterface/interface_tqt3/tqutfcodec.cpp create mode 100644 qtinterface/interface_tqt3/tqutfcodec.h create mode 100644 qtinterface/interface_tqt3/tquuid.cpp create mode 100644 qtinterface/interface_tqt3/tquuid.h create mode 100644 qtinterface/interface_tqt3/tqvalidator.cpp create mode 100644 qtinterface/interface_tqt3/tqvalidator.h create mode 100644 qtinterface/interface_tqt3/tqvaluelist.cpp create mode 100644 qtinterface/interface_tqt3/tqvaluelist.h create mode 100644 qtinterface/interface_tqt3/tqvaluestack.cpp create mode 100644 qtinterface/interface_tqt3/tqvaluestack.h create mode 100644 qtinterface/interface_tqt3/tqvaluevector.cpp create mode 100644 qtinterface/interface_tqt3/tqvaluevector.h create mode 100644 qtinterface/interface_tqt3/tqvariant.cpp create mode 100644 qtinterface/interface_tqt3/tqvariant.h create mode 100644 qtinterface/interface_tqt3/tqvbox.cpp create mode 100644 qtinterface/interface_tqt3/tqvbox.h create mode 100644 qtinterface/interface_tqt3/tqvbuttongroup.cpp create mode 100644 qtinterface/interface_tqt3/tqvbuttongroup.h create mode 100644 qtinterface/interface_tqt3/tqvector.h create mode 100644 qtinterface/interface_tqt3/tqvfbhdr.cpp create mode 100644 qtinterface/interface_tqt3/tqvfbhdr.h create mode 100644 qtinterface/interface_tqt3/tqvgroupbox.cpp create mode 100644 qtinterface/interface_tqt3/tqvgroupbox.h create mode 100644 qtinterface/interface_tqt3/tqwaitcondition.cpp create mode 100644 qtinterface/interface_tqt3/tqwaitcondition.h create mode 100644 qtinterface/interface_tqt3/tqwhatsthis.cpp create mode 100644 qtinterface/interface_tqt3/tqwhatsthis.h create mode 100644 qtinterface/interface_tqt3/tqwidcoll.h create mode 100644 qtinterface/interface_tqt3/tqwidget.cpp create mode 100644 qtinterface/interface_tqt3/tqwidget.h create mode 100644 qtinterface/interface_tqt3/tqwidgetfactory.cpp create mode 100644 qtinterface/interface_tqt3/tqwidgetfactory.h create mode 100644 qtinterface/interface_tqt3/tqwidgetintdict.cpp create mode 100644 qtinterface/interface_tqt3/tqwidgetintdict.h create mode 100644 qtinterface/interface_tqt3/tqwidgetlist.cpp create mode 100644 qtinterface/interface_tqt3/tqwidgetlist.h create mode 100644 qtinterface/interface_tqt3/tqwidgetplugin.cpp create mode 100644 qtinterface/interface_tqt3/tqwidgetplugin.h create mode 100644 qtinterface/interface_tqt3/tqwidgetstack.cpp create mode 100644 qtinterface/interface_tqt3/tqwidgetstack.h create mode 100644 qtinterface/interface_tqt3/tqwindefs.h create mode 100644 qtinterface/interface_tqt3/tqwindowdefs.h create mode 100644 qtinterface/interface_tqt3/tqwindowsstyle.cpp create mode 100644 qtinterface/interface_tqt3/tqwindowsstyle.h create mode 100644 qtinterface/interface_tqt3/tqwinexport.h create mode 100644 qtinterface/interface_tqt3/tqwizard.cpp create mode 100644 qtinterface/interface_tqt3/tqwizard.h create mode 100644 qtinterface/interface_tqt3/tqwmatrix.cpp create mode 100644 qtinterface/interface_tqt3/tqwmatrix.h create mode 100644 qtinterface/interface_tqt3/tqworkspace.cpp create mode 100644 qtinterface/interface_tqt3/tqworkspace.h create mode 100644 qtinterface/interface_tqt3/tqxml.cpp create mode 100644 qtinterface/interface_tqt3/tqxml.h delete mode 100644 qtinterface/private/tqcom_p.h delete mode 100644 qtinterface/private/tqeffects_p.h delete mode 100644 qtinterface/private/tqinternal_p.h delete mode 100644 qtinterface/private/tqlayoutengine_p.h delete mode 100644 qtinterface/private/tqpluginmanager_p.h delete mode 100644 qtinterface/private/tqrichtext_p.h delete mode 100644 qtinterface/private/tqtextengine_p.h delete mode 100644 qtinterface/private/tqucom_p.h delete mode 100644 qtinterface/private/tqucomextra_p.cpp delete mode 100644 qtinterface/private/tqucomextra_p.h delete mode 100644 qtinterface/private/tqwidgetinterface_p.h delete mode 100644 qtinterface/tq1xcompatibility.cpp delete mode 100644 qtinterface/tq1xcompatibility.h delete mode 100644 qtinterface/tqabstractlayout.cpp delete mode 100644 qtinterface/tqabstractlayout.h delete mode 100644 qtinterface/tqaccel.cpp delete mode 100644 qtinterface/tqaccel.h delete mode 100644 qtinterface/tqaccessible.cpp delete mode 100644 qtinterface/tqaccessible.h delete mode 100644 qtinterface/tqaction.cpp delete mode 100644 qtinterface/tqaction.h delete mode 100644 qtinterface/tqapp.h delete mode 100644 qtinterface/tqapplication.cpp delete mode 100644 qtinterface/tqapplication.h delete mode 100644 qtinterface/tqarray.h delete mode 100644 qtinterface/tqasciicache.cpp delete mode 100644 qtinterface/tqasciicache.h delete mode 100644 qtinterface/tqasciidict.cpp delete mode 100644 qtinterface/tqasciidict.h delete mode 100644 qtinterface/tqassistantclient.cpp delete mode 100644 qtinterface/tqassistantclient.h delete mode 100644 qtinterface/tqasyncimageio.cpp delete mode 100644 qtinterface/tqasyncimageio.h delete mode 100644 qtinterface/tqasyncio.cpp delete mode 100644 qtinterface/tqasyncio.h delete mode 100644 qtinterface/tqbig5codec.cpp delete mode 100644 qtinterface/tqbig5codec.h delete mode 100644 qtinterface/tqbitarray.cpp delete mode 100644 qtinterface/tqbitarray.h delete mode 100644 qtinterface/tqbitarry.h delete mode 100644 qtinterface/tqbitmap.cpp delete mode 100644 qtinterface/tqbitmap.h delete mode 100644 qtinterface/tqbrush.cpp delete mode 100644 qtinterface/tqbrush.h delete mode 100644 qtinterface/tqbttngrp.h delete mode 100644 qtinterface/tqbuffer.cpp delete mode 100644 qtinterface/tqbuffer.h delete mode 100644 qtinterface/tqbutton.cpp delete mode 100644 qtinterface/tqbutton.h delete mode 100644 qtinterface/tqbuttongroup.cpp delete mode 100644 qtinterface/tqbuttongroup.h delete mode 100644 qtinterface/tqcache.cpp delete mode 100644 qtinterface/tqcache.h delete mode 100644 qtinterface/tqcanvas.cpp delete mode 100644 qtinterface/tqcanvas.h delete mode 100644 qtinterface/tqcdestyle.cpp delete mode 100644 qtinterface/tqcdestyle.h delete mode 100644 qtinterface/tqcheckbox.cpp delete mode 100644 qtinterface/tqcheckbox.h delete mode 100644 qtinterface/tqchkbox.h delete mode 100644 qtinterface/tqcleanuphandler.cpp delete mode 100644 qtinterface/tqcleanuphandler.h delete mode 100644 qtinterface/tqclipboard.cpp delete mode 100644 qtinterface/tqclipboard.h delete mode 100644 qtinterface/tqclipbrd.h delete mode 100644 qtinterface/tqcollect.h delete mode 100644 qtinterface/tqcollection.h delete mode 100644 qtinterface/tqcolor.cpp delete mode 100644 qtinterface/tqcolor.h delete mode 100644 qtinterface/tqcolordialog.cpp delete mode 100644 qtinterface/tqcolordialog.h delete mode 100644 qtinterface/tqcombo.h delete mode 100644 qtinterface/tqcombobox.cpp delete mode 100644 qtinterface/tqcombobox.h delete mode 100644 qtinterface/tqcommonstyle.cpp delete mode 100644 qtinterface/tqcommonstyle.h delete mode 100644 qtinterface/tqcompactstyle.cpp delete mode 100644 qtinterface/tqcompactstyle.h delete mode 100644 qtinterface/tqconfig.h delete mode 100644 qtinterface/tqconnect.h delete mode 100644 qtinterface/tqconnection.cpp delete mode 100644 qtinterface/tqconnection.h delete mode 100644 qtinterface/tqcstring.cpp delete mode 100644 qtinterface/tqcstring.h delete mode 100644 qtinterface/tqcursor.cpp delete mode 100644 qtinterface/tqcursor.h delete mode 100644 qtinterface/tqdatabrowser.cpp delete mode 100644 qtinterface/tqdatabrowser.h delete mode 100644 qtinterface/tqdatastream.cpp delete mode 100644 qtinterface/tqdatastream.h delete mode 100644 qtinterface/tqdatatable.cpp delete mode 100644 qtinterface/tqdatatable.h delete mode 100644 qtinterface/tqdataview.cpp delete mode 100644 qtinterface/tqdataview.h delete mode 100644 qtinterface/tqdatetime.cpp delete mode 100644 qtinterface/tqdatetime.h delete mode 100644 qtinterface/tqdatetimeedit.cpp delete mode 100644 qtinterface/tqdatetimeedit.h delete mode 100644 qtinterface/tqdatetm.h delete mode 100644 qtinterface/tqdeepcopy.cpp delete mode 100644 qtinterface/tqdeepcopy.h delete mode 100644 qtinterface/tqdesktopwidget.cpp delete mode 100644 qtinterface/tqdesktopwidget.h delete mode 100644 qtinterface/tqdial.cpp delete mode 100644 qtinterface/tqdial.h delete mode 100644 qtinterface/tqdialog.cpp delete mode 100644 qtinterface/tqdialog.h delete mode 100644 qtinterface/tqdict.cpp delete mode 100644 qtinterface/tqdict.h delete mode 100644 qtinterface/tqdir.cpp delete mode 100644 qtinterface/tqdir.h delete mode 100644 qtinterface/tqdns.cpp delete mode 100644 qtinterface/tqdns.h delete mode 100644 qtinterface/tqdockarea.cpp delete mode 100644 qtinterface/tqdockarea.h delete mode 100644 qtinterface/tqdockwindow.cpp delete mode 100644 qtinterface/tqdockwindow.h delete mode 100644 qtinterface/tqdom.cpp delete mode 100644 qtinterface/tqdom.h delete mode 100644 qtinterface/tqdragobject.cpp delete mode 100644 qtinterface/tqdragobject.h delete mode 100644 qtinterface/tqdrawutil.cpp delete mode 100644 qtinterface/tqdrawutil.h delete mode 100644 qtinterface/tqdrawutl.h delete mode 100644 qtinterface/tqdropsite.cpp delete mode 100644 qtinterface/tqdropsite.h delete mode 100644 qtinterface/tqdstream.h delete mode 100644 qtinterface/tqeditorfactory.cpp delete mode 100644 qtinterface/tqeditorfactory.h delete mode 100644 qtinterface/tqerrormessage.cpp delete mode 100644 qtinterface/tqerrormessage.h delete mode 100644 qtinterface/tqeucjpcodec.cpp delete mode 100644 qtinterface/tqeucjpcodec.h delete mode 100644 qtinterface/tqeuckrcodec.cpp delete mode 100644 qtinterface/tqeuckrcodec.h delete mode 100644 qtinterface/tqevent.cpp delete mode 100644 qtinterface/tqevent.h delete mode 100644 qtinterface/tqeventloop.cpp delete mode 100644 qtinterface/tqeventloop.h delete mode 100644 qtinterface/tqfeatures.h delete mode 100644 qtinterface/tqfile.cpp delete mode 100644 qtinterface/tqfile.h delete mode 100644 qtinterface/tqfiledef.h delete mode 100644 qtinterface/tqfiledialog.cpp delete mode 100644 qtinterface/tqfiledialog.h delete mode 100644 qtinterface/tqfiledlg.h delete mode 100644 qtinterface/tqfileinf.h delete mode 100644 qtinterface/tqfileinfo.cpp delete mode 100644 qtinterface/tqfileinfo.h delete mode 100644 qtinterface/tqfocusdata.cpp delete mode 100644 qtinterface/tqfocusdata.h delete mode 100644 qtinterface/tqfont.cpp delete mode 100644 qtinterface/tqfont.h delete mode 100644 qtinterface/tqfontdatabase.cpp delete mode 100644 qtinterface/tqfontdatabase.h delete mode 100644 qtinterface/tqfontdialog.cpp delete mode 100644 qtinterface/tqfontdialog.h delete mode 100644 qtinterface/tqfontinf.h delete mode 100644 qtinterface/tqfontinfo.cpp delete mode 100644 qtinterface/tqfontinfo.h delete mode 100644 qtinterface/tqfontmet.h delete mode 100644 qtinterface/tqfontmetrics.cpp delete mode 100644 qtinterface/tqfontmetrics.h delete mode 100644 qtinterface/tqframe.cpp delete mode 100644 qtinterface/tqframe.h delete mode 100644 qtinterface/tqftp.cpp delete mode 100644 qtinterface/tqftp.h delete mode 100644 qtinterface/tqgarray.cpp delete mode 100644 qtinterface/tqgarray.h delete mode 100644 qtinterface/tqgb18030codec.cpp delete mode 100644 qtinterface/tqgb18030codec.h delete mode 100644 qtinterface/tqgbkcodec.h delete mode 100644 qtinterface/tqgcache.cpp delete mode 100644 qtinterface/tqgcache.h delete mode 100644 qtinterface/tqgdict.cpp delete mode 100644 qtinterface/tqgdict.h delete mode 100644 qtinterface/tqgeneric.h delete mode 100644 qtinterface/tqgif.h delete mode 100644 qtinterface/tqgl.cpp delete mode 100644 qtinterface/tqgl.h delete mode 100644 qtinterface/tqglcolormap.cpp delete mode 100644 qtinterface/tqglcolormap.h delete mode 100644 qtinterface/tqglist.cpp delete mode 100644 qtinterface/tqglist.h delete mode 100644 qtinterface/tqglobal.h delete mode 100644 qtinterface/tqgplugin.cpp delete mode 100644 qtinterface/tqgplugin.h delete mode 100644 qtinterface/tqgrid.cpp delete mode 100644 qtinterface/tqgrid.h delete mode 100644 qtinterface/tqgridview.cpp delete mode 100644 qtinterface/tqgridview.h delete mode 100644 qtinterface/tqgroupbox.cpp delete mode 100644 qtinterface/tqgroupbox.h delete mode 100644 qtinterface/tqgrpbox.h delete mode 100644 qtinterface/tqguardedptr.cpp delete mode 100644 qtinterface/tqguardedptr.h delete mode 100644 qtinterface/tqgvector.cpp delete mode 100644 qtinterface/tqgvector.h delete mode 100644 qtinterface/tqhbox.cpp delete mode 100644 qtinterface/tqhbox.h delete mode 100644 qtinterface/tqhbuttongroup.cpp delete mode 100644 qtinterface/tqhbuttongroup.h delete mode 100644 qtinterface/tqheader.cpp delete mode 100644 qtinterface/tqheader.h delete mode 100644 qtinterface/tqhgroupbox.cpp delete mode 100644 qtinterface/tqhgroupbox.h delete mode 100644 qtinterface/tqhostaddress.cpp delete mode 100644 qtinterface/tqhostaddress.h delete mode 100644 qtinterface/tqhttp.cpp delete mode 100644 qtinterface/tqhttp.h delete mode 100644 qtinterface/tqiconset.cpp delete mode 100644 qtinterface/tqiconset.h delete mode 100644 qtinterface/tqiconview.cpp delete mode 100644 qtinterface/tqiconview.h delete mode 100644 qtinterface/tqimage.cpp delete mode 100644 qtinterface/tqimage.h delete mode 100644 qtinterface/tqimageformatplugin.cpp delete mode 100644 qtinterface/tqimageformatplugin.h delete mode 100644 qtinterface/tqinputcontext.cpp delete mode 100644 qtinterface/tqinputcontext.h delete mode 100644 qtinterface/tqinputcontextfactory.cpp delete mode 100644 qtinterface/tqinputcontextfactory.h delete mode 100644 qtinterface/tqinputdialog.cpp delete mode 100644 qtinterface/tqinputdialog.h delete mode 100644 qtinterface/tqintcach.h delete mode 100644 qtinterface/tqintcache.cpp delete mode 100644 qtinterface/tqintcache.h delete mode 100644 qtinterface/tqintdict.cpp delete mode 100644 qtinterface/tqintdict.h delete mode 100644 qtinterface/tqinterlacestyle.cpp delete mode 100644 qtinterface/tqinterlacestyle.h delete mode 100644 qtinterface/tqiodev.h delete mode 100644 qtinterface/tqiodevice.cpp delete mode 100644 qtinterface/tqiodevice.h delete mode 100644 qtinterface/tqjiscodec.cpp delete mode 100644 qtinterface/tqjiscodec.h delete mode 100644 qtinterface/tqjpegio.h delete mode 100644 qtinterface/tqjpunicode.cpp delete mode 100644 qtinterface/tqjpunicode.h delete mode 100644 qtinterface/tqkeycode.h delete mode 100644 qtinterface/tqkeysequence.cpp delete mode 100644 qtinterface/tqkeysequence.h delete mode 100644 qtinterface/tqlabel.cpp delete mode 100644 qtinterface/tqlabel.h delete mode 100644 qtinterface/tqlayout.cpp delete mode 100644 qtinterface/tqlayout.h delete mode 100644 qtinterface/tqlcdnum.h delete mode 100644 qtinterface/tqlcdnumber.cpp delete mode 100644 qtinterface/tqlcdnumber.h delete mode 100644 qtinterface/tqlibrary.cpp delete mode 100644 qtinterface/tqlibrary.h delete mode 100644 qtinterface/tqlined.h delete mode 100644 qtinterface/tqlineedit.cpp delete mode 100644 qtinterface/tqlineedit.h delete mode 100644 qtinterface/tqlist.h delete mode 100644 qtinterface/tqlistbox.cpp delete mode 100644 qtinterface/tqlistbox.h delete mode 100644 qtinterface/tqlistiterator.cpp delete mode 100644 qtinterface/tqlistiterator.h delete mode 100644 qtinterface/tqlistview.cpp delete mode 100644 qtinterface/tqlistview.h delete mode 100644 qtinterface/tqlocale.cpp delete mode 100644 qtinterface/tqlocale.h delete mode 100644 qtinterface/tqlocalfs.cpp delete mode 100644 qtinterface/tqlocalfs.h delete mode 100644 qtinterface/tqmainwindow.cpp delete mode 100644 qtinterface/tqmainwindow.h delete mode 100644 qtinterface/tqmap.cpp delete mode 100644 qtinterface/tqmap.h delete mode 100644 qtinterface/tqmemarray.cpp delete mode 100644 qtinterface/tqmemarray.h delete mode 100644 qtinterface/tqmenubar.cpp delete mode 100644 qtinterface/tqmenubar.h delete mode 100644 qtinterface/tqmenudata.cpp delete mode 100644 qtinterface/tqmenudata.h delete mode 100644 qtinterface/tqmenudta.h delete mode 100644 qtinterface/tqmessagebox.cpp delete mode 100644 qtinterface/tqmessagebox.h delete mode 100644 qtinterface/tqmetaobj.h delete mode 100644 qtinterface/tqmetaobject.cpp delete mode 100644 qtinterface/tqmetaobject.h delete mode 100644 qtinterface/tqmime.cpp delete mode 100644 qtinterface/tqmime.h delete mode 100644 qtinterface/tqmlined.h delete mode 100644 qtinterface/tqmngio.h delete mode 100644 qtinterface/tqmodules.h delete mode 100644 qtinterface/tqmotifplusstyle.cpp delete mode 100644 qtinterface/tqmotifplusstyle.h delete mode 100644 qtinterface/tqmotifstyle.cpp delete mode 100644 qtinterface/tqmotifstyle.h delete mode 100644 qtinterface/tqmovie.cpp delete mode 100644 qtinterface/tqmovie.h delete mode 100644 qtinterface/tqmsgbox.h delete mode 100644 qtinterface/tqmultilinedit.h delete mode 100644 qtinterface/tqmultilineedit.cpp delete mode 100644 qtinterface/tqmultilineedit.h delete mode 100644 qtinterface/tqmutex.cpp delete mode 100644 qtinterface/tqmutex.h delete mode 100644 qtinterface/tqnamespace.cpp delete mode 100644 qtinterface/tqnamespace.h delete mode 100644 qtinterface/tqnetwork.h delete mode 100644 qtinterface/tqnetworkprotocol.cpp delete mode 100644 qtinterface/tqnetworkprotocol.h delete mode 100644 qtinterface/tqnp.cpp delete mode 100644 qtinterface/tqnp.h delete mode 100644 qtinterface/tqobjcoll.h delete mode 100644 qtinterface/tqobjdefs.h delete mode 100644 qtinterface/tqobject.cpp delete mode 100644 qtinterface/tqobject.h delete mode 100644 qtinterface/tqobjectcleanuphandler.cpp delete mode 100644 qtinterface/tqobjectcleanuphandler.h delete mode 100644 qtinterface/tqobjectdict.cpp delete mode 100644 qtinterface/tqobjectdict.h delete mode 100644 qtinterface/tqobjectlist.cpp delete mode 100644 qtinterface/tqobjectlist.h delete mode 100644 qtinterface/tqpaintd.h delete mode 100644 qtinterface/tqpaintdc.h delete mode 100644 qtinterface/tqpaintdevice.cpp delete mode 100644 qtinterface/tqpaintdevice.h delete mode 100644 qtinterface/tqpaintdevicemetrics.cpp delete mode 100644 qtinterface/tqpaintdevicemetrics.h delete mode 100644 qtinterface/tqpainter.cpp delete mode 100644 qtinterface/tqpainter.h delete mode 100644 qtinterface/tqpair.cpp delete mode 100644 qtinterface/tqpair.h delete mode 100644 qtinterface/tqpalette.cpp delete mode 100644 qtinterface/tqpalette.h delete mode 100644 qtinterface/tqpdevmet.h delete mode 100644 qtinterface/tqpen.cpp delete mode 100644 qtinterface/tqpen.h delete mode 100644 qtinterface/tqpicture.cpp delete mode 100644 qtinterface/tqpicture.h delete mode 100644 qtinterface/tqpixmap.cpp delete mode 100644 qtinterface/tqpixmap.h delete mode 100644 qtinterface/tqpixmapcache.cpp delete mode 100644 qtinterface/tqpixmapcache.h delete mode 100644 qtinterface/tqplatinumstyle.cpp delete mode 100644 qtinterface/tqplatinumstyle.h delete mode 100644 qtinterface/tqpmcache.h delete mode 100644 qtinterface/tqpngio.cpp delete mode 100644 qtinterface/tqpngio.h delete mode 100644 qtinterface/tqpntarry.h delete mode 100644 qtinterface/tqpoint.cpp delete mode 100644 qtinterface/tqpoint.h delete mode 100644 qtinterface/tqpointarray.cpp delete mode 100644 qtinterface/tqpointarray.h delete mode 100644 qtinterface/tqpolygonscanner.cpp delete mode 100644 qtinterface/tqpolygonscanner.h delete mode 100644 qtinterface/tqpopmenu.h delete mode 100644 qtinterface/tqpopupmenu.cpp delete mode 100644 qtinterface/tqpopupmenu.h delete mode 100644 qtinterface/tqprintdialog.cpp delete mode 100644 qtinterface/tqprintdialog.h delete mode 100644 qtinterface/tqprinter.cpp delete mode 100644 qtinterface/tqprinter.h delete mode 100644 qtinterface/tqprndlg.h delete mode 100644 qtinterface/tqprocess.cpp delete mode 100644 qtinterface/tqprocess.h delete mode 100644 qtinterface/tqprogbar.h delete mode 100644 qtinterface/tqprogdlg.h delete mode 100644 qtinterface/tqprogressbar.cpp delete mode 100644 qtinterface/tqprogressbar.h delete mode 100644 qtinterface/tqprogressdialog.cpp delete mode 100644 qtinterface/tqprogressdialog.h delete mode 100644 qtinterface/tqptrcollection.cpp delete mode 100644 qtinterface/tqptrcollection.h delete mode 100644 qtinterface/tqptrdict.cpp delete mode 100644 qtinterface/tqptrdict.h delete mode 100644 qtinterface/tqptrlist.cpp delete mode 100644 qtinterface/tqptrlist.h delete mode 100644 qtinterface/tqptrqueue.cpp delete mode 100644 qtinterface/tqptrqueue.h delete mode 100644 qtinterface/tqptrstack.cpp delete mode 100644 qtinterface/tqptrstack.h delete mode 100644 qtinterface/tqptrvector.cpp delete mode 100644 qtinterface/tqptrvector.h delete mode 100644 qtinterface/tqpushbt.h delete mode 100644 qtinterface/tqpushbutton.cpp delete mode 100644 qtinterface/tqpushbutton.h delete mode 100644 qtinterface/tqqueue.h delete mode 100644 qtinterface/tqradiobt.h delete mode 100644 qtinterface/tqradiobutton.cpp delete mode 100644 qtinterface/tqradiobutton.h delete mode 100644 qtinterface/tqrangecontrol.cpp delete mode 100644 qtinterface/tqrangecontrol.h delete mode 100644 qtinterface/tqrangect.h delete mode 100644 qtinterface/tqrect.cpp delete mode 100644 qtinterface/tqrect.h delete mode 100644 qtinterface/tqregexp.cpp delete mode 100644 qtinterface/tqregexp.h delete mode 100644 qtinterface/tqregion.cpp delete mode 100644 qtinterface/tqregion.h delete mode 100644 qtinterface/tqrtlcodec.cpp delete mode 100644 qtinterface/tqrtlcodec.h delete mode 100644 qtinterface/tqscrbar.h delete mode 100644 qtinterface/tqscrollbar.cpp delete mode 100644 qtinterface/tqscrollbar.h delete mode 100644 qtinterface/tqscrollview.cpp delete mode 100644 qtinterface/tqscrollview.h delete mode 100644 qtinterface/tqsemaphore.cpp delete mode 100644 qtinterface/tqsemaphore.h delete mode 100644 qtinterface/tqsemimodal.cpp delete mode 100644 qtinterface/tqsemimodal.h delete mode 100644 qtinterface/tqserversocket.cpp delete mode 100644 qtinterface/tqserversocket.h delete mode 100644 qtinterface/tqsession.h delete mode 100644 qtinterface/tqsessionmanager.cpp delete mode 100644 qtinterface/tqsessionmanager.h delete mode 100644 qtinterface/tqsettings.cpp delete mode 100644 qtinterface/tqsettings.h delete mode 100644 qtinterface/tqsgistyle.cpp delete mode 100644 qtinterface/tqsgistyle.h delete mode 100644 qtinterface/tqshared.cpp delete mode 100644 qtinterface/tqshared.h delete mode 100644 qtinterface/tqsignal.cpp delete mode 100644 qtinterface/tqsignal.h delete mode 100644 qtinterface/tqsignalmapper.cpp delete mode 100644 qtinterface/tqsignalmapper.h delete mode 100644 qtinterface/tqsignalslotimp.cpp delete mode 100644 qtinterface/tqsignalslotimp.h delete mode 100644 qtinterface/tqsimplerichtext.cpp delete mode 100644 qtinterface/tqsimplerichtext.h delete mode 100644 qtinterface/tqsize.cpp delete mode 100644 qtinterface/tqsize.h delete mode 100644 qtinterface/tqsizegrip.cpp delete mode 100644 qtinterface/tqsizegrip.h delete mode 100644 qtinterface/tqsizepolicy.cpp delete mode 100644 qtinterface/tqsizepolicy.h delete mode 100644 qtinterface/tqsjiscodec.cpp delete mode 100644 qtinterface/tqsjiscodec.h delete mode 100644 qtinterface/tqslider.cpp delete mode 100644 qtinterface/tqslider.h delete mode 100644 qtinterface/tqsocket.cpp delete mode 100644 qtinterface/tqsocket.h delete mode 100644 qtinterface/tqsocketdevice.cpp delete mode 100644 qtinterface/tqsocketdevice.h delete mode 100644 qtinterface/tqsocketnotifier.cpp delete mode 100644 qtinterface/tqsocketnotifier.h delete mode 100644 qtinterface/tqsocknot.h delete mode 100644 qtinterface/tqsortedlist.cpp delete mode 100644 qtinterface/tqsortedlist.h delete mode 100644 qtinterface/tqsound.cpp delete mode 100644 qtinterface/tqsound.h delete mode 100644 qtinterface/tqspinbox.cpp delete mode 100644 qtinterface/tqspinbox.h delete mode 100644 qtinterface/tqsplashscreen.cpp delete mode 100644 qtinterface/tqsplashscreen.h delete mode 100644 qtinterface/tqsplitter.cpp delete mode 100644 qtinterface/tqsplitter.h delete mode 100644 qtinterface/tqsql.cpp delete mode 100644 qtinterface/tqsql.h delete mode 100644 qtinterface/tqsqlcursor.cpp delete mode 100644 qtinterface/tqsqlcursor.h delete mode 100644 qtinterface/tqsqldatabase.cpp delete mode 100644 qtinterface/tqsqldatabase.h delete mode 100644 qtinterface/tqsqldriver.cpp delete mode 100644 qtinterface/tqsqldriver.h delete mode 100644 qtinterface/tqsqldriverplugin.cpp delete mode 100644 qtinterface/tqsqldriverplugin.h delete mode 100644 qtinterface/tqsqleditorfactory.cpp delete mode 100644 qtinterface/tqsqleditorfactory.h delete mode 100644 qtinterface/tqsqlerror.cpp delete mode 100644 qtinterface/tqsqlerror.h delete mode 100644 qtinterface/tqsqlfield.cpp delete mode 100644 qtinterface/tqsqlfield.h delete mode 100644 qtinterface/tqsqlform.cpp delete mode 100644 qtinterface/tqsqlform.h delete mode 100644 qtinterface/tqsqlindex.cpp delete mode 100644 qtinterface/tqsqlindex.h delete mode 100644 qtinterface/tqsqlpropertymap.cpp delete mode 100644 qtinterface/tqsqlpropertymap.h delete mode 100644 qtinterface/tqsqlquery.cpp delete mode 100644 qtinterface/tqsqlquery.h delete mode 100644 qtinterface/tqsqlrecord.cpp delete mode 100644 qtinterface/tqsqlrecord.h delete mode 100644 qtinterface/tqsqlresult.cpp delete mode 100644 qtinterface/tqsqlresult.h delete mode 100644 qtinterface/tqsqlselectcursor.cpp delete mode 100644 qtinterface/tqsqlselectcursor.h delete mode 100644 qtinterface/tqstack.h delete mode 100644 qtinterface/tqstatusbar.cpp delete mode 100644 qtinterface/tqstatusbar.h delete mode 100644 qtinterface/tqstring.cpp delete mode 100644 qtinterface/tqstring.h delete mode 100644 qtinterface/tqstringlist.cpp delete mode 100644 qtinterface/tqstringlist.h delete mode 100644 qtinterface/tqstrlist.cpp delete mode 100644 qtinterface/tqstrlist.h delete mode 100644 qtinterface/tqstrvec.cpp delete mode 100644 qtinterface/tqstrvec.h delete mode 100644 qtinterface/tqstyle.cpp delete mode 100644 qtinterface/tqstyle.h delete mode 100644 qtinterface/tqstylefactory.cpp delete mode 100644 qtinterface/tqstylefactory.h delete mode 100644 qtinterface/tqstyleplugin.cpp delete mode 100644 qtinterface/tqstyleplugin.h delete mode 100644 qtinterface/tqstylesheet.cpp delete mode 100644 qtinterface/tqstylesheet.h delete mode 100644 qtinterface/tqsyntaxhighlighter.cpp delete mode 100644 qtinterface/tqsyntaxhighlighter.h delete mode 100644 qtinterface/tqt.cpp delete mode 100644 qtinterface/tqt_defs.h delete mode 100644 qtinterface/tqt_undefs.h delete mode 100644 qtinterface/tqtabbar.cpp delete mode 100644 qtinterface/tqtabbar.h delete mode 100644 qtinterface/tqtabdialog.cpp delete mode 100644 qtinterface/tqtabdialog.h delete mode 100644 qtinterface/tqtabdlg.h delete mode 100644 qtinterface/tqtable.cpp delete mode 100644 qtinterface/tqtable.h delete mode 100644 qtinterface/tqtabwidget.cpp delete mode 100644 qtinterface/tqtabwidget.h delete mode 100644 qtinterface/tqtextbrowser.cpp delete mode 100644 qtinterface/tqtextbrowser.h delete mode 100644 qtinterface/tqtextcodec.cpp delete mode 100644 qtinterface/tqtextcodec.h delete mode 100644 qtinterface/tqtextcodecfactory.cpp delete mode 100644 qtinterface/tqtextcodecfactory.h delete mode 100644 qtinterface/tqtextcodecplugin.cpp delete mode 100644 qtinterface/tqtextcodecplugin.h delete mode 100644 qtinterface/tqtextedit.cpp delete mode 100644 qtinterface/tqtextedit.h delete mode 100644 qtinterface/tqtextstream.cpp delete mode 100644 qtinterface/tqtextstream.h delete mode 100644 qtinterface/tqtextview.cpp delete mode 100644 qtinterface/tqtextview.h delete mode 100644 qtinterface/tqtglobaldefines.h delete mode 100644 qtinterface/tqthread.cpp delete mode 100644 qtinterface/tqthread.h delete mode 100644 qtinterface/tqthreadstorage.cpp delete mode 100644 qtinterface/tqthreadstorage.h delete mode 100644 qtinterface/tqtimer.cpp delete mode 100644 qtinterface/tqtimer.h delete mode 100644 qtinterface/tqtl.cpp delete mode 100644 qtinterface/tqtl.h delete mode 100644 qtinterface/tqtoolbar.cpp delete mode 100644 qtinterface/tqtoolbar.h delete mode 100644 qtinterface/tqtoolbox.cpp delete mode 100644 qtinterface/tqtoolbox.h delete mode 100644 qtinterface/tqtoolbutton.cpp delete mode 100644 qtinterface/tqtoolbutton.h delete mode 100644 qtinterface/tqtooltip.cpp delete mode 100644 qtinterface/tqtooltip.h delete mode 100644 qtinterface/tqtranslator.cpp delete mode 100644 qtinterface/tqtranslator.h delete mode 100644 qtinterface/tqtsciicodec.cpp delete mode 100644 qtinterface/tqtsciicodec.h delete mode 100644 qtinterface/tqtstream.h delete mode 100644 qtinterface/tqurl.cpp delete mode 100644 qtinterface/tqurl.h delete mode 100644 qtinterface/tqurlinfo.cpp delete mode 100644 qtinterface/tqurlinfo.h delete mode 100644 qtinterface/tqurloperator.cpp delete mode 100644 qtinterface/tqurloperator.h delete mode 100644 qtinterface/tqutfcodec.cpp delete mode 100644 qtinterface/tqutfcodec.h delete mode 100644 qtinterface/tquuid.cpp delete mode 100644 qtinterface/tquuid.h delete mode 100644 qtinterface/tqvalidator.cpp delete mode 100644 qtinterface/tqvalidator.h delete mode 100644 qtinterface/tqvaluelist.cpp delete mode 100644 qtinterface/tqvaluelist.h delete mode 100644 qtinterface/tqvaluestack.cpp delete mode 100644 qtinterface/tqvaluestack.h delete mode 100644 qtinterface/tqvaluevector.cpp delete mode 100644 qtinterface/tqvaluevector.h delete mode 100644 qtinterface/tqvariant.cpp delete mode 100644 qtinterface/tqvariant.h delete mode 100644 qtinterface/tqvbox.cpp delete mode 100644 qtinterface/tqvbox.h delete mode 100644 qtinterface/tqvbuttongroup.cpp delete mode 100644 qtinterface/tqvbuttongroup.h delete mode 100644 qtinterface/tqvector.h delete mode 100644 qtinterface/tqvfbhdr.cpp delete mode 100644 qtinterface/tqvfbhdr.h delete mode 100644 qtinterface/tqvgroupbox.cpp delete mode 100644 qtinterface/tqvgroupbox.h delete mode 100644 qtinterface/tqwaitcondition.cpp delete mode 100644 qtinterface/tqwaitcondition.h delete mode 100644 qtinterface/tqwhatsthis.cpp delete mode 100644 qtinterface/tqwhatsthis.h delete mode 100644 qtinterface/tqwidcoll.h delete mode 100644 qtinterface/tqwidget.cpp delete mode 100644 qtinterface/tqwidget.h delete mode 100644 qtinterface/tqwidgetfactory.cpp delete mode 100644 qtinterface/tqwidgetfactory.h delete mode 100644 qtinterface/tqwidgetintdict.cpp delete mode 100644 qtinterface/tqwidgetintdict.h delete mode 100644 qtinterface/tqwidgetlist.cpp delete mode 100644 qtinterface/tqwidgetlist.h delete mode 100644 qtinterface/tqwidgetplugin.cpp delete mode 100644 qtinterface/tqwidgetplugin.h delete mode 100644 qtinterface/tqwidgetstack.cpp delete mode 100644 qtinterface/tqwidgetstack.h delete mode 100644 qtinterface/tqwindefs.h delete mode 100644 qtinterface/tqwindowdefs.h delete mode 100644 qtinterface/tqwindowsstyle.cpp delete mode 100644 qtinterface/tqwindowsstyle.h delete mode 100644 qtinterface/tqwinexport.h delete mode 100644 qtinterface/tqwizard.cpp delete mode 100644 qtinterface/tqwizard.h delete mode 100644 qtinterface/tqwmatrix.cpp delete mode 100644 qtinterface/tqwmatrix.h delete mode 100644 qtinterface/tqworkspace.cpp delete mode 100644 qtinterface/tqworkspace.h delete mode 100644 qtinterface/tqxml.cpp delete mode 100644 qtinterface/tqxml.h (limited to 'qtinterface') diff --git a/qtinterface/CMakeLists.txt b/qtinterface/CMakeLists.txt index 9803386..0596911 100644 --- a/qtinterface/CMakeLists.txt +++ b/qtinterface/CMakeLists.txt @@ -25,70 +25,76 @@ link_directories( configure_file( tqt.h.cmake tqt.h @ONLY ) +if ( NOT HAVE_REAL_TQT ) + set( IFACE "interface_qt3" ) +else ( NOT HAVE_REAL_TQT ) + set( IFACE "interface_tqt3" ) +endif ( NOT HAVE_REAL_TQT ) + install( FILES - ${CMAKE_CURRENT_BINARY_DIR}/tqt.h tqtglobaldefines.h tqaccel.h tqaccessible.h - tqaction.h tqapplication.h tqasyncio.h tqbuttongroup.h tqbutton.h tqcanvas.h - tqcdestyle.h tqcheckbox.h tqclipboard.h tqcolordialog.h tqcombobox.h - tqcommonstyle.h tqdatabrowser.h tqdatatable.h tqdataview.h tqdatetimeedit.h - tqdesktopwidget.h tqdial.h tqdialog.h tqdns.h tqdockarea.h tqdockwindow.h - tqdragobject.h tqerrormessage.h tqeventloop.h tqfiledialog.h tqfontdialog.h - tqframe.h tqftp.h tqgl.h tqgplugin.h tqgrid.h tqgridview.h tqgroupbox.h - tqguardedptr.h tqhbox.h tqhbuttongroup.h tqheader.h tqhgroupbox.h - tqhttp.h tqiconview.h tqimageformatplugin.h tqinputdialog.h tqlabel.h - tqlayout.h tqlcdnumber.h tqlineedit.h tqlistbox.h tqlistview.h tqlocalfs.h - tqmainwindow.h tqmenubar.h tqmessagebox.h tqmotifplusstyle.h tqmotifstyle.h - tqmultilineedit.h tqnetworkprotocol.h tqnp.h tqobjectcleanuphandler.h - tqobject.h tqplatinumstyle.h tqpopupmenu.h tqprintdialog.h tqprocess.h - tqprogressbar.h tqprogressdialog.h tqpushbutton.h tqradiobutton.h - tqrangecontrol.h tqscrollbar.h tqscrollview.h tqsemimodal.h tqserversocket.h - tqsessionmanager.h tqsgistyle.h tqsignal.h tqsignalmapper.h tqsizegrip.h - tqslider.h tqsocket.h tqsocketnotifier.h tqsound.h tqspinbox.h tqsplashscreen.h - tqsplitter.h tqsqldatabase.h tqsqldriver.h tqsqldriverplugin.h tqsqlform.h - tqsqlquery.h tqstatusbar.h tqstyle.h tqstyleplugin.h tqstylesheet.h tqtabbar.h - tqtabdialog.h tqtable.h tqtabwidget.h tqtextbrowser.h tqtextcodecplugin.h - tqtextedit.h tqtextview.h tqtimer.h tqtoolbar.h tqtoolbox.h tqtoolbutton.h - tqtooltip.h tqtranslator.h tqurloperator.h tqvalidator.h tqvbox.h - tqvbuttongroup.h tqvgroupbox.h tqwidget.h tqwidgetplugin.h tqwidgetstack.h - tqwindowsstyle.h tqwizard.h tqworkspace.h tqapp.h tqarray.h tqassistantclient.h - tqbitarry.h tqbttngrp.h tqchkbox.h tqclipbrd.h tqcollect.h tqcollection.h tqcombo.h - tqconfig.h tqconnect.h tqdatetm.h tqdrawutl.h tqdstream.h tqfeatures.h - tqfiledef.h tqfiledlg.h tqfileinf.h tqfontinf.h tqfontmet.h tqgbkcodec.h - tqgeneric.h tqgif.h tqglobal.h tqgrpbox.h tqintcach.h tqiodev.h tqjpegio.h - tqkeycode.h tqlined.h tqlist.h tqmenudta.h tqmetaobj.h tqmlined.h tqmngio.h - tqmodules.h tqmsgbox.h tqmultilinedit.h tqnetwork.h tqobjcoll.h tqobjdefs.h - tqpaintdc.h tqpaintd.h tqpdevmet.h tqpmcache.h tqpntarry.h tqpopmenu.h - tqprndlg.h tqprogbar.h tqprogdlg.h tqpushbt.h tqqueue.h tqradiobt.h tqrangect.h - tqscrbar.h tqsession.h tqsocknot.h tqstack.h tqtabdlg.h tqtstream.h tqvector.h - tqwidcoll.h tqwindefs.h tqwindowdefs.h tqwinexport.h tq1xcompatibility.h - tqabstractlayout.h tqasciicache.h tqasciidict.h tqasyncimageio.h tqbig5codec.h - tqbitarray.h tqbitmap.h tqbrush.h tqbuffer.h tqcache.h tqcleanuphandler.h - tqcolor.h tqcompactstyle.h tqconnection.h tqcstring.h tqcursor.h tqdatastream.h - tqdatetime.h tqdeepcopy.h tqdict.h tqdir.h tqdom.h tqdrawutil.h tqdropsite.h - tqeditorfactory.h tqeucjpcodec.h tqeuckrcodec.h tqevent.h tqfile.h tqfileinfo.h - tqfocusdata.h tqfontdatabase.h tqfont.h tqfontinfo.h tqfontmetrics.h - tqgarray.h tqgb18030codec.h tqgcache.h tqgdict.h tqglcolormap.h tqglist.h - tqgvector.h tqhostaddress.h tqiconset.h tqimage.h tqintcache.h tqintdict.h - tqinterlacestyle.h tqiodevice.h tqjiscodec.h tqjpunicode.h tqkeysequence.h - tqlibrary.h tqlocale.h tqmap.h tqmemarray.h tqmenudata.h tqmetaobject.h - tqmime.h tqmovie.h tqmutex.h tqnamespace.h tqobjectdict.h tqobjectlist.h - tqpaintdevice.h tqpaintdevicemetrics.h tqpainter.h tqpair.h tqpalette.h tqpen.h - tqpicture.h tqpixmapcache.h tqpixmap.h tqpngio.h tqpointarray.h tqpoint.h - tqpolygonscanner.h tqprinter.h tqptrcollection.h tqptrdict.h tqptrlist.h - tqptrqueue.h tqptrstack.h tqptrvector.h tqrect.h tqregexp.h tqregion.h - tqrtlcodec.h tqsemaphore.h tqsettings.h tqshared.h tqsignalslotimp.h - tqsimplerichtext.h tqsize.h tqsizepolicy.h tqsjiscodec.h tqsocketdevice.h - tqsortedlist.h tqsqlcursor.h tqsqleditorfactory.h tqsqlerror.h tqsqlfield.h - tqsql.h tqsqlindex.h tqsqlpropertymap.h tqsqlrecord.h tqsqlresult.h - tqsqlselectcursor.h tqstring.h tqstringlist.h tqstrlist.h tqstrvec.h - tqstylefactory.h tqsyntaxhighlighter.h tqtextcodecfactory.h tqtextcodec.h - tqtextstream.h tqthread.h tqthreadstorage.h tqtl.h tqtsciicodec.h tqurl.h - tqurlinfo.h tqutfcodec.h tquuid.h tqvaluelist.h tqvaluestack.h tqvaluevector.h - tqvariant.h tqvfbhdr.h tqwaitcondition.h tqwhatsthis.h tqwidgetfactory.h - tqwidgetintdict.h tqwidgetlist.h tqwmatrix.h tqxml.h private/tqucomextra_p.h - private/tqlayoutengine_p.h private/tqinternal_p.h private/tqeffects_p.h - private/tqrichtext_p.h private/tqpluginmanager_p.h private/tqcom_p.h - private/tqucom_p.h private/tqwidgetinterface_p.h private/tqtextengine_p.h - tqlistiterator.h + ${CMAKE_CURRENT_BINARY_DIR}/tqt.h ${IFACE}/tglobaldefines.h ${IFACE}/accel.h ${IFACE}/accessible.h + ${IFACE}/action.h ${IFACE}/application.h ${IFACE}/asyncio.h ${IFACE}/buttongroup.h ${IFACE}/button.h ${IFACE}/canvas.h + ${IFACE}/cdestyle.h ${IFACE}/checkbox.h ${IFACE}/clipboard.h ${IFACE}/colordialog.h ${IFACE}/combobox.h + ${IFACE}/commonstyle.h ${IFACE}/databrowser.h ${IFACE}/datatable.h ${IFACE}/dataview.h ${IFACE}/datetimeedit.h + ${IFACE}/desktopwidget.h ${IFACE}/dial.h ${IFACE}/dialog.h ${IFACE}/dns.h ${IFACE}/dockarea.h ${IFACE}/dockwindow.h + ${IFACE}/dragobject.h ${IFACE}/errormessage.h ${IFACE}/eventloop.h ${IFACE}/filedialog.h ${IFACE}/fontdialog.h + ${IFACE}/frame.h ${IFACE}/ftp.h ${IFACE}/gl.h ${IFACE}/gplugin.h ${IFACE}/grid.h ${IFACE}/gridview.h ${IFACE}/groupbox.h + ${IFACE}/guardedptr.h ${IFACE}/hbox.h ${IFACE}/hbuttongroup.h ${IFACE}/header.h ${IFACE}/hgroupbox.h + ${IFACE}/http.h ${IFACE}/iconview.h ${IFACE}/imageformatplugin.h ${IFACE}/inputdialog.h ${IFACE}/label.h + ${IFACE}/layout.h ${IFACE}/lcdnumber.h ${IFACE}/lineedit.h ${IFACE}/listbox.h ${IFACE}/listview.h ${IFACE}/localfs.h + ${IFACE}/mainwindow.h ${IFACE}/menubar.h ${IFACE}/messagebox.h ${IFACE}/motifplusstyle.h ${IFACE}/motifstyle.h + ${IFACE}/multilineedit.h ${IFACE}/networkprotocol.h ${IFACE}/np.h ${IFACE}/objectcleanuphandler.h + ${IFACE}/object.h ${IFACE}/platinumstyle.h ${IFACE}/popupmenu.h ${IFACE}/printdialog.h ${IFACE}/process.h + ${IFACE}/progressbar.h ${IFACE}/progressdialog.h ${IFACE}/pushbutton.h ${IFACE}/radiobutton.h + ${IFACE}/rangecontrol.h ${IFACE}/scrollbar.h ${IFACE}/scrollview.h ${IFACE}/semimodal.h ${IFACE}/serversocket.h + ${IFACE}/sessionmanager.h ${IFACE}/sgistyle.h ${IFACE}/signal.h ${IFACE}/signalmapper.h ${IFACE}/sizegrip.h + ${IFACE}/slider.h ${IFACE}/socket.h ${IFACE}/socketnotifier.h ${IFACE}/sound.h ${IFACE}/spinbox.h ${IFACE}/splashscreen.h + ${IFACE}/splitter.h ${IFACE}/sqldatabase.h ${IFACE}/sqldriver.h ${IFACE}/sqldriverplugin.h ${IFACE}/sqlform.h + ${IFACE}/sqlquery.h ${IFACE}/statusbar.h ${IFACE}/style.h ${IFACE}/styleplugin.h ${IFACE}/stylesheet.h ${IFACE}/tabbar.h + ${IFACE}/tabdialog.h ${IFACE}/table.h ${IFACE}/tabwidget.h ${IFACE}/textbrowser.h ${IFACE}/textcodecplugin.h + ${IFACE}/textedit.h ${IFACE}/textview.h ${IFACE}/timer.h ${IFACE}/toolbar.h ${IFACE}/toolbox.h ${IFACE}/toolbutton.h + ${IFACE}/tooltip.h ${IFACE}/translator.h ${IFACE}/urloperator.h ${IFACE}/validator.h ${IFACE}/vbox.h + ${IFACE}/vbuttongroup.h ${IFACE}/vgroupbox.h ${IFACE}/widget.h ${IFACE}/widgetplugin.h ${IFACE}/widgetstack.h + ${IFACE}/windowsstyle.h ${IFACE}/wizard.h ${IFACE}/workspace.h ${IFACE}/app.h ${IFACE}/array.h ${IFACE}/assistantclient.h + ${IFACE}/bitarry.h ${IFACE}/bttngrp.h ${IFACE}/chkbox.h ${IFACE}/clipbrd.h ${IFACE}/collect.h ${IFACE}/collection.h ${IFACE}/combo.h + ${IFACE}/config.h ${IFACE}/connect.h ${IFACE}/datetm.h ${IFACE}/drawutl.h ${IFACE}/dstream.h ${IFACE}/features.h + ${IFACE}/filedef.h ${IFACE}/filedlg.h ${IFACE}/fileinf.h ${IFACE}/fontinf.h ${IFACE}/fontmet.h ${IFACE}/gbkcodec.h + ${IFACE}/generic.h ${IFACE}/gif.h ${IFACE}/global.h ${IFACE}/grpbox.h ${IFACE}/intcach.h ${IFACE}/iodev.h ${IFACE}/jpegio.h + ${IFACE}/keycode.h ${IFACE}/lined.h ${IFACE}/list.h ${IFACE}/menudta.h ${IFACE}/metaobj.h ${IFACE}/mlined.h ${IFACE}/mngio.h + ${IFACE}/modules.h ${IFACE}/msgbox.h ${IFACE}/multilinedit.h ${IFACE}/network.h ${IFACE}/objcoll.h ${IFACE}/objdefs.h + ${IFACE}/paintdc.h ${IFACE}/paintd.h ${IFACE}/pdevmet.h ${IFACE}/pmcache.h ${IFACE}/pntarry.h ${IFACE}/popmenu.h + ${IFACE}/prndlg.h ${IFACE}/progbar.h ${IFACE}/progdlg.h ${IFACE}/pushbt.h ${IFACE}/queue.h ${IFACE}/radiobt.h ${IFACE}/rangect.h + ${IFACE}/scrbar.h ${IFACE}/session.h ${IFACE}/socknot.h ${IFACE}/stack.h ${IFACE}/tabdlg.h ${IFACE}/tstream.h ${IFACE}/vector.h + ${IFACE}/widcoll.h ${IFACE}/windefs.h ${IFACE}/windowdefs.h ${IFACE}/winexport.h ${IFACE}/1xcompatibility.h + ${IFACE}/abstractlayout.h ${IFACE}/asciicache.h ${IFACE}/asciidict.h ${IFACE}/asyncimageio.h ${IFACE}/big5codec.h + ${IFACE}/bitarray.h ${IFACE}/bitmap.h ${IFACE}/brush.h ${IFACE}/buffer.h ${IFACE}/cache.h ${IFACE}/cleanuphandler.h + ${IFACE}/color.h ${IFACE}/compactstyle.h ${IFACE}/connection.h ${IFACE}/cstring.h ${IFACE}/cursor.h ${IFACE}/datastream.h + ${IFACE}/datetime.h ${IFACE}/deepcopy.h ${IFACE}/dict.h ${IFACE}/dir.h ${IFACE}/dom.h ${IFACE}/drawutil.h ${IFACE}/dropsite.h + ${IFACE}/editorfactory.h ${IFACE}/eucjpcodec.h ${IFACE}/euckrcodec.h ${IFACE}/event.h ${IFACE}/file.h ${IFACE}/fileinfo.h + ${IFACE}/focusdata.h ${IFACE}/fontdatabase.h ${IFACE}/font.h ${IFACE}/fontinfo.h ${IFACE}/fontmetrics.h + ${IFACE}/garray.h ${IFACE}/gb18030codec.h ${IFACE}/gcache.h ${IFACE}/gdict.h ${IFACE}/glcolormap.h ${IFACE}/glist.h + ${IFACE}/gvector.h ${IFACE}/hostaddress.h ${IFACE}/iconset.h ${IFACE}/image.h ${IFACE}/intcache.h ${IFACE}/intdict.h + ${IFACE}/interlacestyle.h ${IFACE}/iodevice.h ${IFACE}/jiscodec.h ${IFACE}/jpunicode.h ${IFACE}/keysequence.h + ${IFACE}/library.h ${IFACE}/locale.h ${IFACE}/map.h ${IFACE}/memarray.h ${IFACE}/menudata.h ${IFACE}/metaobject.h + ${IFACE}/mime.h ${IFACE}/movie.h ${IFACE}/mutex.h ${IFACE}/namespace.h ${IFACE}/objectdict.h ${IFACE}/objectlist.h + ${IFACE}/paintdevice.h ${IFACE}/paintdevicemetrics.h ${IFACE}/painter.h ${IFACE}/pair.h ${IFACE}/palette.h ${IFACE}/pen.h + ${IFACE}/picture.h ${IFACE}/pixmapcache.h ${IFACE}/pixmap.h ${IFACE}/pngio.h ${IFACE}/pointarray.h ${IFACE}/point.h + ${IFACE}/polygonscanner.h ${IFACE}/printer.h ${IFACE}/ptrcollection.h ${IFACE}/ptrdict.h ${IFACE}/ptrlist.h + ${IFACE}/ptrqueue.h ${IFACE}/ptrstack.h ${IFACE}/ptrvector.h ${IFACE}/rect.h ${IFACE}/regexp.h ${IFACE}/region.h + ${IFACE}/rtlcodec.h ${IFACE}/semaphore.h ${IFACE}/settings.h ${IFACE}/shared.h ${IFACE}/signalslotimp.h + ${IFACE}/simplerichtext.h ${IFACE}/size.h ${IFACE}/sizepolicy.h ${IFACE}/sjiscodec.h ${IFACE}/socketdevice.h + ${IFACE}/sortedlist.h ${IFACE}/sqlcursor.h ${IFACE}/sqleditorfactory.h ${IFACE}/sqlerror.h ${IFACE}/sqlfield.h + ${IFACE}/sql.h ${IFACE}/sqlindex.h ${IFACE}/sqlpropertymap.h ${IFACE}/sqlrecord.h ${IFACE}/sqlresult.h + ${IFACE}/sqlselectcursor.h ${IFACE}/string.h ${IFACE}/stringlist.h ${IFACE}/strlist.h ${IFACE}/strvec.h + ${IFACE}/stylefactory.h ${IFACE}/syntaxhighlighter.h ${IFACE}/textcodecfactory.h ${IFACE}/textcodec.h + ${IFACE}/textstream.h ${IFACE}/thread.h ${IFACE}/threadstorage.h ${IFACE}/tl.h ${IFACE}/tsciicodec.h ${IFACE}/url.h + ${IFACE}/urlinfo.h ${IFACE}/utfcodec.h ${IFACE}/uuid.h ${IFACE}/valuelist.h ${IFACE}/valuestack.h ${IFACE}/valuevector.h + ${IFACE}/variant.h ${IFACE}/vfbhdr.h ${IFACE}/waitcondition.h ${IFACE}/whatsthis.h ${IFACE}/widgetfactory.h + ${IFACE}/widgetintdict.h ${IFACE}/widgetlist.h ${IFACE}/wmatrix.h ${IFACE}/xml.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 + ${IFACE}/listiterator.h DESTINATION ${INCLUDE_INSTALL_DIR} ) install( @@ -136,66 +142,66 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/tqt.pc DESTINATION ${PKGCONFIG_INSTAL ##### tqt (shared) ############################## -tde_add_library( tqt SHARED +tde_add_library( ${IFACE}/t SHARED SOURCES - tqt.cpp tqaccel.cpp tqaccessible.cpp tqaction.cpp tqapplication.cpp - tqasyncio.cpp tqbuttongroup.cpp tqbutton.cpp tqcanvas.cpp tqcdestyle.cpp - tqcheckbox.cpp tqclipboard.cpp tqcolordialog.cpp tqcombobox.cpp - tqcommonstyle.cpp tqdatabrowser.cpp tqdatatable.cpp tqdataview.cpp - tqdatetimeedit.cpp tqdesktopwidget.cpp tqdial.cpp tqdialog.cpp tqdns.cpp - tqdockarea.cpp tqdockwindow.cpp tqdragobject.cpp tqerrormessage.cpp - tqeventloop.cpp tqframe.cpp tqftp.cpp tqfiledialog.cpp tqfontdialog.cpp - tqgl.cpp tqgplugin.cpp tqgrid.cpp tqgridview.cpp tqgroupbox.cpp - tqguardedptr.cpp tqhbox.cpp tqhbuttongroup.cpp tqheader.cpp - tqhgroupbox.cpp tqhttp.cpp tqiconview.cpp tqimageformatplugin.cpp - tqinputdialog.cpp tqlabel.cpp tqlayout.cpp tqlcdnumber.cpp tqlineedit.cpp - tqlistbox.cpp tqlistview.cpp tqlocalfs.cpp tqmainwindow.cpp tqmenubar.cpp - tqmessagebox.cpp tqmotifplusstyle.cpp tqmotifstyle.cpp tqmultilineedit.cpp - tqnetworkprotocol.cpp tqnp.cpp tqobjectcleanuphandler.cpp tqobject.cpp - tqplatinumstyle.cpp tqpopupmenu.cpp tqprintdialog.cpp tqprocess.cpp - tqprogressbar.cpp tqprogressdialog.cpp tqpushbutton.cpp tqradiobutton.cpp - tqrangecontrol.cpp tqscrollbar.cpp tqscrollview.cpp tqsemimodal.cpp - tqserversocket.cpp tqsessionmanager.cpp tqsgistyle.cpp tqsignal.cpp - tqsignalmapper.cpp tqsizegrip.cpp tqslider.cpp tqsocket.cpp - tqsocketnotifier.cpp tqsound.cpp tqspinbox.cpp tqsplashscreen.cpp - tqsplitter.cpp tqsqldatabase.cpp tqsqldriver.cpp tqsqldriverplugin.cpp - tqsqlform.cpp tqsqlquery.cpp tqstatusbar.cpp tqstyle.cpp tqstyleplugin.cpp - tqstylesheet.cpp tqtabbar.cpp tqtabdialog.cpp tqtable.cpp tqtabwidget.cpp - tqtextbrowser.cpp tqtextcodecplugin.cpp tqtextedit.cpp tqtextview.cpp - tqtimer.cpp tqtoolbar.cpp tqtoolbox.cpp tqtoolbutton.cpp tqtooltip.cpp - tqtranslator.cpp tqurloperator.cpp tqvalidator.cpp tqvbox.cpp - tqvbuttongroup.cpp tqvgroupbox.cpp tqwidget.cpp tqwidgetplugin.cpp - tqwidgetstack.cpp tqwindowsstyle.cpp tqwizard.cpp tqworkspace.cpp - tq1xcompatibility.cpp tqabstractlayout.cpp tqasciicache.cpp tqasciidict.cpp - tqasyncimageio.cpp tqbig5codec.cpp tqbitarray.cpp tqbitmap.cpp tqbrush.cpp - tqbuffer.cpp tqcache.cpp tqcleanuphandler.cpp tqcolor.cpp tqcompactstyle.cpp - tqconnection.cpp tqcstring.cpp tqcursor.cpp tqdatastream.cpp tqdatetime.cpp - tqdeepcopy.cpp tqdict.cpp tqdir.cpp tqdom.cpp tqdrawutil.cpp tqdropsite.cpp - tqeditorfactory.cpp tqeucjpcodec.cpp tqeuckrcodec.cpp tqevent.cpp tqfile.cpp - tqfileinfo.cpp tqfocusdata.cpp tqfontdatabase.cpp tqfont.cpp tqfontinfo.cpp - tqfontmetrics.cpp tqgarray.cpp tqgb18030codec.cpp tqgcache.cpp tqgdict.cpp - tqglcolormap.cpp tqglist.cpp tqgvector.cpp tqhostaddress.cpp tqiconset.cpp - tqimage.cpp tqintcache.cpp tqintdict.cpp tqinterlacestyle.cpp tqiodevice.cpp - tqjiscodec.h tqjpunicode.cpp tqkeysequence.cpp tqlibrary.cpp tqlocale.cpp - tqmap.cpp tqmemarray.cpp tqmenudata.cpp tqmetaobject.cpp tqmime.cpp tqmovie.cpp - tqmutex.cpp tqnamespace.cpp tqobjectdict.cpp tqobjectlist.cpp tqpaintdevice.cpp - tqpaintdevicemetrics.cpp tqpainter.cpp tqpair.cpp tqpalette.cpp tqpen.cpp - tqpicture.cpp tqpixmapcache.cpp tqpixmap.cpp tqpngio.cpp tqpointarray.cpp - tqpoint.cpp tqpolygonscanner.cpp tqprinter.cpp tqptrcollection.cpp - tqptrdict.cpp tqptrlist.cpp tqptrqueue.cpp tqptrstack.cpp tqptrvector.cpp - tqrect.cpp tqregexp.cpp tqregion.cpp tqrtlcodec.cpp tqsemaphore.cpp - tqsettings.cpp tqshared.cpp tqsignalslotimp.cpp tqsimplerichtext.cpp tqsize.cpp - tqsizepolicy.cpp tqsjiscodec.cpp tqsocketdevice.cpp tqsortedlist.cpp - tqsqlcursor.cpp tqsqleditorfactory.cpp tqsqlerror.cpp tqsqlfield.cpp - tqsql.cpp tqsqlindex.cpp tqsqlpropertymap.cpp tqsqlrecord.cpp tqsqlresult.cpp - tqsqlselectcursor.cpp tqstring.cpp tqstringlist.cpp tqstrlist.cpp tqstrvec.cpp - tqstylefactory.cpp tqsyntaxhighlighter.cpp tqtextcodecfactory.cpp - tqtextcodec.cpp tqtextstream.cpp tqthread.cpp tqthreadstorage.cpp - tqtl.cpp tqtsciicodec.cpp tqurl.cpp tqurlinfo.cpp tqutfcodec.cpp tquuid.cpp - tqvaluelist.cpp tqvaluestack.cpp tqvaluevector.cpp tqvariant.cpp tqvfbhdr.cpp - tqwaitcondition.cpp tqwhatsthis.cpp tqwidgetfactory.cpp tqwidgetintdict.cpp - tqwidgetlist.cpp tqwmatrix.cpp tqxml.cpp private/tqucomextra_p.cpp - tqlistiterator.cpp + ${IFACE}/t.cpp ${IFACE}/accel.cpp ${IFACE}/accessible.cpp ${IFACE}/action.cpp ${IFACE}/application.cpp + ${IFACE}/asyncio.cpp ${IFACE}/buttongroup.cpp ${IFACE}/button.cpp ${IFACE}/canvas.cpp ${IFACE}/cdestyle.cpp + ${IFACE}/checkbox.cpp ${IFACE}/clipboard.cpp ${IFACE}/colordialog.cpp ${IFACE}/combobox.cpp + ${IFACE}/commonstyle.cpp ${IFACE}/databrowser.cpp ${IFACE}/datatable.cpp ${IFACE}/dataview.cpp + ${IFACE}/datetimeedit.cpp ${IFACE}/desktopwidget.cpp ${IFACE}/dial.cpp ${IFACE}/dialog.cpp ${IFACE}/dns.cpp + ${IFACE}/dockarea.cpp ${IFACE}/dockwindow.cpp ${IFACE}/dragobject.cpp ${IFACE}/errormessage.cpp + ${IFACE}/eventloop.cpp ${IFACE}/frame.cpp ${IFACE}/ftp.cpp ${IFACE}/filedialog.cpp ${IFACE}/fontdialog.cpp + ${IFACE}/gl.cpp ${IFACE}/gplugin.cpp ${IFACE}/grid.cpp ${IFACE}/gridview.cpp ${IFACE}/groupbox.cpp + ${IFACE}/guardedptr.cpp ${IFACE}/hbox.cpp ${IFACE}/hbuttongroup.cpp ${IFACE}/header.cpp + ${IFACE}/hgroupbox.cpp ${IFACE}/http.cpp ${IFACE}/iconview.cpp ${IFACE}/imageformatplugin.cpp + ${IFACE}/inputdialog.cpp ${IFACE}/label.cpp ${IFACE}/layout.cpp ${IFACE}/lcdnumber.cpp ${IFACE}/lineedit.cpp + ${IFACE}/listbox.cpp ${IFACE}/listview.cpp ${IFACE}/localfs.cpp ${IFACE}/mainwindow.cpp ${IFACE}/menubar.cpp + ${IFACE}/messagebox.cpp ${IFACE}/motifplusstyle.cpp ${IFACE}/motifstyle.cpp ${IFACE}/multilineedit.cpp + ${IFACE}/networkprotocol.cpp ${IFACE}/np.cpp ${IFACE}/objectcleanuphandler.cpp ${IFACE}/object.cpp + ${IFACE}/platinumstyle.cpp ${IFACE}/popupmenu.cpp ${IFACE}/printdialog.cpp ${IFACE}/process.cpp + ${IFACE}/progressbar.cpp ${IFACE}/progressdialog.cpp ${IFACE}/pushbutton.cpp ${IFACE}/radiobutton.cpp + ${IFACE}/rangecontrol.cpp ${IFACE}/scrollbar.cpp ${IFACE}/scrollview.cpp ${IFACE}/semimodal.cpp + ${IFACE}/serversocket.cpp ${IFACE}/sessionmanager.cpp ${IFACE}/sgistyle.cpp ${IFACE}/signal.cpp + ${IFACE}/signalmapper.cpp ${IFACE}/sizegrip.cpp ${IFACE}/slider.cpp ${IFACE}/socket.cpp + ${IFACE}/socketnotifier.cpp ${IFACE}/sound.cpp ${IFACE}/spinbox.cpp ${IFACE}/splashscreen.cpp + ${IFACE}/splitter.cpp ${IFACE}/sqldatabase.cpp ${IFACE}/sqldriver.cpp ${IFACE}/sqldriverplugin.cpp + ${IFACE}/sqlform.cpp ${IFACE}/sqlquery.cpp ${IFACE}/statusbar.cpp ${IFACE}/style.cpp ${IFACE}/styleplugin.cpp + ${IFACE}/stylesheet.cpp ${IFACE}/tabbar.cpp ${IFACE}/tabdialog.cpp ${IFACE}/table.cpp ${IFACE}/tabwidget.cpp + ${IFACE}/textbrowser.cpp ${IFACE}/textcodecplugin.cpp ${IFACE}/textedit.cpp ${IFACE}/textview.cpp + ${IFACE}/timer.cpp ${IFACE}/toolbar.cpp ${IFACE}/toolbox.cpp ${IFACE}/toolbutton.cpp ${IFACE}/tooltip.cpp + ${IFACE}/translator.cpp ${IFACE}/urloperator.cpp ${IFACE}/validator.cpp ${IFACE}/vbox.cpp + ${IFACE}/vbuttongroup.cpp ${IFACE}/vgroupbox.cpp ${IFACE}/widget.cpp ${IFACE}/widgetplugin.cpp + ${IFACE}/widgetstack.cpp ${IFACE}/windowsstyle.cpp ${IFACE}/wizard.cpp ${IFACE}/workspace.cpp + ${IFACE}/1xcompatibility.cpp ${IFACE}/abstractlayout.cpp ${IFACE}/asciicache.cpp ${IFACE}/asciidict.cpp + ${IFACE}/asyncimageio.cpp ${IFACE}/big5codec.cpp ${IFACE}/bitarray.cpp ${IFACE}/bitmap.cpp ${IFACE}/brush.cpp + ${IFACE}/buffer.cpp ${IFACE}/cache.cpp ${IFACE}/cleanuphandler.cpp ${IFACE}/color.cpp ${IFACE}/compactstyle.cpp + ${IFACE}/connection.cpp ${IFACE}/cstring.cpp ${IFACE}/cursor.cpp ${IFACE}/datastream.cpp ${IFACE}/datetime.cpp + ${IFACE}/deepcopy.cpp ${IFACE}/dict.cpp ${IFACE}/dir.cpp ${IFACE}/dom.cpp ${IFACE}/drawutil.cpp ${IFACE}/dropsite.cpp + ${IFACE}/editorfactory.cpp ${IFACE}/eucjpcodec.cpp ${IFACE}/euckrcodec.cpp ${IFACE}/event.cpp ${IFACE}/file.cpp + ${IFACE}/fileinfo.cpp ${IFACE}/focusdata.cpp ${IFACE}/fontdatabase.cpp ${IFACE}/font.cpp ${IFACE}/fontinfo.cpp + ${IFACE}/fontmetrics.cpp ${IFACE}/garray.cpp ${IFACE}/gb18030codec.cpp ${IFACE}/gcache.cpp ${IFACE}/gdict.cpp + ${IFACE}/glcolormap.cpp ${IFACE}/glist.cpp ${IFACE}/gvector.cpp ${IFACE}/hostaddress.cpp ${IFACE}/iconset.cpp + ${IFACE}/image.cpp ${IFACE}/intcache.cpp ${IFACE}/intdict.cpp ${IFACE}/interlacestyle.cpp ${IFACE}/iodevice.cpp + ${IFACE}/jiscodec.h ${IFACE}/jpunicode.cpp ${IFACE}/keysequence.cpp ${IFACE}/library.cpp ${IFACE}/locale.cpp + ${IFACE}/map.cpp ${IFACE}/memarray.cpp ${IFACE}/menudata.cpp ${IFACE}/metaobject.cpp ${IFACE}/mime.cpp ${IFACE}/movie.cpp + ${IFACE}/mutex.cpp ${IFACE}/namespace.cpp ${IFACE}/objectdict.cpp ${IFACE}/objectlist.cpp ${IFACE}/paintdevice.cpp + ${IFACE}/paintdevicemetrics.cpp ${IFACE}/painter.cpp ${IFACE}/pair.cpp ${IFACE}/palette.cpp ${IFACE}/pen.cpp + ${IFACE}/picture.cpp ${IFACE}/pixmapcache.cpp ${IFACE}/pixmap.cpp ${IFACE}/pngio.cpp ${IFACE}/pointarray.cpp + ${IFACE}/point.cpp ${IFACE}/polygonscanner.cpp ${IFACE}/printer.cpp ${IFACE}/ptrcollection.cpp + ${IFACE}/ptrdict.cpp ${IFACE}/ptrlist.cpp ${IFACE}/ptrqueue.cpp ${IFACE}/ptrstack.cpp ${IFACE}/ptrvector.cpp + ${IFACE}/rect.cpp ${IFACE}/regexp.cpp ${IFACE}/region.cpp ${IFACE}/rtlcodec.cpp ${IFACE}/semaphore.cpp + ${IFACE}/settings.cpp ${IFACE}/shared.cpp ${IFACE}/signalslotimp.cpp ${IFACE}/simplerichtext.cpp ${IFACE}/size.cpp + ${IFACE}/sizepolicy.cpp ${IFACE}/sjiscodec.cpp ${IFACE}/socketdevice.cpp ${IFACE}/sortedlist.cpp + ${IFACE}/sqlcursor.cpp ${IFACE}/sqleditorfactory.cpp ${IFACE}/sqlerror.cpp ${IFACE}/sqlfield.cpp + ${IFACE}/sql.cpp ${IFACE}/sqlindex.cpp ${IFACE}/sqlpropertymap.cpp ${IFACE}/sqlrecord.cpp ${IFACE}/sqlresult.cpp + ${IFACE}/sqlselectcursor.cpp ${IFACE}/string.cpp ${IFACE}/stringlist.cpp ${IFACE}/strlist.cpp ${IFACE}/strvec.cpp + ${IFACE}/stylefactory.cpp ${IFACE}/syntaxhighlighter.cpp ${IFACE}/textcodecfactory.cpp + ${IFACE}/textcodec.cpp ${IFACE}/textstream.cpp ${IFACE}/thread.cpp ${IFACE}/threadstorage.cpp + ${IFACE}/tl.cpp ${IFACE}/tsciicodec.cpp ${IFACE}/url.cpp ${IFACE}/urlinfo.cpp ${IFACE}/utfcodec.cpp ${IFACE}/uuid.cpp + ${IFACE}/valuelist.cpp ${IFACE}/valuestack.cpp ${IFACE}/valuevector.cpp ${IFACE}/variant.cpp ${IFACE}/vfbhdr.cpp + ${IFACE}/waitcondition.cpp ${IFACE}/whatsthis.cpp ${IFACE}/widgetfactory.cpp ${IFACE}/widgetintdict.cpp + ${IFACE}/widgetlist.cpp ${IFACE}/wmatrix.cpp ${IFACE}/xml.cpp ${IFACE}/private/tqucomextra_p.cpp + ${IFACE}/listiterator.cpp VERSION 4.2.0 LINK ${QT_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} diff --git a/qtinterface/interface_qt3/private/tqcom_p.h b/qtinterface/interface_qt3/private/tqcom_p.h new file mode 100644 index 0000000..8611847 --- /dev/null +++ b/qtinterface/interface_qt3/private/tqcom_p.h @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#endif /* TQT_TQCOM_P_H */ diff --git a/qtinterface/interface_qt3/private/tqeffects_p.h b/qtinterface/interface_qt3/private/tqeffects_p.h new file mode 100644 index 0000000..7e15c03 --- /dev/null +++ b/qtinterface/interface_qt3/private/tqeffects_p.h @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUComExtra_P class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#endif // USE_QT4 + +#endif /* TQT_TQEFFECTS_P_H */ diff --git a/qtinterface/interface_qt3/private/tqinternal_p.h b/qtinterface/interface_qt3/private/tqinternal_p.h new file mode 100644 index 0000000..069d11e --- /dev/null +++ b/qtinterface/interface_qt3/private/tqinternal_p.h @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSharedDoubleBuffer class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#endif // USE_QT4 + +#endif /* TQT_TQINTERNAL_P_H */ diff --git a/qtinterface/interface_qt3/private/tqlayoutengine_p.h b/qtinterface/interface_qt3/private/tqlayoutengine_p.h new file mode 100644 index 0000000..1bb9581 --- /dev/null +++ b/qtinterface/interface_qt3/private/tqlayoutengine_p.h @@ -0,0 +1,36 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUComExtra_P class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#endif /* TQT_TQLAYOUTENGINE_P_H */ diff --git a/qtinterface/interface_qt3/private/tqpluginmanager_p.h b/qtinterface/interface_qt3/private/tqpluginmanager_p.h new file mode 100644 index 0000000..d476598 --- /dev/null +++ b/qtinterface/interface_qt3/private/tqpluginmanager_p.h @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#endif /* TQT_TQPLUGINMANAGER_P_H */ diff --git a/qtinterface/interface_qt3/private/tqrichtext_p.h b/qtinterface/interface_qt3/private/tqrichtext_p.h new file mode 100644 index 0000000..47dfed1 --- /dev/null +++ b/qtinterface/interface_qt3/private/tqrichtext_p.h @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSharedDoubleBuffer class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#endif // USE_QT4 + +#endif /* TQT_TQRICHTEXT_P_H */ diff --git a/qtinterface/interface_qt3/private/tqtextengine_p.h b/qtinterface/interface_qt3/private/tqtextengine_p.h new file mode 100644 index 0000000..1a6c6cc --- /dev/null +++ b/qtinterface/interface_qt3/private/tqtextengine_p.h @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSharedDoubleBuffer class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTENGINE_P_H */ diff --git a/qtinterface/interface_qt3/private/tqucom_p.h b/qtinterface/interface_qt3/private/tqucom_p.h new file mode 100644 index 0000000..be46f52 --- /dev/null +++ b/qtinterface/interface_qt3/private/tqucom_p.h @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#endif /* TQT_TQUCOM_P_H */ diff --git a/qtinterface/interface_qt3/private/tqucomextra_p.cpp b/qtinterface/interface_qt3/private/tqucomextra_p.cpp new file mode 100644 index 0000000..c9fc62b --- /dev/null +++ b/qtinterface/interface_qt3/private/tqucomextra_p.cpp @@ -0,0 +1,27 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +#endif \ No newline at end of file diff --git a/qtinterface/interface_qt3/private/tqucomextra_p.h b/qtinterface/interface_qt3/private/tqucomextra_p.h new file mode 100644 index 0000000..4817321 --- /dev/null +++ b/qtinterface/interface_qt3/private/tqucomextra_p.h @@ -0,0 +1,48 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUComExtra_P class +// For Qt3, no changes are needed + +#include + +#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_qt3/private/tqwidgetinterface_p.h b/qtinterface/interface_qt3/private/tqwidgetinterface_p.h new file mode 100644 index 0000000..5c72d32 --- /dev/null +++ b/qtinterface/interface_qt3/private/tqwidgetinterface_p.h @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#endif /* TQT_TQWIDGETINTERFACE_P_H */ diff --git a/qtinterface/interface_qt3/tq1xcompatibility.cpp b/qtinterface/interface_qt3/tq1xcompatibility.cpp new file mode 100644 index 0000000..44a88e4 --- /dev/null +++ b/qtinterface/interface_qt3/tq1xcompatibility.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +//#include diff --git a/qtinterface/interface_qt3/tq1xcompatibility.h b/qtinterface/interface_qt3/tq1xcompatibility.h new file mode 100644 index 0000000..b9c1d6c --- /dev/null +++ b/qtinterface/interface_qt3/tq1xcompatibility.h @@ -0,0 +1,39 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQ1XCOMPATIBILITY_H +#define TQT_TQ1XCOMPATIBILITY_H + +#include + +#ifdef USE_QT3 + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQ1XCOMPATIBILITY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqabstractlayout.cpp b/qtinterface/interface_qt3/tqabstractlayout.cpp new file mode 100644 index 0000000..1af32cf --- /dev/null +++ b/qtinterface/interface_qt3/tqabstractlayout.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqabstractlayout.h b/qtinterface/interface_qt3/tqabstractlayout.h new file mode 100644 index 0000000..ddb8c5c --- /dev/null +++ b/qtinterface/interface_qt3/tqabstractlayout.h @@ -0,0 +1,39 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +//#include + +#endif // USE_QT4 + +#endif /* TQT_TQABSTRACTLAYOUT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqaccel.cpp b/qtinterface/interface_qt3/tqaccel.cpp new file mode 100644 index 0000000..87762a7 --- /dev/null +++ b/qtinterface/interface_qt3/tqaccel.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqaccel.h b/qtinterface/interface_qt3/tqaccel.h new file mode 100644 index 0000000..a0ccae9 --- /dev/null +++ b/qtinterface/interface_qt3/tqaccel.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAccel class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAccel class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQACCEL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqaccessible.cpp b/qtinterface/interface_qt3/tqaccessible.cpp new file mode 100644 index 0000000..830a35e --- /dev/null +++ b/qtinterface/interface_qt3/tqaccessible.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqaccessible.h b/qtinterface/interface_qt3/tqaccessible.h new file mode 100644 index 0000000..33d6ce8 --- /dev/null +++ b/qtinterface/interface_qt3/tqaccessible.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAccessible class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAccessible class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQACCESSIBLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqaction.cpp b/qtinterface/interface_qt3/tqaction.cpp new file mode 100644 index 0000000..5cd7dee --- /dev/null +++ b/qtinterface/interface_qt3/tqaction.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqaction.h b/qtinterface/interface_qt3/tqaction.h new file mode 100644 index 0000000..7cc9e7d --- /dev/null +++ b/qtinterface/interface_qt3/tqaction.h @@ -0,0 +1,46 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QAction class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAction class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQACTION_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqapp.h b/qtinterface/interface_qt3/tqapp.h new file mode 100644 index 0000000..f759fac --- /dev/null +++ b/qtinterface/interface_qt3/tqapp.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQAPP_H +#define TQT_TQAPP_H + +#include + +// Pull in tqapplication defines + +#include + +#endif /* TQT_TQAPP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqapplication.cpp b/qtinterface/interface_qt3/tqapplication.cpp new file mode 100644 index 0000000..26a20d6 --- /dev/null +++ b/qtinterface/interface_qt3/tqapplication.cpp @@ -0,0 +1,70 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#include + +#ifdef USE_QT3 +extern Time qt_x_time; +extern Time qt_x_user_time; + +void set_tqt_x_time(unsigned long x) { + qt_x_time = x; +} + +unsigned long get_tqt_x_time(void) { + return qt_x_time; +} + +void set_tqt_x_user_time(unsigned long x) { + qt_x_user_time = x; +} + +unsigned long get_tqt_x_user_time(void) { + return qt_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_qt3/tqapplication.h b/qtinterface/interface_qt3/tqapplication.h new file mode 100644 index 0000000..6b44a43 --- /dev/null +++ b/qtinterface/interface_qt3/tqapplication.h @@ -0,0 +1,52 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QApplication class +// For Qt3, no changes are needed + +#include + +// 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 + +#endif // USE_QT4 + +#endif /* TQT_TQAPPLICATION_H */ diff --git a/qtinterface/interface_qt3/tqarray.h b/qtinterface/interface_qt3/tqarray.h new file mode 100644 index 0000000..5d7843c --- /dev/null +++ b/qtinterface/interface_qt3/tqarray.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQARRAY_H +#define TQT_TQARRAY_H + +#include + +// Pull in tqmemarray defines + +#include + +#endif /* TQT_TQARRAY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqasciicache.cpp b/qtinterface/interface_qt3/tqasciicache.cpp new file mode 100644 index 0000000..11865d2 --- /dev/null +++ b/qtinterface/interface_qt3/tqasciicache.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqasciicache.h b/qtinterface/interface_qt3/tqasciicache.h new file mode 100644 index 0000000..a78ea18 --- /dev/null +++ b/qtinterface/interface_qt3/tqasciicache.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAsciiCache class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAsciiCache class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQASCIICACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqasciidict.cpp b/qtinterface/interface_qt3/tqasciidict.cpp new file mode 100644 index 0000000..411765a --- /dev/null +++ b/qtinterface/interface_qt3/tqasciidict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqasciidict.h b/qtinterface/interface_qt3/tqasciidict.h new file mode 100644 index 0000000..a6b5320 --- /dev/null +++ b/qtinterface/interface_qt3/tqasciidict.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAsciiDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAsciiDict class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQASCIIDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqassistantclient.cpp b/qtinterface/interface_qt3/tqassistantclient.cpp new file mode 100644 index 0000000..4aab5cb --- /dev/null +++ b/qtinterface/interface_qt3/tqassistantclient.cpp @@ -0,0 +1,26 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +// Force this library to link against qassistantclient +//QAssistantClient myClient; diff --git a/qtinterface/interface_qt3/tqassistantclient.h b/qtinterface/interface_qt3/tqassistantclient.h new file mode 100644 index 0000000..f72b7c7 --- /dev/null +++ b/qtinterface/interface_qt3/tqassistantclient.h @@ -0,0 +1,33 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +#include + +#endif // USE_QT3 + +#endif /* TQT_TQASSISTANTCLIENT_H */ diff --git a/qtinterface/interface_qt3/tqasyncimageio.cpp b/qtinterface/interface_qt3/tqasyncimageio.cpp new file mode 100644 index 0000000..bf18d62 --- /dev/null +++ b/qtinterface/interface_qt3/tqasyncimageio.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqasyncimageio.h b/qtinterface/interface_qt3/tqasyncimageio.h new file mode 100644 index 0000000..eb885c6 --- /dev/null +++ b/qtinterface/interface_qt3/tqasyncimageio.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAsyncImageIO class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAsyncImageIO class +// For Qt4, this class no longer exists! + +#endif // USE_QT4 + +#endif /* TQT_TQASYNCIMAGEIO_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqasyncio.cpp b/qtinterface/interface_qt3/tqasyncio.cpp new file mode 100644 index 0000000..096938b --- /dev/null +++ b/qtinterface/interface_qt3/tqasyncio.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqasyncio.h b/qtinterface/interface_qt3/tqasyncio.h new file mode 100644 index 0000000..d934096 --- /dev/null +++ b/qtinterface/interface_qt3/tqasyncio.h @@ -0,0 +1,44 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QAsyncIO class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAsyncIO class +// For Qt4, this class no longer exists! + +#endif // USE_QT4 + +#endif /* TQT_TQASYNCIO_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqbig5codec.cpp b/qtinterface/interface_qt3/tqbig5codec.cpp new file mode 100644 index 0000000..bef2877 --- /dev/null +++ b/qtinterface/interface_qt3/tqbig5codec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqbig5codec.h b/qtinterface/interface_qt3/tqbig5codec.h new file mode 100644 index 0000000..72a39b4 --- /dev/null +++ b/qtinterface/interface_qt3/tqbig5codec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QBig5Codec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QBig5Codec class +// For Qt4, this class no longer exists! + +#endif // USE_QT4 + +#endif /* TQT_TQQBIG5CODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqbitarray.cpp b/qtinterface/interface_qt3/tqbitarray.cpp new file mode 100644 index 0000000..31844c8 --- /dev/null +++ b/qtinterface/interface_qt3/tqbitarray.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqbitarray.h b/qtinterface/interface_qt3/tqbitarray.h new file mode 100644 index 0000000..6dcd918 --- /dev/null +++ b/qtinterface/interface_qt3/tqbitarray.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QBitArray class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QBitArray class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBITARRAY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqbitarry.h b/qtinterface/interface_qt3/tqbitarry.h new file mode 100644 index 0000000..34fdd51 --- /dev/null +++ b/qtinterface/interface_qt3/tqbitarry.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQBITARRY_H +#define TQT_TQBITARRY_H + +#include +#include + +// Pull in tqbitarry defines +#include + +#endif /* TQT_TQBITARRY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqbitmap.cpp b/qtinterface/interface_qt3/tqbitmap.cpp new file mode 100644 index 0000000..319be52 --- /dev/null +++ b/qtinterface/interface_qt3/tqbitmap.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqbitmap.h b/qtinterface/interface_qt3/tqbitmap.h new file mode 100644 index 0000000..951d477 --- /dev/null +++ b/qtinterface/interface_qt3/tqbitmap.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QBitmap class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QBitmap class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBITMAP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqbrush.cpp b/qtinterface/interface_qt3/tqbrush.cpp new file mode 100644 index 0000000..8619599 --- /dev/null +++ b/qtinterface/interface_qt3/tqbrush.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqbrush.h b/qtinterface/interface_qt3/tqbrush.h new file mode 100644 index 0000000..7da8793 --- /dev/null +++ b/qtinterface/interface_qt3/tqbrush.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QBrush class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QBrush class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBRUSH_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqbttngrp.h b/qtinterface/interface_qt3/tqbttngrp.h new file mode 100644 index 0000000..6de934a --- /dev/null +++ b/qtinterface/interface_qt3/tqbttngrp.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQBTTNGRP_H +#define TQT_TQBTTNGRP_H + +#include + +// Pull in all buttongroup defines + +#include + +#endif /* TQT_TQBTTNGRP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqbuffer.cpp b/qtinterface/interface_qt3/tqbuffer.cpp new file mode 100644 index 0000000..fb66adb --- /dev/null +++ b/qtinterface/interface_qt3/tqbuffer.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqbuffer.h b/qtinterface/interface_qt3/tqbuffer.h new file mode 100644 index 0000000..13723ec --- /dev/null +++ b/qtinterface/interface_qt3/tqbuffer.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QBuffer class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QBuffer class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBUFFER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqbutton.cpp b/qtinterface/interface_qt3/tqbutton.cpp new file mode 100644 index 0000000..2dc1c81 --- /dev/null +++ b/qtinterface/interface_qt3/tqbutton.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqbutton.h b/qtinterface/interface_qt3/tqbutton.h new file mode 100644 index 0000000..44dde3d --- /dev/null +++ b/qtinterface/interface_qt3/tqbutton.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QButton class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QButton class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqbuttongroup.cpp b/qtinterface/interface_qt3/tqbuttongroup.cpp new file mode 100644 index 0000000..1eccec7 --- /dev/null +++ b/qtinterface/interface_qt3/tqbuttongroup.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqbuttongroup.h b/qtinterface/interface_qt3/tqbuttongroup.h new file mode 100644 index 0000000..b84ab80 --- /dev/null +++ b/qtinterface/interface_qt3/tqbuttongroup.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QButtonGroup class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QButtonGroup class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBUTTONGROUP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcache.cpp b/qtinterface/interface_qt3/tqcache.cpp new file mode 100644 index 0000000..fd422d7 --- /dev/null +++ b/qtinterface/interface_qt3/tqcache.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqcache.h b/qtinterface/interface_qt3/tqcache.h new file mode 100644 index 0000000..287f5fc --- /dev/null +++ b/qtinterface/interface_qt3/tqcache.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCache class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCache class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcanvas.cpp b/qtinterface/interface_qt3/tqcanvas.cpp new file mode 100644 index 0000000..d8ccca4 --- /dev/null +++ b/qtinterface/interface_qt3/tqcanvas.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqcanvas.h b/qtinterface/interface_qt3/tqcanvas.h new file mode 100644 index 0000000..8024b08 --- /dev/null +++ b/qtinterface/interface_qt3/tqcanvas.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCanvas class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCanvas class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCANVAS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcdestyle.cpp b/qtinterface/interface_qt3/tqcdestyle.cpp new file mode 100644 index 0000000..c3600d9 --- /dev/null +++ b/qtinterface/interface_qt3/tqcdestyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqcdestyle.h b/qtinterface/interface_qt3/tqcdestyle.h new file mode 100644 index 0000000..3c8e2a2 --- /dev/null +++ b/qtinterface/interface_qt3/tqcdestyle.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCDEStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCDEStyle class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCDESTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcheckbox.cpp b/qtinterface/interface_qt3/tqcheckbox.cpp new file mode 100644 index 0000000..725d106 --- /dev/null +++ b/qtinterface/interface_qt3/tqcheckbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqcheckbox.h b/qtinterface/interface_qt3/tqcheckbox.h new file mode 100644 index 0000000..55c148d --- /dev/null +++ b/qtinterface/interface_qt3/tqcheckbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the TQCheckBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the TQCheckBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCHECKBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqchkbox.h b/qtinterface/interface_qt3/tqchkbox.h new file mode 100644 index 0000000..4e3129b --- /dev/null +++ b/qtinterface/interface_qt3/tqchkbox.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCHKBOX_H +#define TQT_TQCHKBOX_H + +#include + +// Pull in all checkbox defines + +#include + +#endif /* TQT_TQCHKBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcleanuphandler.cpp b/qtinterface/interface_qt3/tqcleanuphandler.cpp new file mode 100644 index 0000000..b3ee5d6 --- /dev/null +++ b/qtinterface/interface_qt3/tqcleanuphandler.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqcleanuphandler.h b/qtinterface/interface_qt3/tqcleanuphandler.h new file mode 100644 index 0000000..5b1140f --- /dev/null +++ b/qtinterface/interface_qt3/tqcleanuphandler.h @@ -0,0 +1,131 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCleanupHandler class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCleanupHandler class +// For Qt4, some changes are needed + +//#include + +#include "tqptrlist.h" + +template +class TQCleanupHandler +{ +public: + TQCleanupHandler() : cleanupObjects( 0 ) {} + ~TQCleanupHandler() { clear(); } + + Type* add( Type **object ) { + if ( !cleanupObjects ) + cleanupObjects = new Q3PtrList; + 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 it( *cleanupObjects ); + Type **object; + while ( ( object = it.current() ) ) { + delete *object; + *object = 0; + cleanupObjects->remove( object ); + } + delete cleanupObjects; + cleanupObjects = 0; + } + +private: + Q3PtrList *cleanupObjects; +}; + +template +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 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 */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqclipboard.cpp b/qtinterface/interface_qt3/tqclipboard.cpp new file mode 100644 index 0000000..2f0ac54 --- /dev/null +++ b/qtinterface/interface_qt3/tqclipboard.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqclipboard.h b/qtinterface/interface_qt3/tqclipboard.h new file mode 100644 index 0000000..8616c33 --- /dev/null +++ b/qtinterface/interface_qt3/tqclipboard.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QClipboard class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QClipboard class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCLIPBOARD_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqclipbrd.h b/qtinterface/interface_qt3/tqclipbrd.h new file mode 100644 index 0000000..37d7a5f --- /dev/null +++ b/qtinterface/interface_qt3/tqclipbrd.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCLIPBRD_H +#define TQT_TQCLIPBRD_H + +#include + +// Pull in all clipboard defines + +#include + +#endif /* TQT_TQCLIPBRD_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcollect.h b/qtinterface/interface_qt3/tqcollect.h new file mode 100644 index 0000000..a5b0e7a --- /dev/null +++ b/qtinterface/interface_qt3/tqcollect.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCOLLECT_H +#define TQT_TQCOLLECT_H + +#include + +// Pull in all qptrcollection defines + +#include + +#endif /* TQT_TQCOLLECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcollection.h b/qtinterface/interface_qt3/tqcollection.h new file mode 100644 index 0000000..c27cc91 --- /dev/null +++ b/qtinterface/interface_qt3/tqcollection.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCOLLECTION_H +#define TQT_TQCOLLECTION_H + +#include + +// Pull in all qptrcollection defines + +#include + +#endif /* TQT_TQCOLLECTION_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcolor.cpp b/qtinterface/interface_qt3/tqcolor.cpp new file mode 100644 index 0000000..a3f7b7f --- /dev/null +++ b/qtinterface/interface_qt3/tqcolor.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqcolor.h b/qtinterface/interface_qt3/tqcolor.h new file mode 100644 index 0000000..1e3bd45 --- /dev/null +++ b/qtinterface/interface_qt3/tqcolor.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QColor class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QColor class +// For Qt4, no changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCOLOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcolordialog.cpp b/qtinterface/interface_qt3/tqcolordialog.cpp new file mode 100644 index 0000000..68cc503 --- /dev/null +++ b/qtinterface/interface_qt3/tqcolordialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqcolordialog.h b/qtinterface/interface_qt3/tqcolordialog.h new file mode 100644 index 0000000..1bb1d2a --- /dev/null +++ b/qtinterface/interface_qt3/tqcolordialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QColorDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QColorDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCOLORDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcombo.h b/qtinterface/interface_qt3/tqcombo.h new file mode 100644 index 0000000..84f9996 --- /dev/null +++ b/qtinterface/interface_qt3/tqcombo.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCOMBO_H +#define TQT_TQCOMBO_H + +#include + +// Pull in all combo box defines + +#include + +#endif /* TQT_TQCOMBO_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcombobox.cpp b/qtinterface/interface_qt3/tqcombobox.cpp new file mode 100644 index 0000000..aec24f0 --- /dev/null +++ b/qtinterface/interface_qt3/tqcombobox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqcombobox.h b/qtinterface/interface_qt3/tqcombobox.h new file mode 100644 index 0000000..bacd944 --- /dev/null +++ b/qtinterface/interface_qt3/tqcombobox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QComboBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QComboBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCOMBOBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcommonstyle.cpp b/qtinterface/interface_qt3/tqcommonstyle.cpp new file mode 100644 index 0000000..2741709 --- /dev/null +++ b/qtinterface/interface_qt3/tqcommonstyle.cpp @@ -0,0 +1,95 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcommonstyle.h b/qtinterface/interface_qt3/tqcommonstyle.h new file mode 100644 index 0000000..66ef08f --- /dev/null +++ b/qtinterface/interface_qt3/tqcommonstyle.h @@ -0,0 +1,47 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCommonStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCommonStyle class +// For Qt4, some changes are needed + +#include +#include +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCOMMONSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcompactstyle.cpp b/qtinterface/interface_qt3/tqcompactstyle.cpp new file mode 100644 index 0000000..df9b712 --- /dev/null +++ b/qtinterface/interface_qt3/tqcompactstyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqcompactstyle.h b/qtinterface/interface_qt3/tqcompactstyle.h new file mode 100644 index 0000000..8be3bd4 --- /dev/null +++ b/qtinterface/interface_qt3/tqcompactstyle.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCompactStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCompactStyle class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQCOMPACTSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqconfig.h b/qtinterface/interface_qt3/tqconfig.h new file mode 100644 index 0000000..4bdb7b0 --- /dev/null +++ b/qtinterface/interface_qt3/tqconfig.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in all Qt3 configuration defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in all Qt4 configuration defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCONFIG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqconnect.h b/qtinterface/interface_qt3/tqconnect.h new file mode 100644 index 0000000..6aa2451 --- /dev/null +++ b/qtinterface/interface_qt3/tqconnect.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCONNECT_H +#define TQT_TQCONNECT_H + +#include + +// Pull in all connection defines + +#include + +#endif /* TQT_TQCONNECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqconnection.cpp b/qtinterface/interface_qt3/tqconnection.cpp new file mode 100644 index 0000000..711f422 --- /dev/null +++ b/qtinterface/interface_qt3/tqconnection.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqconnection.h b/qtinterface/interface_qt3/tqconnection.h new file mode 100644 index 0000000..39fcf5d --- /dev/null +++ b/qtinterface/interface_qt3/tqconnection.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QConnection class +// For Qt3, no changes are needed + +#include + +#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 */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcstring.cpp b/qtinterface/interface_qt3/tqcstring.cpp new file mode 100644 index 0000000..0ab1487 --- /dev/null +++ b/qtinterface/interface_qt3/tqcstring.cpp @@ -0,0 +1,55 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +QByteArray::operator QByteArray *() const +{ return (QByteArray*)(d->data); } + +#ifndef QT_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 //QT_NO_REGEXP + +QByteArray QByteArray::copy() const { + QByteArray copy(*this); + copy.detach(); + return copy; +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcstring.h b/qtinterface/interface_qt3/tqcstring.h new file mode 100644 index 0000000..07daf58 --- /dev/null +++ b/qtinterface/interface_qt3/tqcstring.h @@ -0,0 +1,53 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include +#include + +#ifdef USE_QT3 + +// Reimplement the QCString class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QByteArray class +// For Qt4, some changes are needed + +//#include +#include + +// Reimplement the QCString class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCSTRING_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqcursor.cpp b/qtinterface/interface_qt3/tqcursor.cpp new file mode 100644 index 0000000..535b518 --- /dev/null +++ b/qtinterface/interface_qt3/tqcursor.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqcursor.h b/qtinterface/interface_qt3/tqcursor.h new file mode 100644 index 0000000..65f47ec --- /dev/null +++ b/qtinterface/interface_qt3/tqcursor.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCursor class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCursor class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCURSOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdatabrowser.cpp b/qtinterface/interface_qt3/tqdatabrowser.cpp new file mode 100644 index 0000000..97e9a24 --- /dev/null +++ b/qtinterface/interface_qt3/tqdatabrowser.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdatabrowser.h b/qtinterface/interface_qt3/tqdatabrowser.h new file mode 100644 index 0000000..3fb8ba7 --- /dev/null +++ b/qtinterface/interface_qt3/tqdatabrowser.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDataBrowser class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDataBrowser class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATABROWSER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdatastream.cpp b/qtinterface/interface_qt3/tqdatastream.cpp new file mode 100644 index 0000000..3c0ef8b --- /dev/null +++ b/qtinterface/interface_qt3/tqdatastream.cpp @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdatastream.h b/qtinterface/interface_qt3/tqdatastream.h new file mode 100644 index 0000000..fdc54bf --- /dev/null +++ b/qtinterface/interface_qt3/tqdatastream.h @@ -0,0 +1,46 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QDataStream class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDataStream class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATASTREAM_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdatatable.cpp b/qtinterface/interface_qt3/tqdatatable.cpp new file mode 100644 index 0000000..24af924 --- /dev/null +++ b/qtinterface/interface_qt3/tqdatatable.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdatatable.h b/qtinterface/interface_qt3/tqdatatable.h new file mode 100644 index 0000000..c8376ec --- /dev/null +++ b/qtinterface/interface_qt3/tqdatatable.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDataTable class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDataTable class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATATABLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdataview.cpp b/qtinterface/interface_qt3/tqdataview.cpp new file mode 100644 index 0000000..963eda0 --- /dev/null +++ b/qtinterface/interface_qt3/tqdataview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdataview.h b/qtinterface/interface_qt3/tqdataview.h new file mode 100644 index 0000000..8007dbf --- /dev/null +++ b/qtinterface/interface_qt3/tqdataview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDataView class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDataView class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATAVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdatetime.cpp b/qtinterface/interface_qt3/tqdatetime.cpp new file mode 100644 index 0000000..0413dcb --- /dev/null +++ b/qtinterface/interface_qt3/tqdatetime.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdatetime.h b/qtinterface/interface_qt3/tqdatetime.h new file mode 100644 index 0000000..1753b56 --- /dev/null +++ b/qtinterface/interface_qt3/tqdatetime.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDateTime class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDateTime class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATETIME_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdatetimeedit.cpp b/qtinterface/interface_qt3/tqdatetimeedit.cpp new file mode 100644 index 0000000..3b78b2a --- /dev/null +++ b/qtinterface/interface_qt3/tqdatetimeedit.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdatetimeedit.h b/qtinterface/interface_qt3/tqdatetimeedit.h new file mode 100644 index 0000000..6ba4ac4 --- /dev/null +++ b/qtinterface/interface_qt3/tqdatetimeedit.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDateTimeEditBase class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDateTimeEditBase class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATETIMEEDIT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdatetm.h b/qtinterface/interface_qt3/tqdatetm.h new file mode 100644 index 0000000..b44f57a --- /dev/null +++ b/qtinterface/interface_qt3/tqdatetm.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQDATETM_H +#define TQT_TQDATETM_H + +#include + +// Pull in all date/time defines + +#include + +#endif /* TQT_TQDATETM_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdeepcopy.cpp b/qtinterface/interface_qt3/tqdeepcopy.cpp new file mode 100644 index 0000000..ca0f40f --- /dev/null +++ b/qtinterface/interface_qt3/tqdeepcopy.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdeepcopy.h b/qtinterface/interface_qt3/tqdeepcopy.h new file mode 100644 index 0000000..63bc788 --- /dev/null +++ b/qtinterface/interface_qt3/tqdeepcopy.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDeepCopy class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDeepCopy class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDEEPCOPY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdesktopwidget.cpp b/qtinterface/interface_qt3/tqdesktopwidget.cpp new file mode 100644 index 0000000..305df6b --- /dev/null +++ b/qtinterface/interface_qt3/tqdesktopwidget.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdesktopwidget.h b/qtinterface/interface_qt3/tqdesktopwidget.h new file mode 100644 index 0000000..e83d0ad --- /dev/null +++ b/qtinterface/interface_qt3/tqdesktopwidget.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDesktopWidget class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDesktopWidget class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDESKTOPWIDGET_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdial.cpp b/qtinterface/interface_qt3/tqdial.cpp new file mode 100644 index 0000000..18021bf --- /dev/null +++ b/qtinterface/interface_qt3/tqdial.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdial.h b/qtinterface/interface_qt3/tqdial.h new file mode 100644 index 0000000..b77ae83 --- /dev/null +++ b/qtinterface/interface_qt3/tqdial.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDial class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDial class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDIAL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdialog.cpp b/qtinterface/interface_qt3/tqdialog.cpp new file mode 100644 index 0000000..295998f --- /dev/null +++ b/qtinterface/interface_qt3/tqdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdialog.h b/qtinterface/interface_qt3/tqdialog.h new file mode 100644 index 0000000..08381f2 --- /dev/null +++ b/qtinterface/interface_qt3/tqdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdict.cpp b/qtinterface/interface_qt3/tqdict.cpp new file mode 100644 index 0000000..e041d2b --- /dev/null +++ b/qtinterface/interface_qt3/tqdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdict.h b/qtinterface/interface_qt3/tqdict.h new file mode 100644 index 0000000..890a496 --- /dev/null +++ b/qtinterface/interface_qt3/tqdict.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDict class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdir.cpp b/qtinterface/interface_qt3/tqdir.cpp new file mode 100644 index 0000000..328148e --- /dev/null +++ b/qtinterface/interface_qt3/tqdir.cpp @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdir.h b/qtinterface/interface_qt3/tqdir.h new file mode 100644 index 0000000..5b331e1 --- /dev/null +++ b/qtinterface/interface_qt3/tqdir.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDir class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDir class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDIR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdns.cpp b/qtinterface/interface_qt3/tqdns.cpp new file mode 100644 index 0000000..1e84bb3 --- /dev/null +++ b/qtinterface/interface_qt3/tqdns.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdns.h b/qtinterface/interface_qt3/tqdns.h new file mode 100644 index 0000000..b8d57f3 --- /dev/null +++ b/qtinterface/interface_qt3/tqdns.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDns class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDns class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDNS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdockarea.cpp b/qtinterface/interface_qt3/tqdockarea.cpp new file mode 100644 index 0000000..98e436b --- /dev/null +++ b/qtinterface/interface_qt3/tqdockarea.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdockarea.h b/qtinterface/interface_qt3/tqdockarea.h new file mode 100644 index 0000000..2001f1b --- /dev/null +++ b/qtinterface/interface_qt3/tqdockarea.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDockArea class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDockArea class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDOCKAREA_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdockwindow.cpp b/qtinterface/interface_qt3/tqdockwindow.cpp new file mode 100644 index 0000000..47ee368 --- /dev/null +++ b/qtinterface/interface_qt3/tqdockwindow.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdockwindow.h b/qtinterface/interface_qt3/tqdockwindow.h new file mode 100644 index 0000000..0b4a3e0 --- /dev/null +++ b/qtinterface/interface_qt3/tqdockwindow.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDockWindow class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDockWindow class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDOCKWINDOW_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdom.cpp b/qtinterface/interface_qt3/tqdom.cpp new file mode 100644 index 0000000..308cc5f --- /dev/null +++ b/qtinterface/interface_qt3/tqdom.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdom.h b/qtinterface/interface_qt3/tqdom.h new file mode 100644 index 0000000..1e9b360 --- /dev/null +++ b/qtinterface/interface_qt3/tqdom.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDom class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDom class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQACCEL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdragobject.cpp b/qtinterface/interface_qt3/tqdragobject.cpp new file mode 100644 index 0000000..c4769bf --- /dev/null +++ b/qtinterface/interface_qt3/tqdragobject.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdragobject.h b/qtinterface/interface_qt3/tqdragobject.h new file mode 100644 index 0000000..f6a96fa --- /dev/null +++ b/qtinterface/interface_qt3/tqdragobject.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDragObject class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDragObject class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDRAGOBJECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdrawutil.cpp b/qtinterface/interface_qt3/tqdrawutil.cpp new file mode 100644 index 0000000..de4234b --- /dev/null +++ b/qtinterface/interface_qt3/tqdrawutil.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +//#include diff --git a/qtinterface/interface_qt3/tqdrawutil.h b/qtinterface/interface_qt3/tqdrawutil.h new file mode 100644 index 0000000..17f944f --- /dev/null +++ b/qtinterface/interface_qt3/tqdrawutil.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDrawUtil class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDrawUtil class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDRAWUTIL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdrawutl.h b/qtinterface/interface_qt3/tqdrawutl.h new file mode 100644 index 0000000..3418bfb --- /dev/null +++ b/qtinterface/interface_qt3/tqdrawutl.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +// Pull in all drawing utility defines + +#include + +#endif /* TQT_TQDRAWUTIL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdropsite.cpp b/qtinterface/interface_qt3/tqdropsite.cpp new file mode 100644 index 0000000..92ca6e0 --- /dev/null +++ b/qtinterface/interface_qt3/tqdropsite.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqdropsite.h b/qtinterface/interface_qt3/tqdropsite.h new file mode 100644 index 0000000..860b62d --- /dev/null +++ b/qtinterface/interface_qt3/tqdropsite.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDropSite class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDropSite class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDROPSITE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqdstream.h b/qtinterface/interface_qt3/tqdstream.h new file mode 100644 index 0000000..43e5bc3 --- /dev/null +++ b/qtinterface/interface_qt3/tqdstream.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQDSTREAM_H +#define TQT_TQDSTREAM_H + +#include + +// Pull in all datastream defines + +#include + +#endif /* TQT_TQDSTREAM_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqeditorfactory.cpp b/qtinterface/interface_qt3/tqeditorfactory.cpp new file mode 100644 index 0000000..b7d0bc2 --- /dev/null +++ b/qtinterface/interface_qt3/tqeditorfactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqeditorfactory.h b/qtinterface/interface_qt3/tqeditorfactory.h new file mode 100644 index 0000000..2fc2b7b --- /dev/null +++ b/qtinterface/interface_qt3/tqeditorfactory.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QEditorFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QEditorFactory class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQEDITORFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqerrormessage.cpp b/qtinterface/interface_qt3/tqerrormessage.cpp new file mode 100644 index 0000000..2355e9e --- /dev/null +++ b/qtinterface/interface_qt3/tqerrormessage.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqerrormessage.h b/qtinterface/interface_qt3/tqerrormessage.h new file mode 100644 index 0000000..4c65338 --- /dev/null +++ b/qtinterface/interface_qt3/tqerrormessage.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QErrorMessage class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QErrorMessage class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQERRORMESSAGE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqeucjpcodec.cpp b/qtinterface/interface_qt3/tqeucjpcodec.cpp new file mode 100644 index 0000000..971126e --- /dev/null +++ b/qtinterface/interface_qt3/tqeucjpcodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqeucjpcodec.h b/qtinterface/interface_qt3/tqeucjpcodec.h new file mode 100644 index 0000000..d77f939 --- /dev/null +++ b/qtinterface/interface_qt3/tqeucjpcodec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QEucJpCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QEucJpCodec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQEUCJPCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqeuckrcodec.cpp b/qtinterface/interface_qt3/tqeuckrcodec.cpp new file mode 100644 index 0000000..987f03d --- /dev/null +++ b/qtinterface/interface_qt3/tqeuckrcodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqeuckrcodec.h b/qtinterface/interface_qt3/tqeuckrcodec.h new file mode 100644 index 0000000..ba0685b --- /dev/null +++ b/qtinterface/interface_qt3/tqeuckrcodec.h @@ -0,0 +1,42 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QEucKrCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQEUCKRCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqevent.cpp b/qtinterface/interface_qt3/tqevent.cpp new file mode 100644 index 0000000..c657540 --- /dev/null +++ b/qtinterface/interface_qt3/tqevent.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqevent.h b/qtinterface/interface_qt3/tqevent.h new file mode 100644 index 0000000..023a05b --- /dev/null +++ b/qtinterface/interface_qt3/tqevent.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QEvent class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QEvent class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQEVENT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqeventloop.cpp b/qtinterface/interface_qt3/tqeventloop.cpp new file mode 100644 index 0000000..d8f3d95 --- /dev/null +++ b/qtinterface/interface_qt3/tqeventloop.cpp @@ -0,0 +1,36 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +TQEventLoop *TQEventLoop::eventLoop () +{ + return static_cast(QAbstractEventDispatcher::instance()); +} + +bool TQEventLoop::processEvents( ProcessEventsFlags flags ) { + return QEventLoop::processEvents((ProcessEventsFlag)flags); +} + +#endif \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqeventloop.h b/qtinterface/interface_qt3/tqeventloop.h new file mode 100644 index 0000000..3c7310e --- /dev/null +++ b/qtinterface/interface_qt3/tqeventloop.h @@ -0,0 +1,63 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QEventLoop class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QEventLoop class +// For Qt4, some changes are needed + +#include +#include + +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 */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfeatures.h b/qtinterface/interface_qt3/tqfeatures.h new file mode 100644 index 0000000..e9bb751 --- /dev/null +++ b/qtinterface/interface_qt3/tqfeatures.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in all Qt3 feature defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in all Qt4 feature defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFEATURES_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfile.cpp b/qtinterface/interface_qt3/tqfile.cpp new file mode 100644 index 0000000..e30ecb4 --- /dev/null +++ b/qtinterface/interface_qt3/tqfile.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfile.h b/qtinterface/interface_qt3/tqfile.h new file mode 100644 index 0000000..4bec476 --- /dev/null +++ b/qtinterface/interface_qt3/tqfile.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFile class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFile class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFILE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfiledef.h b/qtinterface/interface_qt3/tqfiledef.h new file mode 100644 index 0000000..d5e54c1 --- /dev/null +++ b/qtinterface/interface_qt3/tqfiledef.h @@ -0,0 +1,41 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQFILEDEF_H +#define TQT_TQFILEDEF_H + +#include + +#ifdef USE_QT3 + +// Pull in legacy qfiledef defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Do not pull in legacy qfiledef defines + +#endif // USE_QT4 + +#endif /* TQT_TQFILEDEF_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfiledialog.cpp b/qtinterface/interface_qt3/tqfiledialog.cpp new file mode 100644 index 0000000..896924b --- /dev/null +++ b/qtinterface/interface_qt3/tqfiledialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqfiledialog.h b/qtinterface/interface_qt3/tqfiledialog.h new file mode 100644 index 0000000..cebbf8d --- /dev/null +++ b/qtinterface/interface_qt3/tqfiledialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFileDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFileDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFILEDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfiledlg.h b/qtinterface/interface_qt3/tqfiledlg.h new file mode 100644 index 0000000..003ef4a --- /dev/null +++ b/qtinterface/interface_qt3/tqfiledlg.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQFILEDLG_H +#define TQT_TQFILEDLG_H + +#include + +// Pull in file dialog defines + +#include + +#endif /* TQT_TQFILEDLG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfileinf.h b/qtinterface/interface_qt3/tqfileinf.h new file mode 100644 index 0000000..7697602 --- /dev/null +++ b/qtinterface/interface_qt3/tqfileinf.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQFILEINF_H +#define TQT_TQFILEINF_H + +#include + +// Pull in all file information defines + +#include + +#endif /* TQT_TQFILEINF_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfileinfo.cpp b/qtinterface/interface_qt3/tqfileinfo.cpp new file mode 100644 index 0000000..5d56e8a --- /dev/null +++ b/qtinterface/interface_qt3/tqfileinfo.cpp @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +QFileInfo::operator QFileInfo *() const { + return const_cast(this); +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfileinfo.h b/qtinterface/interface_qt3/tqfileinfo.h new file mode 100644 index 0000000..d30d58b --- /dev/null +++ b/qtinterface/interface_qt3/tqfileinfo.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFileInfo class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFileInfo class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFILEINFO_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfocusdata.cpp b/qtinterface/interface_qt3/tqfocusdata.cpp new file mode 100644 index 0000000..ff41080 --- /dev/null +++ b/qtinterface/interface_qt3/tqfocusdata.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqfocusdata.h b/qtinterface/interface_qt3/tqfocusdata.h new file mode 100644 index 0000000..81ea02a --- /dev/null +++ b/qtinterface/interface_qt3/tqfocusdata.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFocusData class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFocusData class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQFOCUSDATA_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfont.cpp b/qtinterface/interface_qt3/tqfont.cpp new file mode 100644 index 0000000..b8e3309 --- /dev/null +++ b/qtinterface/interface_qt3/tqfont.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqfont.h b/qtinterface/interface_qt3/tqfont.h new file mode 100644 index 0000000..d267060 --- /dev/null +++ b/qtinterface/interface_qt3/tqfont.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFont class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFont class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFONT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfontdatabase.cpp b/qtinterface/interface_qt3/tqfontdatabase.cpp new file mode 100644 index 0000000..a23b119 --- /dev/null +++ b/qtinterface/interface_qt3/tqfontdatabase.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqfontdatabase.h b/qtinterface/interface_qt3/tqfontdatabase.h new file mode 100644 index 0000000..922feb0 --- /dev/null +++ b/qtinterface/interface_qt3/tqfontdatabase.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFontDatabase class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFontDatabase class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFONTDATABASE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfontdialog.cpp b/qtinterface/interface_qt3/tqfontdialog.cpp new file mode 100644 index 0000000..0f04dad --- /dev/null +++ b/qtinterface/interface_qt3/tqfontdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqfontdialog.h b/qtinterface/interface_qt3/tqfontdialog.h new file mode 100644 index 0000000..cfcaed3 --- /dev/null +++ b/qtinterface/interface_qt3/tqfontdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFontDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFontDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFONTDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfontinf.h b/qtinterface/interface_qt3/tqfontinf.h new file mode 100644 index 0000000..393c2e6 --- /dev/null +++ b/qtinterface/interface_qt3/tqfontinf.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQFONTINF_H +#define TQT_TQFONTINF_H + +#include + +// Pull in all font information defines + +#include + +#endif /* TQT_TQFONTINF_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfontinfo.cpp b/qtinterface/interface_qt3/tqfontinfo.cpp new file mode 100644 index 0000000..14ea3bd --- /dev/null +++ b/qtinterface/interface_qt3/tqfontinfo.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqfontinfo.h b/qtinterface/interface_qt3/tqfontinfo.h new file mode 100644 index 0000000..3a85285 --- /dev/null +++ b/qtinterface/interface_qt3/tqfontinfo.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFontInfo class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFontInfo class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFONTINFO_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfontmet.h b/qtinterface/interface_qt3/tqfontmet.h new file mode 100644 index 0000000..cc7b88e --- /dev/null +++ b/qtinterface/interface_qt3/tqfontmet.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQFONTMET_H +#define TQT_TQFONTMET_H + +#include + +// Pull in all font metrics defines + +#include + +#endif /* TQT_TQFONTMET_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqfontmetrics.cpp b/qtinterface/interface_qt3/tqfontmetrics.cpp new file mode 100644 index 0000000..d86ac46 --- /dev/null +++ b/qtinterface/interface_qt3/tqfontmetrics.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqfontmetrics.h b/qtinterface/interface_qt3/tqfontmetrics.h new file mode 100644 index 0000000..b7a79be --- /dev/null +++ b/qtinterface/interface_qt3/tqfontmetrics.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFontMetrics class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFontMetrics class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFONTMETRICS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqframe.cpp b/qtinterface/interface_qt3/tqframe.cpp new file mode 100644 index 0000000..c504275 --- /dev/null +++ b/qtinterface/interface_qt3/tqframe.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqframe.h b/qtinterface/interface_qt3/tqframe.h new file mode 100644 index 0000000..3c196a0 --- /dev/null +++ b/qtinterface/interface_qt3/tqframe.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFrame class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFrame class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFRAME_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqftp.cpp b/qtinterface/interface_qt3/tqftp.cpp new file mode 100644 index 0000000..b6c3a27 --- /dev/null +++ b/qtinterface/interface_qt3/tqftp.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqftp.h b/qtinterface/interface_qt3/tqftp.h new file mode 100644 index 0000000..fc98b40 --- /dev/null +++ b/qtinterface/interface_qt3/tqftp.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFtp class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFtp class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFTP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgarray.cpp b/qtinterface/interface_qt3/tqgarray.cpp new file mode 100644 index 0000000..1b57517 --- /dev/null +++ b/qtinterface/interface_qt3/tqgarray.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqgarray.h b/qtinterface/interface_qt3/tqgarray.h new file mode 100644 index 0000000..f3feac6 --- /dev/null +++ b/qtinterface/interface_qt3/tqgarray.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGArray class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGArray class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGARRAY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgb18030codec.cpp b/qtinterface/interface_qt3/tqgb18030codec.cpp new file mode 100644 index 0000000..923dfac --- /dev/null +++ b/qtinterface/interface_qt3/tqgb18030codec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqgb18030codec.h b/qtinterface/interface_qt3/tqgb18030codec.h new file mode 100644 index 0000000..326fd28 --- /dev/null +++ b/qtinterface/interface_qt3/tqgb18030codec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGb18030Codec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGb18030Codec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQGB18030CODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgbkcodec.h b/qtinterface/interface_qt3/tqgbkcodec.h new file mode 100644 index 0000000..b08d9cb --- /dev/null +++ b/qtinterface/interface_qt3/tqgbkcodec.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +// Pull in all qgb18030codec defines + +#include + +#endif /* TQT_TQGBKCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgcache.cpp b/qtinterface/interface_qt3/tqgcache.cpp new file mode 100644 index 0000000..5f7a87f --- /dev/null +++ b/qtinterface/interface_qt3/tqgcache.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqgcache.h b/qtinterface/interface_qt3/tqgcache.h new file mode 100644 index 0000000..a10441b --- /dev/null +++ b/qtinterface/interface_qt3/tqgcache.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGCache class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGCache class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQGCACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgdict.cpp b/qtinterface/interface_qt3/tqgdict.cpp new file mode 100644 index 0000000..b0985b3 --- /dev/null +++ b/qtinterface/interface_qt3/tqgdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqgdict.h b/qtinterface/interface_qt3/tqgdict.h new file mode 100644 index 0000000..289b1bf --- /dev/null +++ b/qtinterface/interface_qt3/tqgdict.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGDict class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQGDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgeneric.h b/qtinterface/interface_qt3/tqgeneric.h new file mode 100644 index 0000000..eaf3762 --- /dev/null +++ b/qtinterface/interface_qt3/tqgeneric.h @@ -0,0 +1,37 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#endif // USE_QT4 + +#endif /* TQT_TQGENERIC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgif.h b/qtinterface/interface_qt3/tqgif.h new file mode 100644 index 0000000..a839524 --- /dev/null +++ b/qtinterface/interface_qt3/tqgif.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Include the Qt3 gif defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Include the Qt4 gif defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGIF_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgl.cpp b/qtinterface/interface_qt3/tqgl.cpp new file mode 100644 index 0000000..66f69cc --- /dev/null +++ b/qtinterface/interface_qt3/tqgl.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqgl.h b/qtinterface/interface_qt3/tqgl.h new file mode 100644 index 0000000..7039a1c --- /dev/null +++ b/qtinterface/interface_qt3/tqgl.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGL class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGL class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqglcolormap.cpp b/qtinterface/interface_qt3/tqglcolormap.cpp new file mode 100644 index 0000000..23c87c1 --- /dev/null +++ b/qtinterface/interface_qt3/tqglcolormap.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqglcolormap.h b/qtinterface/interface_qt3/tqglcolormap.h new file mode 100644 index 0000000..24ddaf9 --- /dev/null +++ b/qtinterface/interface_qt3/tqglcolormap.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGLColormap class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGLColormap class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGLCOLORMAP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqglist.cpp b/qtinterface/interface_qt3/tqglist.cpp new file mode 100644 index 0000000..b0dffe8 --- /dev/null +++ b/qtinterface/interface_qt3/tqglist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqglist.h b/qtinterface/interface_qt3/tqglist.h new file mode 100644 index 0000000..378fd4e --- /dev/null +++ b/qtinterface/interface_qt3/tqglist.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGList class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqglobal.h b/qtinterface/interface_qt3/tqglobal.h new file mode 100644 index 0000000..5094d00 --- /dev/null +++ b/qtinterface/interface_qt3/tqglobal.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in all Qt3 global defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in all Qt4 global defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGLOBAL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgplugin.cpp b/qtinterface/interface_qt3/tqgplugin.cpp new file mode 100644 index 0000000..4ba1bf1 --- /dev/null +++ b/qtinterface/interface_qt3/tqgplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqgplugin.h b/qtinterface/interface_qt3/tqgplugin.h new file mode 100644 index 0000000..1b66267 --- /dev/null +++ b/qtinterface/interface_qt3/tqgplugin.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGPlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGPlugin class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQGPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgrid.cpp b/qtinterface/interface_qt3/tqgrid.cpp new file mode 100644 index 0000000..6db2e5f --- /dev/null +++ b/qtinterface/interface_qt3/tqgrid.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqgrid.h b/qtinterface/interface_qt3/tqgrid.h new file mode 100644 index 0000000..d2dd05f --- /dev/null +++ b/qtinterface/interface_qt3/tqgrid.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGrid class +// For Qt3, some changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGrid class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGRID_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgridview.cpp b/qtinterface/interface_qt3/tqgridview.cpp new file mode 100644 index 0000000..817dc5c --- /dev/null +++ b/qtinterface/interface_qt3/tqgridview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqgridview.h b/qtinterface/interface_qt3/tqgridview.h new file mode 100644 index 0000000..1b48d71 --- /dev/null +++ b/qtinterface/interface_qt3/tqgridview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGridView class +// For Qt3, some changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGridView class +// For Qt4, no changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGRIDVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgroupbox.cpp b/qtinterface/interface_qt3/tqgroupbox.cpp new file mode 100644 index 0000000..6620835 --- /dev/null +++ b/qtinterface/interface_qt3/tqgroupbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqgroupbox.h b/qtinterface/interface_qt3/tqgroupbox.h new file mode 100644 index 0000000..b83a77e --- /dev/null +++ b/qtinterface/interface_qt3/tqgroupbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGroupBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGroupBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGROUPBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgrpbox.h b/qtinterface/interface_qt3/tqgrpbox.h new file mode 100644 index 0000000..e6e5aff --- /dev/null +++ b/qtinterface/interface_qt3/tqgrpbox.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQGRPBOX_H +#define TQT_TQGRPBOX_H + +#include + +// Pull in tqgroupbox defines + +#include + +#endif /* TQT_TQGRPBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqguardedptr.cpp b/qtinterface/interface_qt3/tqguardedptr.cpp new file mode 100644 index 0000000..da3febc --- /dev/null +++ b/qtinterface/interface_qt3/tqguardedptr.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqguardedptr.h b/qtinterface/interface_qt3/tqguardedptr.h new file mode 100644 index 0000000..4626aaa --- /dev/null +++ b/qtinterface/interface_qt3/tqguardedptr.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGuardedPtr class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGuardedPtr class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGUARDEDPTR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqgvector.cpp b/qtinterface/interface_qt3/tqgvector.cpp new file mode 100644 index 0000000..5417f15 --- /dev/null +++ b/qtinterface/interface_qt3/tqgvector.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqgvector.h b/qtinterface/interface_qt3/tqgvector.h new file mode 100644 index 0000000..42f407d --- /dev/null +++ b/qtinterface/interface_qt3/tqgvector.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGVector class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGVector class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQGVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqhbox.cpp b/qtinterface/interface_qt3/tqhbox.cpp new file mode 100644 index 0000000..749deb7 --- /dev/null +++ b/qtinterface/interface_qt3/tqhbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqhbox.h b/qtinterface/interface_qt3/tqhbox.h new file mode 100644 index 0000000..a23a09f --- /dev/null +++ b/qtinterface/interface_qt3/tqhbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqhbuttongroup.cpp b/qtinterface/interface_qt3/tqhbuttongroup.cpp new file mode 100644 index 0000000..3f1530b --- /dev/null +++ b/qtinterface/interface_qt3/tqhbuttongroup.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqhbuttongroup.h b/qtinterface/interface_qt3/tqhbuttongroup.h new file mode 100644 index 0000000..6a06b3e --- /dev/null +++ b/qtinterface/interface_qt3/tqhbuttongroup.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHButtonGroup class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHButtonGroup class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHBUTTONGROUP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqheader.cpp b/qtinterface/interface_qt3/tqheader.cpp new file mode 100644 index 0000000..9623131 --- /dev/null +++ b/qtinterface/interface_qt3/tqheader.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqheader.h b/qtinterface/interface_qt3/tqheader.h new file mode 100644 index 0000000..5e97694 --- /dev/null +++ b/qtinterface/interface_qt3/tqheader.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHeader class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHeader class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHEADER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqhgroupbox.cpp b/qtinterface/interface_qt3/tqhgroupbox.cpp new file mode 100644 index 0000000..c552817 --- /dev/null +++ b/qtinterface/interface_qt3/tqhgroupbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqhgroupbox.h b/qtinterface/interface_qt3/tqhgroupbox.h new file mode 100644 index 0000000..53b6049 --- /dev/null +++ b/qtinterface/interface_qt3/tqhgroupbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHGroupBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHGroupBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHGROUPBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqhostaddress.cpp b/qtinterface/interface_qt3/tqhostaddress.cpp new file mode 100644 index 0000000..7041ba5 --- /dev/null +++ b/qtinterface/interface_qt3/tqhostaddress.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqhostaddress.h b/qtinterface/interface_qt3/tqhostaddress.h new file mode 100644 index 0000000..a4d2783 --- /dev/null +++ b/qtinterface/interface_qt3/tqhostaddress.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHostAddress class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHostAddress class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHOSTADDRESS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqhttp.cpp b/qtinterface/interface_qt3/tqhttp.cpp new file mode 100644 index 0000000..ebf10ae --- /dev/null +++ b/qtinterface/interface_qt3/tqhttp.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqhttp.h b/qtinterface/interface_qt3/tqhttp.h new file mode 100644 index 0000000..c033ee8 --- /dev/null +++ b/qtinterface/interface_qt3/tqhttp.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHttp class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHttp class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHTTP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqiconset.cpp b/qtinterface/interface_qt3/tqiconset.cpp new file mode 100644 index 0000000..cab3a65 --- /dev/null +++ b/qtinterface/interface_qt3/tqiconset.cpp @@ -0,0 +1,136 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +#include "Qt/q3cleanuphandler.h" + +static TQIconFactory *defaultFac = 0; +static Q3SingleCleanupHandler 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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqiconset.h b/qtinterface/interface_qt3/tqiconset.h new file mode 100644 index 0000000..92851fe --- /dev/null +++ b/qtinterface/interface_qt3/tqiconset.h @@ -0,0 +1,70 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAccel class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAccel class +// For Qt4, some changes are needed + +#include +#include + +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 */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqiconview.cpp b/qtinterface/interface_qt3/tqiconview.cpp new file mode 100644 index 0000000..24f01de --- /dev/null +++ b/qtinterface/interface_qt3/tqiconview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqiconview.h b/qtinterface/interface_qt3/tqiconview.h new file mode 100644 index 0000000..e9c71f3 --- /dev/null +++ b/qtinterface/interface_qt3/tqiconview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QIconView class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QIconView class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQICONVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqimage.cpp b/qtinterface/interface_qt3/tqimage.cpp new file mode 100644 index 0000000..21f8773 --- /dev/null +++ b/qtinterface/interface_qt3/tqimage.cpp @@ -0,0 +1,69 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqimage.h b/qtinterface/interface_qt3/tqimage.h new file mode 100644 index 0000000..ddf1ec1 --- /dev/null +++ b/qtinterface/interface_qt3/tqimage.h @@ -0,0 +1,67 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QImage class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QImage class +// For Qt4, some changes are needed + +#include +#include +#include + +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 */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqimageformatplugin.cpp b/qtinterface/interface_qt3/tqimageformatplugin.cpp new file mode 100644 index 0000000..7cc61f6 --- /dev/null +++ b/qtinterface/interface_qt3/tqimageformatplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqimageformatplugin.h b/qtinterface/interface_qt3/tqimageformatplugin.h new file mode 100644 index 0000000..124891b --- /dev/null +++ b/qtinterface/interface_qt3/tqimageformatplugin.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QImageFormatPlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QImageFormatPlugin class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQIMAGEFORMATPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqinputcontext.cpp b/qtinterface/interface_qt3/tqinputcontext.cpp new file mode 100644 index 0000000..ba2aa08 --- /dev/null +++ b/qtinterface/interface_qt3/tqinputcontext.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqinputcontext.h b/qtinterface/interface_qt3/tqinputcontext.h new file mode 100644 index 0000000..5a9f569 --- /dev/null +++ b/qtinterface/interface_qt3/tqinputcontext.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QInputContext class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QInputContext class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQINPUTCONTEXT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqinputcontextfactory.cpp b/qtinterface/interface_qt3/tqinputcontextfactory.cpp new file mode 100644 index 0000000..cb95544 --- /dev/null +++ b/qtinterface/interface_qt3/tqinputcontextfactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqinputcontextfactory.h b/qtinterface/interface_qt3/tqinputcontextfactory.h new file mode 100644 index 0000000..3ca7863 --- /dev/null +++ b/qtinterface/interface_qt3/tqinputcontextfactory.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QInputContextFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QInputContextFactory class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQINPUTCONTEXTFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqinputdialog.cpp b/qtinterface/interface_qt3/tqinputdialog.cpp new file mode 100644 index 0000000..0ac3172 --- /dev/null +++ b/qtinterface/interface_qt3/tqinputdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqinputdialog.h b/qtinterface/interface_qt3/tqinputdialog.h new file mode 100644 index 0000000..b4c3ad3 --- /dev/null +++ b/qtinterface/interface_qt3/tqinputdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QInputDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QInputDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQINPUTDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqintcach.h b/qtinterface/interface_qt3/tqintcach.h new file mode 100644 index 0000000..aae7245 --- /dev/null +++ b/qtinterface/interface_qt3/tqintcach.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQINTCACH_H +#define TQT_TQINTCACH_H + +#include + +// Pull in all qintcache defines + +#include + +#endif /* TQT_TQINTCACH_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqintcache.cpp b/qtinterface/interface_qt3/tqintcache.cpp new file mode 100644 index 0000000..75efc5b --- /dev/null +++ b/qtinterface/interface_qt3/tqintcache.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqintcache.h b/qtinterface/interface_qt3/tqintcache.h new file mode 100644 index 0000000..042fe50 --- /dev/null +++ b/qtinterface/interface_qt3/tqintcache.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QIntCache class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QIntCache class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQINTCACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqintdict.cpp b/qtinterface/interface_qt3/tqintdict.cpp new file mode 100644 index 0000000..d047741 --- /dev/null +++ b/qtinterface/interface_qt3/tqintdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqintdict.h b/qtinterface/interface_qt3/tqintdict.h new file mode 100644 index 0000000..bb76f3d --- /dev/null +++ b/qtinterface/interface_qt3/tqintdict.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QIntDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QIntDict class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQINTDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqinterlacestyle.cpp b/qtinterface/interface_qt3/tqinterlacestyle.cpp new file mode 100644 index 0000000..42172df --- /dev/null +++ b/qtinterface/interface_qt3/tqinterlacestyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +//#include diff --git a/qtinterface/interface_qt3/tqinterlacestyle.h b/qtinterface/interface_qt3/tqinterlacestyle.h new file mode 100644 index 0000000..0a834af --- /dev/null +++ b/qtinterface/interface_qt3/tqinterlacestyle.h @@ -0,0 +1,49 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QInterlaceStyle class +// For Qt3, no changes are needed + +#include + +#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 + +#error "Not ported to new API as of Qt4!" + +#endif // USE_QT4 + +#endif /* TQT_TQINTERLACESTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqiodev.h b/qtinterface/interface_qt3/tqiodev.h new file mode 100644 index 0000000..7bfebc0 --- /dev/null +++ b/qtinterface/interface_qt3/tqiodev.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQIODEV_H +#define TQT_TQIODEV_H + +#include + +// Pull in tqiodevice defines + +#include + +#endif /* TQT_TQIODEV_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqiodevice.cpp b/qtinterface/interface_qt3/tqiodevice.cpp new file mode 100644 index 0000000..1038fc4 --- /dev/null +++ b/qtinterface/interface_qt3/tqiodevice.cpp @@ -0,0 +1,70 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqiodevice.h b/qtinterface/interface_qt3/tqiodevice.h new file mode 100644 index 0000000..4728996 --- /dev/null +++ b/qtinterface/interface_qt3/tqiodevice.h @@ -0,0 +1,60 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QIODevice class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QIODevice class +// For Qt4, no changes are needed + +#define QT_NO_QOBJECT +#include +#undef QT_NO_QOBJECT + +// class TQIODevice : public QIODevice { +// public: +// TQIODevice(); +// #ifndef QT_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 */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqjiscodec.cpp b/qtinterface/interface_qt3/tqjiscodec.cpp new file mode 100644 index 0000000..716318d --- /dev/null +++ b/qtinterface/interface_qt3/tqjiscodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqjiscodec.h b/qtinterface/interface_qt3/tqjiscodec.h new file mode 100644 index 0000000..f3840b1 --- /dev/null +++ b/qtinterface/interface_qt3/tqjiscodec.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QJisCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QJisCodec class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQJISCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqjpegio.h b/qtinterface/interface_qt3/tqjpegio.h new file mode 100644 index 0000000..27691bc --- /dev/null +++ b/qtinterface/interface_qt3/tqjpegio.h @@ -0,0 +1,42 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qjpegio.h defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qjpegio.h defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQJPEGIO_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqjpunicode.cpp b/qtinterface/interface_qt3/tqjpunicode.cpp new file mode 100644 index 0000000..1c72060 --- /dev/null +++ b/qtinterface/interface_qt3/tqjpunicode.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqjpunicode.h b/qtinterface/interface_qt3/tqjpunicode.h new file mode 100644 index 0000000..d34376e --- /dev/null +++ b/qtinterface/interface_qt3/tqjpunicode.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QJpUnicodeConv class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QJpUnicodeConv class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQJPUNICODE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqkeycode.h b/qtinterface/interface_qt3/tqkeycode.h new file mode 100644 index 0000000..8206f12 --- /dev/null +++ b/qtinterface/interface_qt3/tqkeycode.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +// Pull in tqkeycode defines + +#include + +#endif /* TQT_TQKEYCODE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqkeysequence.cpp b/qtinterface/interface_qt3/tqkeysequence.cpp new file mode 100644 index 0000000..9c39c72 --- /dev/null +++ b/qtinterface/interface_qt3/tqkeysequence.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqkeysequence.h b/qtinterface/interface_qt3/tqkeysequence.h new file mode 100644 index 0000000..e6e77c1 --- /dev/null +++ b/qtinterface/interface_qt3/tqkeysequence.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QKeySequence class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QKeySequence class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQKEYSEQUENCE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlabel.cpp b/qtinterface/interface_qt3/tqlabel.cpp new file mode 100644 index 0000000..af1fbc2 --- /dev/null +++ b/qtinterface/interface_qt3/tqlabel.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqlabel.h b/qtinterface/interface_qt3/tqlabel.h new file mode 100644 index 0000000..2af056a --- /dev/null +++ b/qtinterface/interface_qt3/tqlabel.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLabel class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLabel class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLABEL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlayout.cpp b/qtinterface/interface_qt3/tqlayout.cpp new file mode 100644 index 0000000..0ce6ffa --- /dev/null +++ b/qtinterface/interface_qt3/tqlayout.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqlayout.h b/qtinterface/interface_qt3/tqlayout.h new file mode 100644 index 0000000..ae4f860 --- /dev/null +++ b/qtinterface/interface_qt3/tqlayout.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLayout class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLayout class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLAYOUT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlcdnum.h b/qtinterface/interface_qt3/tqlcdnum.h new file mode 100644 index 0000000..236739e --- /dev/null +++ b/qtinterface/interface_qt3/tqlcdnum.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +// Pull in tqlcdnumber defines + +#include + +#endif /* TQT_TQLCDNUMBER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlcdnumber.cpp b/qtinterface/interface_qt3/tqlcdnumber.cpp new file mode 100644 index 0000000..3c47a7e --- /dev/null +++ b/qtinterface/interface_qt3/tqlcdnumber.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqlcdnumber.h b/qtinterface/interface_qt3/tqlcdnumber.h new file mode 100644 index 0000000..cbe4abc --- /dev/null +++ b/qtinterface/interface_qt3/tqlcdnumber.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLCDNumber class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLCDNumber class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLCDNUMBER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlibrary.cpp b/qtinterface/interface_qt3/tqlibrary.cpp new file mode 100644 index 0000000..7d16ae2 --- /dev/null +++ b/qtinterface/interface_qt3/tqlibrary.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqlibrary.h b/qtinterface/interface_qt3/tqlibrary.h new file mode 100644 index 0000000..e4ca5ed --- /dev/null +++ b/qtinterface/interface_qt3/tqlibrary.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLibrary class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLibrary class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLIBRARY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlined.h b/qtinterface/interface_qt3/tqlined.h new file mode 100644 index 0000000..1ce55a6 --- /dev/null +++ b/qtinterface/interface_qt3/tqlined.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQLINED_H +#define TQT_TQLINED_H + +#include + +// Pull in tqlineedit defines + +#include + +#endif /* TQT_TQLINED_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlineedit.cpp b/qtinterface/interface_qt3/tqlineedit.cpp new file mode 100644 index 0000000..873b346 --- /dev/null +++ b/qtinterface/interface_qt3/tqlineedit.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqlineedit.h b/qtinterface/interface_qt3/tqlineedit.h new file mode 100644 index 0000000..577642e --- /dev/null +++ b/qtinterface/interface_qt3/tqlineedit.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLineEdit class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLineEdit class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLINEEDIT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlist.h b/qtinterface/interface_qt3/tqlist.h new file mode 100644 index 0000000..40873f9 --- /dev/null +++ b/qtinterface/interface_qt3/tqlist.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQLIST_H +#define TQT_TQLIST_H + +#include + +// Pull in tqptrlist defines + +#include + +#endif /* TQT_TQLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlistbox.cpp b/qtinterface/interface_qt3/tqlistbox.cpp new file mode 100644 index 0000000..cec4235 --- /dev/null +++ b/qtinterface/interface_qt3/tqlistbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqlistbox.h b/qtinterface/interface_qt3/tqlistbox.h new file mode 100644 index 0000000..1e5ab13 --- /dev/null +++ b/qtinterface/interface_qt3/tqlistbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QListBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QListBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLISTBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlistiterator.cpp b/qtinterface/interface_qt3/tqlistiterator.cpp new file mode 100644 index 0000000..031d59e --- /dev/null +++ b/qtinterface/interface_qt3/tqlistiterator.cpp @@ -0,0 +1,48 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +// template +// TQListIterator::TQListIterator(const QList &t) { +// index = 0; +// list = t; +// } +// +// template +// TQListIterator::~TQListIterator() { +// // +// } + +// template +// T TQListIterator::current() { +// if ((index >= 0) && (index < list->size())) { +// return list->at(index); +// } +// else { +// return 0; +// } +// } + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlistiterator.h b/qtinterface/interface_qt3/tqlistiterator.h new file mode 100644 index 0000000..4cd1991 --- /dev/null +++ b/qtinterface/interface_qt3/tqlistiterator.h @@ -0,0 +1,86 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQLISTITERATOR_H +#define TQT_TQLISTITERATOR_H + +#include + +#ifdef USE_QT4 + +// Implement the TQListIterator class +// For Qt4, this is a combination of the QList::iterator and QMutableListIterator classes, +// with the constructor from QMutableListIterator used primarily + +//#include +#include + +template +//class TQListIterator : public QList::iterator +//class TQListIterator : public QMutableListIterator +class TQListIterator +{ +public: + inline TQListIterator(const QList &t) {index = 0; list = &t;} + inline ~TQListIterator() {} + + inline T current() { + if ((index >= 0) && (index < list->size())) { + return list->at(index); + } + else { + return 0; + } + } + + int operator++() { index++; return index; } + +private: + int index; + const QList *list; +}; + +template +class TQListIteratorRetPtr +{ +public: + inline TQListIteratorRetPtr(const QList &t) {index = 0; list = &t;} + inline ~TQListIteratorRetPtr() {} + + inline T * current() { + if ((index >= 0) && (index < list->size())) { + return const_cast(&(list->at(index))); + } + else { + return 0; + } + } + + int operator++() { index++; return index; } + +private: + int index; + const QList *list; +}; + +#endif // USE_QT4 + +#endif /* TQT_TQLISTITERATOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlistview.cpp b/qtinterface/interface_qt3/tqlistview.cpp new file mode 100644 index 0000000..929127e --- /dev/null +++ b/qtinterface/interface_qt3/tqlistview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqlistview.h b/qtinterface/interface_qt3/tqlistview.h new file mode 100644 index 0000000..cd2cb47 --- /dev/null +++ b/qtinterface/interface_qt3/tqlistview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QListView class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QListView class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLISTVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlocale.cpp b/qtinterface/interface_qt3/tqlocale.cpp new file mode 100644 index 0000000..46d2582 --- /dev/null +++ b/qtinterface/interface_qt3/tqlocale.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqlocale.h b/qtinterface/interface_qt3/tqlocale.h new file mode 100644 index 0000000..14751ae --- /dev/null +++ b/qtinterface/interface_qt3/tqlocale.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLocale class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLocale class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLOCALE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqlocalfs.cpp b/qtinterface/interface_qt3/tqlocalfs.cpp new file mode 100644 index 0000000..76b6c21 --- /dev/null +++ b/qtinterface/interface_qt3/tqlocalfs.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqlocalfs.h b/qtinterface/interface_qt3/tqlocalfs.h new file mode 100644 index 0000000..18ca0b8 --- /dev/null +++ b/qtinterface/interface_qt3/tqlocalfs.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLocalFs class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLocalFs class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLOCALFS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmainwindow.cpp b/qtinterface/interface_qt3/tqmainwindow.cpp new file mode 100644 index 0000000..ad9d212 --- /dev/null +++ b/qtinterface/interface_qt3/tqmainwindow.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqmainwindow.h b/qtinterface/interface_qt3/tqmainwindow.h new file mode 100644 index 0000000..a4f5f94 --- /dev/null +++ b/qtinterface/interface_qt3/tqmainwindow.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMainWindow class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMainWindow class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMAINWINDOW_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmap.cpp b/qtinterface/interface_qt3/tqmap.cpp new file mode 100644 index 0000000..8ab4436 --- /dev/null +++ b/qtinterface/interface_qt3/tqmap.cpp @@ -0,0 +1,243 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmap.h b/qtinterface/interface_qt3/tqmap.h new file mode 100644 index 0000000..58ccd40 --- /dev/null +++ b/qtinterface/interface_qt3/tqmap.h @@ -0,0 +1,935 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMap class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMap class +// For Qt4, some changes are needed + +#include +#include +#include + +/**************************************************************************** +** +** 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 +struct TQMapNode : public TQMapNodeBase +{ + TQMapNode( const K& _key, const T& _data ) { data = _data; key = _key; } + TQMapNode( const K& _key ) { key = _key; } + TQMapNode( const TQMapNode& _n ) { key = _n.key; data = _n.data; } + TQMapNode() { } + T data; + K key; +}; + + +template +class TQMapIterator +{ + public: + /** + * Typedefs + */ + typedef TQMapNode< K, T >* NodePtr; +#ifndef QT_NO_STL + typedef std::bidirectional_iterator_tag iterator_category; +#endif + typedef T value_type; +#ifndef QT_NO_STL + typedef ptrdiff_t difference_type; +#else + typedef int difference_type; +#endif + typedef T* pointer; + typedef T& reference; + + /** + * Variables + */ + TQMapNode* node; + + /** + * Functions + */ + TQMapIterator() : node( 0 ) {} + TQMapIterator( TQMapNode* p ) : node( p ) {} + TQMapIterator( const TQMapIterator& it ) : node( it.node ) {} + + bool operator==( const TQMapIterator& it ) const { return node == it.node; } + bool operator!=( const TQMapIterator& 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& operator++() { + inc(); + return *this; + } + + TQMapIterator operator++(int) { + TQMapIterator tmp = *this; + inc(); + return tmp; + } + + TQMapIterator& operator--() { + dec(); + return *this; + } + + TQMapIterator operator--(int) { + TQMapIterator tmp = *this; + dec(); + return tmp; + } +}; + +template +int TQMapIterator::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 +int TQMapIterator::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 TQMapConstIterator +{ + public: + /** + * Typedefs + */ + typedef TQMapNode< K, T >* NodePtr; +#ifndef QT_NO_STL + typedef std::bidirectional_iterator_tag iterator_category; +#endif + typedef T value_type; +#ifndef QT_NO_STL + typedef ptrdiff_t difference_type; +#else + typedef int difference_type; +#endif + typedef const T* pointer; + typedef const T& reference; + + + /** + * Variables + */ + TQMapNode* node; + + /** + * Functions + */ + TQMapConstIterator() : node( 0 ) {} + TQMapConstIterator( TQMapNode* p ) : node( p ) {} + TQMapConstIterator( const TQMapConstIterator& it ) : node( it.node ) {} + TQMapConstIterator( const TQMapIterator& it ) : node( it.node ) {} + + bool operator==( const TQMapConstIterator& it ) const { return node == it.node; } + bool operator!=( const TQMapConstIterator& 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& operator++() { + inc(); + return *this; + } + + TQMapConstIterator operator++(int) { + TQMapConstIterator tmp = *this; + inc(); + return tmp; + } + + TQMapConstIterator& operator--() { + dec(); + return *this; + } + + TQMapConstIterator operator--(int) { + TQMapConstIterator tmp = *this; + dec(); + return tmp; + } +}; + +template +int TQMapConstIterator::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 +int TQMapConstIterator::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 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 +TQMapPrivate::TQMapPrivate() { + header = new Node; + header->color = TQMapNodeBase::Red; // Mark the header + header->parent = 0; + header->left = header->right = header; +} +template +TQMapPrivate::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 +Q_TYPENAME TQMapPrivate::NodePtr TQMapPrivate::copy( Q_TYPENAME TQMapPrivate::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 +void TQMapPrivate::clear() +{ + clear( (NodePtr)(header->parent) ); + header->color = TQMapNodeBase::Red; + header->parent = 0; + header->left = header->right = header; + node_count = 0; +} + +template +void TQMapPrivate::clear( Q_TYPENAME TQMapPrivate::NodePtr p ) +{ + while ( p != 0 ) { + clear( (NodePtr)p->right ); + NodePtr y = (NodePtr)p->left; + delete p; + p = y; + } +} + +template +Q_TYPENAME TQMapPrivate::ConstIterator TQMapPrivate::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 +Q_TYPENAME TQMapPrivate::Iterator TQMapPrivate::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 +Q_TYPENAME TQMapPrivate::Iterator TQMapPrivate::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( QT_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 QDeepCopy; + +template +class TQMap +{ +public: + /** + * Typedefs + */ + typedef Key key_type; + typedef T mapped_type; + typedef QPair value_type; + typedef value_type* pointer; + typedef const value_type* const_pointer; + typedef value_type& reference; + typedef const value_type& const_reference; +#ifndef QT_NO_STL + typedef ptrdiff_t difference_type; +#else + typedef int difference_type; +#endif + typedef size_t size_type; + typedef TQMapIterator iterator; + typedef TQMapConstIterator const_iterator; + typedef QPair 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& m ) + { + sh = m.sh; sh->ref(); + } + +#ifndef QT_NO_STL + TQMap( const std::map& m ) + { + sh = new TQMapPrivate; + Q_TYPENAME std::map::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& operator= ( const TQMap& m ); +#ifndef QT_NO_STL + TQMap& operator= ( const std::map& m ) + { + clear(); + Q_TYPENAME std::map::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& m) + { + QMapIterator i(m); + while (i.hasNext()) { + i.next(); + insert(i.key(), i.value()); + } + } + TQMap& operator= (const QMap& m) + { + this->clear(); + QMapIterator i(m); + while (i.hasNext()) { + i.next(); + insert(i.key(), i.value()); + } + return *this; + } + + operator QMap() const { + QMap 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 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 keys() const { + Q3ValueList r; + for (const_iterator i=begin(); i!=end(); ++i) + r.append(i.key()); + return r; + } + + Q3ValueList values() const { + Q3ValueList 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(Q_FULL_TEMPLATE_INSTANTIATION) + bool operator==( const TQMap& ) const { return FALSE; } +#ifndef QT_NO_STL + bool operator==( const std::map& ) const { return FALSE; } +#endif +#endif + +protected: + /** + * Helpers + */ + void detach() { if ( sh->count > 1 ) detachInternal(); } + + Priv* sh; +private: + void detachInternal(); + + friend class QDeepCopy< TQMap >; +}; + +template +TQMap& TQMap::operator= ( const TQMap& m ) +{ + m.sh->ref(); + if ( sh->deref() ) + delete sh; + sh = m.sh; + return *this; +} + +template +Q_TYPENAME TQMap::insert_pair TQMap::insert( const Q_TYPENAME TQMap::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( it, inserted ); +} + +template +void TQMap::erase( const Key& k ) +{ + detach(); + iterator it( sh->find( k ).node ); + if ( it != end() ) + sh->remove( it ); +} + +template +Q_TYPENAME TQMap::size_type TQMap::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 +T& TQMap::operator[] ( const Key& k ) +{ + detach(); + TQMapNode* p = sh->find( k ).node; + if ( p != sh->end().node ) + return p->data; + return insert( k, T() ).data(); +} + +template +void TQMap::clear() +{ + if ( sh->count == 1 ) + sh->clear(); + else { + sh->deref(); + sh = new TQMapPrivate; + } +} + +template +Q_TYPENAME TQMap::iterator TQMap::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 +void TQMap::remove( const Key& k ) +{ + detach(); + iterator it( sh->find( k ).node ); + if ( it != end() ) + sh->remove( it ); +} + +template +void TQMap::detachInternal() +{ + sh->deref(); sh = new TQMapPrivate( sh ); +} + + +#ifndef QT_NO_DATASTREAM +template +QDataStream& operator>>( QDataStream& s, TQMap& 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 +QDataStream& operator<<( QDataStream& s, const TQMap& m ) { + s << (Q_UINT32)m.size(); + TQMapConstIterator it = m.begin(); + for( ; it != m.end(); ++it ) + s << it.key() << it.data(); + return s; +} +#endif + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQMAP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmemarray.cpp b/qtinterface/interface_qt3/tqmemarray.cpp new file mode 100644 index 0000000..f7d0723 --- /dev/null +++ b/qtinterface/interface_qt3/tqmemarray.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmemarray.h b/qtinterface/interface_qt3/tqmemarray.h new file mode 100644 index 0000000..30f2ce6 --- /dev/null +++ b/qtinterface/interface_qt3/tqmemarray.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMemArray class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMemArray class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMEMARRAY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmenubar.cpp b/qtinterface/interface_qt3/tqmenubar.cpp new file mode 100644 index 0000000..76ec017 --- /dev/null +++ b/qtinterface/interface_qt3/tqmenubar.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqmenubar.h b/qtinterface/interface_qt3/tqmenubar.h new file mode 100644 index 0000000..91872b6 --- /dev/null +++ b/qtinterface/interface_qt3/tqmenubar.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMenuBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMenuBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMENUBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmenudata.cpp b/qtinterface/interface_qt3/tqmenudata.cpp new file mode 100644 index 0000000..5565298 --- /dev/null +++ b/qtinterface/interface_qt3/tqmenudata.cpp @@ -0,0 +1,82 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmenudata.h b/qtinterface/interface_qt3/tqmenudata.h new file mode 100644 index 0000000..3dd4dae --- /dev/null +++ b/qtinterface/interface_qt3/tqmenudata.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMenuData class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMenuData class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMENUDATA_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmenudta.h b/qtinterface/interface_qt3/tqmenudta.h new file mode 100644 index 0000000..8232887 --- /dev/null +++ b/qtinterface/interface_qt3/tqmenudta.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQMENUDTA_H +#define TQT_TQMENUDTA_H + +#include + +// Pull in tqmenudata defines + +#include + +#endif /* TQT_TQMENUDTA_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmessagebox.cpp b/qtinterface/interface_qt3/tqmessagebox.cpp new file mode 100644 index 0000000..a7cd762 --- /dev/null +++ b/qtinterface/interface_qt3/tqmessagebox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqmessagebox.h b/qtinterface/interface_qt3/tqmessagebox.h new file mode 100644 index 0000000..4bc2ea4 --- /dev/null +++ b/qtinterface/interface_qt3/tqmessagebox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMessageBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMessageBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMESSAGEBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmetaobj.h b/qtinterface/interface_qt3/tqmetaobj.h new file mode 100644 index 0000000..e52c5be --- /dev/null +++ b/qtinterface/interface_qt3/tqmetaobj.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQMETAOBJ_H +#define TQT_TQMETAOBJ_H + +#include + +// Pull in tqmetaobject defines + +#include + +#endif /* TQT_TQMETAOBJ_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmetaobject.cpp b/qtinterface/interface_qt3/tqmetaobject.cpp new file mode 100644 index 0000000..448470b --- /dev/null +++ b/qtinterface/interface_qt3/tqmetaobject.cpp @@ -0,0 +1,303 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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;inumSlots( 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;inumSignals( 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 QT_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;inumProperties( 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 // QT_NO_PROPERTIES + +bool QMetaProperty::writable() const +{ + return isWritable(); +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmetaobject.h b/qtinterface/interface_qt3/tqmetaobject.h new file mode 100644 index 0000000..9af7abd --- /dev/null +++ b/qtinterface/interface_qt3/tqmetaobject.h @@ -0,0 +1,48 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include +#include + +#ifdef USE_QT3 + +// Reimplement the QMetaObject class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMetaObject class +// For Qt4, some changes are needed + +#include +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMETAOBJECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmime.cpp b/qtinterface/interface_qt3/tqmime.cpp new file mode 100644 index 0000000..c72b5a1 --- /dev/null +++ b/qtinterface/interface_qt3/tqmime.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqmime.h b/qtinterface/interface_qt3/tqmime.h new file mode 100644 index 0000000..ce0f42e --- /dev/null +++ b/qtinterface/interface_qt3/tqmime.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMime class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMime class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMIME_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmlined.h b/qtinterface/interface_qt3/tqmlined.h new file mode 100644 index 0000000..4499e41 --- /dev/null +++ b/qtinterface/interface_qt3/tqmlined.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQMLINED_H +#define TQT_TQMLINED_H + +#include + +// Pull in tqmultilineedit defines + +#include + +#endif /* TQT_TQMLINED_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmngio.h b/qtinterface/interface_qt3/tqmngio.h new file mode 100644 index 0000000..24bcfa0 --- /dev/null +++ b/qtinterface/interface_qt3/tqmngio.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qmngio defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qmngio defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMNGIO_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmodules.h b/qtinterface/interface_qt3/tqmodules.h new file mode 100644 index 0000000..3154246 --- /dev/null +++ b/qtinterface/interface_qt3/tqmodules.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 modules defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 modules defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMODULES_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmotifplusstyle.cpp b/qtinterface/interface_qt3/tqmotifplusstyle.cpp new file mode 100644 index 0000000..c6a2784 --- /dev/null +++ b/qtinterface/interface_qt3/tqmotifplusstyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqmotifplusstyle.h b/qtinterface/interface_qt3/tqmotifplusstyle.h new file mode 100644 index 0000000..8cf3a53 --- /dev/null +++ b/qtinterface/interface_qt3/tqmotifplusstyle.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMotifPlusStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMotifPlusStyle class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQMOTIFPLUSSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmotifstyle.cpp b/qtinterface/interface_qt3/tqmotifstyle.cpp new file mode 100644 index 0000000..0769ad9 --- /dev/null +++ b/qtinterface/interface_qt3/tqmotifstyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqmotifstyle.h b/qtinterface/interface_qt3/tqmotifstyle.h new file mode 100644 index 0000000..9ae35c2 --- /dev/null +++ b/qtinterface/interface_qt3/tqmotifstyle.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMotifStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMotifStyle class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQACCEL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmovie.cpp b/qtinterface/interface_qt3/tqmovie.cpp new file mode 100644 index 0000000..20367dd --- /dev/null +++ b/qtinterface/interface_qt3/tqmovie.cpp @@ -0,0 +1,57 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmovie.h b/qtinterface/interface_qt3/tqmovie.h new file mode 100644 index 0000000..8d8ba32 --- /dev/null +++ b/qtinterface/interface_qt3/tqmovie.h @@ -0,0 +1,60 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMovie class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMovie class +// For Qt4, some changes are needed + +#include + +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 */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmsgbox.h b/qtinterface/interface_qt3/tqmsgbox.h new file mode 100644 index 0000000..53c27a9 --- /dev/null +++ b/qtinterface/interface_qt3/tqmsgbox.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQMSGBOX_H +#define TQT_TQMSGBOX_H + +#include + +// Pull in tqmessagebox defines + +#include + +#endif /* TQT_TQMSGBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmultilinedit.h b/qtinterface/interface_qt3/tqmultilinedit.h new file mode 100644 index 0000000..882b4b4 --- /dev/null +++ b/qtinterface/interface_qt3/tqmultilinedit.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQMULTILINEDIT_H +#define TQT_TQMULTILINEDIT_H + +#include + +// Pull in tqmultilineedit defines + +#include + +#endif /* TQT_TQMULTILINEDIT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmultilineedit.cpp b/qtinterface/interface_qt3/tqmultilineedit.cpp new file mode 100644 index 0000000..3b1cc34 --- /dev/null +++ b/qtinterface/interface_qt3/tqmultilineedit.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqmultilineedit.h b/qtinterface/interface_qt3/tqmultilineedit.h new file mode 100644 index 0000000..b8543a2 --- /dev/null +++ b/qtinterface/interface_qt3/tqmultilineedit.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMultiLineEdit class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMultiLineEdit class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMULTILINEEDIT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqmutex.cpp b/qtinterface/interface_qt3/tqmutex.cpp new file mode 100644 index 0000000..a015e1a --- /dev/null +++ b/qtinterface/interface_qt3/tqmutex.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqmutex.h b/qtinterface/interface_qt3/tqmutex.h new file mode 100644 index 0000000..20c04f3 --- /dev/null +++ b/qtinterface/interface_qt3/tqmutex.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMutex class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMutex class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMUTEX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqnamespace.cpp b/qtinterface/interface_qt3/tqnamespace.cpp new file mode 100644 index 0000000..16c7048 --- /dev/null +++ b/qtinterface/interface_qt3/tqnamespace.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqnamespace.h b/qtinterface/interface_qt3/tqnamespace.h new file mode 100644 index 0000000..f89087e --- /dev/null +++ b/qtinterface/interface_qt3/tqnamespace.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QNamespace class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QNamespace class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQNAMESPACE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqnetwork.h b/qtinterface/interface_qt3/tqnetwork.h new file mode 100644 index 0000000..35a18ea --- /dev/null +++ b/qtinterface/interface_qt3/tqnetwork.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qnetwork defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qnetwork defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQNETWORK_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqnetworkprotocol.cpp b/qtinterface/interface_qt3/tqnetworkprotocol.cpp new file mode 100644 index 0000000..7416ecd --- /dev/null +++ b/qtinterface/interface_qt3/tqnetworkprotocol.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqnetworkprotocol.h b/qtinterface/interface_qt3/tqnetworkprotocol.h new file mode 100644 index 0000000..a6ac734 --- /dev/null +++ b/qtinterface/interface_qt3/tqnetworkprotocol.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QNetworkProtocol class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QNetworkProtocol class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQNETWORKPROTOCOL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqnp.cpp b/qtinterface/interface_qt3/tqnp.cpp new file mode 100644 index 0000000..fd58ddf --- /dev/null +++ b/qtinterface/interface_qt3/tqnp.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqnp.h b/qtinterface/interface_qt3/tqnp.h new file mode 100644 index 0000000..1f87e56 --- /dev/null +++ b/qtinterface/interface_qt3/tqnp.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QNPWidget class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QNPWidget class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQNP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqobjcoll.h b/qtinterface/interface_qt3/tqobjcoll.h new file mode 100644 index 0000000..8ac1a88 --- /dev/null +++ b/qtinterface/interface_qt3/tqobjcoll.h @@ -0,0 +1,32 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQOBJCALL_H +#define TQT_TQOBJCALL_H + +#include + +// Pull in object collection defines + +#include +#include + +#endif /* TQT_TQOBJCALL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqobjdefs.h b/qtinterface/interface_qt3/tqobjdefs.h new file mode 100644 index 0000000..035cc3f --- /dev/null +++ b/qtinterface/interface_qt3/tqobjdefs.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQOBJDEFS_H +#define TQT_TQOBJDEFS_H + +#include + +// Pull in object definition defines + +#include + +#endif /* TQT_TQOBJDEFS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqobject.cpp b/qtinterface/interface_qt3/tqobject.cpp new file mode 100644 index 0000000..3029a5f --- /dev/null +++ b/qtinterface/interface_qt3/tqobject.cpp @@ -0,0 +1,54 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqobject.h b/qtinterface/interface_qt3/tqobject.h new file mode 100644 index 0000000..3246224 --- /dev/null +++ b/qtinterface/interface_qt3/tqobject.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QObject class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QObject class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQOBJECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqobjectcleanuphandler.cpp b/qtinterface/interface_qt3/tqobjectcleanuphandler.cpp new file mode 100644 index 0000000..4181f8a --- /dev/null +++ b/qtinterface/interface_qt3/tqobjectcleanuphandler.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqobjectcleanuphandler.h b/qtinterface/interface_qt3/tqobjectcleanuphandler.h new file mode 100644 index 0000000..70fd9d7 --- /dev/null +++ b/qtinterface/interface_qt3/tqobjectcleanuphandler.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QObjectCleanupHandler class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QObjectCleanupHandler class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQOBJECTCLEANUPHANDLER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqobjectdict.cpp b/qtinterface/interface_qt3/tqobjectdict.cpp new file mode 100644 index 0000000..97e1c4b --- /dev/null +++ b/qtinterface/interface_qt3/tqobjectdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqobjectdict.h b/qtinterface/interface_qt3/tqobjectdict.h new file mode 100644 index 0000000..aa83877 --- /dev/null +++ b/qtinterface/interface_qt3/tqobjectdict.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QObjectDictionary class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QObjectDictionary class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQOBJECTDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqobjectlist.cpp b/qtinterface/interface_qt3/tqobjectlist.cpp new file mode 100644 index 0000000..55e9bdf --- /dev/null +++ b/qtinterface/interface_qt3/tqobjectlist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqobjectlist.h b/qtinterface/interface_qt3/tqobjectlist.h new file mode 100644 index 0000000..a65cba0 --- /dev/null +++ b/qtinterface/interface_qt3/tqobjectlist.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QObjectList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QObjectList class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQOBJECTLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpaintd.h b/qtinterface/interface_qt3/tqpaintd.h new file mode 100644 index 0000000..ad53002 --- /dev/null +++ b/qtinterface/interface_qt3/tqpaintd.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPAINTD_H +#define TQT_TQPAINTD_H + +#include + +// Pull in tqpaintdevice defines + +#include + +#endif /* TQT_TQPAINTD_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpaintdc.h b/qtinterface/interface_qt3/tqpaintdc.h new file mode 100644 index 0000000..838fd81 --- /dev/null +++ b/qtinterface/interface_qt3/tqpaintdc.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +// Pull in tqpaintdevicedefs defines + +#include + +#endif /* TQT_TQPAINTDC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpaintdevice.cpp b/qtinterface/interface_qt3/tqpaintdevice.cpp new file mode 100644 index 0000000..846342a --- /dev/null +++ b/qtinterface/interface_qt3/tqpaintdevice.cpp @@ -0,0 +1,123 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 before this file" +#endif +#define XRegisterIMInstantiateCallback qt_XRegisterIMInstantiateCallback +#define XUnregisterIMInstantiateCallback qt_XUnregisterIMInstantiateCallback +#define XSetIMValues qt_XSetIMValues +#include +#undef XRegisterIMInstantiateCallback +#undef XUnregisterIMInstantiateCallback +#undef XSetIMValues + +#include +#include +#include + +#include + +/*! + 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 QT_NO_XFTFREETYPE +// return rendhd ? XftDrawPicture( (XftDraw *) rendhd ) : 0; +// #else + return 0; +// #endif // QT_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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpaintdevice.h b/qtinterface/interface_qt3/tqpaintdevice.h new file mode 100644 index 0000000..8a90bc9 --- /dev/null +++ b/qtinterface/interface_qt3/tqpaintdevice.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPaintDevice class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPaintDevice class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPAINTDEVICE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpaintdevicemetrics.cpp b/qtinterface/interface_qt3/tqpaintdevicemetrics.cpp new file mode 100644 index 0000000..6094c7e --- /dev/null +++ b/qtinterface/interface_qt3/tqpaintdevicemetrics.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqpaintdevicemetrics.h b/qtinterface/interface_qt3/tqpaintdevicemetrics.h new file mode 100644 index 0000000..2802c2c --- /dev/null +++ b/qtinterface/interface_qt3/tqpaintdevicemetrics.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPaintDeviceMetrics class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPaintDeviceMetrics class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPAINTDEVICEMETRICS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpainter.cpp b/qtinterface/interface_qt3/tqpainter.cpp new file mode 100644 index 0000000..6157d02 --- /dev/null +++ b/qtinterface/interface_qt3/tqpainter.cpp @@ -0,0 +1,44 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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(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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpainter.h b/qtinterface/interface_qt3/tqpainter.h new file mode 100644 index 0000000..0acb479 --- /dev/null +++ b/qtinterface/interface_qt3/tqpainter.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPainter class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPainter class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPAINTER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpair.cpp b/qtinterface/interface_qt3/tqpair.cpp new file mode 100644 index 0000000..61202ee --- /dev/null +++ b/qtinterface/interface_qt3/tqpair.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqpair.h b/qtinterface/interface_qt3/tqpair.h new file mode 100644 index 0000000..1a4dc79 --- /dev/null +++ b/qtinterface/interface_qt3/tqpair.h @@ -0,0 +1,143 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPair class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPair class +// For Qt4, some changes are needed + +#include + +/**************************************************************************** +** +** 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 +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& operator=(const TQPair& other) + { + if (this != &other) { + first = other.first; + second = other.second; + } + return *this; + } + + T1 first; + T2 second; +}; + +template +bool operator==( const TQPair& x, const TQPair& y ) +{ + return x.first == y.first && x.second == y.second; +} + +template +bool operator<( const TQPair& x, const TQPair& y ) +{ + return x.first < y.first || + ( !( y.first < x.first ) && x.second < y.second ); +} + +template +TQPair qMakePair( const T1& x, const T2& y ) +{ + return TQPair( x, y ); +} + +#ifndef QT_NO_DATASTREAM +template +inline QDataStream& operator>>( QDataStream& s, TQPair& p ) +{ + s >> p.first >> p.second; + return s; +} + +template +inline QDataStream& operator<<( QDataStream& s, const TQPair& p ) +{ + s << p.first << p.second; + return s; +} +#endif + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQPAIR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpalette.cpp b/qtinterface/interface_qt3/tqpalette.cpp new file mode 100644 index 0000000..f5b45f0 --- /dev/null +++ b/qtinterface/interface_qt3/tqpalette.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqpalette.h b/qtinterface/interface_qt3/tqpalette.h new file mode 100644 index 0000000..5193617 --- /dev/null +++ b/qtinterface/interface_qt3/tqpalette.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPalette class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPalette class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPALETTE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpdevmet.h b/qtinterface/interface_qt3/tqpdevmet.h new file mode 100644 index 0000000..78fe93e --- /dev/null +++ b/qtinterface/interface_qt3/tqpdevmet.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPDEVMET_H +#define TQT_TQPDEVMET_H + +#include + +// Pull in tqpaintdevicemetrics defines + +#include + +#endif /* TQT_TQPDEVMET_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpen.cpp b/qtinterface/interface_qt3/tqpen.cpp new file mode 100644 index 0000000..5c721b5 --- /dev/null +++ b/qtinterface/interface_qt3/tqpen.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqpen.h b/qtinterface/interface_qt3/tqpen.h new file mode 100644 index 0000000..43be7ac --- /dev/null +++ b/qtinterface/interface_qt3/tqpen.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPen class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPen class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPEN_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpicture.cpp b/qtinterface/interface_qt3/tqpicture.cpp new file mode 100644 index 0000000..0ae3896 --- /dev/null +++ b/qtinterface/interface_qt3/tqpicture.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqpicture.h b/qtinterface/interface_qt3/tqpicture.h new file mode 100644 index 0000000..7ae962f --- /dev/null +++ b/qtinterface/interface_qt3/tqpicture.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPicture class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPicture class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPICTURE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpixmap.cpp b/qtinterface/interface_qt3/tqpixmap.cpp new file mode 100644 index 0000000..7e26883 --- /dev/null +++ b/qtinterface/interface_qt3/tqpixmap.cpp @@ -0,0 +1,66 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +#include +#include + +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(this); +} + +const QBitmap *QPixmap::ptrmask() const { + QBitmap pm = mask(); + QBitmap *pr = ± + return pr; +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpixmap.h b/qtinterface/interface_qt3/tqpixmap.h new file mode 100644 index 0000000..7f8016e --- /dev/null +++ b/qtinterface/interface_qt3/tqpixmap.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPixmap class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPixmap class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPIXMAP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpixmapcache.cpp b/qtinterface/interface_qt3/tqpixmapcache.cpp new file mode 100644 index 0000000..c5a9c97 --- /dev/null +++ b/qtinterface/interface_qt3/tqpixmapcache.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqpixmapcache.h b/qtinterface/interface_qt3/tqpixmapcache.h new file mode 100644 index 0000000..db68e4f --- /dev/null +++ b/qtinterface/interface_qt3/tqpixmapcache.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPixmapCache class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPixmapCache class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPIXMAPCACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqplatinumstyle.cpp b/qtinterface/interface_qt3/tqplatinumstyle.cpp new file mode 100644 index 0000000..cce4794 --- /dev/null +++ b/qtinterface/interface_qt3/tqplatinumstyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqplatinumstyle.h b/qtinterface/interface_qt3/tqplatinumstyle.h new file mode 100644 index 0000000..2901978 --- /dev/null +++ b/qtinterface/interface_qt3/tqplatinumstyle.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPlatinumStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPlatinumStyle class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQPLATINUMSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpmcache.h b/qtinterface/interface_qt3/tqpmcache.h new file mode 100644 index 0000000..7ee3825 --- /dev/null +++ b/qtinterface/interface_qt3/tqpmcache.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPMCACHE_H +#define TQT_TQPMCACHE_H + +#include + +// Pull in tqpixmapcache defines + +#include + +#endif /* TQT_TQPMCACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpngio.cpp b/qtinterface/interface_qt3/tqpngio.cpp new file mode 100644 index 0000000..0914c32 --- /dev/null +++ b/qtinterface/interface_qt3/tqpngio.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqpngio.h b/qtinterface/interface_qt3/tqpngio.h new file mode 100644 index 0000000..5afe79c --- /dev/null +++ b/qtinterface/interface_qt3/tqpngio.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPNGImage class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPNGImage class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQPNGIO_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpntarry.h b/qtinterface/interface_qt3/tqpntarry.h new file mode 100644 index 0000000..d15173c --- /dev/null +++ b/qtinterface/interface_qt3/tqpntarry.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPNTARRY_H +#define TQT_TQPNTARRY_H + +#include + +// Pull in tqpointarray defines + +#include + +#endif /* TQT_TQPNTARRY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpoint.cpp b/qtinterface/interface_qt3/tqpoint.cpp new file mode 100644 index 0000000..e115ed6 --- /dev/null +++ b/qtinterface/interface_qt3/tqpoint.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqpoint.h b/qtinterface/interface_qt3/tqpoint.h new file mode 100644 index 0000000..452cfa4 --- /dev/null +++ b/qtinterface/interface_qt3/tqpoint.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPoint class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPoint class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPOINT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpointarray.cpp b/qtinterface/interface_qt3/tqpointarray.cpp new file mode 100644 index 0000000..10a9285 --- /dev/null +++ b/qtinterface/interface_qt3/tqpointarray.cpp @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpointarray.h b/qtinterface/interface_qt3/tqpointarray.h new file mode 100644 index 0000000..4858512 --- /dev/null +++ b/qtinterface/interface_qt3/tqpointarray.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAccel class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAccel class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPOINTARRAY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpolygonscanner.cpp b/qtinterface/interface_qt3/tqpolygonscanner.cpp new file mode 100644 index 0000000..ab67c2c --- /dev/null +++ b/qtinterface/interface_qt3/tqpolygonscanner.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqpolygonscanner.h b/qtinterface/interface_qt3/tqpolygonscanner.h new file mode 100644 index 0000000..7f69f4d --- /dev/null +++ b/qtinterface/interface_qt3/tqpolygonscanner.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPolygonScanner class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPolygonScanner class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQPOLYGONSCANNER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpopmenu.h b/qtinterface/interface_qt3/tqpopmenu.h new file mode 100644 index 0000000..dd0b9e4 --- /dev/null +++ b/qtinterface/interface_qt3/tqpopmenu.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPOPMENU_H +#define TQT_TQPOPMENU_H + +#include + +// Pull in tqpopupmenu defines + +#include + +#endif /* TQT_TQPOPMENU_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpopupmenu.cpp b/qtinterface/interface_qt3/tqpopupmenu.cpp new file mode 100644 index 0000000..6ee632c --- /dev/null +++ b/qtinterface/interface_qt3/tqpopupmenu.cpp @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpopupmenu.h b/qtinterface/interface_qt3/tqpopupmenu.h new file mode 100644 index 0000000..c81f7c8 --- /dev/null +++ b/qtinterface/interface_qt3/tqpopupmenu.h @@ -0,0 +1,46 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPopupMenu class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPopupMenu class +// For Qt4, some changes are needed + +#include +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPOPUPMENU_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqprintdialog.cpp b/qtinterface/interface_qt3/tqprintdialog.cpp new file mode 100644 index 0000000..cb839d5 --- /dev/null +++ b/qtinterface/interface_qt3/tqprintdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqprintdialog.h b/qtinterface/interface_qt3/tqprintdialog.h new file mode 100644 index 0000000..0df321b --- /dev/null +++ b/qtinterface/interface_qt3/tqprintdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPrintDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPrintDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPRINTDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqprinter.cpp b/qtinterface/interface_qt3/tqprinter.cpp new file mode 100644 index 0000000..92d5402 --- /dev/null +++ b/qtinterface/interface_qt3/tqprinter.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqprinter.h b/qtinterface/interface_qt3/tqprinter.h new file mode 100644 index 0000000..231f0cf --- /dev/null +++ b/qtinterface/interface_qt3/tqprinter.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPrinter class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPrinter class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPRINTER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqprndlg.h b/qtinterface/interface_qt3/tqprndlg.h new file mode 100644 index 0000000..f820ec1 --- /dev/null +++ b/qtinterface/interface_qt3/tqprndlg.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPRNDLG_H +#define TQT_TQPRNDLG_H + +#include + +// Pull in tqprintdialog defines + +#include + +#endif /* TQT_TQPRNDLG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqprocess.cpp b/qtinterface/interface_qt3/tqprocess.cpp new file mode 100644 index 0000000..3b5d1e5 --- /dev/null +++ b/qtinterface/interface_qt3/tqprocess.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqprocess.h b/qtinterface/interface_qt3/tqprocess.h new file mode 100644 index 0000000..33d66fa --- /dev/null +++ b/qtinterface/interface_qt3/tqprocess.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QProcess class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QProcess class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPROCESS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqprogbar.h b/qtinterface/interface_qt3/tqprogbar.h new file mode 100644 index 0000000..6ed73d6 --- /dev/null +++ b/qtinterface/interface_qt3/tqprogbar.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPROGBAR_H +#define TQT_TQPROGBAR_H + +#include + +// Pull in tqprogressbar defines + +#include + +#endif /* TQT_TQPROGBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqprogdlg.h b/qtinterface/interface_qt3/tqprogdlg.h new file mode 100644 index 0000000..77819e8 --- /dev/null +++ b/qtinterface/interface_qt3/tqprogdlg.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPROGDLG_H +#define TQT_TQPROGDLG_H + +#include + +// Pull in tqprogressdialog defines + +#include + +#endif /* TQT_TQPROGDLG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqprogressbar.cpp b/qtinterface/interface_qt3/tqprogressbar.cpp new file mode 100644 index 0000000..9883738 --- /dev/null +++ b/qtinterface/interface_qt3/tqprogressbar.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqprogressbar.h b/qtinterface/interface_qt3/tqprogressbar.h new file mode 100644 index 0000000..515a68c --- /dev/null +++ b/qtinterface/interface_qt3/tqprogressbar.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QProgressBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QProgressBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPROGRESSBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqprogressdialog.cpp b/qtinterface/interface_qt3/tqprogressdialog.cpp new file mode 100644 index 0000000..bd078be --- /dev/null +++ b/qtinterface/interface_qt3/tqprogressdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqprogressdialog.h b/qtinterface/interface_qt3/tqprogressdialog.h new file mode 100644 index 0000000..2cbebd3 --- /dev/null +++ b/qtinterface/interface_qt3/tqprogressdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QProgressDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QProgressDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPROGRESSDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqptrcollection.cpp b/qtinterface/interface_qt3/tqptrcollection.cpp new file mode 100644 index 0000000..e966407 --- /dev/null +++ b/qtinterface/interface_qt3/tqptrcollection.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqptrcollection.h b/qtinterface/interface_qt3/tqptrcollection.h new file mode 100644 index 0000000..3d5fff7 --- /dev/null +++ b/qtinterface/interface_qt3/tqptrcollection.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPtrCollection class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPtrCollection class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPTRCOLLECTION_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqptrdict.cpp b/qtinterface/interface_qt3/tqptrdict.cpp new file mode 100644 index 0000000..aa2236e --- /dev/null +++ b/qtinterface/interface_qt3/tqptrdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqptrdict.h b/qtinterface/interface_qt3/tqptrdict.h new file mode 100644 index 0000000..f124c77 --- /dev/null +++ b/qtinterface/interface_qt3/tqptrdict.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPtrDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPtrDict class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPTRDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqptrlist.cpp b/qtinterface/interface_qt3/tqptrlist.cpp new file mode 100644 index 0000000..9ccbc4d --- /dev/null +++ b/qtinterface/interface_qt3/tqptrlist.cpp @@ -0,0 +1,27 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +// 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! \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqptrlist.h b/qtinterface/interface_qt3/tqptrlist.h new file mode 100644 index 0000000..2205341 --- /dev/null +++ b/qtinterface/interface_qt3/tqptrlist.h @@ -0,0 +1,257 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the TQPtrList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the TQPtrList class +// For Qt4, some changes are needed + +#include +#include +#include +#include +#include + +/**************************************************************************** +** +** 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 TQPtrListStdIterator : public Q3GListStdIterator +{ +public: + inline TQPtrListStdIterator( Q3LNode* n ): Q3GListStdIterator(n) {} + type *operator*() { return node ? (type *)node->getData() : 0; } + inline TQPtrListStdIterator operator++() + { node = next(); return *this; } + inline TQPtrListStdIterator operator++(int) + { Q3LNode* n = node; node = next(); return TQPtrListStdIterator( n ); } + inline bool operator==( const TQPtrListStdIterator& it ) const { return node == it.node; } + inline bool operator!=( const TQPtrListStdIterator& it ) const { return node != it.node; } +}; + + +template +class TQPtrList +#ifdef Q_QDOC + : public Q3PtrCollection +#else + : public Q3GList +#endif +{ +public: + + TQPtrList() {} + TQPtrList( const TQPtrList &l ) : Q3GList(l) {} + ~TQPtrList() { clear(); } + TQPtrList &operator=(const TQPtrList &l) + { return (TQPtrList&)Q3GList::operator=(l); } + bool operator==( const TQPtrList &list ) const + { return Q3GList::operator==( list ); } + bool operator!=( const TQPtrList &list ) const + { return !Q3GList::operator==( list ); } + + // Interoperability + TQPtrList(const QList& l) + { + for (int i = 0; i < l.size(); ++i) append(l.at(i)); + } + + TQPtrList& operator= (const QList& l) + { + this->clear(); + for (int i = 0; i < l.size(); ++i) append(l.at(i)); + return *this; + } + + operator QList() const { + QList list; + for (typename TQPtrList::const_iterator it = TQPtrList::constBegin(); + it != TQPtrList::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 Iterator; + typedef TQPtrListStdIterator 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::deleteItem( Q3PtrCollection::Item ) +{ +} +#endif + +template inline void TQPtrList::deleteItem( Q3PtrCollection::Item d ) +{ + if ( del_item ) delete (type *)d; +} + +template +class TQPtrListIterator : public Q3GListIterator +{ +public: + TQPtrListIterator(const TQPtrList &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 (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& operator=(const TQPtrListIterator&it) + { Q3GListIterator::operator=(it); return *this; } +}; + +#ifndef QT_NO_COMPAT +#define TQT_TQList TQPtrList +#define TQT_TQListIterator TQPtrListIterator +#endif + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQPTRLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqptrqueue.cpp b/qtinterface/interface_qt3/tqptrqueue.cpp new file mode 100644 index 0000000..c4a7734 --- /dev/null +++ b/qtinterface/interface_qt3/tqptrqueue.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqptrqueue.h b/qtinterface/interface_qt3/tqptrqueue.h new file mode 100644 index 0000000..7e9692d --- /dev/null +++ b/qtinterface/interface_qt3/tqptrqueue.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPtrQueue class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPtrQueue class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPTRQUEUE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqptrstack.cpp b/qtinterface/interface_qt3/tqptrstack.cpp new file mode 100644 index 0000000..8b3834b --- /dev/null +++ b/qtinterface/interface_qt3/tqptrstack.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqptrstack.h b/qtinterface/interface_qt3/tqptrstack.h new file mode 100644 index 0000000..69450ba --- /dev/null +++ b/qtinterface/interface_qt3/tqptrstack.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPtrStack class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPtrStack class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPTRSTACK_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqptrvector.cpp b/qtinterface/interface_qt3/tqptrvector.cpp new file mode 100644 index 0000000..e0f9baf --- /dev/null +++ b/qtinterface/interface_qt3/tqptrvector.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqptrvector.h b/qtinterface/interface_qt3/tqptrvector.h new file mode 100644 index 0000000..ed7486c --- /dev/null +++ b/qtinterface/interface_qt3/tqptrvector.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPtrVector class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPtrVector class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPTRVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpushbt.h b/qtinterface/interface_qt3/tqpushbt.h new file mode 100644 index 0000000..6538363 --- /dev/null +++ b/qtinterface/interface_qt3/tqpushbt.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPUSHBT_H +#define TQT_TQPUSHBT_H + +#include + +// Pull in tqpushbutton defines + +#include + +#endif /* TQT_TQPUSHBT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqpushbutton.cpp b/qtinterface/interface_qt3/tqpushbutton.cpp new file mode 100644 index 0000000..7b51d59 --- /dev/null +++ b/qtinterface/interface_qt3/tqpushbutton.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqpushbutton.h b/qtinterface/interface_qt3/tqpushbutton.h new file mode 100644 index 0000000..0b6670d --- /dev/null +++ b/qtinterface/interface_qt3/tqpushbutton.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPushButton class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPushButton class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPUSHBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqqueue.h b/qtinterface/interface_qt3/tqqueue.h new file mode 100644 index 0000000..1330188 --- /dev/null +++ b/qtinterface/interface_qt3/tqqueue.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQQUEUE_H +#define TQT_TQQUEUE_H + +#include + +// Pull in tqptrqueue defines + +#include + +#endif /* TQT_TQQUEUE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqradiobt.h b/qtinterface/interface_qt3/tqradiobt.h new file mode 100644 index 0000000..50f432c --- /dev/null +++ b/qtinterface/interface_qt3/tqradiobt.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQRADIOBT_H +#define TQT_TQRADIOBT_H + +#include + +// Pull in tqradiobutton defines + +#include + +#endif /* TQT_TQRADIOBT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqradiobutton.cpp b/qtinterface/interface_qt3/tqradiobutton.cpp new file mode 100644 index 0000000..21fb22c --- /dev/null +++ b/qtinterface/interface_qt3/tqradiobutton.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqradiobutton.h b/qtinterface/interface_qt3/tqradiobutton.h new file mode 100644 index 0000000..4590cad --- /dev/null +++ b/qtinterface/interface_qt3/tqradiobutton.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QRadioButton class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QRadioButton class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQRADIOBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqrangecontrol.cpp b/qtinterface/interface_qt3/tqrangecontrol.cpp new file mode 100644 index 0000000..7631448 --- /dev/null +++ b/qtinterface/interface_qt3/tqrangecontrol.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqrangecontrol.h b/qtinterface/interface_qt3/tqrangecontrol.h new file mode 100644 index 0000000..45c2dc6 --- /dev/null +++ b/qtinterface/interface_qt3/tqrangecontrol.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QRangeControl class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QRangeControl class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQRANGECONTROL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqrangect.h b/qtinterface/interface_qt3/tqrangect.h new file mode 100644 index 0000000..e8ae593 --- /dev/null +++ b/qtinterface/interface_qt3/tqrangect.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQRANGECT_H +#define TQT_TQRANGECT_H + +#include + +// Pull in tqrangecontrol defines + +#include + +#endif /* TQT_TQRANGECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqrect.cpp b/qtinterface/interface_qt3/tqrect.cpp new file mode 100644 index 0000000..2091af3 --- /dev/null +++ b/qtinterface/interface_qt3/tqrect.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqrect.h b/qtinterface/interface_qt3/tqrect.h new file mode 100644 index 0000000..9b9dcef --- /dev/null +++ b/qtinterface/interface_qt3/tqrect.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QRect class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QRect class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQRECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqregexp.cpp b/qtinterface/interface_qt3/tqregexp.cpp new file mode 100644 index 0000000..aeba265 --- /dev/null +++ b/qtinterface/interface_qt3/tqregexp.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqregexp.h b/qtinterface/interface_qt3/tqregexp.h new file mode 100644 index 0000000..a7c386b --- /dev/null +++ b/qtinterface/interface_qt3/tqregexp.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QRegExp class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QRegExp class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQREGEXP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqregion.cpp b/qtinterface/interface_qt3/tqregion.cpp new file mode 100644 index 0000000..31d50b2 --- /dev/null +++ b/qtinterface/interface_qt3/tqregion.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqregion.h b/qtinterface/interface_qt3/tqregion.h new file mode 100644 index 0000000..285e165 --- /dev/null +++ b/qtinterface/interface_qt3/tqregion.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QRegion class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QRegion class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQREGION_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqrtlcodec.cpp b/qtinterface/interface_qt3/tqrtlcodec.cpp new file mode 100644 index 0000000..ac79c9b --- /dev/null +++ b/qtinterface/interface_qt3/tqrtlcodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqrtlcodec.h b/qtinterface/interface_qt3/tqrtlcodec.h new file mode 100644 index 0000000..7b50d91 --- /dev/null +++ b/qtinterface/interface_qt3/tqrtlcodec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHebrewCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHebrewCodec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQRTLCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqscrbar.h b/qtinterface/interface_qt3/tqscrbar.h new file mode 100644 index 0000000..ea60875 --- /dev/null +++ b/qtinterface/interface_qt3/tqscrbar.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQSCRBAR_H +#define TQT_TQSCRBAR_H + +#include + +// Pull in tqscrollbar defines + +#include + +#endif /* TQT_TQSCRBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqscrollbar.cpp b/qtinterface/interface_qt3/tqscrollbar.cpp new file mode 100644 index 0000000..16b61ed --- /dev/null +++ b/qtinterface/interface_qt3/tqscrollbar.cpp @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +int QScrollBar::sliderStart() const { + return sliderPosition(); +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqscrollbar.h b/qtinterface/interface_qt3/tqscrollbar.h new file mode 100644 index 0000000..7241ccd --- /dev/null +++ b/qtinterface/interface_qt3/tqscrollbar.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QScrollBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QScrollBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSCROLLBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqscrollview.cpp b/qtinterface/interface_qt3/tqscrollview.cpp new file mode 100644 index 0000000..4a5de16 --- /dev/null +++ b/qtinterface/interface_qt3/tqscrollview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqscrollview.h b/qtinterface/interface_qt3/tqscrollview.h new file mode 100644 index 0000000..8c75203 --- /dev/null +++ b/qtinterface/interface_qt3/tqscrollview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QScrollView class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QScrollView class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSCROLLVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsemaphore.cpp b/qtinterface/interface_qt3/tqsemaphore.cpp new file mode 100644 index 0000000..6003a8b --- /dev/null +++ b/qtinterface/interface_qt3/tqsemaphore.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsemaphore.h b/qtinterface/interface_qt3/tqsemaphore.h new file mode 100644 index 0000000..80c27ce --- /dev/null +++ b/qtinterface/interface_qt3/tqsemaphore.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSemaphore class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSemaphore class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSEMAPHORE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsemimodal.cpp b/qtinterface/interface_qt3/tqsemimodal.cpp new file mode 100644 index 0000000..0a114af --- /dev/null +++ b/qtinterface/interface_qt3/tqsemimodal.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsemimodal.h b/qtinterface/interface_qt3/tqsemimodal.h new file mode 100644 index 0000000..8aeb7f4 --- /dev/null +++ b/qtinterface/interface_qt3/tqsemimodal.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQSEMIMODAL_H +#define TQT_TQSEMIMODAL_H + +#include + +#ifdef USE_QT3 + +// Reimplement the QSemiModal class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSemiModal class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQSEMIMODAL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqserversocket.cpp b/qtinterface/interface_qt3/tqserversocket.cpp new file mode 100644 index 0000000..ad309ce --- /dev/null +++ b/qtinterface/interface_qt3/tqserversocket.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqserversocket.h b/qtinterface/interface_qt3/tqserversocket.h new file mode 100644 index 0000000..fefade2 --- /dev/null +++ b/qtinterface/interface_qt3/tqserversocket.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QServerSocket class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QServerSocket class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSERVERSOCKET_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsession.h b/qtinterface/interface_qt3/tqsession.h new file mode 100644 index 0000000..d6c04b8 --- /dev/null +++ b/qtinterface/interface_qt3/tqsession.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qsession defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qsession defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSESSION_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsessionmanager.cpp b/qtinterface/interface_qt3/tqsessionmanager.cpp new file mode 100644 index 0000000..8cb9c89 --- /dev/null +++ b/qtinterface/interface_qt3/tqsessionmanager.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsessionmanager.h b/qtinterface/interface_qt3/tqsessionmanager.h new file mode 100644 index 0000000..9bca583 --- /dev/null +++ b/qtinterface/interface_qt3/tqsessionmanager.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSessionManager class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSessionManager class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSESSIONMANAGER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsettings.cpp b/qtinterface/interface_qt3/tqsettings.cpp new file mode 100644 index 0000000..a357257 --- /dev/null +++ b/qtinterface/interface_qt3/tqsettings.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsettings.h b/qtinterface/interface_qt3/tqsettings.h new file mode 100644 index 0000000..d7daf64 --- /dev/null +++ b/qtinterface/interface_qt3/tqsettings.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSettings class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSettings class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSETTINGS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsgistyle.cpp b/qtinterface/interface_qt3/tqsgistyle.cpp new file mode 100644 index 0000000..a9c9ce5 --- /dev/null +++ b/qtinterface/interface_qt3/tqsgistyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsgistyle.h b/qtinterface/interface_qt3/tqsgistyle.h new file mode 100644 index 0000000..72143ff --- /dev/null +++ b/qtinterface/interface_qt3/tqsgistyle.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSGIStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSGIStyle class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQSGISTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqshared.cpp b/qtinterface/interface_qt3/tqshared.cpp new file mode 100644 index 0000000..a84069f --- /dev/null +++ b/qtinterface/interface_qt3/tqshared.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqshared.h b/qtinterface/interface_qt3/tqshared.h new file mode 100644 index 0000000..8629721 --- /dev/null +++ b/qtinterface/interface_qt3/tqshared.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QShared class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QShared class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSHARED_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsignal.cpp b/qtinterface/interface_qt3/tqsignal.cpp new file mode 100644 index 0000000..ef6e4fe --- /dev/null +++ b/qtinterface/interface_qt3/tqsignal.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsignal.h b/qtinterface/interface_qt3/tqsignal.h new file mode 100644 index 0000000..f863cd0 --- /dev/null +++ b/qtinterface/interface_qt3/tqsignal.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSignal class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSignal class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIGNAL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsignalmapper.cpp b/qtinterface/interface_qt3/tqsignalmapper.cpp new file mode 100644 index 0000000..de52a32 --- /dev/null +++ b/qtinterface/interface_qt3/tqsignalmapper.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsignalmapper.h b/qtinterface/interface_qt3/tqsignalmapper.h new file mode 100644 index 0000000..9a4b9e9 --- /dev/null +++ b/qtinterface/interface_qt3/tqsignalmapper.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSignalMapper class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSignalMapper class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIGNALMAPPER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsignalslotimp.cpp b/qtinterface/interface_qt3/tqsignalslotimp.cpp new file mode 100644 index 0000000..8c8082d --- /dev/null +++ b/qtinterface/interface_qt3/tqsignalslotimp.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsignalslotimp.h b/qtinterface/interface_qt3/tqsignalslotimp.h new file mode 100644 index 0000000..35e9380 --- /dev/null +++ b/qtinterface/interface_qt3/tqsignalslotimp.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSignalSlotImp class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSignalSlotImp class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQSIGNALSLOTIMP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsimplerichtext.cpp b/qtinterface/interface_qt3/tqsimplerichtext.cpp new file mode 100644 index 0000000..46d04f3 --- /dev/null +++ b/qtinterface/interface_qt3/tqsimplerichtext.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsimplerichtext.h b/qtinterface/interface_qt3/tqsimplerichtext.h new file mode 100644 index 0000000..3516546 --- /dev/null +++ b/qtinterface/interface_qt3/tqsimplerichtext.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSimpleRichText class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSimpleRichText class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIMPLERICHTEXT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsize.cpp b/qtinterface/interface_qt3/tqsize.cpp new file mode 100644 index 0000000..2b49f06 --- /dev/null +++ b/qtinterface/interface_qt3/tqsize.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsize.h b/qtinterface/interface_qt3/tqsize.h new file mode 100644 index 0000000..107639e --- /dev/null +++ b/qtinterface/interface_qt3/tqsize.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSize class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSize class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIZE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsizegrip.cpp b/qtinterface/interface_qt3/tqsizegrip.cpp new file mode 100644 index 0000000..b2ce160 --- /dev/null +++ b/qtinterface/interface_qt3/tqsizegrip.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsizegrip.h b/qtinterface/interface_qt3/tqsizegrip.h new file mode 100644 index 0000000..7f7a7c9 --- /dev/null +++ b/qtinterface/interface_qt3/tqsizegrip.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSizeGrip class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSizeGrip class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIZEGRIP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsizepolicy.cpp b/qtinterface/interface_qt3/tqsizepolicy.cpp new file mode 100644 index 0000000..0842b84 --- /dev/null +++ b/qtinterface/interface_qt3/tqsizepolicy.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsizepolicy.h b/qtinterface/interface_qt3/tqsizepolicy.h new file mode 100644 index 0000000..90d7a67 --- /dev/null +++ b/qtinterface/interface_qt3/tqsizepolicy.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSizePolicy class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSizePolicy class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIZEPOLICY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsjiscodec.cpp b/qtinterface/interface_qt3/tqsjiscodec.cpp new file mode 100644 index 0000000..52134d3 --- /dev/null +++ b/qtinterface/interface_qt3/tqsjiscodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsjiscodec.h b/qtinterface/interface_qt3/tqsjiscodec.h new file mode 100644 index 0000000..1363833 --- /dev/null +++ b/qtinterface/interface_qt3/tqsjiscodec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSjisCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSjisCodec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQSJISCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqslider.cpp b/qtinterface/interface_qt3/tqslider.cpp new file mode 100644 index 0000000..a0862e9 --- /dev/null +++ b/qtinterface/interface_qt3/tqslider.cpp @@ -0,0 +1,29 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + + + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqslider.h b/qtinterface/interface_qt3/tqslider.h new file mode 100644 index 0000000..0864c73 --- /dev/null +++ b/qtinterface/interface_qt3/tqslider.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSlider class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSlider class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSLIDER_H */ diff --git a/qtinterface/interface_qt3/tqsocket.cpp b/qtinterface/interface_qt3/tqsocket.cpp new file mode 100644 index 0000000..f452706 --- /dev/null +++ b/qtinterface/interface_qt3/tqsocket.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsocket.h b/qtinterface/interface_qt3/tqsocket.h new file mode 100644 index 0000000..433fdbd --- /dev/null +++ b/qtinterface/interface_qt3/tqsocket.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSocket class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSocket class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSOCKET_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsocketdevice.cpp b/qtinterface/interface_qt3/tqsocketdevice.cpp new file mode 100644 index 0000000..b76f6f8 --- /dev/null +++ b/qtinterface/interface_qt3/tqsocketdevice.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsocketdevice.h b/qtinterface/interface_qt3/tqsocketdevice.h new file mode 100644 index 0000000..909c531 --- /dev/null +++ b/qtinterface/interface_qt3/tqsocketdevice.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSocketDevice class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSocketDevice class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSOCKETDEVICE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsocketnotifier.cpp b/qtinterface/interface_qt3/tqsocketnotifier.cpp new file mode 100644 index 0000000..ad57417 --- /dev/null +++ b/qtinterface/interface_qt3/tqsocketnotifier.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsocketnotifier.h b/qtinterface/interface_qt3/tqsocketnotifier.h new file mode 100644 index 0000000..703df43 --- /dev/null +++ b/qtinterface/interface_qt3/tqsocketnotifier.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSocketNotifier class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSocketNotifier class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSOCKETNOTIFIER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsocknot.h b/qtinterface/interface_qt3/tqsocknot.h new file mode 100644 index 0000000..b63eefe --- /dev/null +++ b/qtinterface/interface_qt3/tqsocknot.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQSOCKNOT_H +#define TQT_TQSOCKNOT_H + +#include + +// Pull in tqsocketnotifier defines + +#include + +#endif /* TQT_TQSOCKNOT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsortedlist.cpp b/qtinterface/interface_qt3/tqsortedlist.cpp new file mode 100644 index 0000000..f8bc521 --- /dev/null +++ b/qtinterface/interface_qt3/tqsortedlist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsortedlist.h b/qtinterface/interface_qt3/tqsortedlist.h new file mode 100644 index 0000000..4b6cea7 --- /dev/null +++ b/qtinterface/interface_qt3/tqsortedlist.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQSORTEDLIST_H +#define TQT_TQSORTEDLIST_H + +#include + +#ifdef USE_QT3 + +// Reimplement the QAccel class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAccel class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSORTEDLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsound.cpp b/qtinterface/interface_qt3/tqsound.cpp new file mode 100644 index 0000000..54cdb0f --- /dev/null +++ b/qtinterface/interface_qt3/tqsound.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsound.h b/qtinterface/interface_qt3/tqsound.h new file mode 100644 index 0000000..5f2b292 --- /dev/null +++ b/qtinterface/interface_qt3/tqsound.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSound class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSound class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSOUND_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqspinbox.cpp b/qtinterface/interface_qt3/tqspinbox.cpp new file mode 100644 index 0000000..3fa33e8 --- /dev/null +++ b/qtinterface/interface_qt3/tqspinbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqspinbox.h b/qtinterface/interface_qt3/tqspinbox.h new file mode 100644 index 0000000..0c9caac --- /dev/null +++ b/qtinterface/interface_qt3/tqspinbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSpinBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSpinBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSPINBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsplashscreen.cpp b/qtinterface/interface_qt3/tqsplashscreen.cpp new file mode 100644 index 0000000..30bcd57 --- /dev/null +++ b/qtinterface/interface_qt3/tqsplashscreen.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsplashscreen.h b/qtinterface/interface_qt3/tqsplashscreen.h new file mode 100644 index 0000000..3dce7d8 --- /dev/null +++ b/qtinterface/interface_qt3/tqsplashscreen.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSplashScreen class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSplashScreen class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSPLASHSCREEN_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsplitter.cpp b/qtinterface/interface_qt3/tqsplitter.cpp new file mode 100644 index 0000000..972530a --- /dev/null +++ b/qtinterface/interface_qt3/tqsplitter.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsplitter.h b/qtinterface/interface_qt3/tqsplitter.h new file mode 100644 index 0000000..f5c832f --- /dev/null +++ b/qtinterface/interface_qt3/tqsplitter.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSplitter class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSplitter class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSPLITTER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsql.cpp b/qtinterface/interface_qt3/tqsql.cpp new file mode 100644 index 0000000..aabd3d3 --- /dev/null +++ b/qtinterface/interface_qt3/tqsql.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsql.h b/qtinterface/interface_qt3/tqsql.h new file mode 100644 index 0000000..6c87cd7 --- /dev/null +++ b/qtinterface/interface_qt3/tqsql.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSql class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSql class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqlcursor.cpp b/qtinterface/interface_qt3/tqsqlcursor.cpp new file mode 100644 index 0000000..a65937c --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlcursor.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqlcursor.h b/qtinterface/interface_qt3/tqsqlcursor.h new file mode 100644 index 0000000..fa2ee9e --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlcursor.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlCursor class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlCursor class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLCURSOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqldatabase.cpp b/qtinterface/interface_qt3/tqsqldatabase.cpp new file mode 100644 index 0000000..2990818 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqldatabase.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqldatabase.h b/qtinterface/interface_qt3/tqsqldatabase.h new file mode 100644 index 0000000..906b2a7 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqldatabase.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlDatabase class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlDatabase class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLDATABASE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqldriver.cpp b/qtinterface/interface_qt3/tqsqldriver.cpp new file mode 100644 index 0000000..8d95e64 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqldriver.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqldriver.h b/qtinterface/interface_qt3/tqsqldriver.h new file mode 100644 index 0000000..67daf36 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqldriver.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlDriver class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlDriver class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLDRIVER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqldriverplugin.cpp b/qtinterface/interface_qt3/tqsqldriverplugin.cpp new file mode 100644 index 0000000..b1b86d5 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqldriverplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqldriverplugin.h b/qtinterface/interface_qt3/tqsqldriverplugin.h new file mode 100644 index 0000000..443c328 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqldriverplugin.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlDriverPlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlDriverPlugin class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLDRIVERPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqleditorfactory.cpp b/qtinterface/interface_qt3/tqsqleditorfactory.cpp new file mode 100644 index 0000000..5d7e9a4 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqleditorfactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqleditorfactory.h b/qtinterface/interface_qt3/tqsqleditorfactory.h new file mode 100644 index 0000000..c06482e --- /dev/null +++ b/qtinterface/interface_qt3/tqsqleditorfactory.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlEditorFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlEditorFactory class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLEDITORFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqlerror.cpp b/qtinterface/interface_qt3/tqsqlerror.cpp new file mode 100644 index 0000000..2f28a08 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlerror.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqlerror.h b/qtinterface/interface_qt3/tqsqlerror.h new file mode 100644 index 0000000..de0e230 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlerror.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlError class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlError class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLERROR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqlfield.cpp b/qtinterface/interface_qt3/tqsqlfield.cpp new file mode 100644 index 0000000..f3f2b69 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlfield.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqlfield.h b/qtinterface/interface_qt3/tqsqlfield.h new file mode 100644 index 0000000..c25d0f1 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlfield.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlField class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlField class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLFIELD_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqlform.cpp b/qtinterface/interface_qt3/tqsqlform.cpp new file mode 100644 index 0000000..6d2bf47 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlform.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqlform.h b/qtinterface/interface_qt3/tqsqlform.h new file mode 100644 index 0000000..8f38294 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlform.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlForm class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlForm class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLFORM_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqlindex.cpp b/qtinterface/interface_qt3/tqsqlindex.cpp new file mode 100644 index 0000000..da11bea --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlindex.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqlindex.h b/qtinterface/interface_qt3/tqsqlindex.h new file mode 100644 index 0000000..ba05c11 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlindex.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlIndex class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlIndex class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLINDEX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqlpropertymap.cpp b/qtinterface/interface_qt3/tqsqlpropertymap.cpp new file mode 100644 index 0000000..c0f2638 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlpropertymap.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqlpropertymap.h b/qtinterface/interface_qt3/tqsqlpropertymap.h new file mode 100644 index 0000000..cc584de --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlpropertymap.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlPropertyMap class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlPropertyMap class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLPROPERTYMAP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqlquery.cpp b/qtinterface/interface_qt3/tqsqlquery.cpp new file mode 100644 index 0000000..2e1e1d8 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlquery.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqlquery.h b/qtinterface/interface_qt3/tqsqlquery.h new file mode 100644 index 0000000..31c9a65 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlquery.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlQuery class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlQuery class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLQUERY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqlrecord.cpp b/qtinterface/interface_qt3/tqsqlrecord.cpp new file mode 100644 index 0000000..5dc3a8b --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlrecord.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqlrecord.h b/qtinterface/interface_qt3/tqsqlrecord.h new file mode 100644 index 0000000..116db77 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlrecord.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlRecord class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlRecord class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLRECORD_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqlresult.cpp b/qtinterface/interface_qt3/tqsqlresult.cpp new file mode 100644 index 0000000..fde82f7 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlresult.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqlresult.h b/qtinterface/interface_qt3/tqsqlresult.h new file mode 100644 index 0000000..03bd3b6 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlresult.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlResult class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlResult class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLRESULT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsqlselectcursor.cpp b/qtinterface/interface_qt3/tqsqlselectcursor.cpp new file mode 100644 index 0000000..f988a12 --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlselectcursor.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsqlselectcursor.h b/qtinterface/interface_qt3/tqsqlselectcursor.h new file mode 100644 index 0000000..ba9dd8d --- /dev/null +++ b/qtinterface/interface_qt3/tqsqlselectcursor.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlSelectCursor class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlSelectCursor class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLSELECTCURSOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstack.h b/qtinterface/interface_qt3/tqstack.h new file mode 100644 index 0000000..bc684c9 --- /dev/null +++ b/qtinterface/interface_qt3/tqstack.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQSTACK_H +#define TQT_TQSTACK_H + +#include + +#ifdef USE_QT3 + +// Pull in Qt3 qptrstack defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qptrstack defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTACK_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstatusbar.cpp b/qtinterface/interface_qt3/tqstatusbar.cpp new file mode 100644 index 0000000..73f497a --- /dev/null +++ b/qtinterface/interface_qt3/tqstatusbar.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqstatusbar.h b/qtinterface/interface_qt3/tqstatusbar.h new file mode 100644 index 0000000..b475057 --- /dev/null +++ b/qtinterface/interface_qt3/tqstatusbar.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStatusBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStatusBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTATUSBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstring.cpp b/qtinterface/interface_qt3/tqstring.cpp new file mode 100644 index 0000000..7efebe3 --- /dev/null +++ b/qtinterface/interface_qt3/tqstring.cpp @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; 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 +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstring.h b/qtinterface/interface_qt3/tqstring.h new file mode 100644 index 0000000..ab9354f --- /dev/null +++ b/qtinterface/interface_qt3/tqstring.h @@ -0,0 +1,48 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include +#include + +#ifdef USE_QT3 + +// Reimplement the QString class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QString class +// For Qt4, some changes are needed + +#include +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTRING_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstringlist.cpp b/qtinterface/interface_qt3/tqstringlist.cpp new file mode 100644 index 0000000..853dbdd --- /dev/null +++ b/qtinterface/interface_qt3/tqstringlist.cpp @@ -0,0 +1,178 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 QT_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 QT_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 QT_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 QT_NO_DATASTREAM +QDataStream &operator>>( QDataStream & s, TQStringList& l ) +{ + return s >> (TQValueList&)l; +} + +QDataStream &operator<<( QDataStream & s, const TQStringList& l ) +{ + return s << (const TQValueList&)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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstringlist.h b/qtinterface/interface_qt3/tqstringlist.h new file mode 100644 index 0000000..4e0b34b --- /dev/null +++ b/qtinterface/interface_qt3/tqstringlist.h @@ -0,0 +1,168 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the TQStringList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the TQStringList class +// For Qt4, some changes are needed + +#include +#include +#include +#include + +/**************************************************************************** +** +** 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 QT_NO_STRINGLIST + +class QRegExp; +template class QDeepCopy; + +#if defined(Q_TEMPLATEDLL) +// MOC_SKIP_BEGIN +//Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList; +// MOC_SKIP_END +#endif + +class TQStringList : public TQValueList +{ +public: + TQStringList() { } + TQStringList( const TQStringList& l ) : TQValueList(l) { } + TQStringList( const TQValueList& l ) : TQValueList(l) { } + TQStringList( const QString& i ) { append(i); } +#ifndef QT_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 QT_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 QT_NO_REGEXP + TQStringList grep( const QRegExp &expr ) const; +#endif + + TQStringList& gres( const QString &before, const QString &after, + bool cs = TRUE ); +#ifndef QT_NO_REGEXP_CAPTURE + TQStringList& gres( const QRegExp &expr, const QString &after ); +#endif + +protected: + void detach() { TQValueList::detach(); } + friend class QDeepCopy< TQStringList >; +}; + +#ifndef QT_NO_DATASTREAM +class QDataStream; +extern QDataStream &operator>>( QDataStream &, TQStringList& ); +extern QDataStream &operator<<( QDataStream &, const TQStringList& ); +#endif + +#endif + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQSTRINGLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstrlist.cpp b/qtinterface/interface_qt3/tqstrlist.cpp new file mode 100644 index 0000000..41894f9 --- /dev/null +++ b/qtinterface/interface_qt3/tqstrlist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstrlist.h b/qtinterface/interface_qt3/tqstrlist.h new file mode 100644 index 0000000..9967457 --- /dev/null +++ b/qtinterface/interface_qt3/tqstrlist.h @@ -0,0 +1,198 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the TQStrList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the TQStrList class +// For Qt4, some changes are needed + +#include +#include +#include + +/**************************************************************************** +** +** 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 +{ +}; +#else +typedef TQPtrListIterator TQStrListIterator; +#endif + +class TQStrList : public TQPtrList +{ +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 + TQStrList(const QList &list) { + for (int i = 0; i < list.size(); ++i) + append(list.at(i).constData()); + } + + TQStrList &operator =(const QList &list) { + clear(); + for (int i = 0; i < list.size(); ++i) + append(list.at(i).constData()); + return *this; + } + + operator QList() const { + QList list; + for (TQPtrListStdIterator 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 QT_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::operator=( strList ); + return *this; +} + +inline TQStrList::TQStrList( const TQStrList &strList ) + : TQPtrList( strList ) +{ + dc = FALSE; + operator=( strList ); +} + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQSTRLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstrvec.cpp b/qtinterface/interface_qt3/tqstrvec.cpp new file mode 100644 index 0000000..e7dc312 --- /dev/null +++ b/qtinterface/interface_qt3/tqstrvec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqstrvec.h b/qtinterface/interface_qt3/tqstrvec.h new file mode 100644 index 0000000..335a155 --- /dev/null +++ b/qtinterface/interface_qt3/tqstrvec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStrVec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStrVec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQSTRVEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstyle.cpp b/qtinterface/interface_qt3/tqstyle.cpp new file mode 100644 index 0000000..d8e9c0a --- /dev/null +++ b/qtinterface/interface_qt3/tqstyle.cpp @@ -0,0 +1,47 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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(this); + QStyleOptionQ3ListViewItem item = lv->items.at(0); + return (Q3ListViewItem*)&item; +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstyle.h b/qtinterface/interface_qt3/tqstyle.h new file mode 100644 index 0000000..8122207 --- /dev/null +++ b/qtinterface/interface_qt3/tqstyle.h @@ -0,0 +1,59 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStyle class +// For Qt4, some changes are needed + +#include +#include +#include + +// 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 */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstylefactory.cpp b/qtinterface/interface_qt3/tqstylefactory.cpp new file mode 100644 index 0000000..2c5ffb9 --- /dev/null +++ b/qtinterface/interface_qt3/tqstylefactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqstylefactory.h b/qtinterface/interface_qt3/tqstylefactory.h new file mode 100644 index 0000000..b3e16dd --- /dev/null +++ b/qtinterface/interface_qt3/tqstylefactory.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStyleFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStyleFactory class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTYLEFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstyleplugin.cpp b/qtinterface/interface_qt3/tqstyleplugin.cpp new file mode 100644 index 0000000..db9dd39 --- /dev/null +++ b/qtinterface/interface_qt3/tqstyleplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqstyleplugin.h b/qtinterface/interface_qt3/tqstyleplugin.h new file mode 100644 index 0000000..52474ed --- /dev/null +++ b/qtinterface/interface_qt3/tqstyleplugin.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStylePlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStylePlugin class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTYLEPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqstylesheet.cpp b/qtinterface/interface_qt3/tqstylesheet.cpp new file mode 100644 index 0000000..8f5c3a4 --- /dev/null +++ b/qtinterface/interface_qt3/tqstylesheet.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqstylesheet.h b/qtinterface/interface_qt3/tqstylesheet.h new file mode 100644 index 0000000..b1d5676 --- /dev/null +++ b/qtinterface/interface_qt3/tqstylesheet.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStyleSheet class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStyleSheet class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTYLESHEET_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqsyntaxhighlighter.cpp b/qtinterface/interface_qt3/tqsyntaxhighlighter.cpp new file mode 100644 index 0000000..a2809fd --- /dev/null +++ b/qtinterface/interface_qt3/tqsyntaxhighlighter.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqsyntaxhighlighter.h b/qtinterface/interface_qt3/tqsyntaxhighlighter.h new file mode 100644 index 0000000..a12f76e --- /dev/null +++ b/qtinterface/interface_qt3/tqsyntaxhighlighter.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSyntaxHighlighter class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSyntaxHighlighter class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSYNTAXHIGHLIGHTER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqt.cpp b/qtinterface/interface_qt3/tqt.cpp new file mode 100644 index 0000000..799ff43 --- /dev/null +++ b/qtinterface/interface_qt3/tqt.cpp @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include + +// Various methods that don't have a proper home (yet) + +#ifdef USE_QT4 + +static QColor tqblackptr_core = QColor(Qt::black); + +template +QList::operator bool() const { + return !this.isEmpty(); +} + +QBool::operator uint () const { + return b ? static_cast(1) : static_cast(0); +} + +QChar::operator int () const { + return static_cast(*this); +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqt_defs.h b/qtinterface/interface_qt3/tqt_defs.h new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/qtinterface/interface_qt3/tqt_defs.h @@ -0,0 +1 @@ + diff --git a/qtinterface/interface_qt3/tqt_undefs.h b/qtinterface/interface_qt3/tqt_undefs.h new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/qtinterface/interface_qt3/tqt_undefs.h @@ -0,0 +1 @@ + diff --git a/qtinterface/interface_qt3/tqtabbar.cpp b/qtinterface/interface_qt3/tqtabbar.cpp new file mode 100644 index 0000000..06e9f5a --- /dev/null +++ b/qtinterface/interface_qt3/tqtabbar.cpp @@ -0,0 +1,34 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtabbar.h b/qtinterface/interface_qt3/tqtabbar.h new file mode 100644 index 0000000..a2a8fba --- /dev/null +++ b/qtinterface/interface_qt3/tqtabbar.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTabBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTabBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTABBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtabdialog.cpp b/qtinterface/interface_qt3/tqtabdialog.cpp new file mode 100644 index 0000000..39c6644 --- /dev/null +++ b/qtinterface/interface_qt3/tqtabdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtabdialog.h b/qtinterface/interface_qt3/tqtabdialog.h new file mode 100644 index 0000000..234be38 --- /dev/null +++ b/qtinterface/interface_qt3/tqtabdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTabDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTabDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTABDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtabdlg.h b/qtinterface/interface_qt3/tqtabdlg.h new file mode 100644 index 0000000..064a76e --- /dev/null +++ b/qtinterface/interface_qt3/tqtabdlg.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQTABDLG_H +#define TQT_TQTABDLG_H + +#include + +// Pull in tqtabdialog defines + +#include + +#endif /* TQT_TQTABDLG_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtable.cpp b/qtinterface/interface_qt3/tqtable.cpp new file mode 100644 index 0000000..be9e226 --- /dev/null +++ b/qtinterface/interface_qt3/tqtable.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtable.h b/qtinterface/interface_qt3/tqtable.h new file mode 100644 index 0000000..99e81b8 --- /dev/null +++ b/qtinterface/interface_qt3/tqtable.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTable class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTable class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTABLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtabwidget.cpp b/qtinterface/interface_qt3/tqtabwidget.cpp new file mode 100644 index 0000000..f288053 --- /dev/null +++ b/qtinterface/interface_qt3/tqtabwidget.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtabwidget.h b/qtinterface/interface_qt3/tqtabwidget.h new file mode 100644 index 0000000..2283013 --- /dev/null +++ b/qtinterface/interface_qt3/tqtabwidget.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTabWidget class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTabWidget class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTABWIDGET_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtextbrowser.cpp b/qtinterface/interface_qt3/tqtextbrowser.cpp new file mode 100644 index 0000000..262efb4 --- /dev/null +++ b/qtinterface/interface_qt3/tqtextbrowser.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtextbrowser.h b/qtinterface/interface_qt3/tqtextbrowser.h new file mode 100644 index 0000000..9810102 --- /dev/null +++ b/qtinterface/interface_qt3/tqtextbrowser.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextBrowser class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextBrowser class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTBROWSER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtextcodec.cpp b/qtinterface/interface_qt3/tqtextcodec.cpp new file mode 100644 index 0000000..6e047a5 --- /dev/null +++ b/qtinterface/interface_qt3/tqtextcodec.cpp @@ -0,0 +1,515 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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,"",15)) + n = line+15; + else if (0==qstrnicmp(line," ",14)) + esc = line[14]; + else if (0==qstrnicmp(line," ",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; ito_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 QT_NO_CODECS +// Cannot use
 or \code
+/*!
+    Reads a POSIX2 charmap definition from \a iod.
+    The parser recognizes the following lines:
+
+
+  <code_set_name> name
+  <escape_char> character
+  % alias alias
+  CHARMAP
+  <token> /xhexbyte <Uunicode> ...
+  <token> /ddecbyte <Uunicode> ...
+  <token> /octbyte <Uunicode> ...
+  <token> /any/any... <Uunicode> ...
+  END CHARMAP
+
+ + 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 //QT_NO_CODECS + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtextcodec.h b/qtinterface/interface_qt3/tqtextcodec.h new file mode 100644 index 0000000..90d09df --- /dev/null +++ b/qtinterface/interface_qt3/tqtextcodec.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextCodec class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtextcodecfactory.cpp b/qtinterface/interface_qt3/tqtextcodecfactory.cpp new file mode 100644 index 0000000..ea81597 --- /dev/null +++ b/qtinterface/interface_qt3/tqtextcodecfactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtextcodecfactory.h b/qtinterface/interface_qt3/tqtextcodecfactory.h new file mode 100644 index 0000000..46d74e1 --- /dev/null +++ b/qtinterface/interface_qt3/tqtextcodecfactory.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextCodecFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextCodecFactory class +// For Qt4, this class has been removed! + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTCODECFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtextcodecplugin.cpp b/qtinterface/interface_qt3/tqtextcodecplugin.cpp new file mode 100644 index 0000000..f076590 --- /dev/null +++ b/qtinterface/interface_qt3/tqtextcodecplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtextcodecplugin.h b/qtinterface/interface_qt3/tqtextcodecplugin.h new file mode 100644 index 0000000..fc4a1b6 --- /dev/null +++ b/qtinterface/interface_qt3/tqtextcodecplugin.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextCodecPlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextCodecPlugin class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTCODECPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtextedit.cpp b/qtinterface/interface_qt3/tqtextedit.cpp new file mode 100644 index 0000000..2c80b1e --- /dev/null +++ b/qtinterface/interface_qt3/tqtextedit.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtextedit.h b/qtinterface/interface_qt3/tqtextedit.h new file mode 100644 index 0000000..9f3b8d2 --- /dev/null +++ b/qtinterface/interface_qt3/tqtextedit.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextEdit class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextEdit class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTEDIT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtextstream.cpp b/qtinterface/interface_qt3/tqtextstream.cpp new file mode 100644 index 0000000..abc0898 --- /dev/null +++ b/qtinterface/interface_qt3/tqtextstream.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtextstream.h b/qtinterface/interface_qt3/tqtextstream.h new file mode 100644 index 0000000..03372cc --- /dev/null +++ b/qtinterface/interface_qt3/tqtextstream.h @@ -0,0 +1,47 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include +#include + +#ifdef USE_QT3 + +// Reimplement the QTextStream class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextStream class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTSTREAM_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtextview.cpp b/qtinterface/interface_qt3/tqtextview.cpp new file mode 100644 index 0000000..7f86067 --- /dev/null +++ b/qtinterface/interface_qt3/tqtextview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtextview.h b/qtinterface/interface_qt3/tqtextview.h new file mode 100644 index 0000000..81919ef --- /dev/null +++ b/qtinterface/interface_qt3/tqtextview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextView class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextView class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtglobaldefines.h b/qtinterface/interface_qt3/tqtglobaldefines.h new file mode 100644 index 0000000..c39b03d --- /dev/null +++ b/qtinterface/interface_qt3/tqtglobaldefines.h @@ -0,0 +1,20 @@ +/* + +Copyright (C) 2010-2011 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; 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_qt3/tqthread.cpp b/qtinterface/interface_qt3/tqthread.cpp new file mode 100644 index 0000000..bc3140e --- /dev/null +++ b/qtinterface/interface_qt3/tqthread.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqthread.h b/qtinterface/interface_qt3/tqthread.h new file mode 100644 index 0000000..f58cf08 --- /dev/null +++ b/qtinterface/interface_qt3/tqthread.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QThread class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QThread class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTHREAD_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqthreadstorage.cpp b/qtinterface/interface_qt3/tqthreadstorage.cpp new file mode 100644 index 0000000..b6558e6 --- /dev/null +++ b/qtinterface/interface_qt3/tqthreadstorage.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqthreadstorage.h b/qtinterface/interface_qt3/tqthreadstorage.h new file mode 100644 index 0000000..1299491 --- /dev/null +++ b/qtinterface/interface_qt3/tqthreadstorage.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QThreadStorage class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QThreadStorage class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTHREADSTORAGE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtimer.cpp b/qtinterface/interface_qt3/tqtimer.cpp new file mode 100644 index 0000000..29d4fee --- /dev/null +++ b/qtinterface/interface_qt3/tqtimer.cpp @@ -0,0 +1,32 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +// int QTimer::myNewFunction(int parameter_one) +// { +// return parameter_one; +// } + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtimer.h b/qtinterface/interface_qt3/tqtimer.h new file mode 100644 index 0000000..2f9d5da --- /dev/null +++ b/qtinterface/interface_qt3/tqtimer.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTimer class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTimer class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTIMER_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtl.cpp b/qtinterface/interface_qt3/tqtl.cpp new file mode 100644 index 0000000..642ab0e --- /dev/null +++ b/qtinterface/interface_qt3/tqtl.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtl.h b/qtinterface/interface_qt3/tqtl.h new file mode 100644 index 0000000..57547bd --- /dev/null +++ b/qtinterface/interface_qt3/tqtl.h @@ -0,0 +1,362 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the Qtl class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#include + +// 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 QT_NO_TEXTSTREAM +template +class TQTextOStreamIterator +{ +protected: + QTextOStream& stream; + QString separator; + +public: + TQTextOStreamIterator( QTextOStream& s) : stream( s ) {} + TQTextOStreamIterator( QTextOStream& s, const QString& sep ) + : stream( s ), separator( sep ) {} + TQTextOStreamIterator& operator= ( const T& x ) { + stream << x; + if ( !separator.isEmpty() ) + stream << separator; + return *this; + } + TQTextOStreamIterator& operator*() { return *this; } + TQTextOStreamIterator& operator++() { return *this; } + TQTextOStreamIterator& operator++(int) { return *this; } +}; +#endif //QT_NO_TEXTSTREAM + +template +inline OutputIterator tqCopy( InputIterator _begin, InputIterator _end, + OutputIterator _dest ) +{ + while( _begin != _end ) + *_dest++ = *_begin++; + return _dest; +} + +template +inline BiOutputIterator tqCopyBackward( BiIterator _begin, BiIterator _end, + BiOutputIterator _dest ) +{ + while ( _begin != _end ) + *--_dest = *--_end; + return _dest; +} + +template +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 +inline void tqFill( ForwardIterator first, ForwardIterator last, const T& val ) +{ + for ( ; first != last; ++first ) + *first = val; +} + +#if 0 +template +inline OutputIterator qReverseCopy( BiIterator _begin, BiIterator _end, + OutputIterator _dest ) +{ + while ( _begin != _end ) { + --_end; + *_dest = *_end; + ++_dest; + } + return _dest; +} +#endif + + +template +inline InputIterator tqFind( InputIterator first, InputIterator last, + const T& val ) +{ + while ( first != last && *first != val ) + ++first; + return first; +} + +template +inline void tqCount( InputIterator first, InputIterator last, const T& value, + Size& n ) +{ + for ( ; first != last; ++first ) + if ( *first == value ) + ++n; +} + +template +inline void tqSwap( T& _value1, T& _value2 ) +{ + T tmp = _value1; + _value1 = _value2; + _value2 = tmp; +} + + +template +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 +inline void tqBubbleSort( Container &c ) +{ + tqBubbleSort( c.begin(), c.end() ); +} + + +template +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 +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 +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 +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 TQBackInsertIterator +{ +public: + TQBackInsertIterator( Container &c ) + : container( &c ) + { + } + + TQBackInsertIterator& + operator=( const Q_TYPENAME Container::value_type &value ) + { + container->push_back( value ); + return *this; + } + + TQBackInsertIterator& operator*() + { + return *this; + } + + TQBackInsertIterator& operator++() + { + return *this; + } + + TQBackInsertIterator& operator++(int) + { + return *this; + } + +protected: + Container *container; +}; + +template +inline TQBackInsertIterator qBackInserter( Container &c ) +{ + return TQBackInsertIterator( c ); +} + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQTL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtoolbar.cpp b/qtinterface/interface_qt3/tqtoolbar.cpp new file mode 100644 index 0000000..a87a54a --- /dev/null +++ b/qtinterface/interface_qt3/tqtoolbar.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtoolbar.h b/qtinterface/interface_qt3/tqtoolbar.h new file mode 100644 index 0000000..97ac747 --- /dev/null +++ b/qtinterface/interface_qt3/tqtoolbar.h @@ -0,0 +1,46 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QToolBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + + +#ifdef USE_QT4 + +// Reimplement the QToolBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTOOLBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtoolbox.cpp b/qtinterface/interface_qt3/tqtoolbox.cpp new file mode 100644 index 0000000..639cb2e --- /dev/null +++ b/qtinterface/interface_qt3/tqtoolbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtoolbox.h b/qtinterface/interface_qt3/tqtoolbox.h new file mode 100644 index 0000000..b5b9bf6 --- /dev/null +++ b/qtinterface/interface_qt3/tqtoolbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QToolBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QToolBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTOOLBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtoolbutton.cpp b/qtinterface/interface_qt3/tqtoolbutton.cpp new file mode 100644 index 0000000..521c862 --- /dev/null +++ b/qtinterface/interface_qt3/tqtoolbutton.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtoolbutton.h b/qtinterface/interface_qt3/tqtoolbutton.h new file mode 100644 index 0000000..5f733e1 --- /dev/null +++ b/qtinterface/interface_qt3/tqtoolbutton.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QToolButton class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QToolButton class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTOOLBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtooltip.cpp b/qtinterface/interface_qt3/tqtooltip.cpp new file mode 100644 index 0000000..62c71f3 --- /dev/null +++ b/qtinterface/interface_qt3/tqtooltip.cpp @@ -0,0 +1,39 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtooltip.h b/qtinterface/interface_qt3/tqtooltip.h new file mode 100644 index 0000000..42daa06 --- /dev/null +++ b/qtinterface/interface_qt3/tqtooltip.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QToolTip class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QToolTip class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTOOLTIP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtranslator.cpp b/qtinterface/interface_qt3/tqtranslator.cpp new file mode 100644 index 0000000..9fc4146 --- /dev/null +++ b/qtinterface/interface_qt3/tqtranslator.cpp @@ -0,0 +1,404 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtranslator.h b/qtinterface/interface_qt3/tqtranslator.h new file mode 100644 index 0000000..4afc7db --- /dev/null +++ b/qtinterface/interface_qt3/tqtranslator.h @@ -0,0 +1,96 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTranslator class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTranslator class +// For Qt4, some changes are needed + +#include + +//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 */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtsciicodec.cpp b/qtinterface/interface_qt3/tqtsciicodec.cpp new file mode 100644 index 0000000..e4213f6 --- /dev/null +++ b/qtinterface/interface_qt3/tqtsciicodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqtsciicodec.h b/qtinterface/interface_qt3/tqtsciicodec.h new file mode 100644 index 0000000..c3967ce --- /dev/null +++ b/qtinterface/interface_qt3/tqtsciicodec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTsciiCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTsciiCodec class +// For Qt4, this class has been removed! + +#endif // USE_QT4 + +#endif /* TQT_TQTSCIICODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqtstream.h b/qtinterface/interface_qt3/tqtstream.h new file mode 100644 index 0000000..983d45d --- /dev/null +++ b/qtinterface/interface_qt3/tqtstream.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQTSTREAM_H +#define TQT_TQTSTREAM_H + +#include + +// Pull in textstream defines + +#include + +#endif /* TQT_TQTSTREAM_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqurl.cpp b/qtinterface/interface_qt3/tqurl.cpp new file mode 100644 index 0000000..eb39cff --- /dev/null +++ b/qtinterface/interface_qt3/tqurl.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqurl.h b/qtinterface/interface_qt3/tqurl.h new file mode 100644 index 0000000..6ed52be --- /dev/null +++ b/qtinterface/interface_qt3/tqurl.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUrl class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QUrl class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQURL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqurlinfo.cpp b/qtinterface/interface_qt3/tqurlinfo.cpp new file mode 100644 index 0000000..5a35fc5 --- /dev/null +++ b/qtinterface/interface_qt3/tqurlinfo.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqurlinfo.h b/qtinterface/interface_qt3/tqurlinfo.h new file mode 100644 index 0000000..1ebb4d6 --- /dev/null +++ b/qtinterface/interface_qt3/tqurlinfo.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUrlInfo class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QUrlInfo class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQURL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqurloperator.cpp b/qtinterface/interface_qt3/tqurloperator.cpp new file mode 100644 index 0000000..a4d0475 --- /dev/null +++ b/qtinterface/interface_qt3/tqurloperator.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqurloperator.h b/qtinterface/interface_qt3/tqurloperator.h new file mode 100644 index 0000000..37fb584 --- /dev/null +++ b/qtinterface/interface_qt3/tqurloperator.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUrlOperator class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QUrlOperator class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQURLOPERATOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqutfcodec.cpp b/qtinterface/interface_qt3/tqutfcodec.cpp new file mode 100644 index 0000000..80a0da2 --- /dev/null +++ b/qtinterface/interface_qt3/tqutfcodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqutfcodec.h b/qtinterface/interface_qt3/tqutfcodec.h new file mode 100644 index 0000000..e788130 --- /dev/null +++ b/qtinterface/interface_qt3/tqutfcodec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUtfCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QUtfCodec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQUTFCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tquuid.cpp b/qtinterface/interface_qt3/tquuid.cpp new file mode 100644 index 0000000..fa20ef4 --- /dev/null +++ b/qtinterface/interface_qt3/tquuid.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tquuid.h b/qtinterface/interface_qt3/tquuid.h new file mode 100644 index 0000000..d12a7eb --- /dev/null +++ b/qtinterface/interface_qt3/tquuid.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUuid class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QUuid class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQUUID_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqvalidator.cpp b/qtinterface/interface_qt3/tqvalidator.cpp new file mode 100644 index 0000000..d4cfe95 --- /dev/null +++ b/qtinterface/interface_qt3/tqvalidator.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqvalidator.h b/qtinterface/interface_qt3/tqvalidator.h new file mode 100644 index 0000000..9ceea73 --- /dev/null +++ b/qtinterface/interface_qt3/tqvalidator.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QValidator class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QValidator class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVALIDATOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqvaluelist.cpp b/qtinterface/interface_qt3/tqvaluelist.cpp new file mode 100644 index 0000000..58afb58 --- /dev/null +++ b/qtinterface/interface_qt3/tqvaluelist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqvaluelist.h b/qtinterface/interface_qt3/tqvaluelist.h new file mode 100644 index 0000000..f8d73b9 --- /dev/null +++ b/qtinterface/interface_qt3/tqvaluelist.h @@ -0,0 +1,720 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QValueList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QValueList class +// For Qt4, some changes are needed + +#include +#include +#include + +/**************************************************************************** +** $Id: qt/qvaluelist.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 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* next; + TQValueListNode* prev; + T data; +}; + +template +class TQValueListIterator +{ + public: + /** + * Typedefs + */ + typedef TQValueListNode* NodePtr; +#ifndef QT_NO_STL + typedef std::bidirectional_iterator_tag iterator_category; +#endif + typedef T value_type; + typedef size_t size_type; +#ifndef QT_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& it ) : node( it.node ) {} + + bool operator==( const TQValueListIterator& it ) const { return node == it.node; } + bool operator!=( const TQValueListIterator& 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& operator++() { + node = node->next; + return *this; + } + + TQValueListIterator operator++(int) { + TQValueListIterator tmp = *this; + node = node->next; + return tmp; + } + + TQValueListIterator& operator--() { + node = node->prev; + return *this; + } + + TQValueListIterator operator--(int) { + TQValueListIterator tmp = *this; + node = node->prev; + return tmp; + } + + TQValueListIterator& operator+=( int j ) { + while ( j-- ) + node = node->next; + return *this; + } + + TQValueListIterator& operator-=( int j ) { + while ( j-- ) + node = node->prev; + return *this; + } + +}; + +template +class TQValueListConstIterator +{ + public: + /** + * Typedefs + */ + typedef TQValueListNode* NodePtr; +#ifndef QT_NO_STL + typedef std::bidirectional_iterator_tag iterator_category; +#endif + typedef T value_type; + typedef size_t size_type; +#ifndef QT_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& it ) : node( it.node ) {} + TQValueListConstIterator( const TQValueListIterator& it ) : node( it.node ) {} + + bool operator==( const TQValueListConstIterator& it ) const { return node == it.node; } + bool operator!=( const TQValueListConstIterator& 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& operator++() { + node = node->next; + return *this; + } + + TQValueListConstIterator operator++(int) { + TQValueListConstIterator tmp = *this; + node = node->next; + return tmp; + } + + TQValueListConstIterator& operator--() { + node = node->prev; + return *this; + } + + TQValueListConstIterator operator--(int) { + TQValueListConstIterator tmp = *this; + node = node->prev; + return tmp; + } +}; + +template +class TQValueListPrivate : public Q3Shared +{ +public: + /** + * Typedefs + */ + typedef TQValueListIterator Iterator; + typedef TQValueListConstIterator ConstIterator; + typedef TQValueListNode Node; + typedef TQValueListNode* NodePtr; + typedef size_t size_type; + + /** + * Functions + */ + TQValueListPrivate(); + TQValueListPrivate( const TQValueListPrivate& _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 +TQValueListPrivate::TQValueListPrivate() +{ + node = new Node; node->next = node->prev = node; nodes = 0; +} + +template +TQValueListPrivate::TQValueListPrivate( const TQValueListPrivate& _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 +TQValueListPrivate::~TQValueListPrivate() { + NodePtr p = node->next; + while( p != node ) { + NodePtr x = p->next; + delete p; + p = x; + } + delete node; +} + +template +Q_TYPENAME TQValueListPrivate::Iterator TQValueListPrivate::insert( Q_TYPENAME TQValueListPrivate::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 +Q_TYPENAME TQValueListPrivate::Iterator TQValueListPrivate::remove( Q_TYPENAME TQValueListPrivate::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 +Q_TYPENAME TQValueListPrivate::NodePtr TQValueListPrivate::find( Q_TYPENAME TQValueListPrivate::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 +int TQValueListPrivate::findIndex( Q_TYPENAME TQValueListPrivate::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 +uint TQValueListPrivate::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 +uint TQValueListPrivate::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 +Q_TYPENAME TQValueListPrivate::NodePtr TQValueListPrivate::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 +void TQValueListPrivate::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( QT_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 QDeepCopy; + +template +class TQValueList +{ +public: + /** + * Typedefs + */ + typedef TQValueListIterator iterator; + typedef TQValueListConstIterator 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 QT_NO_STL + typedef ptrdiff_t difference_type; +#else + typedef int difference_type; +#endif + + /** + * API + */ + TQValueList() { sh = new TQValueListPrivate; } + TQValueList( const TQValueList& l ) { sh = l.sh; sh->ref(); } +#ifndef QT_NO_STL + TQValueList( const std::list& l ) + { + sh = new TQValueListPrivate; + qCopy( l.begin(), l.end(), std::back_inserter( *this ) ); + } +#endif + ~TQValueList() { sh->derefAndDelete(); } + + TQValueList& operator= ( const TQValueList& l ) + { + l.sh->ref(); + sh->derefAndDelete(); + sh = l.sh; + return *this; + } +#ifndef QT_NO_STL + TQValueList& operator= ( const std::list& l ) + { + detach(); + qCopy( l.begin(), l.end(), std::back_inserter( *this ) ); + return *this; + } + bool operator== ( const std::list& l ) const + { + if ( size() != l.size() ) + return FALSE; + const_iterator it2 = begin(); +#if !defined(Q_CC_MIPS) + typename +#endif + std::list::const_iterator it = l.begin(); + for ( ; it2 != end(); ++it2, ++it ) + if ( !((*it2) == (*it)) ) + return FALSE; + return TRUE; + } +#endif + + // Interoperability + TQValueList(const QList& l) + { + for (int i = 0; i < l.size(); ++i) append(l.at(i)); + } + + TQValueList& operator= (const QList& l) + { + this->clear(); + for (int i = 0; i < l.size(); ++i) append(l.at(i)); + return *this; + } + + operator QList() const { + QList list; + for (typename TQValueList::const_iterator it = this->constBegin(); + it != this->constEnd(); ++it) + list.append(*it); + return list; + } + + bool operator== ( const TQValueList& l ) const; + bool operator!= ( const TQValueList& 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& 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 operator+ ( const TQValueList& l ) const; + TQValueList& operator+= ( const TQValueList& 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& operator+= ( const T& x ) + { + append( x ); + return *this; + } + typedef TQValueListIterator Iterator; + typedef TQValueListConstIterator ConstIterator; + typedef T ValueType; + +protected: + /** + * Helpers + */ + void detach() { if ( sh->count > 1 ) detachInternal(); } + + /** + * Variables + */ + TQValueListPrivate* sh; + +private: + void detachInternal(); + + friend class QDeepCopy< TQValueList >; +}; + +template +bool TQValueList::operator== ( const TQValueList& 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 +void TQValueList::clear() +{ + if ( sh->count == 1 ) sh->clear(); else { sh->deref(); sh = new TQValueListPrivate; } +} + +template +Q_TYPENAME TQValueList::iterator TQValueList::erase( Q_TYPENAME TQValueList::iterator first, Q_TYPENAME TQValueList::iterator last ) +{ + while ( first != last ) + erase( first++ ); + return last; +} + + +template +void TQValueList::insert( Q_TYPENAME TQValueList::iterator pos, size_type n, const T& x ) +{ + for ( ; n > 0; --n ) + insert( pos, x ); +} + +template +TQValueList TQValueList::operator+ ( const TQValueList& l ) const +{ + TQValueList l2( *this ); + for( const_iterator it = l.begin(); it != l.end(); ++it ) + l2.append( *it ); + return l2; +} + +template +TQValueList& TQValueList::operator+= ( const TQValueList& l ) +{ + TQValueList copy = l; + for( const_iterator it = copy.begin(); it != copy.end(); ++it ) + append( *it ); + return *this; +} + +template +void TQValueList::detachInternal() +{ + sh->deref(); sh = new TQValueListPrivate( *sh ); +} + +#ifndef QT_NO_DATASTREAM +template +QDataStream& operator>>( QDataStream& s, TQValueList& 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 +QDataStream& operator<<( QDataStream& s, const TQValueList& l ) +{ + s << (Q_UINT32)l.size(); + TQValueListConstIterator it = l.begin(); + for( ; it != l.end(); ++it ) + s << *it; + return s; +} +#endif // QT_NO_DATASTREAM + +/****************************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQVALUELIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqvaluestack.cpp b/qtinterface/interface_qt3/tqvaluestack.cpp new file mode 100644 index 0000000..777c73d --- /dev/null +++ b/qtinterface/interface_qt3/tqvaluestack.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqvaluestack.h b/qtinterface/interface_qt3/tqvaluestack.h new file mode 100644 index 0000000..ed987f5 --- /dev/null +++ b/qtinterface/interface_qt3/tqvaluestack.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QValueStack class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QValueStack class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVALUESTACK_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqvaluevector.cpp b/qtinterface/interface_qt3/tqvaluevector.cpp new file mode 100644 index 0000000..e0cd785 --- /dev/null +++ b/qtinterface/interface_qt3/tqvaluevector.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqvaluevector.h b/qtinterface/interface_qt3/tqvaluevector.h new file mode 100644 index 0000000..021f8b3 --- /dev/null +++ b/qtinterface/interface_qt3/tqvaluevector.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QValueVector class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QValueVector class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVALUEVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqvariant.cpp b/qtinterface/interface_qt3/tqvariant.cpp new file mode 100644 index 0000000..23d24a5 --- /dev/null +++ b/qtinterface/interface_qt3/tqvariant.cpp @@ -0,0 +1,129 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +#include + +// This is taken straight from +#ifdef Q_CC_SUN // Sun CC picks the wrong overload, so introduce awful hack + +template +inline T *v_cast(const QVariant::Private *nd, T * = 0) +{ + QVariant::Private *d = const_cast(nd); + return ((sizeof(T) > sizeof(QVariant::Private::Data)) + ? static_cast(d->data.shared->ptr) + : static_cast(static_cast(&d->data.c))); +} + +#else // every other compiler in this world + +template +inline const T *v_cast(const QVariant::Private *d, T * = 0) +{ + return ((sizeof(T) > sizeof(QVariant::Private::Data)) + ? static_cast(d->data.shared->ptr) + : static_cast(static_cast(&d->data.c))); +} + +template +inline T *v_cast(QVariant::Private *d, T * = 0) +{ + return ((sizeof(T) > sizeof(QVariant::Private::Data)) + ? static_cast(d->data.shared->ptr) + : static_cast(static_cast(&d->data.c))); +} + +#endif + +template +inline T qVariantToHelper(const QVariant::Private &d, QVariant::Type t, + const QVariant::Handler *handler, T * = 0) +{ + if (d.type == t) + return *v_cast(&d); + + T ret; + handler->convert(&d, t, &ret, 0); + return ret; +} + +QFont QVariant::toFont() const { + return qVariantToHelper(d, Font, handler); +} + +QColor QVariant::toColor() const { + return qVariantToHelper(d, Color, handler); +} + +QCursor QVariant::toCursor() const { + return qVariantToHelper(d, Cursor, handler); +} + +QBitmap QVariant::toBitmap() const { + return qVariantToHelper(d, Bitmap, handler); +} + +Q3PointArray QVariant::toPointArray() const { + return qVariantToHelper(d, PointArray, handler); +} + +QRegion QVariant::toRegion() const { + return qVariantToHelper(d, Region, handler); +} + +QPixmap QVariant::toPixmap() const { + return qVariantToHelper(d, Pixmap, handler); +} + +QImage QVariant::toImage() const { + return qVariantToHelper(d, Image, handler); +} + +QBrush QVariant::toBrush() const { + return qVariantToHelper(d, Brush, handler); +} + +QPalette QVariant::toPalette() const { + return qVariantToHelper(d, Palette, handler); +} + +QColorGroup QVariant::toColorGroup() const { + return qVariantToHelper(d, ColorGroup, handler); +} + +QIconSet QVariant::toIconSet() const { + return qVariantToHelper(d, IconSet, handler); +} + +QFont QVariant::asFont() { + return toFont(); +} + +QColor QVariant::asColor() { + return toColor(); +} + +#endif // USE_QT4 diff --git a/qtinterface/interface_qt3/tqvariant.h b/qtinterface/interface_qt3/tqvariant.h new file mode 100644 index 0000000..b489af7 --- /dev/null +++ b/qtinterface/interface_qt3/tqvariant.h @@ -0,0 +1,46 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QVariant class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QVariant class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVARIANT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqvbox.cpp b/qtinterface/interface_qt3/tqvbox.cpp new file mode 100644 index 0000000..790376a --- /dev/null +++ b/qtinterface/interface_qt3/tqvbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqvbox.h b/qtinterface/interface_qt3/tqvbox.h new file mode 100644 index 0000000..f04d1f6 --- /dev/null +++ b/qtinterface/interface_qt3/tqvbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QVBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QVBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqvbuttongroup.cpp b/qtinterface/interface_qt3/tqvbuttongroup.cpp new file mode 100644 index 0000000..52e9344 --- /dev/null +++ b/qtinterface/interface_qt3/tqvbuttongroup.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqvbuttongroup.h b/qtinterface/interface_qt3/tqvbuttongroup.h new file mode 100644 index 0000000..ff59cf3 --- /dev/null +++ b/qtinterface/interface_qt3/tqvbuttongroup.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QVButtonGroup class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QVButtonGroup class +// For Qt4, no changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVBUTTONGROUP_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqvector.h b/qtinterface/interface_qt3/tqvector.h new file mode 100644 index 0000000..73325cc --- /dev/null +++ b/qtinterface/interface_qt3/tqvector.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQVECTOR_H +#define TQT_TQVECTOR_H + +#include + +// Pull in tqptrvector defines + +#include + +#endif /* TQT_TQVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqvfbhdr.cpp b/qtinterface/interface_qt3/tqvfbhdr.cpp new file mode 100644 index 0000000..278b43d --- /dev/null +++ b/qtinterface/interface_qt3/tqvfbhdr.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqvfbhdr.h b/qtinterface/interface_qt3/tqvfbhdr.h new file mode 100644 index 0000000..bf10af4 --- /dev/null +++ b/qtinterface/interface_qt3/tqvfbhdr.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QVFBHDR class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QVFBHDR class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVFBHDR_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqvgroupbox.cpp b/qtinterface/interface_qt3/tqvgroupbox.cpp new file mode 100644 index 0000000..f460045 --- /dev/null +++ b/qtinterface/interface_qt3/tqvgroupbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqvgroupbox.h b/qtinterface/interface_qt3/tqvgroupbox.h new file mode 100644 index 0000000..652685a --- /dev/null +++ b/qtinterface/interface_qt3/tqvgroupbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QVGroupBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QVGroupBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVGROUPBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwaitcondition.cpp b/qtinterface/interface_qt3/tqwaitcondition.cpp new file mode 100644 index 0000000..2fe41a1 --- /dev/null +++ b/qtinterface/interface_qt3/tqwaitcondition.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqwaitcondition.h b/qtinterface/interface_qt3/tqwaitcondition.h new file mode 100644 index 0000000..93d46ef --- /dev/null +++ b/qtinterface/interface_qt3/tqwaitcondition.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWaitCondition class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWaitCondition class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWAITCONDITION_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwhatsthis.cpp b/qtinterface/interface_qt3/tqwhatsthis.cpp new file mode 100644 index 0000000..1a170c5 --- /dev/null +++ b/qtinterface/interface_qt3/tqwhatsthis.cpp @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwhatsthis.h b/qtinterface/interface_qt3/tqwhatsthis.h new file mode 100644 index 0000000..088ecf6 --- /dev/null +++ b/qtinterface/interface_qt3/tqwhatsthis.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWhatsThis class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWhatsThis class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWHATSTHIS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwidcoll.h b/qtinterface/interface_qt3/tqwidcoll.h new file mode 100644 index 0000000..836d88a --- /dev/null +++ b/qtinterface/interface_qt3/tqwidcoll.h @@ -0,0 +1,32 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQWIDCOLL_H +#define TQT_TQWIDCOLL_H + +#include + +// Pull in the widget defines + +#include +#include + +#endif /* TQT_TQWIDCOLL_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwidget.cpp b/qtinterface/interface_qt3/tqwidget.cpp new file mode 100644 index 0000000..bfa02a4 --- /dev/null +++ b/qtinterface/interface_qt3/tqwidget.cpp @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwidget.h b/qtinterface/interface_qt3/tqwidget.h new file mode 100644 index 0000000..d9342ee --- /dev/null +++ b/qtinterface/interface_qt3/tqwidget.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWidget class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWidget class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGET_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwidgetfactory.cpp b/qtinterface/interface_qt3/tqwidgetfactory.cpp new file mode 100644 index 0000000..563d3cf --- /dev/null +++ b/qtinterface/interface_qt3/tqwidgetfactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqwidgetfactory.h b/qtinterface/interface_qt3/tqwidgetfactory.h new file mode 100644 index 0000000..80e0d8d --- /dev/null +++ b/qtinterface/interface_qt3/tqwidgetfactory.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWidgetFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWidgetFactory class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGETFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwidgetintdict.cpp b/qtinterface/interface_qt3/tqwidgetintdict.cpp new file mode 100644 index 0000000..88a8bb5 --- /dev/null +++ b/qtinterface/interface_qt3/tqwidgetintdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqwidgetintdict.h b/qtinterface/interface_qt3/tqwidgetintdict.h new file mode 100644 index 0000000..d6b1107 --- /dev/null +++ b/qtinterface/interface_qt3/tqwidgetintdict.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWidgetIntDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWidgetIntDict class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGETINTDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwidgetlist.cpp b/qtinterface/interface_qt3/tqwidgetlist.cpp new file mode 100644 index 0000000..e7e1999 --- /dev/null +++ b/qtinterface/interface_qt3/tqwidgetlist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqwidgetlist.h b/qtinterface/interface_qt3/tqwidgetlist.h new file mode 100644 index 0000000..21cd7ac --- /dev/null +++ b/qtinterface/interface_qt3/tqwidgetlist.h @@ -0,0 +1,91 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the TQWidgetList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the TQWidgetList class +// For Qt4, this class was removed! + +#include +#include + +class TQWidgetList : public TQPtrList +{ +public: + TQWidgetList() : TQPtrList() {} + TQWidgetList( const TQWidgetList &list ) : TQPtrList(list) {} + ~TQWidgetList() { clear(); } + TQWidgetList &operator=(const TQWidgetList &list) + { return (TQWidgetList&)TQPtrList::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 +{ +public: + TQWidgetListIt( const TQWidgetList &l ) : TQPtrListIterator(l) {} + TQWidgetListIt &operator=(const TQWidgetListIt &i) + { return (TQWidgetListIt&)TQPtrListIterator::operator=(i); } +}; + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGETLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwidgetplugin.cpp b/qtinterface/interface_qt3/tqwidgetplugin.cpp new file mode 100644 index 0000000..668c45f --- /dev/null +++ b/qtinterface/interface_qt3/tqwidgetplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqwidgetplugin.h b/qtinterface/interface_qt3/tqwidgetplugin.h new file mode 100644 index 0000000..0dd505f --- /dev/null +++ b/qtinterface/interface_qt3/tqwidgetplugin.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWidgetPlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWidgetPlugin class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGETPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwidgetstack.cpp b/qtinterface/interface_qt3/tqwidgetstack.cpp new file mode 100644 index 0000000..0cf6330 --- /dev/null +++ b/qtinterface/interface_qt3/tqwidgetstack.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqwidgetstack.h b/qtinterface/interface_qt3/tqwidgetstack.h new file mode 100644 index 0000000..f96359b --- /dev/null +++ b/qtinterface/interface_qt3/tqwidgetstack.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWidgetStack class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWidgetStack class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGETSTACK_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwindefs.h b/qtinterface/interface_qt3/tqwindefs.h new file mode 100644 index 0000000..66bfe71 --- /dev/null +++ b/qtinterface/interface_qt3/tqwindefs.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQWINDEFS_H +#define TQT_TQWINDEFS_H + +#include + +// Pull in tqwindowdefs defines + +#include + +#endif /* TQT_TQWINDEFS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwindowdefs.h b/qtinterface/interface_qt3/tqwindowdefs.h new file mode 100644 index 0000000..7e98e47 --- /dev/null +++ b/qtinterface/interface_qt3/tqwindowdefs.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qwindowdefs defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qwindowdefs defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWINDOWDEFS_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwindowsstyle.cpp b/qtinterface/interface_qt3/tqwindowsstyle.cpp new file mode 100644 index 0000000..889607c --- /dev/null +++ b/qtinterface/interface_qt3/tqwindowsstyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqwindowsstyle.h b/qtinterface/interface_qt3/tqwindowsstyle.h new file mode 100644 index 0000000..a6dd0eb --- /dev/null +++ b/qtinterface/interface_qt3/tqwindowsstyle.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWindowsStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWindowsStyle class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWINDOWSSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwinexport.h b/qtinterface/interface_qt3/tqwinexport.h new file mode 100644 index 0000000..43c380d --- /dev/null +++ b/qtinterface/interface_qt3/tqwinexport.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qwinexport defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qwinexport defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWINEXPORT_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwizard.cpp b/qtinterface/interface_qt3/tqwizard.cpp new file mode 100644 index 0000000..5c5b50e --- /dev/null +++ b/qtinterface/interface_qt3/tqwizard.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqwizard.h b/qtinterface/interface_qt3/tqwizard.h new file mode 100644 index 0000000..2defd89 --- /dev/null +++ b/qtinterface/interface_qt3/tqwizard.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWizard class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWizard class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWIZARD_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqwmatrix.cpp b/qtinterface/interface_qt3/tqwmatrix.cpp new file mode 100644 index 0000000..4699799 --- /dev/null +++ b/qtinterface/interface_qt3/tqwmatrix.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqwmatrix.h b/qtinterface/interface_qt3/tqwmatrix.h new file mode 100644 index 0000000..08d8fa1 --- /dev/null +++ b/qtinterface/interface_qt3/tqwmatrix.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWMatrix class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWMatrix class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWMATRIX_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqworkspace.cpp b/qtinterface/interface_qt3/tqworkspace.cpp new file mode 100644 index 0000000..09d136e --- /dev/null +++ b/qtinterface/interface_qt3/tqworkspace.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqworkspace.h b/qtinterface/interface_qt3/tqworkspace.h new file mode 100644 index 0000000..1f242ae --- /dev/null +++ b/qtinterface/interface_qt3/tqworkspace.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWorkspace class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWorkspace class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWORKSPACE_H */ \ No newline at end of file diff --git a/qtinterface/interface_qt3/tqxml.cpp b/qtinterface/interface_qt3/tqxml.cpp new file mode 100644 index 0000000..e5759ab --- /dev/null +++ b/qtinterface/interface_qt3/tqxml.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_qt3/tqxml.h b/qtinterface/interface_qt3/tqxml.h new file mode 100644 index 0000000..81b1580 --- /dev/null +++ b/qtinterface/interface_qt3/tqxml.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QXml class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QXml class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQXML_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/private/tqcom_p.h b/qtinterface/interface_tqt3/private/tqcom_p.h new file mode 100644 index 0000000..8611847 --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqcom_p.h @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// For Qt3, no changes are needed + +#include + +#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 new file mode 100644 index 0000000..7e15c03 --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqeffects_p.h @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUComExtra_P class +// For Qt3, no changes are needed + +#include + +#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 new file mode 100644 index 0000000..069d11e --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqinternal_p.h @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSharedDoubleBuffer class +// For Qt3, no changes are needed + +#include + +#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 new file mode 100644 index 0000000..1bb9581 --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqlayoutengine_p.h @@ -0,0 +1,36 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUComExtra_P class +// For Qt3, no changes are needed + +#include + +#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 new file mode 100644 index 0000000..d476598 --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqpluginmanager_p.h @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// For Qt3, no changes are needed + +#include + +#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 new file mode 100644 index 0000000..47dfed1 --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqrichtext_p.h @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSharedDoubleBuffer class +// For Qt3, no changes are needed + +#include + +#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 new file mode 100644 index 0000000..1a6c6cc --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqtextengine_p.h @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSharedDoubleBuffer class +// For Qt3, no changes are needed + +#include + +#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 new file mode 100644 index 0000000..be46f52 --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqucom_p.h @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// For Qt3, no changes are needed + +#include + +#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 new file mode 100644 index 0000000..c9fc62b --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqucomextra_p.cpp @@ -0,0 +1,27 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +#endif \ No newline at end of file diff --git a/qtinterface/interface_tqt3/private/tqucomextra_p.h b/qtinterface/interface_tqt3/private/tqucomextra_p.h new file mode 100644 index 0000000..4817321 --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqucomextra_p.h @@ -0,0 +1,48 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUComExtra_P class +// For Qt3, no changes are needed + +#include + +#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 new file mode 100644 index 0000000..5c72d32 --- /dev/null +++ b/qtinterface/interface_tqt3/private/tqwidgetinterface_p.h @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#endif /* TQT_TQWIDGETINTERFACE_P_H */ diff --git a/qtinterface/interface_tqt3/tq1xcompatibility.cpp b/qtinterface/interface_tqt3/tq1xcompatibility.cpp new file mode 100644 index 0000000..f7fd6f9 --- /dev/null +++ b/qtinterface/interface_tqt3/tq1xcompatibility.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +//#include diff --git a/qtinterface/interface_tqt3/tq1xcompatibility.h b/qtinterface/interface_tqt3/tq1xcompatibility.h new file mode 100644 index 0000000..afeb3e9 --- /dev/null +++ b/qtinterface/interface_tqt3/tq1xcompatibility.h @@ -0,0 +1,39 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQ1XCOMPATIBILITY_H +#define TQT_TQ1XCOMPATIBILITY_H + +#include + +#ifdef USE_QT3 + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQ1XCOMPATIBILITY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqabstractlayout.cpp b/qtinterface/interface_tqt3/tqabstractlayout.cpp new file mode 100644 index 0000000..5b7777e --- /dev/null +++ b/qtinterface/interface_tqt3/tqabstractlayout.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqabstractlayout.h b/qtinterface/interface_tqt3/tqabstractlayout.h new file mode 100644 index 0000000..ac2b8a8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqabstractlayout.h @@ -0,0 +1,39 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +//#include + +#endif // USE_QT4 + +#endif /* TQT_TQABSTRACTLAYOUT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqaccel.cpp b/qtinterface/interface_tqt3/tqaccel.cpp new file mode 100644 index 0000000..0c22f5a --- /dev/null +++ b/qtinterface/interface_tqt3/tqaccel.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqaccel.h b/qtinterface/interface_tqt3/tqaccel.h new file mode 100644 index 0000000..cb4dd5f --- /dev/null +++ b/qtinterface/interface_tqt3/tqaccel.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAccel class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAccel class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQACCEL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqaccessible.cpp b/qtinterface/interface_tqt3/tqaccessible.cpp new file mode 100644 index 0000000..0fa62e9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqaccessible.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqaccessible.h b/qtinterface/interface_tqt3/tqaccessible.h new file mode 100644 index 0000000..93439ad --- /dev/null +++ b/qtinterface/interface_tqt3/tqaccessible.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAccessible class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAccessible class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQACCESSIBLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqaction.cpp b/qtinterface/interface_tqt3/tqaction.cpp new file mode 100644 index 0000000..6c72c14 --- /dev/null +++ b/qtinterface/interface_tqt3/tqaction.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqaction.h b/qtinterface/interface_tqt3/tqaction.h new file mode 100644 index 0000000..c189db0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqaction.h @@ -0,0 +1,46 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QAction class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAction class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQACTION_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqapp.h b/qtinterface/interface_tqt3/tqapp.h new file mode 100644 index 0000000..90f2a12 --- /dev/null +++ b/qtinterface/interface_tqt3/tqapp.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQAPP_H +#define TQT_TQAPP_H + +#include + +// Pull in tqapplication defines + +#include + +#endif /* TQT_TQAPP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqapplication.cpp b/qtinterface/interface_tqt3/tqapplication.cpp new file mode 100644 index 0000000..2724abd --- /dev/null +++ b/qtinterface/interface_tqt3/tqapplication.cpp @@ -0,0 +1,70 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#include + +#ifdef USE_QT3 +extern Time qt_x_time; +extern Time qt_x_user_time; + +void set_tqt_x_time(unsigned long x) { + qt_x_time = x; +} + +unsigned long get_tqt_x_time(void) { + return qt_x_time; +} + +void set_tqt_x_user_time(unsigned long x) { + qt_x_user_time = x; +} + +unsigned long get_tqt_x_user_time(void) { + return qt_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 new file mode 100644 index 0000000..f9795bc --- /dev/null +++ b/qtinterface/interface_tqt3/tqapplication.h @@ -0,0 +1,52 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QApplication class +// For Qt3, no changes are needed + +#include + +// 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 + +#endif // USE_QT4 + +#endif /* TQT_TQAPPLICATION_H */ diff --git a/qtinterface/interface_tqt3/tqarray.h b/qtinterface/interface_tqt3/tqarray.h new file mode 100644 index 0000000..85d29fa --- /dev/null +++ b/qtinterface/interface_tqt3/tqarray.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQARRAY_H +#define TQT_TQARRAY_H + +#include + +// Pull in tqmemarray defines + +#include + +#endif /* TQT_TQARRAY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqasciicache.cpp b/qtinterface/interface_tqt3/tqasciicache.cpp new file mode 100644 index 0000000..fc03ea0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqasciicache.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqasciicache.h b/qtinterface/interface_tqt3/tqasciicache.h new file mode 100644 index 0000000..99500b5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqasciicache.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAsciiCache class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAsciiCache class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQASCIICACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqasciidict.cpp b/qtinterface/interface_tqt3/tqasciidict.cpp new file mode 100644 index 0000000..ca20bad --- /dev/null +++ b/qtinterface/interface_tqt3/tqasciidict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqasciidict.h b/qtinterface/interface_tqt3/tqasciidict.h new file mode 100644 index 0000000..007c8f2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqasciidict.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAsciiDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAsciiDict class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQASCIIDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqassistantclient.cpp b/qtinterface/interface_tqt3/tqassistantclient.cpp new file mode 100644 index 0000000..e6bdd17 --- /dev/null +++ b/qtinterface/interface_tqt3/tqassistantclient.cpp @@ -0,0 +1,26 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +// Force this library to link against qassistantclient +//QAssistantClient myClient; diff --git a/qtinterface/interface_tqt3/tqassistantclient.h b/qtinterface/interface_tqt3/tqassistantclient.h new file mode 100644 index 0000000..cc81193 --- /dev/null +++ b/qtinterface/interface_tqt3/tqassistantclient.h @@ -0,0 +1,33 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +#include + +#endif // USE_QT3 + +#endif /* TQT_TQASSISTANTCLIENT_H */ diff --git a/qtinterface/interface_tqt3/tqasyncimageio.cpp b/qtinterface/interface_tqt3/tqasyncimageio.cpp new file mode 100644 index 0000000..9382f0b --- /dev/null +++ b/qtinterface/interface_tqt3/tqasyncimageio.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqasyncimageio.h b/qtinterface/interface_tqt3/tqasyncimageio.h new file mode 100644 index 0000000..3601b6b --- /dev/null +++ b/qtinterface/interface_tqt3/tqasyncimageio.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAsyncImageIO class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAsyncImageIO class +// For Qt4, this class no longer exists! + +#endif // USE_QT4 + +#endif /* TQT_TQASYNCIMAGEIO_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqasyncio.cpp b/qtinterface/interface_tqt3/tqasyncio.cpp new file mode 100644 index 0000000..d16da70 --- /dev/null +++ b/qtinterface/interface_tqt3/tqasyncio.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqasyncio.h b/qtinterface/interface_tqt3/tqasyncio.h new file mode 100644 index 0000000..a345b39 --- /dev/null +++ b/qtinterface/interface_tqt3/tqasyncio.h @@ -0,0 +1,44 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QAsyncIO class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAsyncIO class +// For Qt4, this class no longer exists! + +#endif // USE_QT4 + +#endif /* TQT_TQASYNCIO_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqbig5codec.cpp b/qtinterface/interface_tqt3/tqbig5codec.cpp new file mode 100644 index 0000000..d7559da --- /dev/null +++ b/qtinterface/interface_tqt3/tqbig5codec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqbig5codec.h b/qtinterface/interface_tqt3/tqbig5codec.h new file mode 100644 index 0000000..d4b5c2b --- /dev/null +++ b/qtinterface/interface_tqt3/tqbig5codec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QBig5Codec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QBig5Codec class +// For Qt4, this class no longer exists! + +#endif // USE_QT4 + +#endif /* TQT_TQQBIG5CODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqbitarray.cpp b/qtinterface/interface_tqt3/tqbitarray.cpp new file mode 100644 index 0000000..692f0f3 --- /dev/null +++ b/qtinterface/interface_tqt3/tqbitarray.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqbitarray.h b/qtinterface/interface_tqt3/tqbitarray.h new file mode 100644 index 0000000..a510fa4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqbitarray.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QBitArray class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QBitArray class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBITARRAY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqbitarry.h b/qtinterface/interface_tqt3/tqbitarry.h new file mode 100644 index 0000000..920422e --- /dev/null +++ b/qtinterface/interface_tqt3/tqbitarry.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQBITARRY_H +#define TQT_TQBITARRY_H + +#include +#include + +// Pull in tqbitarry defines +#include + +#endif /* TQT_TQBITARRY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqbitmap.cpp b/qtinterface/interface_tqt3/tqbitmap.cpp new file mode 100644 index 0000000..b6dc108 --- /dev/null +++ b/qtinterface/interface_tqt3/tqbitmap.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqbitmap.h b/qtinterface/interface_tqt3/tqbitmap.h new file mode 100644 index 0000000..be64491 --- /dev/null +++ b/qtinterface/interface_tqt3/tqbitmap.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QBitmap class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QBitmap class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBITMAP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqbrush.cpp b/qtinterface/interface_tqt3/tqbrush.cpp new file mode 100644 index 0000000..2cba95b --- /dev/null +++ b/qtinterface/interface_tqt3/tqbrush.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqbrush.h b/qtinterface/interface_tqt3/tqbrush.h new file mode 100644 index 0000000..4d4401e --- /dev/null +++ b/qtinterface/interface_tqt3/tqbrush.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QBrush class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QBrush class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBRUSH_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqbttngrp.h b/qtinterface/interface_tqt3/tqbttngrp.h new file mode 100644 index 0000000..0aa0ff5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqbttngrp.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQBTTNGRP_H +#define TQT_TQBTTNGRP_H + +#include + +// Pull in all buttongroup defines + +#include + +#endif /* TQT_TQBTTNGRP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqbuffer.cpp b/qtinterface/interface_tqt3/tqbuffer.cpp new file mode 100644 index 0000000..ca5debc --- /dev/null +++ b/qtinterface/interface_tqt3/tqbuffer.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqbuffer.h b/qtinterface/interface_tqt3/tqbuffer.h new file mode 100644 index 0000000..472d6a0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqbuffer.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QBuffer class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QBuffer class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBUFFER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqbutton.cpp b/qtinterface/interface_tqt3/tqbutton.cpp new file mode 100644 index 0000000..b25809b --- /dev/null +++ b/qtinterface/interface_tqt3/tqbutton.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqbutton.h b/qtinterface/interface_tqt3/tqbutton.h new file mode 100644 index 0000000..e9c05f8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqbutton.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QButton class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QButton class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqbuttongroup.cpp b/qtinterface/interface_tqt3/tqbuttongroup.cpp new file mode 100644 index 0000000..3ba14b7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqbuttongroup.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqbuttongroup.h b/qtinterface/interface_tqt3/tqbuttongroup.h new file mode 100644 index 0000000..e4d7a9a --- /dev/null +++ b/qtinterface/interface_tqt3/tqbuttongroup.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QButtonGroup class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QButtonGroup class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQBUTTONGROUP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcache.cpp b/qtinterface/interface_tqt3/tqcache.cpp new file mode 100644 index 0000000..6233a74 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcache.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqcache.h b/qtinterface/interface_tqt3/tqcache.h new file mode 100644 index 0000000..bf0be56 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcache.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCache class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCache class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcanvas.cpp b/qtinterface/interface_tqt3/tqcanvas.cpp new file mode 100644 index 0000000..5600c28 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcanvas.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqcanvas.h b/qtinterface/interface_tqt3/tqcanvas.h new file mode 100644 index 0000000..f7774b8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcanvas.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCanvas class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCanvas class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCANVAS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcdestyle.cpp b/qtinterface/interface_tqt3/tqcdestyle.cpp new file mode 100644 index 0000000..7ce2428 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcdestyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqcdestyle.h b/qtinterface/interface_tqt3/tqcdestyle.h new file mode 100644 index 0000000..5b8d115 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcdestyle.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCDEStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCDEStyle class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCDESTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcheckbox.cpp b/qtinterface/interface_tqt3/tqcheckbox.cpp new file mode 100644 index 0000000..3a9d719 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcheckbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqcheckbox.h b/qtinterface/interface_tqt3/tqcheckbox.h new file mode 100644 index 0000000..288a07f --- /dev/null +++ b/qtinterface/interface_tqt3/tqcheckbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the TQCheckBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the TQCheckBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCHECKBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqchkbox.h b/qtinterface/interface_tqt3/tqchkbox.h new file mode 100644 index 0000000..a715de9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqchkbox.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCHKBOX_H +#define TQT_TQCHKBOX_H + +#include + +// Pull in all checkbox defines + +#include + +#endif /* TQT_TQCHKBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcleanuphandler.cpp b/qtinterface/interface_tqt3/tqcleanuphandler.cpp new file mode 100644 index 0000000..720b085 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcleanuphandler.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqcleanuphandler.h b/qtinterface/interface_tqt3/tqcleanuphandler.h new file mode 100644 index 0000000..0e0a2bb --- /dev/null +++ b/qtinterface/interface_tqt3/tqcleanuphandler.h @@ -0,0 +1,131 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCleanupHandler class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCleanupHandler class +// For Qt4, some changes are needed + +//#include + +#include "tntqptrlist.h" + +template +class TQCleanupHandler +{ +public: + TQCleanupHandler() : cleanupObjects( 0 ) {} + ~TQCleanupHandler() { clear(); } + + Type* add( Type **object ) { + if ( !cleanupObjects ) + cleanupObjects = new Q3PtrList; + 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 it( *cleanupObjects ); + Type **object; + while ( ( object = it.current() ) ) { + delete *object; + *object = 0; + cleanupObjects->remove( object ); + } + delete cleanupObjects; + cleanupObjects = 0; + } + +private: + Q3PtrList *cleanupObjects; +}; + +template +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 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 */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqclipboard.cpp b/qtinterface/interface_tqt3/tqclipboard.cpp new file mode 100644 index 0000000..7d26801 --- /dev/null +++ b/qtinterface/interface_tqt3/tqclipboard.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqclipboard.h b/qtinterface/interface_tqt3/tqclipboard.h new file mode 100644 index 0000000..f3cff34 --- /dev/null +++ b/qtinterface/interface_tqt3/tqclipboard.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QClipboard class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QClipboard class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCLIPBOARD_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqclipbrd.h b/qtinterface/interface_tqt3/tqclipbrd.h new file mode 100644 index 0000000..ec2b051 --- /dev/null +++ b/qtinterface/interface_tqt3/tqclipbrd.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCLIPBRD_H +#define TQT_TQCLIPBRD_H + +#include + +// Pull in all clipboard defines + +#include + +#endif /* TQT_TQCLIPBRD_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcollect.h b/qtinterface/interface_tqt3/tqcollect.h new file mode 100644 index 0000000..d1dd861 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcollect.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCOLLECT_H +#define TQT_TQCOLLECT_H + +#include + +// Pull in all qptrcollection defines + +#include + +#endif /* TQT_TQCOLLECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcollection.h b/qtinterface/interface_tqt3/tqcollection.h new file mode 100644 index 0000000..efa7b8e --- /dev/null +++ b/qtinterface/interface_tqt3/tqcollection.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCOLLECTION_H +#define TQT_TQCOLLECTION_H + +#include + +// Pull in all qptrcollection defines + +#include + +#endif /* TQT_TQCOLLECTION_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcolor.cpp b/qtinterface/interface_tqt3/tqcolor.cpp new file mode 100644 index 0000000..bb58d58 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcolor.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqcolor.h b/qtinterface/interface_tqt3/tqcolor.h new file mode 100644 index 0000000..7e28b08 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcolor.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QColor class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QColor class +// For Qt4, no changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCOLOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcolordialog.cpp b/qtinterface/interface_tqt3/tqcolordialog.cpp new file mode 100644 index 0000000..4eaff50 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcolordialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqcolordialog.h b/qtinterface/interface_tqt3/tqcolordialog.h new file mode 100644 index 0000000..2b5a3dc --- /dev/null +++ b/qtinterface/interface_tqt3/tqcolordialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QColorDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QColorDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCOLORDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcombo.h b/qtinterface/interface_tqt3/tqcombo.h new file mode 100644 index 0000000..c4709b8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcombo.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCOMBO_H +#define TQT_TQCOMBO_H + +#include + +// Pull in all combo box defines + +#include + +#endif /* TQT_TQCOMBO_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcombobox.cpp b/qtinterface/interface_tqt3/tqcombobox.cpp new file mode 100644 index 0000000..17ab721 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcombobox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqcombobox.h b/qtinterface/interface_tqt3/tqcombobox.h new file mode 100644 index 0000000..faf08cf --- /dev/null +++ b/qtinterface/interface_tqt3/tqcombobox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QComboBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QComboBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCOMBOBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcommonstyle.cpp b/qtinterface/interface_tqt3/tqcommonstyle.cpp new file mode 100644 index 0000000..096a328 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcommonstyle.cpp @@ -0,0 +1,95 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcommonstyle.h b/qtinterface/interface_tqt3/tqcommonstyle.h new file mode 100644 index 0000000..2db706d --- /dev/null +++ b/qtinterface/interface_tqt3/tqcommonstyle.h @@ -0,0 +1,47 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCommonStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCommonStyle class +// For Qt4, some changes are needed + +#include +#include +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCOMMONSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcompactstyle.cpp b/qtinterface/interface_tqt3/tqcompactstyle.cpp new file mode 100644 index 0000000..383754a --- /dev/null +++ b/qtinterface/interface_tqt3/tqcompactstyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqcompactstyle.h b/qtinterface/interface_tqt3/tqcompactstyle.h new file mode 100644 index 0000000..283a79b --- /dev/null +++ b/qtinterface/interface_tqt3/tqcompactstyle.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCompactStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCompactStyle class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQCOMPACTSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqconfig.h b/qtinterface/interface_tqt3/tqconfig.h new file mode 100644 index 0000000..a6efde7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqconfig.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in all Qt3 configuration defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in all Qt4 configuration defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCONFIG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqconnect.h b/qtinterface/interface_tqt3/tqconnect.h new file mode 100644 index 0000000..d08e840 --- /dev/null +++ b/qtinterface/interface_tqt3/tqconnect.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQCONNECT_H +#define TQT_TQCONNECT_H + +#include + +// Pull in all connection defines + +#include + +#endif /* TQT_TQCONNECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqconnection.cpp b/qtinterface/interface_tqt3/tqconnection.cpp new file mode 100644 index 0000000..5c4cd36 --- /dev/null +++ b/qtinterface/interface_tqt3/tqconnection.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqconnection.h b/qtinterface/interface_tqt3/tqconnection.h new file mode 100644 index 0000000..cca2eaf --- /dev/null +++ b/qtinterface/interface_tqt3/tqconnection.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QConnection class +// For Qt3, no changes are needed + +#include + +#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 */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcstring.cpp b/qtinterface/interface_tqt3/tqcstring.cpp new file mode 100644 index 0000000..43511bf --- /dev/null +++ b/qtinterface/interface_tqt3/tqcstring.cpp @@ -0,0 +1,55 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +QByteArray::operator QByteArray *() const +{ return (QByteArray*)(d->data); } + +#ifndef QT_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 //QT_NO_REGEXP + +QByteArray QByteArray::copy() const { + QByteArray copy(*this); + copy.detach(); + return copy; +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcstring.h b/qtinterface/interface_tqt3/tqcstring.h new file mode 100644 index 0000000..323b6fe --- /dev/null +++ b/qtinterface/interface_tqt3/tqcstring.h @@ -0,0 +1,53 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include +#include + +#ifdef USE_QT3 + +// Reimplement the QCString class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QByteArray class +// For Qt4, some changes are needed + +//#include +#include + +// Reimplement the QCString class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCSTRING_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqcursor.cpp b/qtinterface/interface_tqt3/tqcursor.cpp new file mode 100644 index 0000000..f9ac27c --- /dev/null +++ b/qtinterface/interface_tqt3/tqcursor.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqcursor.h b/qtinterface/interface_tqt3/tqcursor.h new file mode 100644 index 0000000..3d61436 --- /dev/null +++ b/qtinterface/interface_tqt3/tqcursor.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QCursor class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QCursor class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQCURSOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdatabrowser.cpp b/qtinterface/interface_tqt3/tqdatabrowser.cpp new file mode 100644 index 0000000..865f572 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatabrowser.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdatabrowser.h b/qtinterface/interface_tqt3/tqdatabrowser.h new file mode 100644 index 0000000..d87ae67 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatabrowser.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDataBrowser class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDataBrowser class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATABROWSER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdatastream.cpp b/qtinterface/interface_tqt3/tqdatastream.cpp new file mode 100644 index 0000000..69a99d2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatastream.cpp @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdatastream.h b/qtinterface/interface_tqt3/tqdatastream.h new file mode 100644 index 0000000..0165476 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatastream.h @@ -0,0 +1,46 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QDataStream class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDataStream class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATASTREAM_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdatatable.cpp b/qtinterface/interface_tqt3/tqdatatable.cpp new file mode 100644 index 0000000..a6ee462 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatatable.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdatatable.h b/qtinterface/interface_tqt3/tqdatatable.h new file mode 100644 index 0000000..3f942c3 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatatable.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDataTable class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDataTable class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATATABLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdataview.cpp b/qtinterface/interface_tqt3/tqdataview.cpp new file mode 100644 index 0000000..43207dd --- /dev/null +++ b/qtinterface/interface_tqt3/tqdataview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdataview.h b/qtinterface/interface_tqt3/tqdataview.h new file mode 100644 index 0000000..dfd3e9e --- /dev/null +++ b/qtinterface/interface_tqt3/tqdataview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDataView class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDataView class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATAVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdatetime.cpp b/qtinterface/interface_tqt3/tqdatetime.cpp new file mode 100644 index 0000000..de9a84b --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatetime.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdatetime.h b/qtinterface/interface_tqt3/tqdatetime.h new file mode 100644 index 0000000..138664b --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatetime.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDateTime class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDateTime class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATETIME_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdatetimeedit.cpp b/qtinterface/interface_tqt3/tqdatetimeedit.cpp new file mode 100644 index 0000000..9e3a1e2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatetimeedit.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdatetimeedit.h b/qtinterface/interface_tqt3/tqdatetimeedit.h new file mode 100644 index 0000000..6cee1a4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatetimeedit.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDateTimeEditBase class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDateTimeEditBase class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDATETIMEEDIT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdatetm.h b/qtinterface/interface_tqt3/tqdatetm.h new file mode 100644 index 0000000..f167e78 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdatetm.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQDATETM_H +#define TQT_TQDATETM_H + +#include + +// Pull in all date/time defines + +#include + +#endif /* TQT_TQDATETM_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdeepcopy.cpp b/qtinterface/interface_tqt3/tqdeepcopy.cpp new file mode 100644 index 0000000..fce56b0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdeepcopy.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdeepcopy.h b/qtinterface/interface_tqt3/tqdeepcopy.h new file mode 100644 index 0000000..56943a2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdeepcopy.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDeepCopy class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDeepCopy class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDEEPCOPY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdesktopwidget.cpp b/qtinterface/interface_tqt3/tqdesktopwidget.cpp new file mode 100644 index 0000000..ff11ea5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdesktopwidget.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdesktopwidget.h b/qtinterface/interface_tqt3/tqdesktopwidget.h new file mode 100644 index 0000000..b4e630f --- /dev/null +++ b/qtinterface/interface_tqt3/tqdesktopwidget.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDesktopWidget class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDesktopWidget class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDESKTOPWIDGET_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdial.cpp b/qtinterface/interface_tqt3/tqdial.cpp new file mode 100644 index 0000000..643696e --- /dev/null +++ b/qtinterface/interface_tqt3/tqdial.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdial.h b/qtinterface/interface_tqt3/tqdial.h new file mode 100644 index 0000000..cdf5ade --- /dev/null +++ b/qtinterface/interface_tqt3/tqdial.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDial class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDial class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDIAL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdialog.cpp b/qtinterface/interface_tqt3/tqdialog.cpp new file mode 100644 index 0000000..f1292f1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdialog.h b/qtinterface/interface_tqt3/tqdialog.h new file mode 100644 index 0000000..3664e1b --- /dev/null +++ b/qtinterface/interface_tqt3/tqdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdict.cpp b/qtinterface/interface_tqt3/tqdict.cpp new file mode 100644 index 0000000..700c76a --- /dev/null +++ b/qtinterface/interface_tqt3/tqdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdict.h b/qtinterface/interface_tqt3/tqdict.h new file mode 100644 index 0000000..5c6968f --- /dev/null +++ b/qtinterface/interface_tqt3/tqdict.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDict class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdir.cpp b/qtinterface/interface_tqt3/tqdir.cpp new file mode 100644 index 0000000..bb81d14 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdir.cpp @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdir.h b/qtinterface/interface_tqt3/tqdir.h new file mode 100644 index 0000000..b2a2fee --- /dev/null +++ b/qtinterface/interface_tqt3/tqdir.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDir class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDir class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDIR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdns.cpp b/qtinterface/interface_tqt3/tqdns.cpp new file mode 100644 index 0000000..a1ee651 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdns.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdns.h b/qtinterface/interface_tqt3/tqdns.h new file mode 100644 index 0000000..d7242c5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdns.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDns class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDns class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDNS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdockarea.cpp b/qtinterface/interface_tqt3/tqdockarea.cpp new file mode 100644 index 0000000..80ed760 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdockarea.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdockarea.h b/qtinterface/interface_tqt3/tqdockarea.h new file mode 100644 index 0000000..202a417 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdockarea.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDockArea class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDockArea class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDOCKAREA_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdockwindow.cpp b/qtinterface/interface_tqt3/tqdockwindow.cpp new file mode 100644 index 0000000..7cd7766 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdockwindow.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdockwindow.h b/qtinterface/interface_tqt3/tqdockwindow.h new file mode 100644 index 0000000..461590e --- /dev/null +++ b/qtinterface/interface_tqt3/tqdockwindow.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDockWindow class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDockWindow class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDOCKWINDOW_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdom.cpp b/qtinterface/interface_tqt3/tqdom.cpp new file mode 100644 index 0000000..37b6c9d --- /dev/null +++ b/qtinterface/interface_tqt3/tqdom.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdom.h b/qtinterface/interface_tqt3/tqdom.h new file mode 100644 index 0000000..4ab0311 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdom.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDom class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDom class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQACCEL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdragobject.cpp b/qtinterface/interface_tqt3/tqdragobject.cpp new file mode 100644 index 0000000..0e3c2de --- /dev/null +++ b/qtinterface/interface_tqt3/tqdragobject.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdragobject.h b/qtinterface/interface_tqt3/tqdragobject.h new file mode 100644 index 0000000..a6b25b6 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdragobject.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDragObject class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDragObject class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDRAGOBJECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdrawutil.cpp b/qtinterface/interface_tqt3/tqdrawutil.cpp new file mode 100644 index 0000000..fe95a15 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdrawutil.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +//#include diff --git a/qtinterface/interface_tqt3/tqdrawutil.h b/qtinterface/interface_tqt3/tqdrawutil.h new file mode 100644 index 0000000..5f11e0a --- /dev/null +++ b/qtinterface/interface_tqt3/tqdrawutil.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDrawUtil class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDrawUtil class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDRAWUTIL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdrawutl.h b/qtinterface/interface_tqt3/tqdrawutl.h new file mode 100644 index 0000000..a7bd9ed --- /dev/null +++ b/qtinterface/interface_tqt3/tqdrawutl.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +// Pull in all drawing utility defines + +#include + +#endif /* TQT_TQDRAWUTIL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdropsite.cpp b/qtinterface/interface_tqt3/tqdropsite.cpp new file mode 100644 index 0000000..78c8e9f --- /dev/null +++ b/qtinterface/interface_tqt3/tqdropsite.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqdropsite.h b/qtinterface/interface_tqt3/tqdropsite.h new file mode 100644 index 0000000..fba0287 --- /dev/null +++ b/qtinterface/interface_tqt3/tqdropsite.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QDropSite class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QDropSite class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQDROPSITE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqdstream.h b/qtinterface/interface_tqt3/tqdstream.h new file mode 100644 index 0000000..f9d61cc --- /dev/null +++ b/qtinterface/interface_tqt3/tqdstream.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQDSTREAM_H +#define TQT_TQDSTREAM_H + +#include + +// Pull in all datastream defines + +#include + +#endif /* TQT_TQDSTREAM_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqeditorfactory.cpp b/qtinterface/interface_tqt3/tqeditorfactory.cpp new file mode 100644 index 0000000..8281e21 --- /dev/null +++ b/qtinterface/interface_tqt3/tqeditorfactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqeditorfactory.h b/qtinterface/interface_tqt3/tqeditorfactory.h new file mode 100644 index 0000000..59060fa --- /dev/null +++ b/qtinterface/interface_tqt3/tqeditorfactory.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QEditorFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QEditorFactory class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQEDITORFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqerrormessage.cpp b/qtinterface/interface_tqt3/tqerrormessage.cpp new file mode 100644 index 0000000..6064bed --- /dev/null +++ b/qtinterface/interface_tqt3/tqerrormessage.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqerrormessage.h b/qtinterface/interface_tqt3/tqerrormessage.h new file mode 100644 index 0000000..883a493 --- /dev/null +++ b/qtinterface/interface_tqt3/tqerrormessage.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QErrorMessage class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QErrorMessage class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQERRORMESSAGE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqeucjpcodec.cpp b/qtinterface/interface_tqt3/tqeucjpcodec.cpp new file mode 100644 index 0000000..7aa9fe9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqeucjpcodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqeucjpcodec.h b/qtinterface/interface_tqt3/tqeucjpcodec.h new file mode 100644 index 0000000..4f44d47 --- /dev/null +++ b/qtinterface/interface_tqt3/tqeucjpcodec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QEucJpCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QEucJpCodec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQEUCJPCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqeuckrcodec.cpp b/qtinterface/interface_tqt3/tqeuckrcodec.cpp new file mode 100644 index 0000000..0923843 --- /dev/null +++ b/qtinterface/interface_tqt3/tqeuckrcodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqeuckrcodec.h b/qtinterface/interface_tqt3/tqeuckrcodec.h new file mode 100644 index 0000000..a4ebaac --- /dev/null +++ b/qtinterface/interface_tqt3/tqeuckrcodec.h @@ -0,0 +1,42 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QEucKrCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQEUCKRCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqevent.cpp b/qtinterface/interface_tqt3/tqevent.cpp new file mode 100644 index 0000000..d2a3eae --- /dev/null +++ b/qtinterface/interface_tqt3/tqevent.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqevent.h b/qtinterface/interface_tqt3/tqevent.h new file mode 100644 index 0000000..2bc0f4b --- /dev/null +++ b/qtinterface/interface_tqt3/tqevent.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QEvent class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QEvent class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQEVENT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqeventloop.cpp b/qtinterface/interface_tqt3/tqeventloop.cpp new file mode 100644 index 0000000..ef5ab34 --- /dev/null +++ b/qtinterface/interface_tqt3/tqeventloop.cpp @@ -0,0 +1,36 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +TQEventLoop *TQEventLoop::eventLoop () +{ + return static_cast(QAbstractEventDispatcher::instance()); +} + +bool TQEventLoop::processEvents( ProcessEventsFlags flags ) { + return QEventLoop::processEvents((ProcessEventsFlag)flags); +} + +#endif \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqeventloop.h b/qtinterface/interface_tqt3/tqeventloop.h new file mode 100644 index 0000000..0cefaed --- /dev/null +++ b/qtinterface/interface_tqt3/tqeventloop.h @@ -0,0 +1,63 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QEventLoop class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QEventLoop class +// For Qt4, some changes are needed + +#include +#include + +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 */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfeatures.h b/qtinterface/interface_tqt3/tqfeatures.h new file mode 100644 index 0000000..0258ab0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfeatures.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in all Qt3 feature defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in all Qt4 feature defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFEATURES_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfile.cpp b/qtinterface/interface_tqt3/tqfile.cpp new file mode 100644 index 0000000..ff7024c --- /dev/null +++ b/qtinterface/interface_tqt3/tqfile.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfile.h b/qtinterface/interface_tqt3/tqfile.h new file mode 100644 index 0000000..dd6fe6e --- /dev/null +++ b/qtinterface/interface_tqt3/tqfile.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFile class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFile class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFILE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfiledef.h b/qtinterface/interface_tqt3/tqfiledef.h new file mode 100644 index 0000000..c9a1744 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfiledef.h @@ -0,0 +1,41 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQFILEDEF_H +#define TQT_TQFILEDEF_H + +#include + +#ifdef USE_QT3 + +// Pull in legacy qfiledef defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Do not pull in legacy qfiledef defines + +#endif // USE_QT4 + +#endif /* TQT_TQFILEDEF_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfiledialog.cpp b/qtinterface/interface_tqt3/tqfiledialog.cpp new file mode 100644 index 0000000..6ef9dab --- /dev/null +++ b/qtinterface/interface_tqt3/tqfiledialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqfiledialog.h b/qtinterface/interface_tqt3/tqfiledialog.h new file mode 100644 index 0000000..72e664f --- /dev/null +++ b/qtinterface/interface_tqt3/tqfiledialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFileDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFileDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFILEDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfiledlg.h b/qtinterface/interface_tqt3/tqfiledlg.h new file mode 100644 index 0000000..c394b74 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfiledlg.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQFILEDLG_H +#define TQT_TQFILEDLG_H + +#include + +// Pull in file dialog defines + +#include + +#endif /* TQT_TQFILEDLG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfileinf.h b/qtinterface/interface_tqt3/tqfileinf.h new file mode 100644 index 0000000..072d023 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfileinf.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQFILEINF_H +#define TQT_TQFILEINF_H + +#include + +// Pull in all file information defines + +#include + +#endif /* TQT_TQFILEINF_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfileinfo.cpp b/qtinterface/interface_tqt3/tqfileinfo.cpp new file mode 100644 index 0000000..f7bd328 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfileinfo.cpp @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +QFileInfo::operator QFileInfo *() const { + return const_cast(this); +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfileinfo.h b/qtinterface/interface_tqt3/tqfileinfo.h new file mode 100644 index 0000000..7d97070 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfileinfo.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFileInfo class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFileInfo class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFILEINFO_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfocusdata.cpp b/qtinterface/interface_tqt3/tqfocusdata.cpp new file mode 100644 index 0000000..7a8eeb7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfocusdata.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqfocusdata.h b/qtinterface/interface_tqt3/tqfocusdata.h new file mode 100644 index 0000000..1c43689 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfocusdata.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFocusData class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFocusData class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQFOCUSDATA_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfont.cpp b/qtinterface/interface_tqt3/tqfont.cpp new file mode 100644 index 0000000..0dbd610 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfont.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqfont.h b/qtinterface/interface_tqt3/tqfont.h new file mode 100644 index 0000000..0332c24 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfont.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFont class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFont class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFONT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfontdatabase.cpp b/qtinterface/interface_tqt3/tqfontdatabase.cpp new file mode 100644 index 0000000..7d44d02 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfontdatabase.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqfontdatabase.h b/qtinterface/interface_tqt3/tqfontdatabase.h new file mode 100644 index 0000000..93cdffd --- /dev/null +++ b/qtinterface/interface_tqt3/tqfontdatabase.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFontDatabase class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFontDatabase class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFONTDATABASE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfontdialog.cpp b/qtinterface/interface_tqt3/tqfontdialog.cpp new file mode 100644 index 0000000..5c9d1ac --- /dev/null +++ b/qtinterface/interface_tqt3/tqfontdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqfontdialog.h b/qtinterface/interface_tqt3/tqfontdialog.h new file mode 100644 index 0000000..9843fc3 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfontdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFontDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFontDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFONTDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfontinf.h b/qtinterface/interface_tqt3/tqfontinf.h new file mode 100644 index 0000000..ca2ed6a --- /dev/null +++ b/qtinterface/interface_tqt3/tqfontinf.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQFONTINF_H +#define TQT_TQFONTINF_H + +#include + +// Pull in all font information defines + +#include + +#endif /* TQT_TQFONTINF_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfontinfo.cpp b/qtinterface/interface_tqt3/tqfontinfo.cpp new file mode 100644 index 0000000..c2a07e6 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfontinfo.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqfontinfo.h b/qtinterface/interface_tqt3/tqfontinfo.h new file mode 100644 index 0000000..a697bd5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfontinfo.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFontInfo class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFontInfo class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFONTINFO_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfontmet.h b/qtinterface/interface_tqt3/tqfontmet.h new file mode 100644 index 0000000..6f95766 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfontmet.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQFONTMET_H +#define TQT_TQFONTMET_H + +#include + +// Pull in all font metrics defines + +#include + +#endif /* TQT_TQFONTMET_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqfontmetrics.cpp b/qtinterface/interface_tqt3/tqfontmetrics.cpp new file mode 100644 index 0000000..6985a4a --- /dev/null +++ b/qtinterface/interface_tqt3/tqfontmetrics.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqfontmetrics.h b/qtinterface/interface_tqt3/tqfontmetrics.h new file mode 100644 index 0000000..ba934a2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqfontmetrics.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFontMetrics class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFontMetrics class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFONTMETRICS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqframe.cpp b/qtinterface/interface_tqt3/tqframe.cpp new file mode 100644 index 0000000..c44d6b2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqframe.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqframe.h b/qtinterface/interface_tqt3/tqframe.h new file mode 100644 index 0000000..de08ec6 --- /dev/null +++ b/qtinterface/interface_tqt3/tqframe.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFrame class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFrame class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFRAME_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqftp.cpp b/qtinterface/interface_tqt3/tqftp.cpp new file mode 100644 index 0000000..aa6436a --- /dev/null +++ b/qtinterface/interface_tqt3/tqftp.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqftp.h b/qtinterface/interface_tqt3/tqftp.h new file mode 100644 index 0000000..8c2861f --- /dev/null +++ b/qtinterface/interface_tqt3/tqftp.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QFtp class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QFtp class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQFTP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgarray.cpp b/qtinterface/interface_tqt3/tqgarray.cpp new file mode 100644 index 0000000..586675a --- /dev/null +++ b/qtinterface/interface_tqt3/tqgarray.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqgarray.h b/qtinterface/interface_tqt3/tqgarray.h new file mode 100644 index 0000000..cf408fa --- /dev/null +++ b/qtinterface/interface_tqt3/tqgarray.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGArray class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGArray class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGARRAY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgb18030codec.cpp b/qtinterface/interface_tqt3/tqgb18030codec.cpp new file mode 100644 index 0000000..da823a1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgb18030codec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqgb18030codec.h b/qtinterface/interface_tqt3/tqgb18030codec.h new file mode 100644 index 0000000..2e7df16 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgb18030codec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGb18030Codec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGb18030Codec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQGB18030CODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgbkcodec.h b/qtinterface/interface_tqt3/tqgbkcodec.h new file mode 100644 index 0000000..a1fa4fa --- /dev/null +++ b/qtinterface/interface_tqt3/tqgbkcodec.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +// Pull in all qgb18030codec defines + +#include + +#endif /* TQT_TQGBKCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgcache.cpp b/qtinterface/interface_tqt3/tqgcache.cpp new file mode 100644 index 0000000..0e845c4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgcache.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqgcache.h b/qtinterface/interface_tqt3/tqgcache.h new file mode 100644 index 0000000..e89b032 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgcache.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGCache class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGCache class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQGCACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgdict.cpp b/qtinterface/interface_tqt3/tqgdict.cpp new file mode 100644 index 0000000..5d8d1c0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqgdict.h b/qtinterface/interface_tqt3/tqgdict.h new file mode 100644 index 0000000..1ca1cda --- /dev/null +++ b/qtinterface/interface_tqt3/tqgdict.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGDict class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQGDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgeneric.h b/qtinterface/interface_tqt3/tqgeneric.h new file mode 100644 index 0000000..1e80766 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgeneric.h @@ -0,0 +1,37 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#endif // USE_QT4 + +#endif /* TQT_TQGENERIC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgif.h b/qtinterface/interface_tqt3/tqgif.h new file mode 100644 index 0000000..1838d80 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgif.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Include the Qt3 gif defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Include the Qt4 gif defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGIF_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgl.cpp b/qtinterface/interface_tqt3/tqgl.cpp new file mode 100644 index 0000000..2d512e9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgl.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqgl.h b/qtinterface/interface_tqt3/tqgl.h new file mode 100644 index 0000000..4706316 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgl.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGL class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGL class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqglcolormap.cpp b/qtinterface/interface_tqt3/tqglcolormap.cpp new file mode 100644 index 0000000..08c51fa --- /dev/null +++ b/qtinterface/interface_tqt3/tqglcolormap.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqglcolormap.h b/qtinterface/interface_tqt3/tqglcolormap.h new file mode 100644 index 0000000..03ded2c --- /dev/null +++ b/qtinterface/interface_tqt3/tqglcolormap.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGLColormap class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGLColormap class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGLCOLORMAP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqglist.cpp b/qtinterface/interface_tqt3/tqglist.cpp new file mode 100644 index 0000000..8b749e2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqglist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqglist.h b/qtinterface/interface_tqt3/tqglist.h new file mode 100644 index 0000000..c042650 --- /dev/null +++ b/qtinterface/interface_tqt3/tqglist.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGList class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqglobal.h b/qtinterface/interface_tqt3/tqglobal.h new file mode 100644 index 0000000..a7792fb --- /dev/null +++ b/qtinterface/interface_tqt3/tqglobal.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in all Qt3 global defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in all Qt4 global defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGLOBAL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgplugin.cpp b/qtinterface/interface_tqt3/tqgplugin.cpp new file mode 100644 index 0000000..8264258 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqgplugin.h b/qtinterface/interface_tqt3/tqgplugin.h new file mode 100644 index 0000000..8f2c4cd --- /dev/null +++ b/qtinterface/interface_tqt3/tqgplugin.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGPlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGPlugin class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQGPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgrid.cpp b/qtinterface/interface_tqt3/tqgrid.cpp new file mode 100644 index 0000000..b5852b8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgrid.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqgrid.h b/qtinterface/interface_tqt3/tqgrid.h new file mode 100644 index 0000000..9e8eba8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgrid.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGrid class +// For Qt3, some changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGrid class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGRID_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgridview.cpp b/qtinterface/interface_tqt3/tqgridview.cpp new file mode 100644 index 0000000..0bd9ef3 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgridview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqgridview.h b/qtinterface/interface_tqt3/tqgridview.h new file mode 100644 index 0000000..21e2b25 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgridview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGridView class +// For Qt3, some changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGridView class +// For Qt4, no changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGRIDVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgroupbox.cpp b/qtinterface/interface_tqt3/tqgroupbox.cpp new file mode 100644 index 0000000..6384063 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgroupbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqgroupbox.h b/qtinterface/interface_tqt3/tqgroupbox.h new file mode 100644 index 0000000..dbedf25 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgroupbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGroupBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGroupBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGROUPBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgrpbox.h b/qtinterface/interface_tqt3/tqgrpbox.h new file mode 100644 index 0000000..33e4df3 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgrpbox.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQGRPBOX_H +#define TQT_TQGRPBOX_H + +#include + +// Pull in tqgroupbox defines + +#include + +#endif /* TQT_TQGRPBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqguardedptr.cpp b/qtinterface/interface_tqt3/tqguardedptr.cpp new file mode 100644 index 0000000..51b4f6b --- /dev/null +++ b/qtinterface/interface_tqt3/tqguardedptr.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqguardedptr.h b/qtinterface/interface_tqt3/tqguardedptr.h new file mode 100644 index 0000000..e47a81a --- /dev/null +++ b/qtinterface/interface_tqt3/tqguardedptr.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGuardedPtr class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGuardedPtr class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQGUARDEDPTR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqgvector.cpp b/qtinterface/interface_tqt3/tqgvector.cpp new file mode 100644 index 0000000..447cea1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgvector.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqgvector.h b/qtinterface/interface_tqt3/tqgvector.h new file mode 100644 index 0000000..6110e17 --- /dev/null +++ b/qtinterface/interface_tqt3/tqgvector.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QGVector class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QGVector class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQGVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqhbox.cpp b/qtinterface/interface_tqt3/tqhbox.cpp new file mode 100644 index 0000000..e100ceb --- /dev/null +++ b/qtinterface/interface_tqt3/tqhbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqhbox.h b/qtinterface/interface_tqt3/tqhbox.h new file mode 100644 index 0000000..759912a --- /dev/null +++ b/qtinterface/interface_tqt3/tqhbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqhbuttongroup.cpp b/qtinterface/interface_tqt3/tqhbuttongroup.cpp new file mode 100644 index 0000000..4fe34a7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqhbuttongroup.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqhbuttongroup.h b/qtinterface/interface_tqt3/tqhbuttongroup.h new file mode 100644 index 0000000..90ae108 --- /dev/null +++ b/qtinterface/interface_tqt3/tqhbuttongroup.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHButtonGroup class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHButtonGroup class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHBUTTONGROUP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqheader.cpp b/qtinterface/interface_tqt3/tqheader.cpp new file mode 100644 index 0000000..6496eda --- /dev/null +++ b/qtinterface/interface_tqt3/tqheader.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqheader.h b/qtinterface/interface_tqt3/tqheader.h new file mode 100644 index 0000000..67ad628 --- /dev/null +++ b/qtinterface/interface_tqt3/tqheader.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHeader class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHeader class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHEADER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqhgroupbox.cpp b/qtinterface/interface_tqt3/tqhgroupbox.cpp new file mode 100644 index 0000000..67e1999 --- /dev/null +++ b/qtinterface/interface_tqt3/tqhgroupbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqhgroupbox.h b/qtinterface/interface_tqt3/tqhgroupbox.h new file mode 100644 index 0000000..0dee6ef --- /dev/null +++ b/qtinterface/interface_tqt3/tqhgroupbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHGroupBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHGroupBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHGROUPBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqhostaddress.cpp b/qtinterface/interface_tqt3/tqhostaddress.cpp new file mode 100644 index 0000000..4ce3433 --- /dev/null +++ b/qtinterface/interface_tqt3/tqhostaddress.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqhostaddress.h b/qtinterface/interface_tqt3/tqhostaddress.h new file mode 100644 index 0000000..15b2475 --- /dev/null +++ b/qtinterface/interface_tqt3/tqhostaddress.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHostAddress class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHostAddress class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHOSTADDRESS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqhttp.cpp b/qtinterface/interface_tqt3/tqhttp.cpp new file mode 100644 index 0000000..26581ee --- /dev/null +++ b/qtinterface/interface_tqt3/tqhttp.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqhttp.h b/qtinterface/interface_tqt3/tqhttp.h new file mode 100644 index 0000000..2ad20bc --- /dev/null +++ b/qtinterface/interface_tqt3/tqhttp.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHttp class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHttp class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQHTTP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqiconset.cpp b/qtinterface/interface_tqt3/tqiconset.cpp new file mode 100644 index 0000000..c1e3b7a --- /dev/null +++ b/qtinterface/interface_tqt3/tqiconset.cpp @@ -0,0 +1,136 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +#include "Qt/q3cleanuphandler.h" + +static TQIconFactory *defaultFac = 0; +static Q3SingleCleanupHandler 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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqiconset.h b/qtinterface/interface_tqt3/tqiconset.h new file mode 100644 index 0000000..d50aaa2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqiconset.h @@ -0,0 +1,70 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAccel class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAccel class +// For Qt4, some changes are needed + +#include +#include + +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 */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqiconview.cpp b/qtinterface/interface_tqt3/tqiconview.cpp new file mode 100644 index 0000000..921897b --- /dev/null +++ b/qtinterface/interface_tqt3/tqiconview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqiconview.h b/qtinterface/interface_tqt3/tqiconview.h new file mode 100644 index 0000000..76678d5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqiconview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QIconView class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QIconView class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQICONVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqimage.cpp b/qtinterface/interface_tqt3/tqimage.cpp new file mode 100644 index 0000000..d6256f4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqimage.cpp @@ -0,0 +1,69 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqimage.h b/qtinterface/interface_tqt3/tqimage.h new file mode 100644 index 0000000..d50be55 --- /dev/null +++ b/qtinterface/interface_tqt3/tqimage.h @@ -0,0 +1,67 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QImage class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QImage class +// For Qt4, some changes are needed + +#include +#include +#include + +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 */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqimageformatplugin.cpp b/qtinterface/interface_tqt3/tqimageformatplugin.cpp new file mode 100644 index 0000000..e291969 --- /dev/null +++ b/qtinterface/interface_tqt3/tqimageformatplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqimageformatplugin.h b/qtinterface/interface_tqt3/tqimageformatplugin.h new file mode 100644 index 0000000..4163e2e --- /dev/null +++ b/qtinterface/interface_tqt3/tqimageformatplugin.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QImageFormatPlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QImageFormatPlugin class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQIMAGEFORMATPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqinputcontext.cpp b/qtinterface/interface_tqt3/tqinputcontext.cpp new file mode 100644 index 0000000..e732702 --- /dev/null +++ b/qtinterface/interface_tqt3/tqinputcontext.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqinputcontext.h b/qtinterface/interface_tqt3/tqinputcontext.h new file mode 100644 index 0000000..38b1eda --- /dev/null +++ b/qtinterface/interface_tqt3/tqinputcontext.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QInputContext class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QInputContext class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQINPUTCONTEXT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqinputcontextfactory.cpp b/qtinterface/interface_tqt3/tqinputcontextfactory.cpp new file mode 100644 index 0000000..900c64f --- /dev/null +++ b/qtinterface/interface_tqt3/tqinputcontextfactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqinputcontextfactory.h b/qtinterface/interface_tqt3/tqinputcontextfactory.h new file mode 100644 index 0000000..c5aa040 --- /dev/null +++ b/qtinterface/interface_tqt3/tqinputcontextfactory.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QInputContextFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QInputContextFactory class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQINPUTCONTEXTFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqinputdialog.cpp b/qtinterface/interface_tqt3/tqinputdialog.cpp new file mode 100644 index 0000000..341ee19 --- /dev/null +++ b/qtinterface/interface_tqt3/tqinputdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqinputdialog.h b/qtinterface/interface_tqt3/tqinputdialog.h new file mode 100644 index 0000000..b8bbf97 --- /dev/null +++ b/qtinterface/interface_tqt3/tqinputdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QInputDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QInputDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQINPUTDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqintcach.h b/qtinterface/interface_tqt3/tqintcach.h new file mode 100644 index 0000000..463d34b --- /dev/null +++ b/qtinterface/interface_tqt3/tqintcach.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQINTCACH_H +#define TQT_TQINTCACH_H + +#include + +// Pull in all qintcache defines + +#include + +#endif /* TQT_TQINTCACH_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqintcache.cpp b/qtinterface/interface_tqt3/tqintcache.cpp new file mode 100644 index 0000000..4ae1ce4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqintcache.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqintcache.h b/qtinterface/interface_tqt3/tqintcache.h new file mode 100644 index 0000000..e5b8790 --- /dev/null +++ b/qtinterface/interface_tqt3/tqintcache.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QIntCache class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QIntCache class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQINTCACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqintdict.cpp b/qtinterface/interface_tqt3/tqintdict.cpp new file mode 100644 index 0000000..3b9138a --- /dev/null +++ b/qtinterface/interface_tqt3/tqintdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqintdict.h b/qtinterface/interface_tqt3/tqintdict.h new file mode 100644 index 0000000..31d99d9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqintdict.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QIntDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QIntDict class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQINTDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqinterlacestyle.cpp b/qtinterface/interface_tqt3/tqinterlacestyle.cpp new file mode 100644 index 0000000..1891e14 --- /dev/null +++ b/qtinterface/interface_tqt3/tqinterlacestyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +//#include diff --git a/qtinterface/interface_tqt3/tqinterlacestyle.h b/qtinterface/interface_tqt3/tqinterlacestyle.h new file mode 100644 index 0000000..ca87293 --- /dev/null +++ b/qtinterface/interface_tqt3/tqinterlacestyle.h @@ -0,0 +1,49 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QInterlaceStyle class +// For Qt3, no changes are needed + +#include + +#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 + +#error "Not ported to new API as of Qt4!" + +#endif // USE_QT4 + +#endif /* TQT_TQINTERLACESTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqiodev.h b/qtinterface/interface_tqt3/tqiodev.h new file mode 100644 index 0000000..a6984b4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqiodev.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQIODEV_H +#define TQT_TQIODEV_H + +#include + +// Pull in tqiodevice defines + +#include + +#endif /* TQT_TQIODEV_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqiodevice.cpp b/qtinterface/interface_tqt3/tqiodevice.cpp new file mode 100644 index 0000000..ab6c485 --- /dev/null +++ b/qtinterface/interface_tqt3/tqiodevice.cpp @@ -0,0 +1,70 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqiodevice.h b/qtinterface/interface_tqt3/tqiodevice.h new file mode 100644 index 0000000..976e6c6 --- /dev/null +++ b/qtinterface/interface_tqt3/tqiodevice.h @@ -0,0 +1,60 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QIODevice class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QIODevice class +// For Qt4, no changes are needed + +#define QT_NO_QOBJECT +#include +#undef QT_NO_QOBJECT + +// class TQIODevice : public QIODevice { +// public: +// TQIODevice(); +// #ifndef QT_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 */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqjiscodec.cpp b/qtinterface/interface_tqt3/tqjiscodec.cpp new file mode 100644 index 0000000..ce7d51a --- /dev/null +++ b/qtinterface/interface_tqt3/tqjiscodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqjiscodec.h b/qtinterface/interface_tqt3/tqjiscodec.h new file mode 100644 index 0000000..6832562 --- /dev/null +++ b/qtinterface/interface_tqt3/tqjiscodec.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QJisCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QJisCodec class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQJISCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqjpegio.h b/qtinterface/interface_tqt3/tqjpegio.h new file mode 100644 index 0000000..9b0104c --- /dev/null +++ b/qtinterface/interface_tqt3/tqjpegio.h @@ -0,0 +1,42 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 ntqjpegio.h defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 ntqjpegio.h defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQJPEGIO_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqjpunicode.cpp b/qtinterface/interface_tqt3/tqjpunicode.cpp new file mode 100644 index 0000000..91b864b --- /dev/null +++ b/qtinterface/interface_tqt3/tqjpunicode.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqjpunicode.h b/qtinterface/interface_tqt3/tqjpunicode.h new file mode 100644 index 0000000..8f6459c --- /dev/null +++ b/qtinterface/interface_tqt3/tqjpunicode.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QJpUnicodeConv class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QJpUnicodeConv class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQJPUNICODE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqkeycode.h b/qtinterface/interface_tqt3/tqkeycode.h new file mode 100644 index 0000000..b404c21 --- /dev/null +++ b/qtinterface/interface_tqt3/tqkeycode.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +// Pull in tqkeycode defines + +#include + +#endif /* TQT_TQKEYCODE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqkeysequence.cpp b/qtinterface/interface_tqt3/tqkeysequence.cpp new file mode 100644 index 0000000..f703f02 --- /dev/null +++ b/qtinterface/interface_tqt3/tqkeysequence.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqkeysequence.h b/qtinterface/interface_tqt3/tqkeysequence.h new file mode 100644 index 0000000..184d573 --- /dev/null +++ b/qtinterface/interface_tqt3/tqkeysequence.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QKeySequence class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QKeySequence class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQKEYSEQUENCE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlabel.cpp b/qtinterface/interface_tqt3/tqlabel.cpp new file mode 100644 index 0000000..42ebe12 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlabel.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqlabel.h b/qtinterface/interface_tqt3/tqlabel.h new file mode 100644 index 0000000..afdbd2f --- /dev/null +++ b/qtinterface/interface_tqt3/tqlabel.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLabel class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLabel class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLABEL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlayout.cpp b/qtinterface/interface_tqt3/tqlayout.cpp new file mode 100644 index 0000000..ae238ca --- /dev/null +++ b/qtinterface/interface_tqt3/tqlayout.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqlayout.h b/qtinterface/interface_tqt3/tqlayout.h new file mode 100644 index 0000000..fd1985a --- /dev/null +++ b/qtinterface/interface_tqt3/tqlayout.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLayout class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLayout class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLAYOUT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlcdnum.h b/qtinterface/interface_tqt3/tqlcdnum.h new file mode 100644 index 0000000..a8eb1f9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlcdnum.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +// Pull in tqlcdnumber defines + +#include + +#endif /* TQT_TQLCDNUMBER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlcdnumber.cpp b/qtinterface/interface_tqt3/tqlcdnumber.cpp new file mode 100644 index 0000000..6f9c0cd --- /dev/null +++ b/qtinterface/interface_tqt3/tqlcdnumber.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqlcdnumber.h b/qtinterface/interface_tqt3/tqlcdnumber.h new file mode 100644 index 0000000..e337f09 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlcdnumber.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLCDNumber class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLCDNumber class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLCDNUMBER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlibrary.cpp b/qtinterface/interface_tqt3/tqlibrary.cpp new file mode 100644 index 0000000..49797cc --- /dev/null +++ b/qtinterface/interface_tqt3/tqlibrary.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqlibrary.h b/qtinterface/interface_tqt3/tqlibrary.h new file mode 100644 index 0000000..e19fbd1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlibrary.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLibrary class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLibrary class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLIBRARY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlined.h b/qtinterface/interface_tqt3/tqlined.h new file mode 100644 index 0000000..f1f6e05 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlined.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQLINED_H +#define TQT_TQLINED_H + +#include + +// Pull in tqlineedit defines + +#include + +#endif /* TQT_TQLINED_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlineedit.cpp b/qtinterface/interface_tqt3/tqlineedit.cpp new file mode 100644 index 0000000..140e088 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlineedit.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqlineedit.h b/qtinterface/interface_tqt3/tqlineedit.h new file mode 100644 index 0000000..c716283 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlineedit.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLineEdit class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLineEdit class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLINEEDIT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlist.h b/qtinterface/interface_tqt3/tqlist.h new file mode 100644 index 0000000..1c88514 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlist.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQLIST_H +#define TQT_TQLIST_H + +#include + +// Pull in tqptrlist defines + +#include + +#endif /* TQT_TQLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlistbox.cpp b/qtinterface/interface_tqt3/tqlistbox.cpp new file mode 100644 index 0000000..3ccebe1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlistbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqlistbox.h b/qtinterface/interface_tqt3/tqlistbox.h new file mode 100644 index 0000000..0235e64 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlistbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QListBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QListBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLISTBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlistiterator.cpp b/qtinterface/interface_tqt3/tqlistiterator.cpp new file mode 100644 index 0000000..031d59e --- /dev/null +++ b/qtinterface/interface_tqt3/tqlistiterator.cpp @@ -0,0 +1,48 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +// template +// TQListIterator::TQListIterator(const QList &t) { +// index = 0; +// list = t; +// } +// +// template +// TQListIterator::~TQListIterator() { +// // +// } + +// template +// T TQListIterator::current() { +// if ((index >= 0) && (index < list->size())) { +// return list->at(index); +// } +// else { +// return 0; +// } +// } + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlistiterator.h b/qtinterface/interface_tqt3/tqlistiterator.h new file mode 100644 index 0000000..0e59065 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlistiterator.h @@ -0,0 +1,86 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQLISTITERATOR_H +#define TQT_TQLISTITERATOR_H + +#include + +#ifdef USE_QT4 + +// Implement the TQListIterator class +// For Qt4, this is a combination of the QList::iterator and QMutableListIterator classes, +// with the constructor from QMutableListIterator used primarily + +//#include +#include + +template +//class TQListIterator : public QList::iterator +//class TQListIterator : public QMutableListIterator +class TQListIterator +{ +public: + inline TQListIterator(const QList &t) {index = 0; list = &t;} + inline ~TQListIterator() {} + + inline T current() { + if ((index >= 0) && (index < list->size())) { + return list->at(index); + } + else { + return 0; + } + } + + int operator++() { index++; return index; } + +private: + int index; + const QList *list; +}; + +template +class TQListIteratorRetPtr +{ +public: + inline TQListIteratorRetPtr(const QList &t) {index = 0; list = &t;} + inline ~TQListIteratorRetPtr() {} + + inline T * current() { + if ((index >= 0) && (index < list->size())) { + return const_cast(&(list->at(index))); + } + else { + return 0; + } + } + + int operator++() { index++; return index; } + +private: + int index; + const QList *list; +}; + +#endif // USE_QT4 + +#endif /* TQT_TQLISTITERATOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlistview.cpp b/qtinterface/interface_tqt3/tqlistview.cpp new file mode 100644 index 0000000..cd3f377 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlistview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqlistview.h b/qtinterface/interface_tqt3/tqlistview.h new file mode 100644 index 0000000..9e585da --- /dev/null +++ b/qtinterface/interface_tqt3/tqlistview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QListView class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QListView class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLISTVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlocale.cpp b/qtinterface/interface_tqt3/tqlocale.cpp new file mode 100644 index 0000000..7fd4de4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlocale.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqlocale.h b/qtinterface/interface_tqt3/tqlocale.h new file mode 100644 index 0000000..dd5772c --- /dev/null +++ b/qtinterface/interface_tqt3/tqlocale.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLocale class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLocale class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLOCALE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqlocalfs.cpp b/qtinterface/interface_tqt3/tqlocalfs.cpp new file mode 100644 index 0000000..fa32fc4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlocalfs.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqlocalfs.h b/qtinterface/interface_tqt3/tqlocalfs.h new file mode 100644 index 0000000..54d61e8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqlocalfs.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QLocalFs class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QLocalFs class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQLOCALFS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmainwindow.cpp b/qtinterface/interface_tqt3/tqmainwindow.cpp new file mode 100644 index 0000000..852eaa0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmainwindow.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqmainwindow.h b/qtinterface/interface_tqt3/tqmainwindow.h new file mode 100644 index 0000000..3cbda89 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmainwindow.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMainWindow class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMainWindow class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMAINWINDOW_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmap.cpp b/qtinterface/interface_tqt3/tqmap.cpp new file mode 100644 index 0000000..ce20fe0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmap.cpp @@ -0,0 +1,243 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmap.h b/qtinterface/interface_tqt3/tqmap.h new file mode 100644 index 0000000..b5f89ae --- /dev/null +++ b/qtinterface/interface_tqt3/tqmap.h @@ -0,0 +1,935 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMap class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMap class +// For Qt4, some changes are needed + +#include +#include +#include + +/**************************************************************************** +** +** 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 +struct TQMapNode : public TQMapNodeBase +{ + TQMapNode( const K& _key, const T& _data ) { data = _data; key = _key; } + TQMapNode( const K& _key ) { key = _key; } + TQMapNode( const TQMapNode& _n ) { key = _n.key; data = _n.data; } + TQMapNode() { } + T data; + K key; +}; + + +template +class TQMapIterator +{ + public: + /** + * Typedefs + */ + typedef TQMapNode< K, T >* NodePtr; +#ifndef QT_NO_STL + typedef std::bidirectional_iterator_tag iterator_category; +#endif + typedef T value_type; +#ifndef QT_NO_STL + typedef ptrdiff_t difference_type; +#else + typedef int difference_type; +#endif + typedef T* pointer; + typedef T& reference; + + /** + * Variables + */ + TQMapNode* node; + + /** + * Functions + */ + TQMapIterator() : node( 0 ) {} + TQMapIterator( TQMapNode* p ) : node( p ) {} + TQMapIterator( const TQMapIterator& it ) : node( it.node ) {} + + bool operator==( const TQMapIterator& it ) const { return node == it.node; } + bool operator!=( const TQMapIterator& 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& operator++() { + inc(); + return *this; + } + + TQMapIterator operator++(int) { + TQMapIterator tmp = *this; + inc(); + return tmp; + } + + TQMapIterator& operator--() { + dec(); + return *this; + } + + TQMapIterator operator--(int) { + TQMapIterator tmp = *this; + dec(); + return tmp; + } +}; + +template +int TQMapIterator::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 +int TQMapIterator::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 TQMapConstIterator +{ + public: + /** + * Typedefs + */ + typedef TQMapNode< K, T >* NodePtr; +#ifndef QT_NO_STL + typedef std::bidirectional_iterator_tag iterator_category; +#endif + typedef T value_type; +#ifndef QT_NO_STL + typedef ptrdiff_t difference_type; +#else + typedef int difference_type; +#endif + typedef const T* pointer; + typedef const T& reference; + + + /** + * Variables + */ + TQMapNode* node; + + /** + * Functions + */ + TQMapConstIterator() : node( 0 ) {} + TQMapConstIterator( TQMapNode* p ) : node( p ) {} + TQMapConstIterator( const TQMapConstIterator& it ) : node( it.node ) {} + TQMapConstIterator( const TQMapIterator& it ) : node( it.node ) {} + + bool operator==( const TQMapConstIterator& it ) const { return node == it.node; } + bool operator!=( const TQMapConstIterator& 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& operator++() { + inc(); + return *this; + } + + TQMapConstIterator operator++(int) { + TQMapConstIterator tmp = *this; + inc(); + return tmp; + } + + TQMapConstIterator& operator--() { + dec(); + return *this; + } + + TQMapConstIterator operator--(int) { + TQMapConstIterator tmp = *this; + dec(); + return tmp; + } +}; + +template +int TQMapConstIterator::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 +int TQMapConstIterator::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 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 +TQMapPrivate::TQMapPrivate() { + header = new Node; + header->color = TQMapNodeBase::Red; // Mark the header + header->parent = 0; + header->left = header->right = header; +} +template +TQMapPrivate::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 +Q_TYPENAME TQMapPrivate::NodePtr TQMapPrivate::copy( Q_TYPENAME TQMapPrivate::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 +void TQMapPrivate::clear() +{ + clear( (NodePtr)(header->parent) ); + header->color = TQMapNodeBase::Red; + header->parent = 0; + header->left = header->right = header; + node_count = 0; +} + +template +void TQMapPrivate::clear( Q_TYPENAME TQMapPrivate::NodePtr p ) +{ + while ( p != 0 ) { + clear( (NodePtr)p->right ); + NodePtr y = (NodePtr)p->left; + delete p; + p = y; + } +} + +template +Q_TYPENAME TQMapPrivate::ConstIterator TQMapPrivate::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 +Q_TYPENAME TQMapPrivate::Iterator TQMapPrivate::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 +Q_TYPENAME TQMapPrivate::Iterator TQMapPrivate::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( QT_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 QDeepCopy; + +template +class TQMap +{ +public: + /** + * Typedefs + */ + typedef Key key_type; + typedef T mapped_type; + typedef QPair value_type; + typedef value_type* pointer; + typedef const value_type* const_pointer; + typedef value_type& reference; + typedef const value_type& const_reference; +#ifndef QT_NO_STL + typedef ptrdiff_t difference_type; +#else + typedef int difference_type; +#endif + typedef size_t size_type; + typedef TQMapIterator iterator; + typedef TQMapConstIterator const_iterator; + typedef QPair 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& m ) + { + sh = m.sh; sh->ref(); + } + +#ifndef QT_NO_STL + TQMap( const std::map& m ) + { + sh = new TQMapPrivate; + Q_TYPENAME std::map::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& operator= ( const TQMap& m ); +#ifndef QT_NO_STL + TQMap& operator= ( const std::map& m ) + { + clear(); + Q_TYPENAME std::map::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& m) + { + QMapIterator i(m); + while (i.hasNext()) { + i.next(); + insert(i.key(), i.value()); + } + } + TQMap& operator= (const QMap& m) + { + this->clear(); + QMapIterator i(m); + while (i.hasNext()) { + i.next(); + insert(i.key(), i.value()); + } + return *this; + } + + operator QMap() const { + QMap 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 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 keys() const { + Q3ValueList r; + for (const_iterator i=begin(); i!=end(); ++i) + r.append(i.key()); + return r; + } + + Q3ValueList values() const { + Q3ValueList 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(Q_FULL_TEMPLATE_INSTANTIATION) + bool operator==( const TQMap& ) const { return FALSE; } +#ifndef QT_NO_STL + bool operator==( const std::map& ) const { return FALSE; } +#endif +#endif + +protected: + /** + * Helpers + */ + void detach() { if ( sh->count > 1 ) detachInternal(); } + + Priv* sh; +private: + void detachInternal(); + + friend class QDeepCopy< TQMap >; +}; + +template +TQMap& TQMap::operator= ( const TQMap& m ) +{ + m.sh->ref(); + if ( sh->deref() ) + delete sh; + sh = m.sh; + return *this; +} + +template +Q_TYPENAME TQMap::insert_pair TQMap::insert( const Q_TYPENAME TQMap::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( it, inserted ); +} + +template +void TQMap::erase( const Key& k ) +{ + detach(); + iterator it( sh->find( k ).node ); + if ( it != end() ) + sh->remove( it ); +} + +template +Q_TYPENAME TQMap::size_type TQMap::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 +T& TQMap::operator[] ( const Key& k ) +{ + detach(); + TQMapNode* p = sh->find( k ).node; + if ( p != sh->end().node ) + return p->data; + return insert( k, T() ).data(); +} + +template +void TQMap::clear() +{ + if ( sh->count == 1 ) + sh->clear(); + else { + sh->deref(); + sh = new TQMapPrivate; + } +} + +template +Q_TYPENAME TQMap::iterator TQMap::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 +void TQMap::remove( const Key& k ) +{ + detach(); + iterator it( sh->find( k ).node ); + if ( it != end() ) + sh->remove( it ); +} + +template +void TQMap::detachInternal() +{ + sh->deref(); sh = new TQMapPrivate( sh ); +} + + +#ifndef QT_NO_DATASTREAM +template +QDataStream& operator>>( QDataStream& s, TQMap& 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 +QDataStream& operator<<( QDataStream& s, const TQMap& m ) { + s << (Q_UINT32)m.size(); + TQMapConstIterator it = m.begin(); + for( ; it != m.end(); ++it ) + s << it.key() << it.data(); + return s; +} +#endif + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQMAP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmemarray.cpp b/qtinterface/interface_tqt3/tqmemarray.cpp new file mode 100644 index 0000000..14a78b2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmemarray.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmemarray.h b/qtinterface/interface_tqt3/tqmemarray.h new file mode 100644 index 0000000..8ec4805 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmemarray.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMemArray class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMemArray class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMEMARRAY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmenubar.cpp b/qtinterface/interface_tqt3/tqmenubar.cpp new file mode 100644 index 0000000..a9f6525 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmenubar.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqmenubar.h b/qtinterface/interface_tqt3/tqmenubar.h new file mode 100644 index 0000000..4d7b1d4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmenubar.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMenuBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMenuBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMENUBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmenudata.cpp b/qtinterface/interface_tqt3/tqmenudata.cpp new file mode 100644 index 0000000..9aee2bb --- /dev/null +++ b/qtinterface/interface_tqt3/tqmenudata.cpp @@ -0,0 +1,82 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmenudata.h b/qtinterface/interface_tqt3/tqmenudata.h new file mode 100644 index 0000000..3d8b0ef --- /dev/null +++ b/qtinterface/interface_tqt3/tqmenudata.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMenuData class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMenuData class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMENUDATA_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmenudta.h b/qtinterface/interface_tqt3/tqmenudta.h new file mode 100644 index 0000000..b5f74b3 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmenudta.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQMENUDTA_H +#define TQT_TQMENUDTA_H + +#include + +// Pull in tqmenudata defines + +#include + +#endif /* TQT_TQMENUDTA_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmessagebox.cpp b/qtinterface/interface_tqt3/tqmessagebox.cpp new file mode 100644 index 0000000..b976aab --- /dev/null +++ b/qtinterface/interface_tqt3/tqmessagebox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqmessagebox.h b/qtinterface/interface_tqt3/tqmessagebox.h new file mode 100644 index 0000000..b159dc1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmessagebox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMessageBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMessageBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMESSAGEBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmetaobj.h b/qtinterface/interface_tqt3/tqmetaobj.h new file mode 100644 index 0000000..efcfca9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmetaobj.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQMETAOBJ_H +#define TQT_TQMETAOBJ_H + +#include + +// Pull in tqmetaobject defines + +#include + +#endif /* TQT_TQMETAOBJ_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmetaobject.cpp b/qtinterface/interface_tqt3/tqmetaobject.cpp new file mode 100644 index 0000000..db0beb7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmetaobject.cpp @@ -0,0 +1,303 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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;inumSlots( 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;inumSignals( 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 QT_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;inumProperties( 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 // QT_NO_PROPERTIES + +bool QMetaProperty::writable() const +{ + return isWritable(); +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmetaobject.h b/qtinterface/interface_tqt3/tqmetaobject.h new file mode 100644 index 0000000..c4212c4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmetaobject.h @@ -0,0 +1,48 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include +#include + +#ifdef USE_QT3 + +// Reimplement the QMetaObject class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMetaObject class +// For Qt4, some changes are needed + +#include +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMETAOBJECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmime.cpp b/qtinterface/interface_tqt3/tqmime.cpp new file mode 100644 index 0000000..5c80b76 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmime.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqmime.h b/qtinterface/interface_tqt3/tqmime.h new file mode 100644 index 0000000..efcc5b7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmime.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMime class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMime class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMIME_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmlined.h b/qtinterface/interface_tqt3/tqmlined.h new file mode 100644 index 0000000..ce05649 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmlined.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQMLINED_H +#define TQT_TQMLINED_H + +#include + +// Pull in tqmultilineedit defines + +#include + +#endif /* TQT_TQMLINED_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmngio.h b/qtinterface/interface_tqt3/tqmngio.h new file mode 100644 index 0000000..45c625d --- /dev/null +++ b/qtinterface/interface_tqt3/tqmngio.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qmngio defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qmngio defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMNGIO_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmodules.h b/qtinterface/interface_tqt3/tqmodules.h new file mode 100644 index 0000000..57f365e --- /dev/null +++ b/qtinterface/interface_tqt3/tqmodules.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 modules defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 modules defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMODULES_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmotifplusstyle.cpp b/qtinterface/interface_tqt3/tqmotifplusstyle.cpp new file mode 100644 index 0000000..86158ea --- /dev/null +++ b/qtinterface/interface_tqt3/tqmotifplusstyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqmotifplusstyle.h b/qtinterface/interface_tqt3/tqmotifplusstyle.h new file mode 100644 index 0000000..adf5df5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmotifplusstyle.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMotifPlusStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMotifPlusStyle class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQMOTIFPLUSSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmotifstyle.cpp b/qtinterface/interface_tqt3/tqmotifstyle.cpp new file mode 100644 index 0000000..07f6114 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmotifstyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqmotifstyle.h b/qtinterface/interface_tqt3/tqmotifstyle.h new file mode 100644 index 0000000..4f5bb22 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmotifstyle.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMotifStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMotifStyle class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQACCEL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmovie.cpp b/qtinterface/interface_tqt3/tqmovie.cpp new file mode 100644 index 0000000..3fe8dcf --- /dev/null +++ b/qtinterface/interface_tqt3/tqmovie.cpp @@ -0,0 +1,57 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmovie.h b/qtinterface/interface_tqt3/tqmovie.h new file mode 100644 index 0000000..46355ca --- /dev/null +++ b/qtinterface/interface_tqt3/tqmovie.h @@ -0,0 +1,60 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMovie class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMovie class +// For Qt4, some changes are needed + +#include + +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 */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmsgbox.h b/qtinterface/interface_tqt3/tqmsgbox.h new file mode 100644 index 0000000..206cda0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmsgbox.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQMSGBOX_H +#define TQT_TQMSGBOX_H + +#include + +// Pull in tqmessagebox defines + +#include + +#endif /* TQT_TQMSGBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmultilinedit.h b/qtinterface/interface_tqt3/tqmultilinedit.h new file mode 100644 index 0000000..1715ff8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmultilinedit.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQMULTILINEDIT_H +#define TQT_TQMULTILINEDIT_H + +#include + +// Pull in tqmultilineedit defines + +#include + +#endif /* TQT_TQMULTILINEDIT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmultilineedit.cpp b/qtinterface/interface_tqt3/tqmultilineedit.cpp new file mode 100644 index 0000000..ec6d56e --- /dev/null +++ b/qtinterface/interface_tqt3/tqmultilineedit.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqmultilineedit.h b/qtinterface/interface_tqt3/tqmultilineedit.h new file mode 100644 index 0000000..3d42f50 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmultilineedit.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMultiLineEdit class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMultiLineEdit class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMULTILINEEDIT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqmutex.cpp b/qtinterface/interface_tqt3/tqmutex.cpp new file mode 100644 index 0000000..201bf5e --- /dev/null +++ b/qtinterface/interface_tqt3/tqmutex.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqmutex.h b/qtinterface/interface_tqt3/tqmutex.h new file mode 100644 index 0000000..6bcf738 --- /dev/null +++ b/qtinterface/interface_tqt3/tqmutex.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QMutex class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QMutex class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQMUTEX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqnamespace.cpp b/qtinterface/interface_tqt3/tqnamespace.cpp new file mode 100644 index 0000000..8e175f0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqnamespace.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqnamespace.h b/qtinterface/interface_tqt3/tqnamespace.h new file mode 100644 index 0000000..9e00d11 --- /dev/null +++ b/qtinterface/interface_tqt3/tqnamespace.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QNamespace class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QNamespace class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQNAMESPACE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqnetwork.h b/qtinterface/interface_tqt3/tqnetwork.h new file mode 100644 index 0000000..39164e9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqnetwork.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qnetwork defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qnetwork defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQNETWORK_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqnetworkprotocol.cpp b/qtinterface/interface_tqt3/tqnetworkprotocol.cpp new file mode 100644 index 0000000..03479e0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqnetworkprotocol.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqnetworkprotocol.h b/qtinterface/interface_tqt3/tqnetworkprotocol.h new file mode 100644 index 0000000..bd505d7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqnetworkprotocol.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QNetworkProtocol class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QNetworkProtocol class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQNETWORKPROTOCOL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqnp.cpp b/qtinterface/interface_tqt3/tqnp.cpp new file mode 100644 index 0000000..b6023b4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqnp.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqnp.h b/qtinterface/interface_tqt3/tqnp.h new file mode 100644 index 0000000..a8c728a --- /dev/null +++ b/qtinterface/interface_tqt3/tqnp.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QNPWidget class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QNPWidget class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQNP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqobjcoll.h b/qtinterface/interface_tqt3/tqobjcoll.h new file mode 100644 index 0000000..f8d1309 --- /dev/null +++ b/qtinterface/interface_tqt3/tqobjcoll.h @@ -0,0 +1,32 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQOBJCALL_H +#define TQT_TQOBJCALL_H + +#include + +// Pull in object collection defines + +#include +#include + +#endif /* TQT_TQOBJCALL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqobjdefs.h b/qtinterface/interface_tqt3/tqobjdefs.h new file mode 100644 index 0000000..ac138c0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqobjdefs.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQOBJDEFS_H +#define TQT_TQOBJDEFS_H + +#include + +// Pull in object definition defines + +#include + +#endif /* TQT_TQOBJDEFS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqobject.cpp b/qtinterface/interface_tqt3/tqobject.cpp new file mode 100644 index 0000000..8751bbd --- /dev/null +++ b/qtinterface/interface_tqt3/tqobject.cpp @@ -0,0 +1,54 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqobject.h b/qtinterface/interface_tqt3/tqobject.h new file mode 100644 index 0000000..6e7cf1d --- /dev/null +++ b/qtinterface/interface_tqt3/tqobject.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QObject class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QObject class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQOBJECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqobjectcleanuphandler.cpp b/qtinterface/interface_tqt3/tqobjectcleanuphandler.cpp new file mode 100644 index 0000000..ccd83d8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqobjectcleanuphandler.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqobjectcleanuphandler.h b/qtinterface/interface_tqt3/tqobjectcleanuphandler.h new file mode 100644 index 0000000..40f72dc --- /dev/null +++ b/qtinterface/interface_tqt3/tqobjectcleanuphandler.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QObjectCleanupHandler class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QObjectCleanupHandler class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQOBJECTCLEANUPHANDLER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqobjectdict.cpp b/qtinterface/interface_tqt3/tqobjectdict.cpp new file mode 100644 index 0000000..7c8d8cb --- /dev/null +++ b/qtinterface/interface_tqt3/tqobjectdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqobjectdict.h b/qtinterface/interface_tqt3/tqobjectdict.h new file mode 100644 index 0000000..c294808 --- /dev/null +++ b/qtinterface/interface_tqt3/tqobjectdict.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QObjectDictionary class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QObjectDictionary class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQOBJECTDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqobjectlist.cpp b/qtinterface/interface_tqt3/tqobjectlist.cpp new file mode 100644 index 0000000..109e375 --- /dev/null +++ b/qtinterface/interface_tqt3/tqobjectlist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqobjectlist.h b/qtinterface/interface_tqt3/tqobjectlist.h new file mode 100644 index 0000000..7e0430d --- /dev/null +++ b/qtinterface/interface_tqt3/tqobjectlist.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QObjectList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QObjectList class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQOBJECTLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpaintd.h b/qtinterface/interface_tqt3/tqpaintd.h new file mode 100644 index 0000000..9085b4f --- /dev/null +++ b/qtinterface/interface_tqt3/tqpaintd.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPAINTD_H +#define TQT_TQPAINTD_H + +#include + +// Pull in tqpaintdevice defines + +#include + +#endif /* TQT_TQPAINTD_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpaintdc.h b/qtinterface/interface_tqt3/tqpaintdc.h new file mode 100644 index 0000000..f2d8ecc --- /dev/null +++ b/qtinterface/interface_tqt3/tqpaintdc.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +// Pull in tqpaintdevicedefs defines + +#include + +#endif /* TQT_TQPAINTDC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpaintdevice.cpp b/qtinterface/interface_tqt3/tqpaintdevice.cpp new file mode 100644 index 0000000..c7d6b7d --- /dev/null +++ b/qtinterface/interface_tqt3/tqpaintdevice.cpp @@ -0,0 +1,123 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 before this file" +#endif +#define XRegisterIMInstantiateCallback qt_XRegisterIMInstantiateCallback +#define XUnregisterIMInstantiateCallback qt_XUnregisterIMInstantiateCallback +#define XSetIMValues qt_XSetIMValues +#include +#undef XRegisterIMInstantiateCallback +#undef XUnregisterIMInstantiateCallback +#undef XSetIMValues + +#include +#include +#include + +#include + +/*! + 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 QT_NO_XFTFREETYPE +// return rendhd ? XftDrawPicture( (XftDraw *) rendhd ) : 0; +// #else + return 0; +// #endif // QT_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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpaintdevice.h b/qtinterface/interface_tqt3/tqpaintdevice.h new file mode 100644 index 0000000..a800964 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpaintdevice.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPaintDevice class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPaintDevice class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPAINTDEVICE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpaintdevicemetrics.cpp b/qtinterface/interface_tqt3/tqpaintdevicemetrics.cpp new file mode 100644 index 0000000..279c65d --- /dev/null +++ b/qtinterface/interface_tqt3/tqpaintdevicemetrics.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqpaintdevicemetrics.h b/qtinterface/interface_tqt3/tqpaintdevicemetrics.h new file mode 100644 index 0000000..0f8637c --- /dev/null +++ b/qtinterface/interface_tqt3/tqpaintdevicemetrics.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPaintDeviceMetrics class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPaintDeviceMetrics class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPAINTDEVICEMETRICS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpainter.cpp b/qtinterface/interface_tqt3/tqpainter.cpp new file mode 100644 index 0000000..331c645 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpainter.cpp @@ -0,0 +1,44 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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(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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpainter.h b/qtinterface/interface_tqt3/tqpainter.h new file mode 100644 index 0000000..346e313 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpainter.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPainter class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPainter class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPAINTER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpair.cpp b/qtinterface/interface_tqt3/tqpair.cpp new file mode 100644 index 0000000..2ebaa1b --- /dev/null +++ b/qtinterface/interface_tqt3/tqpair.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqpair.h b/qtinterface/interface_tqt3/tqpair.h new file mode 100644 index 0000000..54ca243 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpair.h @@ -0,0 +1,143 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPair class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPair class +// For Qt4, some changes are needed + +#include + +/**************************************************************************** +** +** 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 +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& operator=(const TQPair& other) + { + if (this != &other) { + first = other.first; + second = other.second; + } + return *this; + } + + T1 first; + T2 second; +}; + +template +bool operator==( const TQPair& x, const TQPair& y ) +{ + return x.first == y.first && x.second == y.second; +} + +template +bool operator<( const TQPair& x, const TQPair& y ) +{ + return x.first < y.first || + ( !( y.first < x.first ) && x.second < y.second ); +} + +template +TQPair qMakePair( const T1& x, const T2& y ) +{ + return TQPair( x, y ); +} + +#ifndef QT_NO_DATASTREAM +template +inline QDataStream& operator>>( QDataStream& s, TQPair& p ) +{ + s >> p.first >> p.second; + return s; +} + +template +inline QDataStream& operator<<( QDataStream& s, const TQPair& p ) +{ + s << p.first << p.second; + return s; +} +#endif + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQPAIR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpalette.cpp b/qtinterface/interface_tqt3/tqpalette.cpp new file mode 100644 index 0000000..a77a715 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpalette.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqpalette.h b/qtinterface/interface_tqt3/tqpalette.h new file mode 100644 index 0000000..f579417 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpalette.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPalette class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPalette class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPALETTE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpdevmet.h b/qtinterface/interface_tqt3/tqpdevmet.h new file mode 100644 index 0000000..6b18b86 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpdevmet.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPDEVMET_H +#define TQT_TQPDEVMET_H + +#include + +// Pull in tqpaintdevicemetrics defines + +#include + +#endif /* TQT_TQPDEVMET_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpen.cpp b/qtinterface/interface_tqt3/tqpen.cpp new file mode 100644 index 0000000..4d3e9d7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpen.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqpen.h b/qtinterface/interface_tqt3/tqpen.h new file mode 100644 index 0000000..6b2b4c8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpen.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPen class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPen class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPEN_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpicture.cpp b/qtinterface/interface_tqt3/tqpicture.cpp new file mode 100644 index 0000000..c83ba3b --- /dev/null +++ b/qtinterface/interface_tqt3/tqpicture.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqpicture.h b/qtinterface/interface_tqt3/tqpicture.h new file mode 100644 index 0000000..d731d12 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpicture.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPicture class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPicture class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPICTURE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpixmap.cpp b/qtinterface/interface_tqt3/tqpixmap.cpp new file mode 100644 index 0000000..9ff8ccc --- /dev/null +++ b/qtinterface/interface_tqt3/tqpixmap.cpp @@ -0,0 +1,66 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +#include +#include + +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(this); +} + +const QBitmap *QPixmap::ptrmask() const { + QBitmap pm = mask(); + QBitmap *pr = ± + return pr; +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpixmap.h b/qtinterface/interface_tqt3/tqpixmap.h new file mode 100644 index 0000000..7ea37e2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpixmap.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPixmap class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPixmap class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPIXMAP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpixmapcache.cpp b/qtinterface/interface_tqt3/tqpixmapcache.cpp new file mode 100644 index 0000000..81b1c5d --- /dev/null +++ b/qtinterface/interface_tqt3/tqpixmapcache.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqpixmapcache.h b/qtinterface/interface_tqt3/tqpixmapcache.h new file mode 100644 index 0000000..11db548 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpixmapcache.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPixmapCache class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPixmapCache class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPIXMAPCACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqplatinumstyle.cpp b/qtinterface/interface_tqt3/tqplatinumstyle.cpp new file mode 100644 index 0000000..ef9c3bf --- /dev/null +++ b/qtinterface/interface_tqt3/tqplatinumstyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqplatinumstyle.h b/qtinterface/interface_tqt3/tqplatinumstyle.h new file mode 100644 index 0000000..72fae0c --- /dev/null +++ b/qtinterface/interface_tqt3/tqplatinumstyle.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPlatinumStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPlatinumStyle class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQPLATINUMSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpmcache.h b/qtinterface/interface_tqt3/tqpmcache.h new file mode 100644 index 0000000..0d7ad3a --- /dev/null +++ b/qtinterface/interface_tqt3/tqpmcache.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPMCACHE_H +#define TQT_TQPMCACHE_H + +#include + +// Pull in tqpixmapcache defines + +#include + +#endif /* TQT_TQPMCACHE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpngio.cpp b/qtinterface/interface_tqt3/tqpngio.cpp new file mode 100644 index 0000000..a5c5442 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpngio.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqpngio.h b/qtinterface/interface_tqt3/tqpngio.h new file mode 100644 index 0000000..4bd19d7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpngio.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPNGImage class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPNGImage class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQPNGIO_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpntarry.h b/qtinterface/interface_tqt3/tqpntarry.h new file mode 100644 index 0000000..cfff2f3 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpntarry.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPNTARRY_H +#define TQT_TQPNTARRY_H + +#include + +// Pull in tqpointarray defines + +#include + +#endif /* TQT_TQPNTARRY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpoint.cpp b/qtinterface/interface_tqt3/tqpoint.cpp new file mode 100644 index 0000000..bdc7769 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpoint.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqpoint.h b/qtinterface/interface_tqt3/tqpoint.h new file mode 100644 index 0000000..a3cdc91 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpoint.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPoint class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPoint class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPOINT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpointarray.cpp b/qtinterface/interface_tqt3/tqpointarray.cpp new file mode 100644 index 0000000..56ca7a1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpointarray.cpp @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpointarray.h b/qtinterface/interface_tqt3/tqpointarray.h new file mode 100644 index 0000000..ddc671b --- /dev/null +++ b/qtinterface/interface_tqt3/tqpointarray.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QAccel class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAccel class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPOINTARRAY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpolygonscanner.cpp b/qtinterface/interface_tqt3/tqpolygonscanner.cpp new file mode 100644 index 0000000..6ce9327 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpolygonscanner.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqpolygonscanner.h b/qtinterface/interface_tqt3/tqpolygonscanner.h new file mode 100644 index 0000000..4274201 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpolygonscanner.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPolygonScanner class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPolygonScanner class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQPOLYGONSCANNER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpopmenu.h b/qtinterface/interface_tqt3/tqpopmenu.h new file mode 100644 index 0000000..f13daff --- /dev/null +++ b/qtinterface/interface_tqt3/tqpopmenu.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPOPMENU_H +#define TQT_TQPOPMENU_H + +#include + +// Pull in tqpopupmenu defines + +#include + +#endif /* TQT_TQPOPMENU_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpopupmenu.cpp b/qtinterface/interface_tqt3/tqpopupmenu.cpp new file mode 100644 index 0000000..19752d2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpopupmenu.cpp @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpopupmenu.h b/qtinterface/interface_tqt3/tqpopupmenu.h new file mode 100644 index 0000000..96305b1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpopupmenu.h @@ -0,0 +1,46 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPopupMenu class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPopupMenu class +// For Qt4, some changes are needed + +#include +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPOPUPMENU_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqprintdialog.cpp b/qtinterface/interface_tqt3/tqprintdialog.cpp new file mode 100644 index 0000000..cb8b703 --- /dev/null +++ b/qtinterface/interface_tqt3/tqprintdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqprintdialog.h b/qtinterface/interface_tqt3/tqprintdialog.h new file mode 100644 index 0000000..f6d714f --- /dev/null +++ b/qtinterface/interface_tqt3/tqprintdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPrintDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPrintDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPRINTDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqprinter.cpp b/qtinterface/interface_tqt3/tqprinter.cpp new file mode 100644 index 0000000..a499b53 --- /dev/null +++ b/qtinterface/interface_tqt3/tqprinter.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqprinter.h b/qtinterface/interface_tqt3/tqprinter.h new file mode 100644 index 0000000..5dcd052 --- /dev/null +++ b/qtinterface/interface_tqt3/tqprinter.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPrinter class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPrinter class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPRINTER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqprndlg.h b/qtinterface/interface_tqt3/tqprndlg.h new file mode 100644 index 0000000..1a4066d --- /dev/null +++ b/qtinterface/interface_tqt3/tqprndlg.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPRNDLG_H +#define TQT_TQPRNDLG_H + +#include + +// Pull in tqprintdialog defines + +#include + +#endif /* TQT_TQPRNDLG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqprocess.cpp b/qtinterface/interface_tqt3/tqprocess.cpp new file mode 100644 index 0000000..54e2ef9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqprocess.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqprocess.h b/qtinterface/interface_tqt3/tqprocess.h new file mode 100644 index 0000000..8f391c1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqprocess.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QProcess class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QProcess class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPROCESS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqprogbar.h b/qtinterface/interface_tqt3/tqprogbar.h new file mode 100644 index 0000000..ebd5b64 --- /dev/null +++ b/qtinterface/interface_tqt3/tqprogbar.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPROGBAR_H +#define TQT_TQPROGBAR_H + +#include + +// Pull in tqprogressbar defines + +#include + +#endif /* TQT_TQPROGBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqprogdlg.h b/qtinterface/interface_tqt3/tqprogdlg.h new file mode 100644 index 0000000..3de428f --- /dev/null +++ b/qtinterface/interface_tqt3/tqprogdlg.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPROGDLG_H +#define TQT_TQPROGDLG_H + +#include + +// Pull in tqprogressdialog defines + +#include + +#endif /* TQT_TQPROGDLG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqprogressbar.cpp b/qtinterface/interface_tqt3/tqprogressbar.cpp new file mode 100644 index 0000000..90fe24b --- /dev/null +++ b/qtinterface/interface_tqt3/tqprogressbar.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqprogressbar.h b/qtinterface/interface_tqt3/tqprogressbar.h new file mode 100644 index 0000000..675041d --- /dev/null +++ b/qtinterface/interface_tqt3/tqprogressbar.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QProgressBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QProgressBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPROGRESSBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqprogressdialog.cpp b/qtinterface/interface_tqt3/tqprogressdialog.cpp new file mode 100644 index 0000000..57cb8df --- /dev/null +++ b/qtinterface/interface_tqt3/tqprogressdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqprogressdialog.h b/qtinterface/interface_tqt3/tqprogressdialog.h new file mode 100644 index 0000000..8faaa37 --- /dev/null +++ b/qtinterface/interface_tqt3/tqprogressdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QProgressDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QProgressDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPROGRESSDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqptrcollection.cpp b/qtinterface/interface_tqt3/tqptrcollection.cpp new file mode 100644 index 0000000..9abdf6a --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrcollection.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqptrcollection.h b/qtinterface/interface_tqt3/tqptrcollection.h new file mode 100644 index 0000000..a193cbd --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrcollection.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPtrCollection class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPtrCollection class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPTRCOLLECTION_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqptrdict.cpp b/qtinterface/interface_tqt3/tqptrdict.cpp new file mode 100644 index 0000000..0fbc018 --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqptrdict.h b/qtinterface/interface_tqt3/tqptrdict.h new file mode 100644 index 0000000..09868d5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrdict.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPtrDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPtrDict class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPTRDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqptrlist.cpp b/qtinterface/interface_tqt3/tqptrlist.cpp new file mode 100644 index 0000000..98419bb --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrlist.cpp @@ -0,0 +1,27 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +// 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! \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqptrlist.h b/qtinterface/interface_tqt3/tqptrlist.h new file mode 100644 index 0000000..44def37 --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrlist.h @@ -0,0 +1,257 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the TQPtrList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the TQPtrList class +// For Qt4, some changes are needed + +#include +#include +#include +#include +#include + +/**************************************************************************** +** +** 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 TQPtrListStdIterator : public Q3GListStdIterator +{ +public: + inline TQPtrListStdIterator( Q3LNode* n ): Q3GListStdIterator(n) {} + type *operator*() { return node ? (type *)node->getData() : 0; } + inline TQPtrListStdIterator operator++() + { node = next(); return *this; } + inline TQPtrListStdIterator operator++(int) + { Q3LNode* n = node; node = next(); return TQPtrListStdIterator( n ); } + inline bool operator==( const TQPtrListStdIterator& it ) const { return node == it.node; } + inline bool operator!=( const TQPtrListStdIterator& it ) const { return node != it.node; } +}; + + +template +class TQPtrList +#ifdef Q_QDOC + : public Q3PtrCollection +#else + : public Q3GList +#endif +{ +public: + + TQPtrList() {} + TQPtrList( const TQPtrList &l ) : Q3GList(l) {} + ~TQPtrList() { clear(); } + TQPtrList &operator=(const TQPtrList &l) + { return (TQPtrList&)Q3GList::operator=(l); } + bool operator==( const TQPtrList &list ) const + { return Q3GList::operator==( list ); } + bool operator!=( const TQPtrList &list ) const + { return !Q3GList::operator==( list ); } + + // Interoperability + TQPtrList(const QList& l) + { + for (int i = 0; i < l.size(); ++i) append(l.at(i)); + } + + TQPtrList& operator= (const QList& l) + { + this->clear(); + for (int i = 0; i < l.size(); ++i) append(l.at(i)); + return *this; + } + + operator QList() const { + QList list; + for (typename TQPtrList::const_iterator it = TQPtrList::constBegin(); + it != TQPtrList::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 Iterator; + typedef TQPtrListStdIterator 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::deleteItem( Q3PtrCollection::Item ) +{ +} +#endif + +template inline void TQPtrList::deleteItem( Q3PtrCollection::Item d ) +{ + if ( del_item ) delete (type *)d; +} + +template +class TQPtrListIterator : public Q3GListIterator +{ +public: + TQPtrListIterator(const TQPtrList &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 (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& operator=(const TQPtrListIterator&it) + { Q3GListIterator::operator=(it); return *this; } +}; + +#ifndef QT_NO_COMPAT +#define TQT_TQList TQPtrList +#define TQT_TQListIterator TQPtrListIterator +#endif + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQPTRLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqptrqueue.cpp b/qtinterface/interface_tqt3/tqptrqueue.cpp new file mode 100644 index 0000000..1d0b3f5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrqueue.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqptrqueue.h b/qtinterface/interface_tqt3/tqptrqueue.h new file mode 100644 index 0000000..7713e64 --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrqueue.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPtrQueue class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPtrQueue class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPTRQUEUE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqptrstack.cpp b/qtinterface/interface_tqt3/tqptrstack.cpp new file mode 100644 index 0000000..5dd5ce8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrstack.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqptrstack.h b/qtinterface/interface_tqt3/tqptrstack.h new file mode 100644 index 0000000..60eada4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrstack.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPtrStack class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPtrStack class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPTRSTACK_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqptrvector.cpp b/qtinterface/interface_tqt3/tqptrvector.cpp new file mode 100644 index 0000000..7713e5c --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrvector.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqptrvector.h b/qtinterface/interface_tqt3/tqptrvector.h new file mode 100644 index 0000000..e5f3126 --- /dev/null +++ b/qtinterface/interface_tqt3/tqptrvector.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPtrVector class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPtrVector class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPTRVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpushbt.h b/qtinterface/interface_tqt3/tqpushbt.h new file mode 100644 index 0000000..916850e --- /dev/null +++ b/qtinterface/interface_tqt3/tqpushbt.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQPUSHBT_H +#define TQT_TQPUSHBT_H + +#include + +// Pull in tqpushbutton defines + +#include + +#endif /* TQT_TQPUSHBT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqpushbutton.cpp b/qtinterface/interface_tqt3/tqpushbutton.cpp new file mode 100644 index 0000000..372c7a0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqpushbutton.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqpushbutton.h b/qtinterface/interface_tqt3/tqpushbutton.h new file mode 100644 index 0000000..23e87fe --- /dev/null +++ b/qtinterface/interface_tqt3/tqpushbutton.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QPushButton class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QPushButton class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQPUSHBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqqueue.h b/qtinterface/interface_tqt3/tqqueue.h new file mode 100644 index 0000000..978aad4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqqueue.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQQUEUE_H +#define TQT_TQQUEUE_H + +#include + +// Pull in tqptrqueue defines + +#include + +#endif /* TQT_TQQUEUE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqradiobt.h b/qtinterface/interface_tqt3/tqradiobt.h new file mode 100644 index 0000000..0d8c3e8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqradiobt.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQRADIOBT_H +#define TQT_TQRADIOBT_H + +#include + +// Pull in tqradiobutton defines + +#include + +#endif /* TQT_TQRADIOBT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqradiobutton.cpp b/qtinterface/interface_tqt3/tqradiobutton.cpp new file mode 100644 index 0000000..a67b221 --- /dev/null +++ b/qtinterface/interface_tqt3/tqradiobutton.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqradiobutton.h b/qtinterface/interface_tqt3/tqradiobutton.h new file mode 100644 index 0000000..2220019 --- /dev/null +++ b/qtinterface/interface_tqt3/tqradiobutton.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QRadioButton class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QRadioButton class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQRADIOBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqrangecontrol.cpp b/qtinterface/interface_tqt3/tqrangecontrol.cpp new file mode 100644 index 0000000..36e57ec --- /dev/null +++ b/qtinterface/interface_tqt3/tqrangecontrol.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqrangecontrol.h b/qtinterface/interface_tqt3/tqrangecontrol.h new file mode 100644 index 0000000..e26d51e --- /dev/null +++ b/qtinterface/interface_tqt3/tqrangecontrol.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QRangeControl class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QRangeControl class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQRANGECONTROL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqrangect.h b/qtinterface/interface_tqt3/tqrangect.h new file mode 100644 index 0000000..6078e8f --- /dev/null +++ b/qtinterface/interface_tqt3/tqrangect.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQRANGECT_H +#define TQT_TQRANGECT_H + +#include + +// Pull in tqrangecontrol defines + +#include + +#endif /* TQT_TQRANGECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqrect.cpp b/qtinterface/interface_tqt3/tqrect.cpp new file mode 100644 index 0000000..eb6a78a --- /dev/null +++ b/qtinterface/interface_tqt3/tqrect.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqrect.h b/qtinterface/interface_tqt3/tqrect.h new file mode 100644 index 0000000..a384e0a --- /dev/null +++ b/qtinterface/interface_tqt3/tqrect.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QRect class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QRect class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQRECT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqregexp.cpp b/qtinterface/interface_tqt3/tqregexp.cpp new file mode 100644 index 0000000..c0c6c40 --- /dev/null +++ b/qtinterface/interface_tqt3/tqregexp.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqregexp.h b/qtinterface/interface_tqt3/tqregexp.h new file mode 100644 index 0000000..66dc35b --- /dev/null +++ b/qtinterface/interface_tqt3/tqregexp.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QRegExp class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QRegExp class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQREGEXP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqregion.cpp b/qtinterface/interface_tqt3/tqregion.cpp new file mode 100644 index 0000000..23a0726 --- /dev/null +++ b/qtinterface/interface_tqt3/tqregion.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqregion.h b/qtinterface/interface_tqt3/tqregion.h new file mode 100644 index 0000000..22f86b1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqregion.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QRegion class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QRegion class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQREGION_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqrtlcodec.cpp b/qtinterface/interface_tqt3/tqrtlcodec.cpp new file mode 100644 index 0000000..37b6d4b --- /dev/null +++ b/qtinterface/interface_tqt3/tqrtlcodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqrtlcodec.h b/qtinterface/interface_tqt3/tqrtlcodec.h new file mode 100644 index 0000000..a6bc1a5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqrtlcodec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QHebrewCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QHebrewCodec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQRTLCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqscrbar.h b/qtinterface/interface_tqt3/tqscrbar.h new file mode 100644 index 0000000..b039865 --- /dev/null +++ b/qtinterface/interface_tqt3/tqscrbar.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQSCRBAR_H +#define TQT_TQSCRBAR_H + +#include + +// Pull in tqscrollbar defines + +#include + +#endif /* TQT_TQSCRBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqscrollbar.cpp b/qtinterface/interface_tqt3/tqscrollbar.cpp new file mode 100644 index 0000000..8f44845 --- /dev/null +++ b/qtinterface/interface_tqt3/tqscrollbar.cpp @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +int QScrollBar::sliderStart() const { + return sliderPosition(); +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqscrollbar.h b/qtinterface/interface_tqt3/tqscrollbar.h new file mode 100644 index 0000000..7d9e359 --- /dev/null +++ b/qtinterface/interface_tqt3/tqscrollbar.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QScrollBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QScrollBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSCROLLBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqscrollview.cpp b/qtinterface/interface_tqt3/tqscrollview.cpp new file mode 100644 index 0000000..8d33b40 --- /dev/null +++ b/qtinterface/interface_tqt3/tqscrollview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqscrollview.h b/qtinterface/interface_tqt3/tqscrollview.h new file mode 100644 index 0000000..fb6d922 --- /dev/null +++ b/qtinterface/interface_tqt3/tqscrollview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QScrollView class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QScrollView class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSCROLLVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsemaphore.cpp b/qtinterface/interface_tqt3/tqsemaphore.cpp new file mode 100644 index 0000000..dedcd6d --- /dev/null +++ b/qtinterface/interface_tqt3/tqsemaphore.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsemaphore.h b/qtinterface/interface_tqt3/tqsemaphore.h new file mode 100644 index 0000000..2d0bd1a --- /dev/null +++ b/qtinterface/interface_tqt3/tqsemaphore.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSemaphore class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSemaphore class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSEMAPHORE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsemimodal.cpp b/qtinterface/interface_tqt3/tqsemimodal.cpp new file mode 100644 index 0000000..44f5432 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsemimodal.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsemimodal.h b/qtinterface/interface_tqt3/tqsemimodal.h new file mode 100644 index 0000000..cad130f --- /dev/null +++ b/qtinterface/interface_tqt3/tqsemimodal.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQSEMIMODAL_H +#define TQT_TQSEMIMODAL_H + +#include + +#ifdef USE_QT3 + +// Reimplement the QSemiModal class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSemiModal class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQSEMIMODAL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqserversocket.cpp b/qtinterface/interface_tqt3/tqserversocket.cpp new file mode 100644 index 0000000..d863e98 --- /dev/null +++ b/qtinterface/interface_tqt3/tqserversocket.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqserversocket.h b/qtinterface/interface_tqt3/tqserversocket.h new file mode 100644 index 0000000..435345e --- /dev/null +++ b/qtinterface/interface_tqt3/tqserversocket.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QServerSocket class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QServerSocket class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSERVERSOCKET_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsession.h b/qtinterface/interface_tqt3/tqsession.h new file mode 100644 index 0000000..7f69644 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsession.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qsession defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qsession defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSESSION_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsessionmanager.cpp b/qtinterface/interface_tqt3/tqsessionmanager.cpp new file mode 100644 index 0000000..fceabc4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsessionmanager.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsessionmanager.h b/qtinterface/interface_tqt3/tqsessionmanager.h new file mode 100644 index 0000000..1b18db2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsessionmanager.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSessionManager class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSessionManager class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSESSIONMANAGER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsettings.cpp b/qtinterface/interface_tqt3/tqsettings.cpp new file mode 100644 index 0000000..82be204 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsettings.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsettings.h b/qtinterface/interface_tqt3/tqsettings.h new file mode 100644 index 0000000..737ef82 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsettings.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSettings class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSettings class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSETTINGS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsgistyle.cpp b/qtinterface/interface_tqt3/tqsgistyle.cpp new file mode 100644 index 0000000..079ba36 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsgistyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsgistyle.h b/qtinterface/interface_tqt3/tqsgistyle.h new file mode 100644 index 0000000..e23d9a1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsgistyle.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSGIStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSGIStyle class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQSGISTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqshared.cpp b/qtinterface/interface_tqt3/tqshared.cpp new file mode 100644 index 0000000..cf18419 --- /dev/null +++ b/qtinterface/interface_tqt3/tqshared.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqshared.h b/qtinterface/interface_tqt3/tqshared.h new file mode 100644 index 0000000..3fd2e32 --- /dev/null +++ b/qtinterface/interface_tqt3/tqshared.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QShared class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QShared class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSHARED_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsignal.cpp b/qtinterface/interface_tqt3/tqsignal.cpp new file mode 100644 index 0000000..33f69a4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsignal.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsignal.h b/qtinterface/interface_tqt3/tqsignal.h new file mode 100644 index 0000000..9261d2a --- /dev/null +++ b/qtinterface/interface_tqt3/tqsignal.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSignal class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSignal class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIGNAL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsignalmapper.cpp b/qtinterface/interface_tqt3/tqsignalmapper.cpp new file mode 100644 index 0000000..a3d418b --- /dev/null +++ b/qtinterface/interface_tqt3/tqsignalmapper.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsignalmapper.h b/qtinterface/interface_tqt3/tqsignalmapper.h new file mode 100644 index 0000000..8e3bdcb --- /dev/null +++ b/qtinterface/interface_tqt3/tqsignalmapper.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSignalMapper class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSignalMapper class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIGNALMAPPER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsignalslotimp.cpp b/qtinterface/interface_tqt3/tqsignalslotimp.cpp new file mode 100644 index 0000000..ff83a76 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsignalslotimp.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsignalslotimp.h b/qtinterface/interface_tqt3/tqsignalslotimp.h new file mode 100644 index 0000000..f02c8f4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsignalslotimp.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSignalSlotImp class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSignalSlotImp class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQSIGNALSLOTIMP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsimplerichtext.cpp b/qtinterface/interface_tqt3/tqsimplerichtext.cpp new file mode 100644 index 0000000..06c5b77 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsimplerichtext.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsimplerichtext.h b/qtinterface/interface_tqt3/tqsimplerichtext.h new file mode 100644 index 0000000..0f053af --- /dev/null +++ b/qtinterface/interface_tqt3/tqsimplerichtext.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSimpleRichText class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSimpleRichText class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIMPLERICHTEXT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsize.cpp b/qtinterface/interface_tqt3/tqsize.cpp new file mode 100644 index 0000000..b86c4ee --- /dev/null +++ b/qtinterface/interface_tqt3/tqsize.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsize.h b/qtinterface/interface_tqt3/tqsize.h new file mode 100644 index 0000000..068c3ab --- /dev/null +++ b/qtinterface/interface_tqt3/tqsize.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSize class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSize class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIZE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsizegrip.cpp b/qtinterface/interface_tqt3/tqsizegrip.cpp new file mode 100644 index 0000000..b6f2639 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsizegrip.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsizegrip.h b/qtinterface/interface_tqt3/tqsizegrip.h new file mode 100644 index 0000000..c8982dd --- /dev/null +++ b/qtinterface/interface_tqt3/tqsizegrip.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSizeGrip class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSizeGrip class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIZEGRIP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsizepolicy.cpp b/qtinterface/interface_tqt3/tqsizepolicy.cpp new file mode 100644 index 0000000..f931334 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsizepolicy.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsizepolicy.h b/qtinterface/interface_tqt3/tqsizepolicy.h new file mode 100644 index 0000000..183b672 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsizepolicy.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSizePolicy class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSizePolicy class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSIZEPOLICY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsjiscodec.cpp b/qtinterface/interface_tqt3/tqsjiscodec.cpp new file mode 100644 index 0000000..c1f98be --- /dev/null +++ b/qtinterface/interface_tqt3/tqsjiscodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsjiscodec.h b/qtinterface/interface_tqt3/tqsjiscodec.h new file mode 100644 index 0000000..8063f18 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsjiscodec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSjisCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSjisCodec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQSJISCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqslider.cpp b/qtinterface/interface_tqt3/tqslider.cpp new file mode 100644 index 0000000..231cdbd --- /dev/null +++ b/qtinterface/interface_tqt3/tqslider.cpp @@ -0,0 +1,29 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + + + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqslider.h b/qtinterface/interface_tqt3/tqslider.h new file mode 100644 index 0000000..5184a03 --- /dev/null +++ b/qtinterface/interface_tqt3/tqslider.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSlider class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSlider class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSLIDER_H */ diff --git a/qtinterface/interface_tqt3/tqsocket.cpp b/qtinterface/interface_tqt3/tqsocket.cpp new file mode 100644 index 0000000..9c74878 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsocket.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsocket.h b/qtinterface/interface_tqt3/tqsocket.h new file mode 100644 index 0000000..e01e0d1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsocket.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSocket class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSocket class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSOCKET_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsocketdevice.cpp b/qtinterface/interface_tqt3/tqsocketdevice.cpp new file mode 100644 index 0000000..37ce77f --- /dev/null +++ b/qtinterface/interface_tqt3/tqsocketdevice.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsocketdevice.h b/qtinterface/interface_tqt3/tqsocketdevice.h new file mode 100644 index 0000000..f21e2ad --- /dev/null +++ b/qtinterface/interface_tqt3/tqsocketdevice.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSocketDevice class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSocketDevice class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSOCKETDEVICE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsocketnotifier.cpp b/qtinterface/interface_tqt3/tqsocketnotifier.cpp new file mode 100644 index 0000000..657acbf --- /dev/null +++ b/qtinterface/interface_tqt3/tqsocketnotifier.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsocketnotifier.h b/qtinterface/interface_tqt3/tqsocketnotifier.h new file mode 100644 index 0000000..c24dad9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsocketnotifier.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSocketNotifier class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSocketNotifier class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSOCKETNOTIFIER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsocknot.h b/qtinterface/interface_tqt3/tqsocknot.h new file mode 100644 index 0000000..d5b982f --- /dev/null +++ b/qtinterface/interface_tqt3/tqsocknot.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQSOCKNOT_H +#define TQT_TQSOCKNOT_H + +#include + +// Pull in tqsocketnotifier defines + +#include + +#endif /* TQT_TQSOCKNOT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsortedlist.cpp b/qtinterface/interface_tqt3/tqsortedlist.cpp new file mode 100644 index 0000000..2491ac8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsortedlist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsortedlist.h b/qtinterface/interface_tqt3/tqsortedlist.h new file mode 100644 index 0000000..815aa38 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsortedlist.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQSORTEDLIST_H +#define TQT_TQSORTEDLIST_H + +#include + +#ifdef USE_QT3 + +// Reimplement the QAccel class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QAccel class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSORTEDLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsound.cpp b/qtinterface/interface_tqt3/tqsound.cpp new file mode 100644 index 0000000..8ecddf8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsound.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsound.h b/qtinterface/interface_tqt3/tqsound.h new file mode 100644 index 0000000..60ba0aa --- /dev/null +++ b/qtinterface/interface_tqt3/tqsound.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSound class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSound class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSOUND_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqspinbox.cpp b/qtinterface/interface_tqt3/tqspinbox.cpp new file mode 100644 index 0000000..26bf6d2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqspinbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqspinbox.h b/qtinterface/interface_tqt3/tqspinbox.h new file mode 100644 index 0000000..555bb78 --- /dev/null +++ b/qtinterface/interface_tqt3/tqspinbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSpinBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSpinBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSPINBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsplashscreen.cpp b/qtinterface/interface_tqt3/tqsplashscreen.cpp new file mode 100644 index 0000000..3b444ba --- /dev/null +++ b/qtinterface/interface_tqt3/tqsplashscreen.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsplashscreen.h b/qtinterface/interface_tqt3/tqsplashscreen.h new file mode 100644 index 0000000..95ed5b8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsplashscreen.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSplashScreen class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSplashScreen class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSPLASHSCREEN_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsplitter.cpp b/qtinterface/interface_tqt3/tqsplitter.cpp new file mode 100644 index 0000000..3f1fa7e --- /dev/null +++ b/qtinterface/interface_tqt3/tqsplitter.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsplitter.h b/qtinterface/interface_tqt3/tqsplitter.h new file mode 100644 index 0000000..0763603 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsplitter.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSplitter class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSplitter class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSPLITTER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsql.cpp b/qtinterface/interface_tqt3/tqsql.cpp new file mode 100644 index 0000000..86515d5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsql.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsql.h b/qtinterface/interface_tqt3/tqsql.h new file mode 100644 index 0000000..f28d47f --- /dev/null +++ b/qtinterface/interface_tqt3/tqsql.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSql class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSql class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqlcursor.cpp b/qtinterface/interface_tqt3/tqsqlcursor.cpp new file mode 100644 index 0000000..45dc50e --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlcursor.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqlcursor.h b/qtinterface/interface_tqt3/tqsqlcursor.h new file mode 100644 index 0000000..3b63cdf --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlcursor.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlCursor class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlCursor class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLCURSOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqldatabase.cpp b/qtinterface/interface_tqt3/tqsqldatabase.cpp new file mode 100644 index 0000000..831d222 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqldatabase.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqldatabase.h b/qtinterface/interface_tqt3/tqsqldatabase.h new file mode 100644 index 0000000..1495345 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqldatabase.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlDatabase class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlDatabase class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLDATABASE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqldriver.cpp b/qtinterface/interface_tqt3/tqsqldriver.cpp new file mode 100644 index 0000000..0795f47 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqldriver.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqldriver.h b/qtinterface/interface_tqt3/tqsqldriver.h new file mode 100644 index 0000000..ed890c3 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqldriver.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlDriver class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlDriver class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLDRIVER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqldriverplugin.cpp b/qtinterface/interface_tqt3/tqsqldriverplugin.cpp new file mode 100644 index 0000000..ac3ae6c --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqldriverplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqldriverplugin.h b/qtinterface/interface_tqt3/tqsqldriverplugin.h new file mode 100644 index 0000000..33bd728 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqldriverplugin.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlDriverPlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlDriverPlugin class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLDRIVERPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqleditorfactory.cpp b/qtinterface/interface_tqt3/tqsqleditorfactory.cpp new file mode 100644 index 0000000..375354d --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqleditorfactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqleditorfactory.h b/qtinterface/interface_tqt3/tqsqleditorfactory.h new file mode 100644 index 0000000..368601f --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqleditorfactory.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlEditorFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlEditorFactory class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLEDITORFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqlerror.cpp b/qtinterface/interface_tqt3/tqsqlerror.cpp new file mode 100644 index 0000000..3848131 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlerror.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqlerror.h b/qtinterface/interface_tqt3/tqsqlerror.h new file mode 100644 index 0000000..338bfad --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlerror.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlError class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlError class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLERROR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqlfield.cpp b/qtinterface/interface_tqt3/tqsqlfield.cpp new file mode 100644 index 0000000..f7fcca6 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlfield.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqlfield.h b/qtinterface/interface_tqt3/tqsqlfield.h new file mode 100644 index 0000000..39dfd81 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlfield.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlField class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlField class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLFIELD_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqlform.cpp b/qtinterface/interface_tqt3/tqsqlform.cpp new file mode 100644 index 0000000..de5e175 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlform.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqlform.h b/qtinterface/interface_tqt3/tqsqlform.h new file mode 100644 index 0000000..bf8c799 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlform.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlForm class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlForm class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLFORM_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqlindex.cpp b/qtinterface/interface_tqt3/tqsqlindex.cpp new file mode 100644 index 0000000..51c6b51 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlindex.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqlindex.h b/qtinterface/interface_tqt3/tqsqlindex.h new file mode 100644 index 0000000..a4e1688 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlindex.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlIndex class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlIndex class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLINDEX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqlpropertymap.cpp b/qtinterface/interface_tqt3/tqsqlpropertymap.cpp new file mode 100644 index 0000000..9008736 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlpropertymap.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqlpropertymap.h b/qtinterface/interface_tqt3/tqsqlpropertymap.h new file mode 100644 index 0000000..3c97a22 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlpropertymap.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlPropertyMap class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlPropertyMap class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLPROPERTYMAP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqlquery.cpp b/qtinterface/interface_tqt3/tqsqlquery.cpp new file mode 100644 index 0000000..7cc90c4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlquery.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqlquery.h b/qtinterface/interface_tqt3/tqsqlquery.h new file mode 100644 index 0000000..8709d6f --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlquery.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlQuery class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlQuery class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLQUERY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqlrecord.cpp b/qtinterface/interface_tqt3/tqsqlrecord.cpp new file mode 100644 index 0000000..f480e80 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlrecord.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqlrecord.h b/qtinterface/interface_tqt3/tqsqlrecord.h new file mode 100644 index 0000000..cdabc51 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlrecord.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlRecord class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlRecord class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLRECORD_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqlresult.cpp b/qtinterface/interface_tqt3/tqsqlresult.cpp new file mode 100644 index 0000000..c82d15f --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlresult.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqlresult.h b/qtinterface/interface_tqt3/tqsqlresult.h new file mode 100644 index 0000000..7e01c1b --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlresult.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlResult class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlResult class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLRESULT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsqlselectcursor.cpp b/qtinterface/interface_tqt3/tqsqlselectcursor.cpp new file mode 100644 index 0000000..856121c --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlselectcursor.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsqlselectcursor.h b/qtinterface/interface_tqt3/tqsqlselectcursor.h new file mode 100644 index 0000000..9b13855 --- /dev/null +++ b/qtinterface/interface_tqt3/tqsqlselectcursor.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSqlSelectCursor class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSqlSelectCursor class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSQLSELECTCURSOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstack.h b/qtinterface/interface_tqt3/tqstack.h new file mode 100644 index 0000000..916666a --- /dev/null +++ b/qtinterface/interface_tqt3/tqstack.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQSTACK_H +#define TQT_TQSTACK_H + +#include + +#ifdef USE_QT3 + +// Pull in Qt3 qptrstack defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qptrstack defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTACK_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstatusbar.cpp b/qtinterface/interface_tqt3/tqstatusbar.cpp new file mode 100644 index 0000000..f1c1fe4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstatusbar.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqstatusbar.h b/qtinterface/interface_tqt3/tqstatusbar.h new file mode 100644 index 0000000..c3c3dab --- /dev/null +++ b/qtinterface/interface_tqt3/tqstatusbar.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStatusBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStatusBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTATUSBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstring.cpp b/qtinterface/interface_tqt3/tqstring.cpp new file mode 100644 index 0000000..1fdce99 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstring.cpp @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; 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 +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstring.h b/qtinterface/interface_tqt3/tqstring.h new file mode 100644 index 0000000..caf2425 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstring.h @@ -0,0 +1,48 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include +#include + +#ifdef USE_QT3 + +// Reimplement the QString class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QString class +// For Qt4, some changes are needed + +#include +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTRING_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstringlist.cpp b/qtinterface/interface_tqt3/tqstringlist.cpp new file mode 100644 index 0000000..476a16f --- /dev/null +++ b/qtinterface/interface_tqt3/tqstringlist.cpp @@ -0,0 +1,178 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 QT_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 QT_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 QT_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 QT_NO_DATASTREAM +QDataStream &operator>>( QDataStream & s, TQStringList& l ) +{ + return s >> (TQValueList&)l; +} + +QDataStream &operator<<( QDataStream & s, const TQStringList& l ) +{ + return s << (const TQValueList&)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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstringlist.h b/qtinterface/interface_tqt3/tqstringlist.h new file mode 100644 index 0000000..7060ab9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstringlist.h @@ -0,0 +1,168 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the TQStringList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the TQStringList class +// For Qt4, some changes are needed + +#include +#include +#include +#include + +/**************************************************************************** +** +** 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 QT_NO_STRINGLIST + +class QRegExp; +template class QDeepCopy; + +#if defined(Q_TEMPLATEDLL) +// MOC_SKIP_BEGIN +//Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList; +// MOC_SKIP_END +#endif + +class TQStringList : public TQValueList +{ +public: + TQStringList() { } + TQStringList( const TQStringList& l ) : TQValueList(l) { } + TQStringList( const TQValueList& l ) : TQValueList(l) { } + TQStringList( const QString& i ) { append(i); } +#ifndef QT_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 QT_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 QT_NO_REGEXP + TQStringList grep( const QRegExp &expr ) const; +#endif + + TQStringList& gres( const QString &before, const QString &after, + bool cs = TRUE ); +#ifndef QT_NO_REGEXP_CAPTURE + TQStringList& gres( const QRegExp &expr, const QString &after ); +#endif + +protected: + void detach() { TQValueList::detach(); } + friend class QDeepCopy< TQStringList >; +}; + +#ifndef QT_NO_DATASTREAM +class QDataStream; +extern QDataStream &operator>>( QDataStream &, TQStringList& ); +extern QDataStream &operator<<( QDataStream &, const TQStringList& ); +#endif + +#endif + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQSTRINGLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstrlist.cpp b/qtinterface/interface_tqt3/tqstrlist.cpp new file mode 100644 index 0000000..7d3be93 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstrlist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstrlist.h b/qtinterface/interface_tqt3/tqstrlist.h new file mode 100644 index 0000000..c651c0a --- /dev/null +++ b/qtinterface/interface_tqt3/tqstrlist.h @@ -0,0 +1,198 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the TQStrList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the TQStrList class +// For Qt4, some changes are needed + +#include +#include +#include + +/**************************************************************************** +** +** 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 +{ +}; +#else +typedef TQPtrListIterator TQStrListIterator; +#endif + +class TQStrList : public TQPtrList +{ +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 + TQStrList(const QList &list) { + for (int i = 0; i < list.size(); ++i) + append(list.at(i).constData()); + } + + TQStrList &operator =(const QList &list) { + clear(); + for (int i = 0; i < list.size(); ++i) + append(list.at(i).constData()); + return *this; + } + + operator QList() const { + QList list; + for (TQPtrListStdIterator 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 QT_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::operator=( strList ); + return *this; +} + +inline TQStrList::TQStrList( const TQStrList &strList ) + : TQPtrList( strList ) +{ + dc = FALSE; + operator=( strList ); +} + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQSTRLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstrvec.cpp b/qtinterface/interface_tqt3/tqstrvec.cpp new file mode 100644 index 0000000..6b4a12a --- /dev/null +++ b/qtinterface/interface_tqt3/tqstrvec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqstrvec.h b/qtinterface/interface_tqt3/tqstrvec.h new file mode 100644 index 0000000..5712c15 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstrvec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStrVec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStrVec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQSTRVEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstyle.cpp b/qtinterface/interface_tqt3/tqstyle.cpp new file mode 100644 index 0000000..0685da0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstyle.cpp @@ -0,0 +1,47 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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(this); + QStyleOptionQ3ListViewItem item = lv->items.at(0); + return (Q3ListViewItem*)&item; +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstyle.h b/qtinterface/interface_tqt3/tqstyle.h new file mode 100644 index 0000000..f33d541 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstyle.h @@ -0,0 +1,59 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStyle class +// For Qt4, some changes are needed + +#include +#include +#include + +// 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 */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstylefactory.cpp b/qtinterface/interface_tqt3/tqstylefactory.cpp new file mode 100644 index 0000000..bf1935e --- /dev/null +++ b/qtinterface/interface_tqt3/tqstylefactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqstylefactory.h b/qtinterface/interface_tqt3/tqstylefactory.h new file mode 100644 index 0000000..3367f09 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstylefactory.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStyleFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStyleFactory class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTYLEFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstyleplugin.cpp b/qtinterface/interface_tqt3/tqstyleplugin.cpp new file mode 100644 index 0000000..f85a4af --- /dev/null +++ b/qtinterface/interface_tqt3/tqstyleplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqstyleplugin.h b/qtinterface/interface_tqt3/tqstyleplugin.h new file mode 100644 index 0000000..6830df2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstyleplugin.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStylePlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStylePlugin class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTYLEPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqstylesheet.cpp b/qtinterface/interface_tqt3/tqstylesheet.cpp new file mode 100644 index 0000000..331eddf --- /dev/null +++ b/qtinterface/interface_tqt3/tqstylesheet.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqstylesheet.h b/qtinterface/interface_tqt3/tqstylesheet.h new file mode 100644 index 0000000..ec95459 --- /dev/null +++ b/qtinterface/interface_tqt3/tqstylesheet.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QStyleSheet class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QStyleSheet class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSTYLESHEET_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqsyntaxhighlighter.cpp b/qtinterface/interface_tqt3/tqsyntaxhighlighter.cpp new file mode 100644 index 0000000..4e486ca --- /dev/null +++ b/qtinterface/interface_tqt3/tqsyntaxhighlighter.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqsyntaxhighlighter.h b/qtinterface/interface_tqt3/tqsyntaxhighlighter.h new file mode 100644 index 0000000..9874dba --- /dev/null +++ b/qtinterface/interface_tqt3/tqsyntaxhighlighter.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QSyntaxHighlighter class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QSyntaxHighlighter class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQSYNTAXHIGHLIGHTER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqt.cpp b/qtinterface/interface_tqt3/tqt.cpp new file mode 100644 index 0000000..799ff43 --- /dev/null +++ b/qtinterface/interface_tqt3/tqt.cpp @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include + +// Various methods that don't have a proper home (yet) + +#ifdef USE_QT4 + +static QColor tqblackptr_core = QColor(Qt::black); + +template +QList::operator bool() const { + return !this.isEmpty(); +} + +QBool::operator uint () const { + return b ? static_cast(1) : static_cast(0); +} + +QChar::operator int () const { + return static_cast(*this); +} + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqt_defs.h b/qtinterface/interface_tqt3/tqt_defs.h new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/qtinterface/interface_tqt3/tqt_defs.h @@ -0,0 +1 @@ + diff --git a/qtinterface/interface_tqt3/tqt_undefs.h b/qtinterface/interface_tqt3/tqt_undefs.h new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/qtinterface/interface_tqt3/tqt_undefs.h @@ -0,0 +1 @@ + diff --git a/qtinterface/interface_tqt3/tqtabbar.cpp b/qtinterface/interface_tqt3/tqtabbar.cpp new file mode 100644 index 0000000..845cd2e --- /dev/null +++ b/qtinterface/interface_tqt3/tqtabbar.cpp @@ -0,0 +1,34 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtabbar.h b/qtinterface/interface_tqt3/tqtabbar.h new file mode 100644 index 0000000..8bd0bb2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtabbar.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTabBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTabBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTABBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtabdialog.cpp b/qtinterface/interface_tqt3/tqtabdialog.cpp new file mode 100644 index 0000000..4f0a5d6 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtabdialog.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtabdialog.h b/qtinterface/interface_tqt3/tqtabdialog.h new file mode 100644 index 0000000..b9e947c --- /dev/null +++ b/qtinterface/interface_tqt3/tqtabdialog.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTabDialog class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTabDialog class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTABDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtabdlg.h b/qtinterface/interface_tqt3/tqtabdlg.h new file mode 100644 index 0000000..f719ce5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtabdlg.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQTABDLG_H +#define TQT_TQTABDLG_H + +#include + +// Pull in tqtabdialog defines + +#include + +#endif /* TQT_TQTABDLG_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtable.cpp b/qtinterface/interface_tqt3/tqtable.cpp new file mode 100644 index 0000000..6ba18e2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtable.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtable.h b/qtinterface/interface_tqt3/tqtable.h new file mode 100644 index 0000000..7c0bf57 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtable.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTable class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTable class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTABLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtabwidget.cpp b/qtinterface/interface_tqt3/tqtabwidget.cpp new file mode 100644 index 0000000..e46c239 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtabwidget.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtabwidget.h b/qtinterface/interface_tqt3/tqtabwidget.h new file mode 100644 index 0000000..6d63f06 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtabwidget.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTabWidget class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTabWidget class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTABWIDGET_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtextbrowser.cpp b/qtinterface/interface_tqt3/tqtextbrowser.cpp new file mode 100644 index 0000000..0fd4b44 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextbrowser.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtextbrowser.h b/qtinterface/interface_tqt3/tqtextbrowser.h new file mode 100644 index 0000000..14076ff --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextbrowser.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextBrowser class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextBrowser class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTBROWSER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtextcodec.cpp b/qtinterface/interface_tqt3/tqtextcodec.cpp new file mode 100644 index 0000000..0d57b8f --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextcodec.cpp @@ -0,0 +1,515 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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,"",15)) + n = line+15; + else if (0==qstrnicmp(line," ",14)) + esc = line[14]; + else if (0==qstrnicmp(line," ",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; ito_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 QT_NO_CODECS +// Cannot use
 or \code
+/*!
+    Reads a POSIX2 charmap definition from \a iod.
+    The parser recognizes the following lines:
+
+
+  <code_set_name> name
+  <escape_char> character
+  % alias alias
+  CHARMAP
+  <token> /xhexbyte <Uunicode> ...
+  <token> /ddecbyte <Uunicode> ...
+  <token> /octbyte <Uunicode> ...
+  <token> /any/any... <Uunicode> ...
+  END CHARMAP
+
+ + 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 //QT_NO_CODECS + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtextcodec.h b/qtinterface/interface_tqt3/tqtextcodec.h new file mode 100644 index 0000000..74ee660 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextcodec.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextCodec class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtextcodecfactory.cpp b/qtinterface/interface_tqt3/tqtextcodecfactory.cpp new file mode 100644 index 0000000..d2036fb --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextcodecfactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtextcodecfactory.h b/qtinterface/interface_tqt3/tqtextcodecfactory.h new file mode 100644 index 0000000..8e56134 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextcodecfactory.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextCodecFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextCodecFactory class +// For Qt4, this class has been removed! + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTCODECFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtextcodecplugin.cpp b/qtinterface/interface_tqt3/tqtextcodecplugin.cpp new file mode 100644 index 0000000..5f59773 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextcodecplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtextcodecplugin.h b/qtinterface/interface_tqt3/tqtextcodecplugin.h new file mode 100644 index 0000000..7407f9f --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextcodecplugin.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextCodecPlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextCodecPlugin class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTCODECPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtextedit.cpp b/qtinterface/interface_tqt3/tqtextedit.cpp new file mode 100644 index 0000000..231617b --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextedit.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtextedit.h b/qtinterface/interface_tqt3/tqtextedit.h new file mode 100644 index 0000000..b794709 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextedit.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextEdit class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextEdit class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTEDIT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtextstream.cpp b/qtinterface/interface_tqt3/tqtextstream.cpp new file mode 100644 index 0000000..33d674b --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextstream.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtextstream.h b/qtinterface/interface_tqt3/tqtextstream.h new file mode 100644 index 0000000..1512c48 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextstream.h @@ -0,0 +1,47 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include +#include + +#ifdef USE_QT3 + +// Reimplement the QTextStream class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextStream class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTSTREAM_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtextview.cpp b/qtinterface/interface_tqt3/tqtextview.cpp new file mode 100644 index 0000000..4405f0e --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextview.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtextview.h b/qtinterface/interface_tqt3/tqtextview.h new file mode 100644 index 0000000..88291e9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtextview.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTextView class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTextView class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTEXTVIEW_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtglobaldefines.h b/qtinterface/interface_tqt3/tqtglobaldefines.h new file mode 100644 index 0000000..c39b03d --- /dev/null +++ b/qtinterface/interface_tqt3/tqtglobaldefines.h @@ -0,0 +1,20 @@ +/* + +Copyright (C) 2010-2011 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; 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 new file mode 100644 index 0000000..47dd6b7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqthread.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqthread.h b/qtinterface/interface_tqt3/tqthread.h new file mode 100644 index 0000000..1c297a9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqthread.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QThread class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QThread class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTHREAD_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqthreadstorage.cpp b/qtinterface/interface_tqt3/tqthreadstorage.cpp new file mode 100644 index 0000000..4f3f89f --- /dev/null +++ b/qtinterface/interface_tqt3/tqthreadstorage.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqthreadstorage.h b/qtinterface/interface_tqt3/tqthreadstorage.h new file mode 100644 index 0000000..2235922 --- /dev/null +++ b/qtinterface/interface_tqt3/tqthreadstorage.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QThreadStorage class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QThreadStorage class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTHREADSTORAGE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtimer.cpp b/qtinterface/interface_tqt3/tqtimer.cpp new file mode 100644 index 0000000..2a98e9e --- /dev/null +++ b/qtinterface/interface_tqt3/tqtimer.cpp @@ -0,0 +1,32 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +// int QTimer::myNewFunction(int parameter_one) +// { +// return parameter_one; +// } + +#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtimer.h b/qtinterface/interface_tqt3/tqtimer.h new file mode 100644 index 0000000..929081e --- /dev/null +++ b/qtinterface/interface_tqt3/tqtimer.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTimer class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTimer class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTIMER_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtl.cpp b/qtinterface/interface_tqt3/tqtl.cpp new file mode 100644 index 0000000..8155dc1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtl.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtl.h b/qtinterface/interface_tqt3/tqtl.h new file mode 100644 index 0000000..ddd465b --- /dev/null +++ b/qtinterface/interface_tqt3/tqtl.h @@ -0,0 +1,362 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the Qtl class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#include + +// 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 QT_NO_TEXTSTREAM +template +class TQTextOStreamIterator +{ +protected: + QTextOStream& stream; + QString separator; + +public: + TQTextOStreamIterator( QTextOStream& s) : stream( s ) {} + TQTextOStreamIterator( QTextOStream& s, const QString& sep ) + : stream( s ), separator( sep ) {} + TQTextOStreamIterator& operator= ( const T& x ) { + stream << x; + if ( !separator.isEmpty() ) + stream << separator; + return *this; + } + TQTextOStreamIterator& operator*() { return *this; } + TQTextOStreamIterator& operator++() { return *this; } + TQTextOStreamIterator& operator++(int) { return *this; } +}; +#endif //QT_NO_TEXTSTREAM + +template +inline OutputIterator tqCopy( InputIterator _begin, InputIterator _end, + OutputIterator _dest ) +{ + while( _begin != _end ) + *_dest++ = *_begin++; + return _dest; +} + +template +inline BiOutputIterator tqCopyBackward( BiIterator _begin, BiIterator _end, + BiOutputIterator _dest ) +{ + while ( _begin != _end ) + *--_dest = *--_end; + return _dest; +} + +template +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 +inline void tqFill( ForwardIterator first, ForwardIterator last, const T& val ) +{ + for ( ; first != last; ++first ) + *first = val; +} + +#if 0 +template +inline OutputIterator qReverseCopy( BiIterator _begin, BiIterator _end, + OutputIterator _dest ) +{ + while ( _begin != _end ) { + --_end; + *_dest = *_end; + ++_dest; + } + return _dest; +} +#endif + + +template +inline InputIterator tqFind( InputIterator first, InputIterator last, + const T& val ) +{ + while ( first != last && *first != val ) + ++first; + return first; +} + +template +inline void tqCount( InputIterator first, InputIterator last, const T& value, + Size& n ) +{ + for ( ; first != last; ++first ) + if ( *first == value ) + ++n; +} + +template +inline void tqSwap( T& _value1, T& _value2 ) +{ + T tmp = _value1; + _value1 = _value2; + _value2 = tmp; +} + + +template +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 +inline void tqBubbleSort( Container &c ) +{ + tqBubbleSort( c.begin(), c.end() ); +} + + +template +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 +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 +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 +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 TQBackInsertIterator +{ +public: + TQBackInsertIterator( Container &c ) + : container( &c ) + { + } + + TQBackInsertIterator& + operator=( const Q_TYPENAME Container::value_type &value ) + { + container->push_back( value ); + return *this; + } + + TQBackInsertIterator& operator*() + { + return *this; + } + + TQBackInsertIterator& operator++() + { + return *this; + } + + TQBackInsertIterator& operator++(int) + { + return *this; + } + +protected: + Container *container; +}; + +template +inline TQBackInsertIterator qBackInserter( Container &c ) +{ + return TQBackInsertIterator( c ); +} + +/**********************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQTL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtoolbar.cpp b/qtinterface/interface_tqt3/tqtoolbar.cpp new file mode 100644 index 0000000..5d794b4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtoolbar.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtoolbar.h b/qtinterface/interface_tqt3/tqtoolbar.h new file mode 100644 index 0000000..50ec427 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtoolbar.h @@ -0,0 +1,46 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QToolBar class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + + +#ifdef USE_QT4 + +// Reimplement the QToolBar class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTOOLBAR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtoolbox.cpp b/qtinterface/interface_tqt3/tqtoolbox.cpp new file mode 100644 index 0000000..ca4fe25 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtoolbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtoolbox.h b/qtinterface/interface_tqt3/tqtoolbox.h new file mode 100644 index 0000000..763d4b3 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtoolbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QToolBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QToolBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTOOLBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtoolbutton.cpp b/qtinterface/interface_tqt3/tqtoolbutton.cpp new file mode 100644 index 0000000..35894cd --- /dev/null +++ b/qtinterface/interface_tqt3/tqtoolbutton.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtoolbutton.h b/qtinterface/interface_tqt3/tqtoolbutton.h new file mode 100644 index 0000000..77f38c7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtoolbutton.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QToolButton class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QToolButton class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTOOLBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtooltip.cpp b/qtinterface/interface_tqt3/tqtooltip.cpp new file mode 100644 index 0000000..a7fb977 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtooltip.cpp @@ -0,0 +1,39 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtooltip.h b/qtinterface/interface_tqt3/tqtooltip.h new file mode 100644 index 0000000..c616799 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtooltip.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QToolTip class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QToolTip class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQTOOLTIP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtranslator.cpp b/qtinterface/interface_tqt3/tqtranslator.cpp new file mode 100644 index 0000000..74d631b --- /dev/null +++ b/qtinterface/interface_tqt3/tqtranslator.cpp @@ -0,0 +1,404 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtranslator.h b/qtinterface/interface_tqt3/tqtranslator.h new file mode 100644 index 0000000..98064e4 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtranslator.h @@ -0,0 +1,96 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTranslator class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTranslator class +// For Qt4, some changes are needed + +#include + +//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 */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtsciicodec.cpp b/qtinterface/interface_tqt3/tqtsciicodec.cpp new file mode 100644 index 0000000..041689c --- /dev/null +++ b/qtinterface/interface_tqt3/tqtsciicodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqtsciicodec.h b/qtinterface/interface_tqt3/tqtsciicodec.h new file mode 100644 index 0000000..917f301 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtsciicodec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QTsciiCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QTsciiCodec class +// For Qt4, this class has been removed! + +#endif // USE_QT4 + +#endif /* TQT_TQTSCIICODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqtstream.h b/qtinterface/interface_tqt3/tqtstream.h new file mode 100644 index 0000000..0373185 --- /dev/null +++ b/qtinterface/interface_tqt3/tqtstream.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQTSTREAM_H +#define TQT_TQTSTREAM_H + +#include + +// Pull in textstream defines + +#include + +#endif /* TQT_TQTSTREAM_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqurl.cpp b/qtinterface/interface_tqt3/tqurl.cpp new file mode 100644 index 0000000..6b0fbea --- /dev/null +++ b/qtinterface/interface_tqt3/tqurl.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqurl.h b/qtinterface/interface_tqt3/tqurl.h new file mode 100644 index 0000000..71e25e8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqurl.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUrl class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QUrl class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQURL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqurlinfo.cpp b/qtinterface/interface_tqt3/tqurlinfo.cpp new file mode 100644 index 0000000..ba98e6e --- /dev/null +++ b/qtinterface/interface_tqt3/tqurlinfo.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqurlinfo.h b/qtinterface/interface_tqt3/tqurlinfo.h new file mode 100644 index 0000000..365db4e --- /dev/null +++ b/qtinterface/interface_tqt3/tqurlinfo.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUrlInfo class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QUrlInfo class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQURL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqurloperator.cpp b/qtinterface/interface_tqt3/tqurloperator.cpp new file mode 100644 index 0000000..94ccb56 --- /dev/null +++ b/qtinterface/interface_tqt3/tqurloperator.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqurloperator.h b/qtinterface/interface_tqt3/tqurloperator.h new file mode 100644 index 0000000..c447aeb --- /dev/null +++ b/qtinterface/interface_tqt3/tqurloperator.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUrlOperator class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QUrlOperator class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQURLOPERATOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqutfcodec.cpp b/qtinterface/interface_tqt3/tqutfcodec.cpp new file mode 100644 index 0000000..193cd3c --- /dev/null +++ b/qtinterface/interface_tqt3/tqutfcodec.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqutfcodec.h b/qtinterface/interface_tqt3/tqutfcodec.h new file mode 100644 index 0000000..b1be0c9 --- /dev/null +++ b/qtinterface/interface_tqt3/tqutfcodec.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUtfCodec class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QUtfCodec class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQUTFCODEC_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tquuid.cpp b/qtinterface/interface_tqt3/tquuid.cpp new file mode 100644 index 0000000..3c38637 --- /dev/null +++ b/qtinterface/interface_tqt3/tquuid.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tquuid.h b/qtinterface/interface_tqt3/tquuid.h new file mode 100644 index 0000000..91fd3f7 --- /dev/null +++ b/qtinterface/interface_tqt3/tquuid.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QUuid class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QUuid class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQUUID_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqvalidator.cpp b/qtinterface/interface_tqt3/tqvalidator.cpp new file mode 100644 index 0000000..83b08bd --- /dev/null +++ b/qtinterface/interface_tqt3/tqvalidator.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqvalidator.h b/qtinterface/interface_tqt3/tqvalidator.h new file mode 100644 index 0000000..d33ab7b --- /dev/null +++ b/qtinterface/interface_tqt3/tqvalidator.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QValidator class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QValidator class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVALIDATOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqvaluelist.cpp b/qtinterface/interface_tqt3/tqvaluelist.cpp new file mode 100644 index 0000000..0fbdf44 --- /dev/null +++ b/qtinterface/interface_tqt3/tqvaluelist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqvaluelist.h b/qtinterface/interface_tqt3/tqvaluelist.h new file mode 100644 index 0000000..7f0f05d --- /dev/null +++ b/qtinterface/interface_tqt3/tqvaluelist.h @@ -0,0 +1,720 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QValueList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QValueList class +// For Qt4, some changes are needed + +#include +#include +#include + +/**************************************************************************** +** $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 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* next; + TQValueListNode* prev; + T data; +}; + +template +class TQValueListIterator +{ + public: + /** + * Typedefs + */ + typedef TQValueListNode* NodePtr; +#ifndef QT_NO_STL + typedef std::bidirectional_iterator_tag iterator_category; +#endif + typedef T value_type; + typedef size_t size_type; +#ifndef QT_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& it ) : node( it.node ) {} + + bool operator==( const TQValueListIterator& it ) const { return node == it.node; } + bool operator!=( const TQValueListIterator& 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& operator++() { + node = node->next; + return *this; + } + + TQValueListIterator operator++(int) { + TQValueListIterator tmp = *this; + node = node->next; + return tmp; + } + + TQValueListIterator& operator--() { + node = node->prev; + return *this; + } + + TQValueListIterator operator--(int) { + TQValueListIterator tmp = *this; + node = node->prev; + return tmp; + } + + TQValueListIterator& operator+=( int j ) { + while ( j-- ) + node = node->next; + return *this; + } + + TQValueListIterator& operator-=( int j ) { + while ( j-- ) + node = node->prev; + return *this; + } + +}; + +template +class TQValueListConstIterator +{ + public: + /** + * Typedefs + */ + typedef TQValueListNode* NodePtr; +#ifndef QT_NO_STL + typedef std::bidirectional_iterator_tag iterator_category; +#endif + typedef T value_type; + typedef size_t size_type; +#ifndef QT_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& it ) : node( it.node ) {} + TQValueListConstIterator( const TQValueListIterator& it ) : node( it.node ) {} + + bool operator==( const TQValueListConstIterator& it ) const { return node == it.node; } + bool operator!=( const TQValueListConstIterator& 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& operator++() { + node = node->next; + return *this; + } + + TQValueListConstIterator operator++(int) { + TQValueListConstIterator tmp = *this; + node = node->next; + return tmp; + } + + TQValueListConstIterator& operator--() { + node = node->prev; + return *this; + } + + TQValueListConstIterator operator--(int) { + TQValueListConstIterator tmp = *this; + node = node->prev; + return tmp; + } +}; + +template +class TQValueListPrivate : public Q3Shared +{ +public: + /** + * Typedefs + */ + typedef TQValueListIterator Iterator; + typedef TQValueListConstIterator ConstIterator; + typedef TQValueListNode Node; + typedef TQValueListNode* NodePtr; + typedef size_t size_type; + + /** + * Functions + */ + TQValueListPrivate(); + TQValueListPrivate( const TQValueListPrivate& _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 +TQValueListPrivate::TQValueListPrivate() +{ + node = new Node; node->next = node->prev = node; nodes = 0; +} + +template +TQValueListPrivate::TQValueListPrivate( const TQValueListPrivate& _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 +TQValueListPrivate::~TQValueListPrivate() { + NodePtr p = node->next; + while( p != node ) { + NodePtr x = p->next; + delete p; + p = x; + } + delete node; +} + +template +Q_TYPENAME TQValueListPrivate::Iterator TQValueListPrivate::insert( Q_TYPENAME TQValueListPrivate::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 +Q_TYPENAME TQValueListPrivate::Iterator TQValueListPrivate::remove( Q_TYPENAME TQValueListPrivate::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 +Q_TYPENAME TQValueListPrivate::NodePtr TQValueListPrivate::find( Q_TYPENAME TQValueListPrivate::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 +int TQValueListPrivate::findIndex( Q_TYPENAME TQValueListPrivate::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 +uint TQValueListPrivate::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 +uint TQValueListPrivate::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 +Q_TYPENAME TQValueListPrivate::NodePtr TQValueListPrivate::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 +void TQValueListPrivate::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( QT_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 QDeepCopy; + +template +class TQValueList +{ +public: + /** + * Typedefs + */ + typedef TQValueListIterator iterator; + typedef TQValueListConstIterator 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 QT_NO_STL + typedef ptrdiff_t difference_type; +#else + typedef int difference_type; +#endif + + /** + * API + */ + TQValueList() { sh = new TQValueListPrivate; } + TQValueList( const TQValueList& l ) { sh = l.sh; sh->ref(); } +#ifndef QT_NO_STL + TQValueList( const std::list& l ) + { + sh = new TQValueListPrivate; + qCopy( l.begin(), l.end(), std::back_inserter( *this ) ); + } +#endif + ~TQValueList() { sh->derefAndDelete(); } + + TQValueList& operator= ( const TQValueList& l ) + { + l.sh->ref(); + sh->derefAndDelete(); + sh = l.sh; + return *this; + } +#ifndef QT_NO_STL + TQValueList& operator= ( const std::list& l ) + { + detach(); + qCopy( l.begin(), l.end(), std::back_inserter( *this ) ); + return *this; + } + bool operator== ( const std::list& l ) const + { + if ( size() != l.size() ) + return FALSE; + const_iterator it2 = begin(); +#if !defined(Q_CC_MIPS) + typename +#endif + std::list::const_iterator it = l.begin(); + for ( ; it2 != end(); ++it2, ++it ) + if ( !((*it2) == (*it)) ) + return FALSE; + return TRUE; + } +#endif + + // Interoperability + TQValueList(const QList& l) + { + for (int i = 0; i < l.size(); ++i) append(l.at(i)); + } + + TQValueList& operator= (const QList& l) + { + this->clear(); + for (int i = 0; i < l.size(); ++i) append(l.at(i)); + return *this; + } + + operator QList() const { + QList list; + for (typename TQValueList::const_iterator it = this->constBegin(); + it != this->constEnd(); ++it) + list.append(*it); + return list; + } + + bool operator== ( const TQValueList& l ) const; + bool operator!= ( const TQValueList& 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& 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 operator+ ( const TQValueList& l ) const; + TQValueList& operator+= ( const TQValueList& 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& operator+= ( const T& x ) + { + append( x ); + return *this; + } + typedef TQValueListIterator Iterator; + typedef TQValueListConstIterator ConstIterator; + typedef T ValueType; + +protected: + /** + * Helpers + */ + void detach() { if ( sh->count > 1 ) detachInternal(); } + + /** + * Variables + */ + TQValueListPrivate* sh; + +private: + void detachInternal(); + + friend class QDeepCopy< TQValueList >; +}; + +template +bool TQValueList::operator== ( const TQValueList& 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 +void TQValueList::clear() +{ + if ( sh->count == 1 ) sh->clear(); else { sh->deref(); sh = new TQValueListPrivate; } +} + +template +Q_TYPENAME TQValueList::iterator TQValueList::erase( Q_TYPENAME TQValueList::iterator first, Q_TYPENAME TQValueList::iterator last ) +{ + while ( first != last ) + erase( first++ ); + return last; +} + + +template +void TQValueList::insert( Q_TYPENAME TQValueList::iterator pos, size_type n, const T& x ) +{ + for ( ; n > 0; --n ) + insert( pos, x ); +} + +template +TQValueList TQValueList::operator+ ( const TQValueList& l ) const +{ + TQValueList l2( *this ); + for( const_iterator it = l.begin(); it != l.end(); ++it ) + l2.append( *it ); + return l2; +} + +template +TQValueList& TQValueList::operator+= ( const TQValueList& l ) +{ + TQValueList copy = l; + for( const_iterator it = copy.begin(); it != copy.end(); ++it ) + append( *it ); + return *this; +} + +template +void TQValueList::detachInternal() +{ + sh->deref(); sh = new TQValueListPrivate( *sh ); +} + +#ifndef QT_NO_DATASTREAM +template +QDataStream& operator>>( QDataStream& s, TQValueList& 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 +QDataStream& operator<<( QDataStream& s, const TQValueList& l ) +{ + s << (Q_UINT32)l.size(); + TQValueListConstIterator it = l.begin(); + for( ; it != l.end(); ++it ) + s << *it; + return s; +} +#endif // QT_NO_DATASTREAM + +/****************************************************************************/ + +#endif // USE_QT4 + +#endif /* TQT_TQVALUELIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqvaluestack.cpp b/qtinterface/interface_tqt3/tqvaluestack.cpp new file mode 100644 index 0000000..3e390f3 --- /dev/null +++ b/qtinterface/interface_tqt3/tqvaluestack.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqvaluestack.h b/qtinterface/interface_tqt3/tqvaluestack.h new file mode 100644 index 0000000..2371d05 --- /dev/null +++ b/qtinterface/interface_tqt3/tqvaluestack.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QValueStack class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QValueStack class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVALUESTACK_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqvaluevector.cpp b/qtinterface/interface_tqt3/tqvaluevector.cpp new file mode 100644 index 0000000..f3aa5fc --- /dev/null +++ b/qtinterface/interface_tqt3/tqvaluevector.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqvaluevector.h b/qtinterface/interface_tqt3/tqvaluevector.h new file mode 100644 index 0000000..bc8ea00 --- /dev/null +++ b/qtinterface/interface_tqt3/tqvaluevector.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QValueVector class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QValueVector class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVALUEVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqvariant.cpp b/qtinterface/interface_tqt3/tqvariant.cpp new file mode 100644 index 0000000..5a59993 --- /dev/null +++ b/qtinterface/interface_tqt3/tqvariant.cpp @@ -0,0 +1,129 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#ifdef USE_QT4 + +#include + +// This is taken straight from +#ifdef Q_CC_SUN // Sun CC picks the wrong overload, so introduce awful hack + +template +inline T *v_cast(const QVariant::Private *nd, T * = 0) +{ + QVariant::Private *d = const_cast(nd); + return ((sizeof(T) > sizeof(QVariant::Private::Data)) + ? static_cast(d->data.shared->ptr) + : static_cast(static_cast(&d->data.c))); +} + +#else // every other compiler in this world + +template +inline const T *v_cast(const QVariant::Private *d, T * = 0) +{ + return ((sizeof(T) > sizeof(QVariant::Private::Data)) + ? static_cast(d->data.shared->ptr) + : static_cast(static_cast(&d->data.c))); +} + +template +inline T *v_cast(QVariant::Private *d, T * = 0) +{ + return ((sizeof(T) > sizeof(QVariant::Private::Data)) + ? static_cast(d->data.shared->ptr) + : static_cast(static_cast(&d->data.c))); +} + +#endif + +template +inline T qVariantToHelper(const QVariant::Private &d, QVariant::Type t, + const QVariant::Handler *handler, T * = 0) +{ + if (d.type == t) + return *v_cast(&d); + + T ret; + handler->convert(&d, t, &ret, 0); + return ret; +} + +QFont QVariant::toFont() const { + return qVariantToHelper(d, Font, handler); +} + +QColor QVariant::toColor() const { + return qVariantToHelper(d, Color, handler); +} + +QCursor QVariant::toCursor() const { + return qVariantToHelper(d, Cursor, handler); +} + +QBitmap QVariant::toBitmap() const { + return qVariantToHelper(d, Bitmap, handler); +} + +Q3PointArray QVariant::toPointArray() const { + return qVariantToHelper(d, PointArray, handler); +} + +QRegion QVariant::toRegion() const { + return qVariantToHelper(d, Region, handler); +} + +QPixmap QVariant::toPixmap() const { + return qVariantToHelper(d, Pixmap, handler); +} + +QImage QVariant::toImage() const { + return qVariantToHelper(d, Image, handler); +} + +QBrush QVariant::toBrush() const { + return qVariantToHelper(d, Brush, handler); +} + +QPalette QVariant::toPalette() const { + return qVariantToHelper(d, Palette, handler); +} + +QColorGroup QVariant::toColorGroup() const { + return qVariantToHelper(d, ColorGroup, handler); +} + +QIconSet QVariant::toIconSet() const { + return qVariantToHelper(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 new file mode 100644 index 0000000..fc88ffa --- /dev/null +++ b/qtinterface/interface_tqt3/tqvariant.h @@ -0,0 +1,46 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 +#include + +#ifdef USE_QT3 + +// Reimplement the QVariant class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QVariant class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVARIANT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqvbox.cpp b/qtinterface/interface_tqt3/tqvbox.cpp new file mode 100644 index 0000000..065fec2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqvbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqvbox.h b/qtinterface/interface_tqt3/tqvbox.h new file mode 100644 index 0000000..e889bee --- /dev/null +++ b/qtinterface/interface_tqt3/tqvbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QVBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QVBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqvbuttongroup.cpp b/qtinterface/interface_tqt3/tqvbuttongroup.cpp new file mode 100644 index 0000000..71a61bb --- /dev/null +++ b/qtinterface/interface_tqt3/tqvbuttongroup.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqvbuttongroup.h b/qtinterface/interface_tqt3/tqvbuttongroup.h new file mode 100644 index 0000000..7055cd0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqvbuttongroup.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QVButtonGroup class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QVButtonGroup class +// For Qt4, no changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVBUTTONGROUP_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqvector.h b/qtinterface/interface_tqt3/tqvector.h new file mode 100644 index 0000000..a682471 --- /dev/null +++ b/qtinterface/interface_tqt3/tqvector.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQVECTOR_H +#define TQT_TQVECTOR_H + +#include + +// Pull in tqptrvector defines + +#include + +#endif /* TQT_TQVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqvfbhdr.cpp b/qtinterface/interface_tqt3/tqvfbhdr.cpp new file mode 100644 index 0000000..28769ce --- /dev/null +++ b/qtinterface/interface_tqt3/tqvfbhdr.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqvfbhdr.h b/qtinterface/interface_tqt3/tqvfbhdr.h new file mode 100644 index 0000000..96676e5 --- /dev/null +++ b/qtinterface/interface_tqt3/tqvfbhdr.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QVFBHDR class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QVFBHDR class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVFBHDR_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqvgroupbox.cpp b/qtinterface/interface_tqt3/tqvgroupbox.cpp new file mode 100644 index 0000000..b8630ab --- /dev/null +++ b/qtinterface/interface_tqt3/tqvgroupbox.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqvgroupbox.h b/qtinterface/interface_tqt3/tqvgroupbox.h new file mode 100644 index 0000000..7515561 --- /dev/null +++ b/qtinterface/interface_tqt3/tqvgroupbox.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QVGroupBox class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QVGroupBox class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQVGROUPBOX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwaitcondition.cpp b/qtinterface/interface_tqt3/tqwaitcondition.cpp new file mode 100644 index 0000000..84a969e --- /dev/null +++ b/qtinterface/interface_tqt3/tqwaitcondition.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqwaitcondition.h b/qtinterface/interface_tqt3/tqwaitcondition.h new file mode 100644 index 0000000..ee73991 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwaitcondition.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWaitCondition class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWaitCondition class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWAITCONDITION_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwhatsthis.cpp b/qtinterface/interface_tqt3/tqwhatsthis.cpp new file mode 100644 index 0000000..e2e6e70 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwhatsthis.cpp @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwhatsthis.h b/qtinterface/interface_tqt3/tqwhatsthis.h new file mode 100644 index 0000000..c6dbe74 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwhatsthis.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWhatsThis class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWhatsThis class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWHATSTHIS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwidcoll.h b/qtinterface/interface_tqt3/tqwidcoll.h new file mode 100644 index 0000000..99c0a53 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidcoll.h @@ -0,0 +1,32 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQWIDCOLL_H +#define TQT_TQWIDCOLL_H + +#include + +// Pull in the widget defines + +#include +#include + +#endif /* TQT_TQWIDCOLL_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwidget.cpp b/qtinterface/interface_tqt3/tqwidget.cpp new file mode 100644 index 0000000..6d0cec1 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidget.cpp @@ -0,0 +1,35 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include + +#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 \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwidget.h b/qtinterface/interface_tqt3/tqwidget.h new file mode 100644 index 0000000..e01af09 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidget.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWidget class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWidget class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGET_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwidgetfactory.cpp b/qtinterface/interface_tqt3/tqwidgetfactory.cpp new file mode 100644 index 0000000..08123e6 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidgetfactory.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqwidgetfactory.h b/qtinterface/interface_tqt3/tqwidgetfactory.h new file mode 100644 index 0000000..13185e2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidgetfactory.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWidgetFactory class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWidgetFactory class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGETFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwidgetintdict.cpp b/qtinterface/interface_tqt3/tqwidgetintdict.cpp new file mode 100644 index 0000000..7077e66 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidgetintdict.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqwidgetintdict.h b/qtinterface/interface_tqt3/tqwidgetintdict.h new file mode 100644 index 0000000..f743699 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidgetintdict.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWidgetIntDict class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWidgetIntDict class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGETINTDICT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwidgetlist.cpp b/qtinterface/interface_tqt3/tqwidgetlist.cpp new file mode 100644 index 0000000..d0e8288 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidgetlist.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqwidgetlist.h b/qtinterface/interface_tqt3/tqwidgetlist.h new file mode 100644 index 0000000..d4cb078 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidgetlist.h @@ -0,0 +1,91 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the TQWidgetList class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the TQWidgetList class +// For Qt4, this class was removed! + +#include +#include + +class TQWidgetList : public TQPtrList +{ +public: + TQWidgetList() : TQPtrList() {} + TQWidgetList( const TQWidgetList &list ) : TQPtrList(list) {} + ~TQWidgetList() { clear(); } + TQWidgetList &operator=(const TQWidgetList &list) + { return (TQWidgetList&)TQPtrList::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 +{ +public: + TQWidgetListIt( const TQWidgetList &l ) : TQPtrListIterator(l) {} + TQWidgetListIt &operator=(const TQWidgetListIt &i) + { return (TQWidgetListIt&)TQPtrListIterator::operator=(i); } +}; + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGETLIST_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwidgetplugin.cpp b/qtinterface/interface_tqt3/tqwidgetplugin.cpp new file mode 100644 index 0000000..67fa59a --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidgetplugin.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqwidgetplugin.h b/qtinterface/interface_tqt3/tqwidgetplugin.h new file mode 100644 index 0000000..6206358 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidgetplugin.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWidgetPlugin class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWidgetPlugin class +// For Qt4, this class was removed! + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGETPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwidgetstack.cpp b/qtinterface/interface_tqt3/tqwidgetstack.cpp new file mode 100644 index 0000000..8280426 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidgetstack.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqwidgetstack.h b/qtinterface/interface_tqt3/tqwidgetstack.h new file mode 100644 index 0000000..89f44d0 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwidgetstack.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWidgetStack class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWidgetStack class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWIDGETSTACK_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwindefs.h b/qtinterface/interface_tqt3/tqwindefs.h new file mode 100644 index 0000000..0381261 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwindefs.h @@ -0,0 +1,31 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQT_TQWINDEFS_H +#define TQT_TQWINDEFS_H + +#include + +// Pull in tqwindowdefs defines + +#include + +#endif /* TQT_TQWINDEFS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwindowdefs.h b/qtinterface/interface_tqt3/tqwindowdefs.h new file mode 100644 index 0000000..9694559 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwindowdefs.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qwindowdefs defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qwindowdefs defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWINDOWDEFS_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwindowsstyle.cpp b/qtinterface/interface_tqt3/tqwindowsstyle.cpp new file mode 100644 index 0000000..4def1fe --- /dev/null +++ b/qtinterface/interface_tqt3/tqwindowsstyle.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqwindowsstyle.h b/qtinterface/interface_tqt3/tqwindowsstyle.h new file mode 100644 index 0000000..f7cc1fb --- /dev/null +++ b/qtinterface/interface_tqt3/tqwindowsstyle.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWindowsStyle class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWindowsStyle class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWINDOWSSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwinexport.h b/qtinterface/interface_tqt3/tqwinexport.h new file mode 100644 index 0000000..56cce85 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwinexport.h @@ -0,0 +1,43 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Pull in Qt3 qwinexport defines + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Pull in Qt4 qwinexport defines + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWINEXPORT_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwizard.cpp b/qtinterface/interface_tqt3/tqwizard.cpp new file mode 100644 index 0000000..945e381 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwizard.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqwizard.h b/qtinterface/interface_tqt3/tqwizard.h new file mode 100644 index 0000000..db1c55a --- /dev/null +++ b/qtinterface/interface_tqt3/tqwizard.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWizard class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWizard class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWIZARD_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqwmatrix.cpp b/qtinterface/interface_tqt3/tqwmatrix.cpp new file mode 100644 index 0000000..ad92047 --- /dev/null +++ b/qtinterface/interface_tqt3/tqwmatrix.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqwmatrix.h b/qtinterface/interface_tqt3/tqwmatrix.h new file mode 100644 index 0000000..4c38c2d --- /dev/null +++ b/qtinterface/interface_tqt3/tqwmatrix.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWMatrix class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWMatrix class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWMATRIX_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqworkspace.cpp b/qtinterface/interface_tqt3/tqworkspace.cpp new file mode 100644 index 0000000..59556d8 --- /dev/null +++ b/qtinterface/interface_tqt3/tqworkspace.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqworkspace.h b/qtinterface/interface_tqt3/tqworkspace.h new file mode 100644 index 0000000..4a88db2 --- /dev/null +++ b/qtinterface/interface_tqt3/tqworkspace.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QWorkspace class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QWorkspace class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQWORKSPACE_H */ \ No newline at end of file diff --git a/qtinterface/interface_tqt3/tqxml.cpp b/qtinterface/interface_tqt3/tqxml.cpp new file mode 100644 index 0000000..10749f7 --- /dev/null +++ b/qtinterface/interface_tqt3/tqxml.cpp @@ -0,0 +1,23 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#include +#include diff --git a/qtinterface/interface_tqt3/tqxml.h b/qtinterface/interface_tqt3/tqxml.h new file mode 100644 index 0000000..23abc8e --- /dev/null +++ b/qtinterface/interface_tqt3/tqxml.h @@ -0,0 +1,45 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the 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 + +#ifdef USE_QT3 + +// Reimplement the QXml class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#ifdef USE_QT4 + +// Reimplement the QXml class +// For Qt4, some changes are needed + +#include + +#endif // USE_QT4 + +#endif /* TQT_TQXML_H */ \ No newline at end of file diff --git a/qtinterface/private/tqcom_p.h b/qtinterface/private/tqcom_p.h deleted file mode 100644 index 8611847..0000000 --- a/qtinterface/private/tqcom_p.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#endif /* TQT_TQCOM_P_H */ diff --git a/qtinterface/private/tqeffects_p.h b/qtinterface/private/tqeffects_p.h deleted file mode 100644 index 7e15c03..0000000 --- a/qtinterface/private/tqeffects_p.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QUComExtra_P class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#endif // USE_QT4 - -#endif /* TQT_TQEFFECTS_P_H */ diff --git a/qtinterface/private/tqinternal_p.h b/qtinterface/private/tqinternal_p.h deleted file mode 100644 index 069d11e..0000000 --- a/qtinterface/private/tqinternal_p.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSharedDoubleBuffer class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#endif // USE_QT4 - -#endif /* TQT_TQINTERNAL_P_H */ diff --git a/qtinterface/private/tqlayoutengine_p.h b/qtinterface/private/tqlayoutengine_p.h deleted file mode 100644 index 1bb9581..0000000 --- a/qtinterface/private/tqlayoutengine_p.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QUComExtra_P class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#endif /* TQT_TQLAYOUTENGINE_P_H */ diff --git a/qtinterface/private/tqpluginmanager_p.h b/qtinterface/private/tqpluginmanager_p.h deleted file mode 100644 index d476598..0000000 --- a/qtinterface/private/tqpluginmanager_p.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#endif /* TQT_TQPLUGINMANAGER_P_H */ diff --git a/qtinterface/private/tqrichtext_p.h b/qtinterface/private/tqrichtext_p.h deleted file mode 100644 index 47dfed1..0000000 --- a/qtinterface/private/tqrichtext_p.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSharedDoubleBuffer class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#endif // USE_QT4 - -#endif /* TQT_TQRICHTEXT_P_H */ diff --git a/qtinterface/private/tqtextengine_p.h b/qtinterface/private/tqtextengine_p.h deleted file mode 100644 index 1a6c6cc..0000000 --- a/qtinterface/private/tqtextengine_p.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSharedDoubleBuffer class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTENGINE_P_H */ diff --git a/qtinterface/private/tqucom_p.h b/qtinterface/private/tqucom_p.h deleted file mode 100644 index be46f52..0000000 --- a/qtinterface/private/tqucom_p.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#endif /* TQT_TQUCOM_P_H */ diff --git a/qtinterface/private/tqucomextra_p.cpp b/qtinterface/private/tqucomextra_p.cpp deleted file mode 100644 index c9fc62b..0000000 --- a/qtinterface/private/tqucomextra_p.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - -#endif \ No newline at end of file diff --git a/qtinterface/private/tqucomextra_p.h b/qtinterface/private/tqucomextra_p.h deleted file mode 100644 index 4817321..0000000 --- a/qtinterface/private/tqucomextra_p.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QUComExtra_P class -// For Qt3, no changes are needed - -#include - -#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/private/tqwidgetinterface_p.h b/qtinterface/private/tqwidgetinterface_p.h deleted file mode 100644 index 5c72d32..0000000 --- a/qtinterface/private/tqwidgetinterface_p.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#endif /* TQT_TQWIDGETINTERFACE_P_H */ diff --git a/qtinterface/tq1xcompatibility.cpp b/qtinterface/tq1xcompatibility.cpp deleted file mode 100644 index 44a88e4..0000000 --- a/qtinterface/tq1xcompatibility.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -//#include diff --git a/qtinterface/tq1xcompatibility.h b/qtinterface/tq1xcompatibility.h deleted file mode 100644 index b9c1d6c..0000000 --- a/qtinterface/tq1xcompatibility.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQ1XCOMPATIBILITY_H -#define TQT_TQ1XCOMPATIBILITY_H - -#include - -#ifdef USE_QT3 - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQ1XCOMPATIBILITY_H */ \ No newline at end of file diff --git a/qtinterface/tqabstractlayout.cpp b/qtinterface/tqabstractlayout.cpp deleted file mode 100644 index 1af32cf..0000000 --- a/qtinterface/tqabstractlayout.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqabstractlayout.h b/qtinterface/tqabstractlayout.h deleted file mode 100644 index ddb8c5c..0000000 --- a/qtinterface/tqabstractlayout.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -//#include - -#endif // USE_QT4 - -#endif /* TQT_TQABSTRACTLAYOUT_H */ \ No newline at end of file diff --git a/qtinterface/tqaccel.cpp b/qtinterface/tqaccel.cpp deleted file mode 100644 index 87762a7..0000000 --- a/qtinterface/tqaccel.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqaccel.h b/qtinterface/tqaccel.h deleted file mode 100644 index a0ccae9..0000000 --- a/qtinterface/tqaccel.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QAccel class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAccel class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQACCEL_H */ \ No newline at end of file diff --git a/qtinterface/tqaccessible.cpp b/qtinterface/tqaccessible.cpp deleted file mode 100644 index 830a35e..0000000 --- a/qtinterface/tqaccessible.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqaccessible.h b/qtinterface/tqaccessible.h deleted file mode 100644 index 33d6ce8..0000000 --- a/qtinterface/tqaccessible.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QAccessible class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAccessible class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQACCESSIBLE_H */ \ No newline at end of file diff --git a/qtinterface/tqaction.cpp b/qtinterface/tqaction.cpp deleted file mode 100644 index 5cd7dee..0000000 --- a/qtinterface/tqaction.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqaction.h b/qtinterface/tqaction.h deleted file mode 100644 index 7cc9e7d..0000000 --- a/qtinterface/tqaction.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include - -#ifdef USE_QT3 - -// Reimplement the QAction class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAction class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQACTION_H */ \ No newline at end of file diff --git a/qtinterface/tqapp.h b/qtinterface/tqapp.h deleted file mode 100644 index f759fac..0000000 --- a/qtinterface/tqapp.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQAPP_H -#define TQT_TQAPP_H - -#include - -// Pull in tqapplication defines - -#include - -#endif /* TQT_TQAPP_H */ \ No newline at end of file diff --git a/qtinterface/tqapplication.cpp b/qtinterface/tqapplication.cpp deleted file mode 100644 index 26a20d6..0000000 --- a/qtinterface/tqapplication.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#include - -#ifdef USE_QT3 -extern Time qt_x_time; -extern Time qt_x_user_time; - -void set_tqt_x_time(unsigned long x) { - qt_x_time = x; -} - -unsigned long get_tqt_x_time(void) { - return qt_x_time; -} - -void set_tqt_x_user_time(unsigned long x) { - qt_x_user_time = x; -} - -unsigned long get_tqt_x_user_time(void) { - return qt_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/tqapplication.h b/qtinterface/tqapplication.h deleted file mode 100644 index 6b44a43..0000000 --- a/qtinterface/tqapplication.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include - -#ifdef USE_QT3 - -// Reimplement the QApplication class -// For Qt3, no changes are needed - -#include - -// 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 - -#endif // USE_QT4 - -#endif /* TQT_TQAPPLICATION_H */ diff --git a/qtinterface/tqarray.h b/qtinterface/tqarray.h deleted file mode 100644 index 5d7843c..0000000 --- a/qtinterface/tqarray.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQARRAY_H -#define TQT_TQARRAY_H - -#include - -// Pull in tqmemarray defines - -#include - -#endif /* TQT_TQARRAY_H */ \ No newline at end of file diff --git a/qtinterface/tqasciicache.cpp b/qtinterface/tqasciicache.cpp deleted file mode 100644 index 11865d2..0000000 --- a/qtinterface/tqasciicache.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqasciicache.h b/qtinterface/tqasciicache.h deleted file mode 100644 index a78ea18..0000000 --- a/qtinterface/tqasciicache.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QAsciiCache class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAsciiCache class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQASCIICACHE_H */ \ No newline at end of file diff --git a/qtinterface/tqasciidict.cpp b/qtinterface/tqasciidict.cpp deleted file mode 100644 index 411765a..0000000 --- a/qtinterface/tqasciidict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqasciidict.h b/qtinterface/tqasciidict.h deleted file mode 100644 index a6b5320..0000000 --- a/qtinterface/tqasciidict.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QAsciiDict class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAsciiDict class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQASCIIDICT_H */ \ No newline at end of file diff --git a/qtinterface/tqassistantclient.cpp b/qtinterface/tqassistantclient.cpp deleted file mode 100644 index 4aab5cb..0000000 --- a/qtinterface/tqassistantclient.cpp +++ /dev/null @@ -1,26 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -// Force this library to link against qassistantclient -//QAssistantClient myClient; diff --git a/qtinterface/tqassistantclient.h b/qtinterface/tqassistantclient.h deleted file mode 100644 index f72b7c7..0000000 --- a/qtinterface/tqassistantclient.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -#include - -#endif // USE_QT3 - -#endif /* TQT_TQASSISTANTCLIENT_H */ diff --git a/qtinterface/tqasyncimageio.cpp b/qtinterface/tqasyncimageio.cpp deleted file mode 100644 index bf18d62..0000000 --- a/qtinterface/tqasyncimageio.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqasyncimageio.h b/qtinterface/tqasyncimageio.h deleted file mode 100644 index eb885c6..0000000 --- a/qtinterface/tqasyncimageio.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QAsyncImageIO class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAsyncImageIO class -// For Qt4, this class no longer exists! - -#endif // USE_QT4 - -#endif /* TQT_TQASYNCIMAGEIO_H */ \ No newline at end of file diff --git a/qtinterface/tqasyncio.cpp b/qtinterface/tqasyncio.cpp deleted file mode 100644 index 096938b..0000000 --- a/qtinterface/tqasyncio.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqasyncio.h b/qtinterface/tqasyncio.h deleted file mode 100644 index d934096..0000000 --- a/qtinterface/tqasyncio.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include - -#ifdef USE_QT3 - -// Reimplement the QAsyncIO class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAsyncIO class -// For Qt4, this class no longer exists! - -#endif // USE_QT4 - -#endif /* TQT_TQASYNCIO_H */ \ No newline at end of file diff --git a/qtinterface/tqbig5codec.cpp b/qtinterface/tqbig5codec.cpp deleted file mode 100644 index bef2877..0000000 --- a/qtinterface/tqbig5codec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqbig5codec.h b/qtinterface/tqbig5codec.h deleted file mode 100644 index 72a39b4..0000000 --- a/qtinterface/tqbig5codec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QBig5Codec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QBig5Codec class -// For Qt4, this class no longer exists! - -#endif // USE_QT4 - -#endif /* TQT_TQQBIG5CODEC_H */ \ No newline at end of file diff --git a/qtinterface/tqbitarray.cpp b/qtinterface/tqbitarray.cpp deleted file mode 100644 index 31844c8..0000000 --- a/qtinterface/tqbitarray.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqbitarray.h b/qtinterface/tqbitarray.h deleted file mode 100644 index 6dcd918..0000000 --- a/qtinterface/tqbitarray.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QBitArray class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QBitArray class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQBITARRAY_H */ \ No newline at end of file diff --git a/qtinterface/tqbitarry.h b/qtinterface/tqbitarry.h deleted file mode 100644 index 34fdd51..0000000 --- a/qtinterface/tqbitarry.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQBITARRY_H -#define TQT_TQBITARRY_H - -#include -#include - -// Pull in tqbitarry defines -#include - -#endif /* TQT_TQBITARRY_H */ \ No newline at end of file diff --git a/qtinterface/tqbitmap.cpp b/qtinterface/tqbitmap.cpp deleted file mode 100644 index 319be52..0000000 --- a/qtinterface/tqbitmap.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqbitmap.h b/qtinterface/tqbitmap.h deleted file mode 100644 index 951d477..0000000 --- a/qtinterface/tqbitmap.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QBitmap class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QBitmap class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQBITMAP_H */ \ No newline at end of file diff --git a/qtinterface/tqbrush.cpp b/qtinterface/tqbrush.cpp deleted file mode 100644 index 8619599..0000000 --- a/qtinterface/tqbrush.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqbrush.h b/qtinterface/tqbrush.h deleted file mode 100644 index 7da8793..0000000 --- a/qtinterface/tqbrush.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QBrush class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QBrush class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQBRUSH_H */ \ No newline at end of file diff --git a/qtinterface/tqbttngrp.h b/qtinterface/tqbttngrp.h deleted file mode 100644 index 6de934a..0000000 --- a/qtinterface/tqbttngrp.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQBTTNGRP_H -#define TQT_TQBTTNGRP_H - -#include - -// Pull in all buttongroup defines - -#include - -#endif /* TQT_TQBTTNGRP_H */ \ No newline at end of file diff --git a/qtinterface/tqbuffer.cpp b/qtinterface/tqbuffer.cpp deleted file mode 100644 index fb66adb..0000000 --- a/qtinterface/tqbuffer.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqbuffer.h b/qtinterface/tqbuffer.h deleted file mode 100644 index 13723ec..0000000 --- a/qtinterface/tqbuffer.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QBuffer class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QBuffer class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQBUFFER_H */ \ No newline at end of file diff --git a/qtinterface/tqbutton.cpp b/qtinterface/tqbutton.cpp deleted file mode 100644 index 2dc1c81..0000000 --- a/qtinterface/tqbutton.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqbutton.h b/qtinterface/tqbutton.h deleted file mode 100644 index 44dde3d..0000000 --- a/qtinterface/tqbutton.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QButton class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QButton class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/tqbuttongroup.cpp b/qtinterface/tqbuttongroup.cpp deleted file mode 100644 index 1eccec7..0000000 --- a/qtinterface/tqbuttongroup.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqbuttongroup.h b/qtinterface/tqbuttongroup.h deleted file mode 100644 index b84ab80..0000000 --- a/qtinterface/tqbuttongroup.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QButtonGroup class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QButtonGroup class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQBUTTONGROUP_H */ \ No newline at end of file diff --git a/qtinterface/tqcache.cpp b/qtinterface/tqcache.cpp deleted file mode 100644 index fd422d7..0000000 --- a/qtinterface/tqcache.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqcache.h b/qtinterface/tqcache.h deleted file mode 100644 index 287f5fc..0000000 --- a/qtinterface/tqcache.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QCache class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCache class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCACHE_H */ \ No newline at end of file diff --git a/qtinterface/tqcanvas.cpp b/qtinterface/tqcanvas.cpp deleted file mode 100644 index d8ccca4..0000000 --- a/qtinterface/tqcanvas.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqcanvas.h b/qtinterface/tqcanvas.h deleted file mode 100644 index 8024b08..0000000 --- a/qtinterface/tqcanvas.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QCanvas class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCanvas class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCANVAS_H */ \ No newline at end of file diff --git a/qtinterface/tqcdestyle.cpp b/qtinterface/tqcdestyle.cpp deleted file mode 100644 index c3600d9..0000000 --- a/qtinterface/tqcdestyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqcdestyle.h b/qtinterface/tqcdestyle.h deleted file mode 100644 index 3c8e2a2..0000000 --- a/qtinterface/tqcdestyle.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QCDEStyle class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCDEStyle class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCDESTYLE_H */ \ No newline at end of file diff --git a/qtinterface/tqcheckbox.cpp b/qtinterface/tqcheckbox.cpp deleted file mode 100644 index 725d106..0000000 --- a/qtinterface/tqcheckbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqcheckbox.h b/qtinterface/tqcheckbox.h deleted file mode 100644 index 55c148d..0000000 --- a/qtinterface/tqcheckbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the TQCheckBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the TQCheckBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCHECKBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqchkbox.h b/qtinterface/tqchkbox.h deleted file mode 100644 index 4e3129b..0000000 --- a/qtinterface/tqchkbox.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQCHKBOX_H -#define TQT_TQCHKBOX_H - -#include - -// Pull in all checkbox defines - -#include - -#endif /* TQT_TQCHKBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqcleanuphandler.cpp b/qtinterface/tqcleanuphandler.cpp deleted file mode 100644 index b3ee5d6..0000000 --- a/qtinterface/tqcleanuphandler.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqcleanuphandler.h b/qtinterface/tqcleanuphandler.h deleted file mode 100644 index 5b1140f..0000000 --- a/qtinterface/tqcleanuphandler.h +++ /dev/null @@ -1,131 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QCleanupHandler class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCleanupHandler class -// For Qt4, some changes are needed - -//#include - -#include "tqptrlist.h" - -template -class TQCleanupHandler -{ -public: - TQCleanupHandler() : cleanupObjects( 0 ) {} - ~TQCleanupHandler() { clear(); } - - Type* add( Type **object ) { - if ( !cleanupObjects ) - cleanupObjects = new Q3PtrList; - 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 it( *cleanupObjects ); - Type **object; - while ( ( object = it.current() ) ) { - delete *object; - *object = 0; - cleanupObjects->remove( object ); - } - delete cleanupObjects; - cleanupObjects = 0; - } - -private: - Q3PtrList *cleanupObjects; -}; - -template -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 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 */ \ No newline at end of file diff --git a/qtinterface/tqclipboard.cpp b/qtinterface/tqclipboard.cpp deleted file mode 100644 index 2f0ac54..0000000 --- a/qtinterface/tqclipboard.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqclipboard.h b/qtinterface/tqclipboard.h deleted file mode 100644 index 8616c33..0000000 --- a/qtinterface/tqclipboard.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QClipboard class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QClipboard class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCLIPBOARD_H */ \ No newline at end of file diff --git a/qtinterface/tqclipbrd.h b/qtinterface/tqclipbrd.h deleted file mode 100644 index 37d7a5f..0000000 --- a/qtinterface/tqclipbrd.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQCLIPBRD_H -#define TQT_TQCLIPBRD_H - -#include - -// Pull in all clipboard defines - -#include - -#endif /* TQT_TQCLIPBRD_H */ \ No newline at end of file diff --git a/qtinterface/tqcollect.h b/qtinterface/tqcollect.h deleted file mode 100644 index a5b0e7a..0000000 --- a/qtinterface/tqcollect.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQCOLLECT_H -#define TQT_TQCOLLECT_H - -#include - -// Pull in all qptrcollection defines - -#include - -#endif /* TQT_TQCOLLECT_H */ \ No newline at end of file diff --git a/qtinterface/tqcollection.h b/qtinterface/tqcollection.h deleted file mode 100644 index c27cc91..0000000 --- a/qtinterface/tqcollection.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQCOLLECTION_H -#define TQT_TQCOLLECTION_H - -#include - -// Pull in all qptrcollection defines - -#include - -#endif /* TQT_TQCOLLECTION_H */ \ No newline at end of file diff --git a/qtinterface/tqcolor.cpp b/qtinterface/tqcolor.cpp deleted file mode 100644 index a3f7b7f..0000000 --- a/qtinterface/tqcolor.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqcolor.h b/qtinterface/tqcolor.h deleted file mode 100644 index 1e3bd45..0000000 --- a/qtinterface/tqcolor.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QColor class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QColor class -// For Qt4, no changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCOLOR_H */ \ No newline at end of file diff --git a/qtinterface/tqcolordialog.cpp b/qtinterface/tqcolordialog.cpp deleted file mode 100644 index 68cc503..0000000 --- a/qtinterface/tqcolordialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqcolordialog.h b/qtinterface/tqcolordialog.h deleted file mode 100644 index 1bb1d2a..0000000 --- a/qtinterface/tqcolordialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QColorDialog class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QColorDialog class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCOLORDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/tqcombo.h b/qtinterface/tqcombo.h deleted file mode 100644 index 84f9996..0000000 --- a/qtinterface/tqcombo.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQCOMBO_H -#define TQT_TQCOMBO_H - -#include - -// Pull in all combo box defines - -#include - -#endif /* TQT_TQCOMBO_H */ \ No newline at end of file diff --git a/qtinterface/tqcombobox.cpp b/qtinterface/tqcombobox.cpp deleted file mode 100644 index aec24f0..0000000 --- a/qtinterface/tqcombobox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqcombobox.h b/qtinterface/tqcombobox.h deleted file mode 100644 index bacd944..0000000 --- a/qtinterface/tqcombobox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QComboBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QComboBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCOMBOBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqcommonstyle.cpp b/qtinterface/tqcommonstyle.cpp deleted file mode 100644 index 2741709..0000000 --- a/qtinterface/tqcommonstyle.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqcommonstyle.h b/qtinterface/tqcommonstyle.h deleted file mode 100644 index 66ef08f..0000000 --- a/qtinterface/tqcommonstyle.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QCommonStyle class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCommonStyle class -// For Qt4, some changes are needed - -#include -#include -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCOMMONSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/tqcompactstyle.cpp b/qtinterface/tqcompactstyle.cpp deleted file mode 100644 index df9b712..0000000 --- a/qtinterface/tqcompactstyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqcompactstyle.h b/qtinterface/tqcompactstyle.h deleted file mode 100644 index 8be3bd4..0000000 --- a/qtinterface/tqcompactstyle.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QCompactStyle class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCompactStyle class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQCOMPACTSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/tqconfig.h b/qtinterface/tqconfig.h deleted file mode 100644 index 4bdb7b0..0000000 --- a/qtinterface/tqconfig.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Pull in all Qt3 configuration defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in all Qt4 configuration defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCONFIG_H */ \ No newline at end of file diff --git a/qtinterface/tqconnect.h b/qtinterface/tqconnect.h deleted file mode 100644 index 6aa2451..0000000 --- a/qtinterface/tqconnect.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQCONNECT_H -#define TQT_TQCONNECT_H - -#include - -// Pull in all connection defines - -#include - -#endif /* TQT_TQCONNECT_H */ \ No newline at end of file diff --git a/qtinterface/tqconnection.cpp b/qtinterface/tqconnection.cpp deleted file mode 100644 index 711f422..0000000 --- a/qtinterface/tqconnection.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqconnection.h b/qtinterface/tqconnection.h deleted file mode 100644 index 39fcf5d..0000000 --- a/qtinterface/tqconnection.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QConnection class -// For Qt3, no changes are needed - -#include - -#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 */ \ No newline at end of file diff --git a/qtinterface/tqcstring.cpp b/qtinterface/tqcstring.cpp deleted file mode 100644 index 0ab1487..0000000 --- a/qtinterface/tqcstring.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - -QByteArray::operator QByteArray *() const -{ return (QByteArray*)(d->data); } - -#ifndef QT_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 //QT_NO_REGEXP - -QByteArray QByteArray::copy() const { - QByteArray copy(*this); - copy.detach(); - return copy; -} - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqcstring.h b/qtinterface/tqcstring.h deleted file mode 100644 index 07daf58..0000000 --- a/qtinterface/tqcstring.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include -#include - -#ifdef USE_QT3 - -// Reimplement the QCString class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QByteArray class -// For Qt4, some changes are needed - -//#include -#include - -// Reimplement the QCString class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCSTRING_H */ \ No newline at end of file diff --git a/qtinterface/tqcursor.cpp b/qtinterface/tqcursor.cpp deleted file mode 100644 index 535b518..0000000 --- a/qtinterface/tqcursor.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqcursor.h b/qtinterface/tqcursor.h deleted file mode 100644 index 65f47ec..0000000 --- a/qtinterface/tqcursor.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QCursor class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QCursor class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQCURSOR_H */ \ No newline at end of file diff --git a/qtinterface/tqdatabrowser.cpp b/qtinterface/tqdatabrowser.cpp deleted file mode 100644 index 97e9a24..0000000 --- a/qtinterface/tqdatabrowser.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdatabrowser.h b/qtinterface/tqdatabrowser.h deleted file mode 100644 index 3fb8ba7..0000000 --- a/qtinterface/tqdatabrowser.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDataBrowser class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDataBrowser class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDATABROWSER_H */ \ No newline at end of file diff --git a/qtinterface/tqdatastream.cpp b/qtinterface/tqdatastream.cpp deleted file mode 100644 index 3c0ef8b..0000000 --- a/qtinterface/tqdatastream.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqdatastream.h b/qtinterface/tqdatastream.h deleted file mode 100644 index fdc54bf..0000000 --- a/qtinterface/tqdatastream.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include - -#ifdef USE_QT3 - -// Reimplement the QDataStream class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDataStream class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDATASTREAM_H */ \ No newline at end of file diff --git a/qtinterface/tqdatatable.cpp b/qtinterface/tqdatatable.cpp deleted file mode 100644 index 24af924..0000000 --- a/qtinterface/tqdatatable.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdatatable.h b/qtinterface/tqdatatable.h deleted file mode 100644 index c8376ec..0000000 --- a/qtinterface/tqdatatable.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDataTable class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDataTable class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDATATABLE_H */ \ No newline at end of file diff --git a/qtinterface/tqdataview.cpp b/qtinterface/tqdataview.cpp deleted file mode 100644 index 963eda0..0000000 --- a/qtinterface/tqdataview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdataview.h b/qtinterface/tqdataview.h deleted file mode 100644 index 8007dbf..0000000 --- a/qtinterface/tqdataview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDataView class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDataView class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDATAVIEW_H */ \ No newline at end of file diff --git a/qtinterface/tqdatetime.cpp b/qtinterface/tqdatetime.cpp deleted file mode 100644 index 0413dcb..0000000 --- a/qtinterface/tqdatetime.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdatetime.h b/qtinterface/tqdatetime.h deleted file mode 100644 index 1753b56..0000000 --- a/qtinterface/tqdatetime.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDateTime class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDateTime class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDATETIME_H */ \ No newline at end of file diff --git a/qtinterface/tqdatetimeedit.cpp b/qtinterface/tqdatetimeedit.cpp deleted file mode 100644 index 3b78b2a..0000000 --- a/qtinterface/tqdatetimeedit.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdatetimeedit.h b/qtinterface/tqdatetimeedit.h deleted file mode 100644 index 6ba4ac4..0000000 --- a/qtinterface/tqdatetimeedit.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDateTimeEditBase class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDateTimeEditBase class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDATETIMEEDIT_H */ \ No newline at end of file diff --git a/qtinterface/tqdatetm.h b/qtinterface/tqdatetm.h deleted file mode 100644 index b44f57a..0000000 --- a/qtinterface/tqdatetm.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQDATETM_H -#define TQT_TQDATETM_H - -#include - -// Pull in all date/time defines - -#include - -#endif /* TQT_TQDATETM_H */ \ No newline at end of file diff --git a/qtinterface/tqdeepcopy.cpp b/qtinterface/tqdeepcopy.cpp deleted file mode 100644 index ca0f40f..0000000 --- a/qtinterface/tqdeepcopy.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdeepcopy.h b/qtinterface/tqdeepcopy.h deleted file mode 100644 index 63bc788..0000000 --- a/qtinterface/tqdeepcopy.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDeepCopy class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDeepCopy class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDEEPCOPY_H */ \ No newline at end of file diff --git a/qtinterface/tqdesktopwidget.cpp b/qtinterface/tqdesktopwidget.cpp deleted file mode 100644 index 305df6b..0000000 --- a/qtinterface/tqdesktopwidget.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdesktopwidget.h b/qtinterface/tqdesktopwidget.h deleted file mode 100644 index e83d0ad..0000000 --- a/qtinterface/tqdesktopwidget.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDesktopWidget class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDesktopWidget class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDESKTOPWIDGET_H */ \ No newline at end of file diff --git a/qtinterface/tqdial.cpp b/qtinterface/tqdial.cpp deleted file mode 100644 index 18021bf..0000000 --- a/qtinterface/tqdial.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdial.h b/qtinterface/tqdial.h deleted file mode 100644 index b77ae83..0000000 --- a/qtinterface/tqdial.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDial class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDial class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDIAL_H */ \ No newline at end of file diff --git a/qtinterface/tqdialog.cpp b/qtinterface/tqdialog.cpp deleted file mode 100644 index 295998f..0000000 --- a/qtinterface/tqdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdialog.h b/qtinterface/tqdialog.h deleted file mode 100644 index 08381f2..0000000 --- a/qtinterface/tqdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDialog class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDialog class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/tqdict.cpp b/qtinterface/tqdict.cpp deleted file mode 100644 index e041d2b..0000000 --- a/qtinterface/tqdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdict.h b/qtinterface/tqdict.h deleted file mode 100644 index 890a496..0000000 --- a/qtinterface/tqdict.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDict class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDict class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDICT_H */ \ No newline at end of file diff --git a/qtinterface/tqdir.cpp b/qtinterface/tqdir.cpp deleted file mode 100644 index 328148e..0000000 --- a/qtinterface/tqdir.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqdir.h b/qtinterface/tqdir.h deleted file mode 100644 index 5b331e1..0000000 --- a/qtinterface/tqdir.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDir class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDir class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDIR_H */ \ No newline at end of file diff --git a/qtinterface/tqdns.cpp b/qtinterface/tqdns.cpp deleted file mode 100644 index 1e84bb3..0000000 --- a/qtinterface/tqdns.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdns.h b/qtinterface/tqdns.h deleted file mode 100644 index b8d57f3..0000000 --- a/qtinterface/tqdns.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDns class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDns class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDNS_H */ \ No newline at end of file diff --git a/qtinterface/tqdockarea.cpp b/qtinterface/tqdockarea.cpp deleted file mode 100644 index 98e436b..0000000 --- a/qtinterface/tqdockarea.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdockarea.h b/qtinterface/tqdockarea.h deleted file mode 100644 index 2001f1b..0000000 --- a/qtinterface/tqdockarea.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDockArea class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDockArea class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDOCKAREA_H */ \ No newline at end of file diff --git a/qtinterface/tqdockwindow.cpp b/qtinterface/tqdockwindow.cpp deleted file mode 100644 index 47ee368..0000000 --- a/qtinterface/tqdockwindow.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdockwindow.h b/qtinterface/tqdockwindow.h deleted file mode 100644 index 0b4a3e0..0000000 --- a/qtinterface/tqdockwindow.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDockWindow class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDockWindow class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDOCKWINDOW_H */ \ No newline at end of file diff --git a/qtinterface/tqdom.cpp b/qtinterface/tqdom.cpp deleted file mode 100644 index 308cc5f..0000000 --- a/qtinterface/tqdom.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include \ No newline at end of file diff --git a/qtinterface/tqdom.h b/qtinterface/tqdom.h deleted file mode 100644 index 1e9b360..0000000 --- a/qtinterface/tqdom.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDom class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDom class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQACCEL_H */ \ No newline at end of file diff --git a/qtinterface/tqdragobject.cpp b/qtinterface/tqdragobject.cpp deleted file mode 100644 index c4769bf..0000000 --- a/qtinterface/tqdragobject.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdragobject.h b/qtinterface/tqdragobject.h deleted file mode 100644 index f6a96fa..0000000 --- a/qtinterface/tqdragobject.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDragObject class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDragObject class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDRAGOBJECT_H */ \ No newline at end of file diff --git a/qtinterface/tqdrawutil.cpp b/qtinterface/tqdrawutil.cpp deleted file mode 100644 index de4234b..0000000 --- a/qtinterface/tqdrawutil.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -//#include diff --git a/qtinterface/tqdrawutil.h b/qtinterface/tqdrawutil.h deleted file mode 100644 index 17f944f..0000000 --- a/qtinterface/tqdrawutil.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDrawUtil class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDrawUtil class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDRAWUTIL_H */ \ No newline at end of file diff --git a/qtinterface/tqdrawutl.h b/qtinterface/tqdrawutl.h deleted file mode 100644 index 3418bfb..0000000 --- a/qtinterface/tqdrawutl.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -// Pull in all drawing utility defines - -#include - -#endif /* TQT_TQDRAWUTIL_H */ \ No newline at end of file diff --git a/qtinterface/tqdropsite.cpp b/qtinterface/tqdropsite.cpp deleted file mode 100644 index 92ca6e0..0000000 --- a/qtinterface/tqdropsite.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqdropsite.h b/qtinterface/tqdropsite.h deleted file mode 100644 index 860b62d..0000000 --- a/qtinterface/tqdropsite.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QDropSite class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QDropSite class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQDROPSITE_H */ \ No newline at end of file diff --git a/qtinterface/tqdstream.h b/qtinterface/tqdstream.h deleted file mode 100644 index 43e5bc3..0000000 --- a/qtinterface/tqdstream.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQDSTREAM_H -#define TQT_TQDSTREAM_H - -#include - -// Pull in all datastream defines - -#include - -#endif /* TQT_TQDSTREAM_H */ \ No newline at end of file diff --git a/qtinterface/tqeditorfactory.cpp b/qtinterface/tqeditorfactory.cpp deleted file mode 100644 index b7d0bc2..0000000 --- a/qtinterface/tqeditorfactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqeditorfactory.h b/qtinterface/tqeditorfactory.h deleted file mode 100644 index 2fc2b7b..0000000 --- a/qtinterface/tqeditorfactory.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QEditorFactory class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QEditorFactory class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQEDITORFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/tqerrormessage.cpp b/qtinterface/tqerrormessage.cpp deleted file mode 100644 index 2355e9e..0000000 --- a/qtinterface/tqerrormessage.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqerrormessage.h b/qtinterface/tqerrormessage.h deleted file mode 100644 index 4c65338..0000000 --- a/qtinterface/tqerrormessage.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QErrorMessage class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QErrorMessage class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQERRORMESSAGE_H */ \ No newline at end of file diff --git a/qtinterface/tqeucjpcodec.cpp b/qtinterface/tqeucjpcodec.cpp deleted file mode 100644 index 971126e..0000000 --- a/qtinterface/tqeucjpcodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqeucjpcodec.h b/qtinterface/tqeucjpcodec.h deleted file mode 100644 index d77f939..0000000 --- a/qtinterface/tqeucjpcodec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QEucJpCodec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QEucJpCodec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQEUCJPCODEC_H */ \ No newline at end of file diff --git a/qtinterface/tqeuckrcodec.cpp b/qtinterface/tqeuckrcodec.cpp deleted file mode 100644 index 987f03d..0000000 --- a/qtinterface/tqeuckrcodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqeuckrcodec.h b/qtinterface/tqeuckrcodec.h deleted file mode 100644 index ba0685b..0000000 --- a/qtinterface/tqeuckrcodec.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QEucKrCodec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQEUCKRCODEC_H */ \ No newline at end of file diff --git a/qtinterface/tqevent.cpp b/qtinterface/tqevent.cpp deleted file mode 100644 index c657540..0000000 --- a/qtinterface/tqevent.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqevent.h b/qtinterface/tqevent.h deleted file mode 100644 index 023a05b..0000000 --- a/qtinterface/tqevent.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QEvent class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QEvent class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQEVENT_H */ \ No newline at end of file diff --git a/qtinterface/tqeventloop.cpp b/qtinterface/tqeventloop.cpp deleted file mode 100644 index d8f3d95..0000000 --- a/qtinterface/tqeventloop.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - -TQEventLoop *TQEventLoop::eventLoop () -{ - return static_cast(QAbstractEventDispatcher::instance()); -} - -bool TQEventLoop::processEvents( ProcessEventsFlags flags ) { - return QEventLoop::processEvents((ProcessEventsFlag)flags); -} - -#endif \ No newline at end of file diff --git a/qtinterface/tqeventloop.h b/qtinterface/tqeventloop.h deleted file mode 100644 index 3c7310e..0000000 --- a/qtinterface/tqeventloop.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QEventLoop class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QEventLoop class -// For Qt4, some changes are needed - -#include -#include - -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 */ \ No newline at end of file diff --git a/qtinterface/tqfeatures.h b/qtinterface/tqfeatures.h deleted file mode 100644 index e9bb751..0000000 --- a/qtinterface/tqfeatures.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Pull in all Qt3 feature defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in all Qt4 feature defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFEATURES_H */ \ No newline at end of file diff --git a/qtinterface/tqfile.cpp b/qtinterface/tqfile.cpp deleted file mode 100644 index e30ecb4..0000000 --- a/qtinterface/tqfile.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include \ No newline at end of file diff --git a/qtinterface/tqfile.h b/qtinterface/tqfile.h deleted file mode 100644 index 4bec476..0000000 --- a/qtinterface/tqfile.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFile class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFile class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFILE_H */ \ No newline at end of file diff --git a/qtinterface/tqfiledef.h b/qtinterface/tqfiledef.h deleted file mode 100644 index d5e54c1..0000000 --- a/qtinterface/tqfiledef.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQFILEDEF_H -#define TQT_TQFILEDEF_H - -#include - -#ifdef USE_QT3 - -// Pull in legacy qfiledef defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Do not pull in legacy qfiledef defines - -#endif // USE_QT4 - -#endif /* TQT_TQFILEDEF_H */ \ No newline at end of file diff --git a/qtinterface/tqfiledialog.cpp b/qtinterface/tqfiledialog.cpp deleted file mode 100644 index 896924b..0000000 --- a/qtinterface/tqfiledialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqfiledialog.h b/qtinterface/tqfiledialog.h deleted file mode 100644 index cebbf8d..0000000 --- a/qtinterface/tqfiledialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFileDialog class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFileDialog class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFILEDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/tqfiledlg.h b/qtinterface/tqfiledlg.h deleted file mode 100644 index 003ef4a..0000000 --- a/qtinterface/tqfiledlg.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQFILEDLG_H -#define TQT_TQFILEDLG_H - -#include - -// Pull in file dialog defines - -#include - -#endif /* TQT_TQFILEDLG_H */ \ No newline at end of file diff --git a/qtinterface/tqfileinf.h b/qtinterface/tqfileinf.h deleted file mode 100644 index 7697602..0000000 --- a/qtinterface/tqfileinf.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQFILEINF_H -#define TQT_TQFILEINF_H - -#include - -// Pull in all file information defines - -#include - -#endif /* TQT_TQFILEINF_H */ \ No newline at end of file diff --git a/qtinterface/tqfileinfo.cpp b/qtinterface/tqfileinfo.cpp deleted file mode 100644 index 5d56e8a..0000000 --- a/qtinterface/tqfileinfo.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - -QFileInfo::operator QFileInfo *() const { - return const_cast(this); -} - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqfileinfo.h b/qtinterface/tqfileinfo.h deleted file mode 100644 index d30d58b..0000000 --- a/qtinterface/tqfileinfo.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFileInfo class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFileInfo class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFILEINFO_H */ \ No newline at end of file diff --git a/qtinterface/tqfocusdata.cpp b/qtinterface/tqfocusdata.cpp deleted file mode 100644 index ff41080..0000000 --- a/qtinterface/tqfocusdata.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqfocusdata.h b/qtinterface/tqfocusdata.h deleted file mode 100644 index 81ea02a..0000000 --- a/qtinterface/tqfocusdata.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFocusData class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFocusData class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQFOCUSDATA_H */ \ No newline at end of file diff --git a/qtinterface/tqfont.cpp b/qtinterface/tqfont.cpp deleted file mode 100644 index b8e3309..0000000 --- a/qtinterface/tqfont.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqfont.h b/qtinterface/tqfont.h deleted file mode 100644 index d267060..0000000 --- a/qtinterface/tqfont.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFont class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFont class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFONT_H */ \ No newline at end of file diff --git a/qtinterface/tqfontdatabase.cpp b/qtinterface/tqfontdatabase.cpp deleted file mode 100644 index a23b119..0000000 --- a/qtinterface/tqfontdatabase.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqfontdatabase.h b/qtinterface/tqfontdatabase.h deleted file mode 100644 index 922feb0..0000000 --- a/qtinterface/tqfontdatabase.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFontDatabase class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFontDatabase class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFONTDATABASE_H */ \ No newline at end of file diff --git a/qtinterface/tqfontdialog.cpp b/qtinterface/tqfontdialog.cpp deleted file mode 100644 index 0f04dad..0000000 --- a/qtinterface/tqfontdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqfontdialog.h b/qtinterface/tqfontdialog.h deleted file mode 100644 index cfcaed3..0000000 --- a/qtinterface/tqfontdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFontDialog class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFontDialog class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFONTDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/tqfontinf.h b/qtinterface/tqfontinf.h deleted file mode 100644 index 393c2e6..0000000 --- a/qtinterface/tqfontinf.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQFONTINF_H -#define TQT_TQFONTINF_H - -#include - -// Pull in all font information defines - -#include - -#endif /* TQT_TQFONTINF_H */ \ No newline at end of file diff --git a/qtinterface/tqfontinfo.cpp b/qtinterface/tqfontinfo.cpp deleted file mode 100644 index 14ea3bd..0000000 --- a/qtinterface/tqfontinfo.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqfontinfo.h b/qtinterface/tqfontinfo.h deleted file mode 100644 index 3a85285..0000000 --- a/qtinterface/tqfontinfo.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFontInfo class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFontInfo class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFONTINFO_H */ \ No newline at end of file diff --git a/qtinterface/tqfontmet.h b/qtinterface/tqfontmet.h deleted file mode 100644 index cc7b88e..0000000 --- a/qtinterface/tqfontmet.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQFONTMET_H -#define TQT_TQFONTMET_H - -#include - -// Pull in all font metrics defines - -#include - -#endif /* TQT_TQFONTMET_H */ \ No newline at end of file diff --git a/qtinterface/tqfontmetrics.cpp b/qtinterface/tqfontmetrics.cpp deleted file mode 100644 index d86ac46..0000000 --- a/qtinterface/tqfontmetrics.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqfontmetrics.h b/qtinterface/tqfontmetrics.h deleted file mode 100644 index b7a79be..0000000 --- a/qtinterface/tqfontmetrics.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFontMetrics class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFontMetrics class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFONTMETRICS_H */ \ No newline at end of file diff --git a/qtinterface/tqframe.cpp b/qtinterface/tqframe.cpp deleted file mode 100644 index c504275..0000000 --- a/qtinterface/tqframe.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqframe.h b/qtinterface/tqframe.h deleted file mode 100644 index 3c196a0..0000000 --- a/qtinterface/tqframe.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFrame class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFrame class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFRAME_H */ \ No newline at end of file diff --git a/qtinterface/tqftp.cpp b/qtinterface/tqftp.cpp deleted file mode 100644 index b6c3a27..0000000 --- a/qtinterface/tqftp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqftp.h b/qtinterface/tqftp.h deleted file mode 100644 index fc98b40..0000000 --- a/qtinterface/tqftp.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QFtp class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QFtp class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQFTP_H */ \ No newline at end of file diff --git a/qtinterface/tqgarray.cpp b/qtinterface/tqgarray.cpp deleted file mode 100644 index 1b57517..0000000 --- a/qtinterface/tqgarray.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqgarray.h b/qtinterface/tqgarray.h deleted file mode 100644 index f3feac6..0000000 --- a/qtinterface/tqgarray.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGArray class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGArray class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQGARRAY_H */ \ No newline at end of file diff --git a/qtinterface/tqgb18030codec.cpp b/qtinterface/tqgb18030codec.cpp deleted file mode 100644 index 923dfac..0000000 --- a/qtinterface/tqgb18030codec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqgb18030codec.h b/qtinterface/tqgb18030codec.h deleted file mode 100644 index 326fd28..0000000 --- a/qtinterface/tqgb18030codec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGb18030Codec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGb18030Codec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQGB18030CODEC_H */ \ No newline at end of file diff --git a/qtinterface/tqgbkcodec.h b/qtinterface/tqgbkcodec.h deleted file mode 100644 index b08d9cb..0000000 --- a/qtinterface/tqgbkcodec.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -// Pull in all qgb18030codec defines - -#include - -#endif /* TQT_TQGBKCODEC_H */ \ No newline at end of file diff --git a/qtinterface/tqgcache.cpp b/qtinterface/tqgcache.cpp deleted file mode 100644 index 5f7a87f..0000000 --- a/qtinterface/tqgcache.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqgcache.h b/qtinterface/tqgcache.h deleted file mode 100644 index a10441b..0000000 --- a/qtinterface/tqgcache.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGCache class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGCache class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQGCACHE_H */ \ No newline at end of file diff --git a/qtinterface/tqgdict.cpp b/qtinterface/tqgdict.cpp deleted file mode 100644 index b0985b3..0000000 --- a/qtinterface/tqgdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqgdict.h b/qtinterface/tqgdict.h deleted file mode 100644 index 289b1bf..0000000 --- a/qtinterface/tqgdict.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGDict class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGDict class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQGDICT_H */ \ No newline at end of file diff --git a/qtinterface/tqgeneric.h b/qtinterface/tqgeneric.h deleted file mode 100644 index eaf3762..0000000 --- a/qtinterface/tqgeneric.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#endif // USE_QT4 - -#endif /* TQT_TQGENERIC_H */ \ No newline at end of file diff --git a/qtinterface/tqgif.h b/qtinterface/tqgif.h deleted file mode 100644 index a839524..0000000 --- a/qtinterface/tqgif.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Include the Qt3 gif defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Include the Qt4 gif defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQGIF_H */ \ No newline at end of file diff --git a/qtinterface/tqgl.cpp b/qtinterface/tqgl.cpp deleted file mode 100644 index 66f69cc..0000000 --- a/qtinterface/tqgl.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqgl.h b/qtinterface/tqgl.h deleted file mode 100644 index 7039a1c..0000000 --- a/qtinterface/tqgl.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGL class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGL class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQGL_H */ \ No newline at end of file diff --git a/qtinterface/tqglcolormap.cpp b/qtinterface/tqglcolormap.cpp deleted file mode 100644 index 23c87c1..0000000 --- a/qtinterface/tqglcolormap.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqglcolormap.h b/qtinterface/tqglcolormap.h deleted file mode 100644 index 24ddaf9..0000000 --- a/qtinterface/tqglcolormap.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGLColormap class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGLColormap class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQGLCOLORMAP_H */ \ No newline at end of file diff --git a/qtinterface/tqglist.cpp b/qtinterface/tqglist.cpp deleted file mode 100644 index b0dffe8..0000000 --- a/qtinterface/tqglist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqglist.h b/qtinterface/tqglist.h deleted file mode 100644 index 378fd4e..0000000 --- a/qtinterface/tqglist.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGList class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGList class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQGLIST_H */ \ No newline at end of file diff --git a/qtinterface/tqglobal.h b/qtinterface/tqglobal.h deleted file mode 100644 index 5094d00..0000000 --- a/qtinterface/tqglobal.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Pull in all Qt3 global defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in all Qt4 global defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQGLOBAL_H */ \ No newline at end of file diff --git a/qtinterface/tqgplugin.cpp b/qtinterface/tqgplugin.cpp deleted file mode 100644 index 4ba1bf1..0000000 --- a/qtinterface/tqgplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqgplugin.h b/qtinterface/tqgplugin.h deleted file mode 100644 index 1b66267..0000000 --- a/qtinterface/tqgplugin.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGPlugin class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGPlugin class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQGPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/tqgrid.cpp b/qtinterface/tqgrid.cpp deleted file mode 100644 index 6db2e5f..0000000 --- a/qtinterface/tqgrid.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqgrid.h b/qtinterface/tqgrid.h deleted file mode 100644 index d2dd05f..0000000 --- a/qtinterface/tqgrid.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGrid class -// For Qt3, some changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGrid class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQGRID_H */ \ No newline at end of file diff --git a/qtinterface/tqgridview.cpp b/qtinterface/tqgridview.cpp deleted file mode 100644 index 817dc5c..0000000 --- a/qtinterface/tqgridview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqgridview.h b/qtinterface/tqgridview.h deleted file mode 100644 index 1b48d71..0000000 --- a/qtinterface/tqgridview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGridView class -// For Qt3, some changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGridView class -// For Qt4, no changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQGRIDVIEW_H */ \ No newline at end of file diff --git a/qtinterface/tqgroupbox.cpp b/qtinterface/tqgroupbox.cpp deleted file mode 100644 index 6620835..0000000 --- a/qtinterface/tqgroupbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqgroupbox.h b/qtinterface/tqgroupbox.h deleted file mode 100644 index b83a77e..0000000 --- a/qtinterface/tqgroupbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGroupBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGroupBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQGROUPBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqgrpbox.h b/qtinterface/tqgrpbox.h deleted file mode 100644 index e6e5aff..0000000 --- a/qtinterface/tqgrpbox.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQGRPBOX_H -#define TQT_TQGRPBOX_H - -#include - -// Pull in tqgroupbox defines - -#include - -#endif /* TQT_TQGRPBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqguardedptr.cpp b/qtinterface/tqguardedptr.cpp deleted file mode 100644 index da3febc..0000000 --- a/qtinterface/tqguardedptr.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqguardedptr.h b/qtinterface/tqguardedptr.h deleted file mode 100644 index 4626aaa..0000000 --- a/qtinterface/tqguardedptr.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGuardedPtr class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGuardedPtr class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQGUARDEDPTR_H */ \ No newline at end of file diff --git a/qtinterface/tqgvector.cpp b/qtinterface/tqgvector.cpp deleted file mode 100644 index 5417f15..0000000 --- a/qtinterface/tqgvector.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqgvector.h b/qtinterface/tqgvector.h deleted file mode 100644 index 42f407d..0000000 --- a/qtinterface/tqgvector.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QGVector class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QGVector class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQGVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/tqhbox.cpp b/qtinterface/tqhbox.cpp deleted file mode 100644 index 749deb7..0000000 --- a/qtinterface/tqhbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqhbox.h b/qtinterface/tqhbox.h deleted file mode 100644 index a23a09f..0000000 --- a/qtinterface/tqhbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QHBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQHBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqhbuttongroup.cpp b/qtinterface/tqhbuttongroup.cpp deleted file mode 100644 index 3f1530b..0000000 --- a/qtinterface/tqhbuttongroup.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqhbuttongroup.h b/qtinterface/tqhbuttongroup.h deleted file mode 100644 index 6a06b3e..0000000 --- a/qtinterface/tqhbuttongroup.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QHButtonGroup class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHButtonGroup class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQHBUTTONGROUP_H */ \ No newline at end of file diff --git a/qtinterface/tqheader.cpp b/qtinterface/tqheader.cpp deleted file mode 100644 index 9623131..0000000 --- a/qtinterface/tqheader.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqheader.h b/qtinterface/tqheader.h deleted file mode 100644 index 5e97694..0000000 --- a/qtinterface/tqheader.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QHeader class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHeader class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQHEADER_H */ \ No newline at end of file diff --git a/qtinterface/tqhgroupbox.cpp b/qtinterface/tqhgroupbox.cpp deleted file mode 100644 index c552817..0000000 --- a/qtinterface/tqhgroupbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqhgroupbox.h b/qtinterface/tqhgroupbox.h deleted file mode 100644 index 53b6049..0000000 --- a/qtinterface/tqhgroupbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QHGroupBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHGroupBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQHGROUPBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqhostaddress.cpp b/qtinterface/tqhostaddress.cpp deleted file mode 100644 index 7041ba5..0000000 --- a/qtinterface/tqhostaddress.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqhostaddress.h b/qtinterface/tqhostaddress.h deleted file mode 100644 index a4d2783..0000000 --- a/qtinterface/tqhostaddress.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QHostAddress class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHostAddress class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQHOSTADDRESS_H */ \ No newline at end of file diff --git a/qtinterface/tqhttp.cpp b/qtinterface/tqhttp.cpp deleted file mode 100644 index ebf10ae..0000000 --- a/qtinterface/tqhttp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqhttp.h b/qtinterface/tqhttp.h deleted file mode 100644 index c033ee8..0000000 --- a/qtinterface/tqhttp.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QHttp class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHttp class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQHTTP_H */ \ No newline at end of file diff --git a/qtinterface/tqiconset.cpp b/qtinterface/tqiconset.cpp deleted file mode 100644 index cab3a65..0000000 --- a/qtinterface/tqiconset.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - -#include "Qt/q3cleanuphandler.h" - -static TQIconFactory *defaultFac = 0; -static Q3SingleCleanupHandler 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 \ No newline at end of file diff --git a/qtinterface/tqiconset.h b/qtinterface/tqiconset.h deleted file mode 100644 index 92851fe..0000000 --- a/qtinterface/tqiconset.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QAccel class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAccel class -// For Qt4, some changes are needed - -#include -#include - -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 */ \ No newline at end of file diff --git a/qtinterface/tqiconview.cpp b/qtinterface/tqiconview.cpp deleted file mode 100644 index 24f01de..0000000 --- a/qtinterface/tqiconview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqiconview.h b/qtinterface/tqiconview.h deleted file mode 100644 index e9c71f3..0000000 --- a/qtinterface/tqiconview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QIconView class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QIconView class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQICONVIEW_H */ \ No newline at end of file diff --git a/qtinterface/tqimage.cpp b/qtinterface/tqimage.cpp deleted file mode 100644 index 21f8773..0000000 --- a/qtinterface/tqimage.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqimage.h b/qtinterface/tqimage.h deleted file mode 100644 index ddf1ec1..0000000 --- a/qtinterface/tqimage.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QImage class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QImage class -// For Qt4, some changes are needed - -#include -#include -#include - -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 */ \ No newline at end of file diff --git a/qtinterface/tqimageformatplugin.cpp b/qtinterface/tqimageformatplugin.cpp deleted file mode 100644 index 7cc61f6..0000000 --- a/qtinterface/tqimageformatplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqimageformatplugin.h b/qtinterface/tqimageformatplugin.h deleted file mode 100644 index 124891b..0000000 --- a/qtinterface/tqimageformatplugin.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QImageFormatPlugin class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QImageFormatPlugin class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQIMAGEFORMATPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/tqinputcontext.cpp b/qtinterface/tqinputcontext.cpp deleted file mode 100644 index ba2aa08..0000000 --- a/qtinterface/tqinputcontext.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqinputcontext.h b/qtinterface/tqinputcontext.h deleted file mode 100644 index 5a9f569..0000000 --- a/qtinterface/tqinputcontext.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QInputContext class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QInputContext class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQINPUTCONTEXT_H */ \ No newline at end of file diff --git a/qtinterface/tqinputcontextfactory.cpp b/qtinterface/tqinputcontextfactory.cpp deleted file mode 100644 index cb95544..0000000 --- a/qtinterface/tqinputcontextfactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqinputcontextfactory.h b/qtinterface/tqinputcontextfactory.h deleted file mode 100644 index 3ca7863..0000000 --- a/qtinterface/tqinputcontextfactory.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QInputContextFactory class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QInputContextFactory class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQINPUTCONTEXTFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/tqinputdialog.cpp b/qtinterface/tqinputdialog.cpp deleted file mode 100644 index 0ac3172..0000000 --- a/qtinterface/tqinputdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqinputdialog.h b/qtinterface/tqinputdialog.h deleted file mode 100644 index b4c3ad3..0000000 --- a/qtinterface/tqinputdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QInputDialog class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QInputDialog class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQINPUTDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/tqintcach.h b/qtinterface/tqintcach.h deleted file mode 100644 index aae7245..0000000 --- a/qtinterface/tqintcach.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQINTCACH_H -#define TQT_TQINTCACH_H - -#include - -// Pull in all qintcache defines - -#include - -#endif /* TQT_TQINTCACH_H */ \ No newline at end of file diff --git a/qtinterface/tqintcache.cpp b/qtinterface/tqintcache.cpp deleted file mode 100644 index 75efc5b..0000000 --- a/qtinterface/tqintcache.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqintcache.h b/qtinterface/tqintcache.h deleted file mode 100644 index 042fe50..0000000 --- a/qtinterface/tqintcache.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QIntCache class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QIntCache class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQINTCACHE_H */ \ No newline at end of file diff --git a/qtinterface/tqintdict.cpp b/qtinterface/tqintdict.cpp deleted file mode 100644 index d047741..0000000 --- a/qtinterface/tqintdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqintdict.h b/qtinterface/tqintdict.h deleted file mode 100644 index bb76f3d..0000000 --- a/qtinterface/tqintdict.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QIntDict class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QIntDict class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQINTDICT_H */ \ No newline at end of file diff --git a/qtinterface/tqinterlacestyle.cpp b/qtinterface/tqinterlacestyle.cpp deleted file mode 100644 index 42172df..0000000 --- a/qtinterface/tqinterlacestyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -//#include diff --git a/qtinterface/tqinterlacestyle.h b/qtinterface/tqinterlacestyle.h deleted file mode 100644 index 0a834af..0000000 --- a/qtinterface/tqinterlacestyle.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QInterlaceStyle class -// For Qt3, no changes are needed - -#include - -#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 - -#error "Not ported to new API as of Qt4!" - -#endif // USE_QT4 - -#endif /* TQT_TQINTERLACESTYLE_H */ \ No newline at end of file diff --git a/qtinterface/tqiodev.h b/qtinterface/tqiodev.h deleted file mode 100644 index 7bfebc0..0000000 --- a/qtinterface/tqiodev.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQIODEV_H -#define TQT_TQIODEV_H - -#include - -// Pull in tqiodevice defines - -#include - -#endif /* TQT_TQIODEV_H */ \ No newline at end of file diff --git a/qtinterface/tqiodevice.cpp b/qtinterface/tqiodevice.cpp deleted file mode 100644 index 1038fc4..0000000 --- a/qtinterface/tqiodevice.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqiodevice.h b/qtinterface/tqiodevice.h deleted file mode 100644 index 4728996..0000000 --- a/qtinterface/tqiodevice.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include - -#ifdef USE_QT3 - -// Reimplement the QIODevice class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QIODevice class -// For Qt4, no changes are needed - -#define QT_NO_QOBJECT -#include -#undef QT_NO_QOBJECT - -// class TQIODevice : public QIODevice { -// public: -// TQIODevice(); -// #ifndef QT_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 */ \ No newline at end of file diff --git a/qtinterface/tqjiscodec.cpp b/qtinterface/tqjiscodec.cpp deleted file mode 100644 index 716318d..0000000 --- a/qtinterface/tqjiscodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqjiscodec.h b/qtinterface/tqjiscodec.h deleted file mode 100644 index f3840b1..0000000 --- a/qtinterface/tqjiscodec.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QJisCodec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QJisCodec class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQJISCODEC_H */ \ No newline at end of file diff --git a/qtinterface/tqjpegio.h b/qtinterface/tqjpegio.h deleted file mode 100644 index 27691bc..0000000 --- a/qtinterface/tqjpegio.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Pull in Qt3 qjpegio.h defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qjpegio.h defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQJPEGIO_H */ \ No newline at end of file diff --git a/qtinterface/tqjpunicode.cpp b/qtinterface/tqjpunicode.cpp deleted file mode 100644 index 1c72060..0000000 --- a/qtinterface/tqjpunicode.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqjpunicode.h b/qtinterface/tqjpunicode.h deleted file mode 100644 index d34376e..0000000 --- a/qtinterface/tqjpunicode.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QJpUnicodeConv class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QJpUnicodeConv class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQJPUNICODE_H */ \ No newline at end of file diff --git a/qtinterface/tqkeycode.h b/qtinterface/tqkeycode.h deleted file mode 100644 index 8206f12..0000000 --- a/qtinterface/tqkeycode.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -// Pull in tqkeycode defines - -#include - -#endif /* TQT_TQKEYCODE_H */ \ No newline at end of file diff --git a/qtinterface/tqkeysequence.cpp b/qtinterface/tqkeysequence.cpp deleted file mode 100644 index 9c39c72..0000000 --- a/qtinterface/tqkeysequence.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqkeysequence.h b/qtinterface/tqkeysequence.h deleted file mode 100644 index e6e77c1..0000000 --- a/qtinterface/tqkeysequence.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QKeySequence class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QKeySequence class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQKEYSEQUENCE_H */ \ No newline at end of file diff --git a/qtinterface/tqlabel.cpp b/qtinterface/tqlabel.cpp deleted file mode 100644 index af1fbc2..0000000 --- a/qtinterface/tqlabel.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqlabel.h b/qtinterface/tqlabel.h deleted file mode 100644 index 2af056a..0000000 --- a/qtinterface/tqlabel.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QLabel class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLabel class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQLABEL_H */ \ No newline at end of file diff --git a/qtinterface/tqlayout.cpp b/qtinterface/tqlayout.cpp deleted file mode 100644 index 0ce6ffa..0000000 --- a/qtinterface/tqlayout.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqlayout.h b/qtinterface/tqlayout.h deleted file mode 100644 index ae4f860..0000000 --- a/qtinterface/tqlayout.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QLayout class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLayout class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQLAYOUT_H */ \ No newline at end of file diff --git a/qtinterface/tqlcdnum.h b/qtinterface/tqlcdnum.h deleted file mode 100644 index 236739e..0000000 --- a/qtinterface/tqlcdnum.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -// Pull in tqlcdnumber defines - -#include - -#endif /* TQT_TQLCDNUMBER_H */ \ No newline at end of file diff --git a/qtinterface/tqlcdnumber.cpp b/qtinterface/tqlcdnumber.cpp deleted file mode 100644 index 3c47a7e..0000000 --- a/qtinterface/tqlcdnumber.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqlcdnumber.h b/qtinterface/tqlcdnumber.h deleted file mode 100644 index cbe4abc..0000000 --- a/qtinterface/tqlcdnumber.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QLCDNumber class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLCDNumber class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQLCDNUMBER_H */ \ No newline at end of file diff --git a/qtinterface/tqlibrary.cpp b/qtinterface/tqlibrary.cpp deleted file mode 100644 index 7d16ae2..0000000 --- a/qtinterface/tqlibrary.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqlibrary.h b/qtinterface/tqlibrary.h deleted file mode 100644 index e4ca5ed..0000000 --- a/qtinterface/tqlibrary.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QLibrary class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLibrary class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQLIBRARY_H */ \ No newline at end of file diff --git a/qtinterface/tqlined.h b/qtinterface/tqlined.h deleted file mode 100644 index 1ce55a6..0000000 --- a/qtinterface/tqlined.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQLINED_H -#define TQT_TQLINED_H - -#include - -// Pull in tqlineedit defines - -#include - -#endif /* TQT_TQLINED_H */ \ No newline at end of file diff --git a/qtinterface/tqlineedit.cpp b/qtinterface/tqlineedit.cpp deleted file mode 100644 index 873b346..0000000 --- a/qtinterface/tqlineedit.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqlineedit.h b/qtinterface/tqlineedit.h deleted file mode 100644 index 577642e..0000000 --- a/qtinterface/tqlineedit.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QLineEdit class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLineEdit class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQLINEEDIT_H */ \ No newline at end of file diff --git a/qtinterface/tqlist.h b/qtinterface/tqlist.h deleted file mode 100644 index 40873f9..0000000 --- a/qtinterface/tqlist.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQLIST_H -#define TQT_TQLIST_H - -#include - -// Pull in tqptrlist defines - -#include - -#endif /* TQT_TQLIST_H */ \ No newline at end of file diff --git a/qtinterface/tqlistbox.cpp b/qtinterface/tqlistbox.cpp deleted file mode 100644 index cec4235..0000000 --- a/qtinterface/tqlistbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqlistbox.h b/qtinterface/tqlistbox.h deleted file mode 100644 index 1e5ab13..0000000 --- a/qtinterface/tqlistbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QListBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QListBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQLISTBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqlistiterator.cpp b/qtinterface/tqlistiterator.cpp deleted file mode 100644 index 031d59e..0000000 --- a/qtinterface/tqlistiterator.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - -// template -// TQListIterator::TQListIterator(const QList &t) { -// index = 0; -// list = t; -// } -// -// template -// TQListIterator::~TQListIterator() { -// // -// } - -// template -// T TQListIterator::current() { -// if ((index >= 0) && (index < list->size())) { -// return list->at(index); -// } -// else { -// return 0; -// } -// } - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqlistiterator.h b/qtinterface/tqlistiterator.h deleted file mode 100644 index 4cd1991..0000000 --- a/qtinterface/tqlistiterator.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQLISTITERATOR_H -#define TQT_TQLISTITERATOR_H - -#include - -#ifdef USE_QT4 - -// Implement the TQListIterator class -// For Qt4, this is a combination of the QList::iterator and QMutableListIterator classes, -// with the constructor from QMutableListIterator used primarily - -//#include -#include - -template -//class TQListIterator : public QList::iterator -//class TQListIterator : public QMutableListIterator -class TQListIterator -{ -public: - inline TQListIterator(const QList &t) {index = 0; list = &t;} - inline ~TQListIterator() {} - - inline T current() { - if ((index >= 0) && (index < list->size())) { - return list->at(index); - } - else { - return 0; - } - } - - int operator++() { index++; return index; } - -private: - int index; - const QList *list; -}; - -template -class TQListIteratorRetPtr -{ -public: - inline TQListIteratorRetPtr(const QList &t) {index = 0; list = &t;} - inline ~TQListIteratorRetPtr() {} - - inline T * current() { - if ((index >= 0) && (index < list->size())) { - return const_cast(&(list->at(index))); - } - else { - return 0; - } - } - - int operator++() { index++; return index; } - -private: - int index; - const QList *list; -}; - -#endif // USE_QT4 - -#endif /* TQT_TQLISTITERATOR_H */ \ No newline at end of file diff --git a/qtinterface/tqlistview.cpp b/qtinterface/tqlistview.cpp deleted file mode 100644 index 929127e..0000000 --- a/qtinterface/tqlistview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqlistview.h b/qtinterface/tqlistview.h deleted file mode 100644 index cd2cb47..0000000 --- a/qtinterface/tqlistview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QListView class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QListView class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQLISTVIEW_H */ \ No newline at end of file diff --git a/qtinterface/tqlocale.cpp b/qtinterface/tqlocale.cpp deleted file mode 100644 index 46d2582..0000000 --- a/qtinterface/tqlocale.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqlocale.h b/qtinterface/tqlocale.h deleted file mode 100644 index 14751ae..0000000 --- a/qtinterface/tqlocale.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QLocale class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLocale class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQLOCALE_H */ \ No newline at end of file diff --git a/qtinterface/tqlocalfs.cpp b/qtinterface/tqlocalfs.cpp deleted file mode 100644 index 76b6c21..0000000 --- a/qtinterface/tqlocalfs.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqlocalfs.h b/qtinterface/tqlocalfs.h deleted file mode 100644 index 18ca0b8..0000000 --- a/qtinterface/tqlocalfs.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QLocalFs class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QLocalFs class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQLOCALFS_H */ \ No newline at end of file diff --git a/qtinterface/tqmainwindow.cpp b/qtinterface/tqmainwindow.cpp deleted file mode 100644 index ad9d212..0000000 --- a/qtinterface/tqmainwindow.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqmainwindow.h b/qtinterface/tqmainwindow.h deleted file mode 100644 index a4f5f94..0000000 --- a/qtinterface/tqmainwindow.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMainWindow class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMainWindow class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMAINWINDOW_H */ \ No newline at end of file diff --git a/qtinterface/tqmap.cpp b/qtinterface/tqmap.cpp deleted file mode 100644 index 8ab4436..0000000 --- a/qtinterface/tqmap.cpp +++ /dev/null @@ -1,243 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqmap.h b/qtinterface/tqmap.h deleted file mode 100644 index 58ccd40..0000000 --- a/qtinterface/tqmap.h +++ /dev/null @@ -1,935 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMap class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMap class -// For Qt4, some changes are needed - -#include -#include -#include - -/**************************************************************************** -** -** 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 -struct TQMapNode : public TQMapNodeBase -{ - TQMapNode( const K& _key, const T& _data ) { data = _data; key = _key; } - TQMapNode( const K& _key ) { key = _key; } - TQMapNode( const TQMapNode& _n ) { key = _n.key; data = _n.data; } - TQMapNode() { } - T data; - K key; -}; - - -template -class TQMapIterator -{ - public: - /** - * Typedefs - */ - typedef TQMapNode< K, T >* NodePtr; -#ifndef QT_NO_STL - typedef std::bidirectional_iterator_tag iterator_category; -#endif - typedef T value_type; -#ifndef QT_NO_STL - typedef ptrdiff_t difference_type; -#else - typedef int difference_type; -#endif - typedef T* pointer; - typedef T& reference; - - /** - * Variables - */ - TQMapNode* node; - - /** - * Functions - */ - TQMapIterator() : node( 0 ) {} - TQMapIterator( TQMapNode* p ) : node( p ) {} - TQMapIterator( const TQMapIterator& it ) : node( it.node ) {} - - bool operator==( const TQMapIterator& it ) const { return node == it.node; } - bool operator!=( const TQMapIterator& 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& operator++() { - inc(); - return *this; - } - - TQMapIterator operator++(int) { - TQMapIterator tmp = *this; - inc(); - return tmp; - } - - TQMapIterator& operator--() { - dec(); - return *this; - } - - TQMapIterator operator--(int) { - TQMapIterator tmp = *this; - dec(); - return tmp; - } -}; - -template -int TQMapIterator::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 -int TQMapIterator::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 TQMapConstIterator -{ - public: - /** - * Typedefs - */ - typedef TQMapNode< K, T >* NodePtr; -#ifndef QT_NO_STL - typedef std::bidirectional_iterator_tag iterator_category; -#endif - typedef T value_type; -#ifndef QT_NO_STL - typedef ptrdiff_t difference_type; -#else - typedef int difference_type; -#endif - typedef const T* pointer; - typedef const T& reference; - - - /** - * Variables - */ - TQMapNode* node; - - /** - * Functions - */ - TQMapConstIterator() : node( 0 ) {} - TQMapConstIterator( TQMapNode* p ) : node( p ) {} - TQMapConstIterator( const TQMapConstIterator& it ) : node( it.node ) {} - TQMapConstIterator( const TQMapIterator& it ) : node( it.node ) {} - - bool operator==( const TQMapConstIterator& it ) const { return node == it.node; } - bool operator!=( const TQMapConstIterator& 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& operator++() { - inc(); - return *this; - } - - TQMapConstIterator operator++(int) { - TQMapConstIterator tmp = *this; - inc(); - return tmp; - } - - TQMapConstIterator& operator--() { - dec(); - return *this; - } - - TQMapConstIterator operator--(int) { - TQMapConstIterator tmp = *this; - dec(); - return tmp; - } -}; - -template -int TQMapConstIterator::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 -int TQMapConstIterator::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 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 -TQMapPrivate::TQMapPrivate() { - header = new Node; - header->color = TQMapNodeBase::Red; // Mark the header - header->parent = 0; - header->left = header->right = header; -} -template -TQMapPrivate::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 -Q_TYPENAME TQMapPrivate::NodePtr TQMapPrivate::copy( Q_TYPENAME TQMapPrivate::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 -void TQMapPrivate::clear() -{ - clear( (NodePtr)(header->parent) ); - header->color = TQMapNodeBase::Red; - header->parent = 0; - header->left = header->right = header; - node_count = 0; -} - -template -void TQMapPrivate::clear( Q_TYPENAME TQMapPrivate::NodePtr p ) -{ - while ( p != 0 ) { - clear( (NodePtr)p->right ); - NodePtr y = (NodePtr)p->left; - delete p; - p = y; - } -} - -template -Q_TYPENAME TQMapPrivate::ConstIterator TQMapPrivate::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 -Q_TYPENAME TQMapPrivate::Iterator TQMapPrivate::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 -Q_TYPENAME TQMapPrivate::Iterator TQMapPrivate::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( QT_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 QDeepCopy; - -template -class TQMap -{ -public: - /** - * Typedefs - */ - typedef Key key_type; - typedef T mapped_type; - typedef QPair value_type; - typedef value_type* pointer; - typedef const value_type* const_pointer; - typedef value_type& reference; - typedef const value_type& const_reference; -#ifndef QT_NO_STL - typedef ptrdiff_t difference_type; -#else - typedef int difference_type; -#endif - typedef size_t size_type; - typedef TQMapIterator iterator; - typedef TQMapConstIterator const_iterator; - typedef QPair 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& m ) - { - sh = m.sh; sh->ref(); - } - -#ifndef QT_NO_STL - TQMap( const std::map& m ) - { - sh = new TQMapPrivate; - Q_TYPENAME std::map::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& operator= ( const TQMap& m ); -#ifndef QT_NO_STL - TQMap& operator= ( const std::map& m ) - { - clear(); - Q_TYPENAME std::map::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& m) - { - QMapIterator i(m); - while (i.hasNext()) { - i.next(); - insert(i.key(), i.value()); - } - } - TQMap& operator= (const QMap& m) - { - this->clear(); - QMapIterator i(m); - while (i.hasNext()) { - i.next(); - insert(i.key(), i.value()); - } - return *this; - } - - operator QMap() const { - QMap 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 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 keys() const { - Q3ValueList r; - for (const_iterator i=begin(); i!=end(); ++i) - r.append(i.key()); - return r; - } - - Q3ValueList values() const { - Q3ValueList 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(Q_FULL_TEMPLATE_INSTANTIATION) - bool operator==( const TQMap& ) const { return FALSE; } -#ifndef QT_NO_STL - bool operator==( const std::map& ) const { return FALSE; } -#endif -#endif - -protected: - /** - * Helpers - */ - void detach() { if ( sh->count > 1 ) detachInternal(); } - - Priv* sh; -private: - void detachInternal(); - - friend class QDeepCopy< TQMap >; -}; - -template -TQMap& TQMap::operator= ( const TQMap& m ) -{ - m.sh->ref(); - if ( sh->deref() ) - delete sh; - sh = m.sh; - return *this; -} - -template -Q_TYPENAME TQMap::insert_pair TQMap::insert( const Q_TYPENAME TQMap::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( it, inserted ); -} - -template -void TQMap::erase( const Key& k ) -{ - detach(); - iterator it( sh->find( k ).node ); - if ( it != end() ) - sh->remove( it ); -} - -template -Q_TYPENAME TQMap::size_type TQMap::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 -T& TQMap::operator[] ( const Key& k ) -{ - detach(); - TQMapNode* p = sh->find( k ).node; - if ( p != sh->end().node ) - return p->data; - return insert( k, T() ).data(); -} - -template -void TQMap::clear() -{ - if ( sh->count == 1 ) - sh->clear(); - else { - sh->deref(); - sh = new TQMapPrivate; - } -} - -template -Q_TYPENAME TQMap::iterator TQMap::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 -void TQMap::remove( const Key& k ) -{ - detach(); - iterator it( sh->find( k ).node ); - if ( it != end() ) - sh->remove( it ); -} - -template -void TQMap::detachInternal() -{ - sh->deref(); sh = new TQMapPrivate( sh ); -} - - -#ifndef QT_NO_DATASTREAM -template -QDataStream& operator>>( QDataStream& s, TQMap& 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 -QDataStream& operator<<( QDataStream& s, const TQMap& m ) { - s << (Q_UINT32)m.size(); - TQMapConstIterator it = m.begin(); - for( ; it != m.end(); ++it ) - s << it.key() << it.data(); - return s; -} -#endif - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQMAP_H */ \ No newline at end of file diff --git a/qtinterface/tqmemarray.cpp b/qtinterface/tqmemarray.cpp deleted file mode 100644 index f7d0723..0000000 --- a/qtinterface/tqmemarray.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include \ No newline at end of file diff --git a/qtinterface/tqmemarray.h b/qtinterface/tqmemarray.h deleted file mode 100644 index 30f2ce6..0000000 --- a/qtinterface/tqmemarray.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMemArray class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMemArray class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMEMARRAY_H */ \ No newline at end of file diff --git a/qtinterface/tqmenubar.cpp b/qtinterface/tqmenubar.cpp deleted file mode 100644 index 76ec017..0000000 --- a/qtinterface/tqmenubar.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqmenubar.h b/qtinterface/tqmenubar.h deleted file mode 100644 index 91872b6..0000000 --- a/qtinterface/tqmenubar.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMenuBar class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMenuBar class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMENUBAR_H */ \ No newline at end of file diff --git a/qtinterface/tqmenudata.cpp b/qtinterface/tqmenudata.cpp deleted file mode 100644 index 5565298..0000000 --- a/qtinterface/tqmenudata.cpp +++ /dev/null @@ -1,82 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqmenudata.h b/qtinterface/tqmenudata.h deleted file mode 100644 index 3dd4dae..0000000 --- a/qtinterface/tqmenudata.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMenuData class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMenuData class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMENUDATA_H */ \ No newline at end of file diff --git a/qtinterface/tqmenudta.h b/qtinterface/tqmenudta.h deleted file mode 100644 index 8232887..0000000 --- a/qtinterface/tqmenudta.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQMENUDTA_H -#define TQT_TQMENUDTA_H - -#include - -// Pull in tqmenudata defines - -#include - -#endif /* TQT_TQMENUDTA_H */ \ No newline at end of file diff --git a/qtinterface/tqmessagebox.cpp b/qtinterface/tqmessagebox.cpp deleted file mode 100644 index a7cd762..0000000 --- a/qtinterface/tqmessagebox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqmessagebox.h b/qtinterface/tqmessagebox.h deleted file mode 100644 index 4bc2ea4..0000000 --- a/qtinterface/tqmessagebox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMessageBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMessageBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMESSAGEBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqmetaobj.h b/qtinterface/tqmetaobj.h deleted file mode 100644 index e52c5be..0000000 --- a/qtinterface/tqmetaobj.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQMETAOBJ_H -#define TQT_TQMETAOBJ_H - -#include - -// Pull in tqmetaobject defines - -#include - -#endif /* TQT_TQMETAOBJ_H */ \ No newline at end of file diff --git a/qtinterface/tqmetaobject.cpp b/qtinterface/tqmetaobject.cpp deleted file mode 100644 index 448470b..0000000 --- a/qtinterface/tqmetaobject.cpp +++ /dev/null @@ -1,303 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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;inumSlots( 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;inumSignals( 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 QT_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;inumProperties( 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 // QT_NO_PROPERTIES - -bool QMetaProperty::writable() const -{ - return isWritable(); -} - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqmetaobject.h b/qtinterface/tqmetaobject.h deleted file mode 100644 index 9af7abd..0000000 --- a/qtinterface/tqmetaobject.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include -#include - -#ifdef USE_QT3 - -// Reimplement the QMetaObject class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMetaObject class -// For Qt4, some changes are needed - -#include -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMETAOBJECT_H */ \ No newline at end of file diff --git a/qtinterface/tqmime.cpp b/qtinterface/tqmime.cpp deleted file mode 100644 index c72b5a1..0000000 --- a/qtinterface/tqmime.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqmime.h b/qtinterface/tqmime.h deleted file mode 100644 index ce0f42e..0000000 --- a/qtinterface/tqmime.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMime class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMime class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMIME_H */ \ No newline at end of file diff --git a/qtinterface/tqmlined.h b/qtinterface/tqmlined.h deleted file mode 100644 index 4499e41..0000000 --- a/qtinterface/tqmlined.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQMLINED_H -#define TQT_TQMLINED_H - -#include - -// Pull in tqmultilineedit defines - -#include - -#endif /* TQT_TQMLINED_H */ \ No newline at end of file diff --git a/qtinterface/tqmngio.h b/qtinterface/tqmngio.h deleted file mode 100644 index 24bcfa0..0000000 --- a/qtinterface/tqmngio.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Pull in Qt3 qmngio defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qmngio defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMNGIO_H */ \ No newline at end of file diff --git a/qtinterface/tqmodules.h b/qtinterface/tqmodules.h deleted file mode 100644 index 3154246..0000000 --- a/qtinterface/tqmodules.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Pull in Qt3 modules defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 modules defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMODULES_H */ \ No newline at end of file diff --git a/qtinterface/tqmotifplusstyle.cpp b/qtinterface/tqmotifplusstyle.cpp deleted file mode 100644 index c6a2784..0000000 --- a/qtinterface/tqmotifplusstyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqmotifplusstyle.h b/qtinterface/tqmotifplusstyle.h deleted file mode 100644 index 8cf3a53..0000000 --- a/qtinterface/tqmotifplusstyle.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMotifPlusStyle class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMotifPlusStyle class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQMOTIFPLUSSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/tqmotifstyle.cpp b/qtinterface/tqmotifstyle.cpp deleted file mode 100644 index 0769ad9..0000000 --- a/qtinterface/tqmotifstyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqmotifstyle.h b/qtinterface/tqmotifstyle.h deleted file mode 100644 index 9ae35c2..0000000 --- a/qtinterface/tqmotifstyle.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMotifStyle class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMotifStyle class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQACCEL_H */ \ No newline at end of file diff --git a/qtinterface/tqmovie.cpp b/qtinterface/tqmovie.cpp deleted file mode 100644 index 20367dd..0000000 --- a/qtinterface/tqmovie.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqmovie.h b/qtinterface/tqmovie.h deleted file mode 100644 index 8d8ba32..0000000 --- a/qtinterface/tqmovie.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMovie class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMovie class -// For Qt4, some changes are needed - -#include - -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 */ \ No newline at end of file diff --git a/qtinterface/tqmsgbox.h b/qtinterface/tqmsgbox.h deleted file mode 100644 index 53c27a9..0000000 --- a/qtinterface/tqmsgbox.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQMSGBOX_H -#define TQT_TQMSGBOX_H - -#include - -// Pull in tqmessagebox defines - -#include - -#endif /* TQT_TQMSGBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqmultilinedit.h b/qtinterface/tqmultilinedit.h deleted file mode 100644 index 882b4b4..0000000 --- a/qtinterface/tqmultilinedit.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQMULTILINEDIT_H -#define TQT_TQMULTILINEDIT_H - -#include - -// Pull in tqmultilineedit defines - -#include - -#endif /* TQT_TQMULTILINEDIT_H */ \ No newline at end of file diff --git a/qtinterface/tqmultilineedit.cpp b/qtinterface/tqmultilineedit.cpp deleted file mode 100644 index 3b1cc34..0000000 --- a/qtinterface/tqmultilineedit.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqmultilineedit.h b/qtinterface/tqmultilineedit.h deleted file mode 100644 index b8543a2..0000000 --- a/qtinterface/tqmultilineedit.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMultiLineEdit class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMultiLineEdit class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMULTILINEEDIT_H */ \ No newline at end of file diff --git a/qtinterface/tqmutex.cpp b/qtinterface/tqmutex.cpp deleted file mode 100644 index a015e1a..0000000 --- a/qtinterface/tqmutex.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqmutex.h b/qtinterface/tqmutex.h deleted file mode 100644 index 20c04f3..0000000 --- a/qtinterface/tqmutex.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QMutex class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QMutex class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQMUTEX_H */ \ No newline at end of file diff --git a/qtinterface/tqnamespace.cpp b/qtinterface/tqnamespace.cpp deleted file mode 100644 index 16c7048..0000000 --- a/qtinterface/tqnamespace.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqnamespace.h b/qtinterface/tqnamespace.h deleted file mode 100644 index f89087e..0000000 --- a/qtinterface/tqnamespace.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QNamespace class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QNamespace class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQNAMESPACE_H */ \ No newline at end of file diff --git a/qtinterface/tqnetwork.h b/qtinterface/tqnetwork.h deleted file mode 100644 index 35a18ea..0000000 --- a/qtinterface/tqnetwork.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Pull in Qt3 qnetwork defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qnetwork defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQNETWORK_H */ \ No newline at end of file diff --git a/qtinterface/tqnetworkprotocol.cpp b/qtinterface/tqnetworkprotocol.cpp deleted file mode 100644 index 7416ecd..0000000 --- a/qtinterface/tqnetworkprotocol.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqnetworkprotocol.h b/qtinterface/tqnetworkprotocol.h deleted file mode 100644 index a6ac734..0000000 --- a/qtinterface/tqnetworkprotocol.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QNetworkProtocol class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QNetworkProtocol class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQNETWORKPROTOCOL_H */ \ No newline at end of file diff --git a/qtinterface/tqnp.cpp b/qtinterface/tqnp.cpp deleted file mode 100644 index fd58ddf..0000000 --- a/qtinterface/tqnp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqnp.h b/qtinterface/tqnp.h deleted file mode 100644 index 1f87e56..0000000 --- a/qtinterface/tqnp.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QNPWidget class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QNPWidget class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQNP_H */ \ No newline at end of file diff --git a/qtinterface/tqobjcoll.h b/qtinterface/tqobjcoll.h deleted file mode 100644 index 8ac1a88..0000000 --- a/qtinterface/tqobjcoll.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQOBJCALL_H -#define TQT_TQOBJCALL_H - -#include - -// Pull in object collection defines - -#include -#include - -#endif /* TQT_TQOBJCALL_H */ \ No newline at end of file diff --git a/qtinterface/tqobjdefs.h b/qtinterface/tqobjdefs.h deleted file mode 100644 index 035cc3f..0000000 --- a/qtinterface/tqobjdefs.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQOBJDEFS_H -#define TQT_TQOBJDEFS_H - -#include - -// Pull in object definition defines - -#include - -#endif /* TQT_TQOBJDEFS_H */ \ No newline at end of file diff --git a/qtinterface/tqobject.cpp b/qtinterface/tqobject.cpp deleted file mode 100644 index 3029a5f..0000000 --- a/qtinterface/tqobject.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqobject.h b/qtinterface/tqobject.h deleted file mode 100644 index 3246224..0000000 --- a/qtinterface/tqobject.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QObject class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QObject class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQOBJECT_H */ \ No newline at end of file diff --git a/qtinterface/tqobjectcleanuphandler.cpp b/qtinterface/tqobjectcleanuphandler.cpp deleted file mode 100644 index 4181f8a..0000000 --- a/qtinterface/tqobjectcleanuphandler.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqobjectcleanuphandler.h b/qtinterface/tqobjectcleanuphandler.h deleted file mode 100644 index 70fd9d7..0000000 --- a/qtinterface/tqobjectcleanuphandler.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QObjectCleanupHandler class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QObjectCleanupHandler class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQOBJECTCLEANUPHANDLER_H */ \ No newline at end of file diff --git a/qtinterface/tqobjectdict.cpp b/qtinterface/tqobjectdict.cpp deleted file mode 100644 index 97e1c4b..0000000 --- a/qtinterface/tqobjectdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqobjectdict.h b/qtinterface/tqobjectdict.h deleted file mode 100644 index aa83877..0000000 --- a/qtinterface/tqobjectdict.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QObjectDictionary class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QObjectDictionary class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQOBJECTDICT_H */ \ No newline at end of file diff --git a/qtinterface/tqobjectlist.cpp b/qtinterface/tqobjectlist.cpp deleted file mode 100644 index 55e9bdf..0000000 --- a/qtinterface/tqobjectlist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include \ No newline at end of file diff --git a/qtinterface/tqobjectlist.h b/qtinterface/tqobjectlist.h deleted file mode 100644 index a65cba0..0000000 --- a/qtinterface/tqobjectlist.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QObjectList class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QObjectList class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQOBJECTLIST_H */ \ No newline at end of file diff --git a/qtinterface/tqpaintd.h b/qtinterface/tqpaintd.h deleted file mode 100644 index ad53002..0000000 --- a/qtinterface/tqpaintd.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQPAINTD_H -#define TQT_TQPAINTD_H - -#include - -// Pull in tqpaintdevice defines - -#include - -#endif /* TQT_TQPAINTD_H */ \ No newline at end of file diff --git a/qtinterface/tqpaintdc.h b/qtinterface/tqpaintdc.h deleted file mode 100644 index 838fd81..0000000 --- a/qtinterface/tqpaintdc.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -// Pull in tqpaintdevicedefs defines - -#include - -#endif /* TQT_TQPAINTDC_H */ \ No newline at end of file diff --git a/qtinterface/tqpaintdevice.cpp b/qtinterface/tqpaintdevice.cpp deleted file mode 100644 index 846342a..0000000 --- a/qtinterface/tqpaintdevice.cpp +++ /dev/null @@ -1,123 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 before this file" -#endif -#define XRegisterIMInstantiateCallback qt_XRegisterIMInstantiateCallback -#define XUnregisterIMInstantiateCallback qt_XUnregisterIMInstantiateCallback -#define XSetIMValues qt_XSetIMValues -#include -#undef XRegisterIMInstantiateCallback -#undef XUnregisterIMInstantiateCallback -#undef XSetIMValues - -#include -#include -#include - -#include - -/*! - 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 QT_NO_XFTFREETYPE -// return rendhd ? XftDrawPicture( (XftDraw *) rendhd ) : 0; -// #else - return 0; -// #endif // QT_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 \ No newline at end of file diff --git a/qtinterface/tqpaintdevice.h b/qtinterface/tqpaintdevice.h deleted file mode 100644 index 8a90bc9..0000000 --- a/qtinterface/tqpaintdevice.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPaintDevice class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPaintDevice class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPAINTDEVICE_H */ \ No newline at end of file diff --git a/qtinterface/tqpaintdevicemetrics.cpp b/qtinterface/tqpaintdevicemetrics.cpp deleted file mode 100644 index 6094c7e..0000000 --- a/qtinterface/tqpaintdevicemetrics.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqpaintdevicemetrics.h b/qtinterface/tqpaintdevicemetrics.h deleted file mode 100644 index 2802c2c..0000000 --- a/qtinterface/tqpaintdevicemetrics.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPaintDeviceMetrics class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPaintDeviceMetrics class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPAINTDEVICEMETRICS_H */ \ No newline at end of file diff --git a/qtinterface/tqpainter.cpp b/qtinterface/tqpainter.cpp deleted file mode 100644 index 6157d02..0000000 --- a/qtinterface/tqpainter.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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(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 \ No newline at end of file diff --git a/qtinterface/tqpainter.h b/qtinterface/tqpainter.h deleted file mode 100644 index 0acb479..0000000 --- a/qtinterface/tqpainter.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPainter class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPainter class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPAINTER_H */ \ No newline at end of file diff --git a/qtinterface/tqpair.cpp b/qtinterface/tqpair.cpp deleted file mode 100644 index 61202ee..0000000 --- a/qtinterface/tqpair.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqpair.h b/qtinterface/tqpair.h deleted file mode 100644 index 1a4dc79..0000000 --- a/qtinterface/tqpair.h +++ /dev/null @@ -1,143 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPair class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPair class -// For Qt4, some changes are needed - -#include - -/**************************************************************************** -** -** 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 -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& operator=(const TQPair& other) - { - if (this != &other) { - first = other.first; - second = other.second; - } - return *this; - } - - T1 first; - T2 second; -}; - -template -bool operator==( const TQPair& x, const TQPair& y ) -{ - return x.first == y.first && x.second == y.second; -} - -template -bool operator<( const TQPair& x, const TQPair& y ) -{ - return x.first < y.first || - ( !( y.first < x.first ) && x.second < y.second ); -} - -template -TQPair qMakePair( const T1& x, const T2& y ) -{ - return TQPair( x, y ); -} - -#ifndef QT_NO_DATASTREAM -template -inline QDataStream& operator>>( QDataStream& s, TQPair& p ) -{ - s >> p.first >> p.second; - return s; -} - -template -inline QDataStream& operator<<( QDataStream& s, const TQPair& p ) -{ - s << p.first << p.second; - return s; -} -#endif - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQPAIR_H */ \ No newline at end of file diff --git a/qtinterface/tqpalette.cpp b/qtinterface/tqpalette.cpp deleted file mode 100644 index f5b45f0..0000000 --- a/qtinterface/tqpalette.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqpalette.h b/qtinterface/tqpalette.h deleted file mode 100644 index 5193617..0000000 --- a/qtinterface/tqpalette.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPalette class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPalette class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPALETTE_H */ \ No newline at end of file diff --git a/qtinterface/tqpdevmet.h b/qtinterface/tqpdevmet.h deleted file mode 100644 index 78fe93e..0000000 --- a/qtinterface/tqpdevmet.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQPDEVMET_H -#define TQT_TQPDEVMET_H - -#include - -// Pull in tqpaintdevicemetrics defines - -#include - -#endif /* TQT_TQPDEVMET_H */ \ No newline at end of file diff --git a/qtinterface/tqpen.cpp b/qtinterface/tqpen.cpp deleted file mode 100644 index 5c721b5..0000000 --- a/qtinterface/tqpen.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqpen.h b/qtinterface/tqpen.h deleted file mode 100644 index 43be7ac..0000000 --- a/qtinterface/tqpen.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPen class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPen class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPEN_H */ \ No newline at end of file diff --git a/qtinterface/tqpicture.cpp b/qtinterface/tqpicture.cpp deleted file mode 100644 index 0ae3896..0000000 --- a/qtinterface/tqpicture.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqpicture.h b/qtinterface/tqpicture.h deleted file mode 100644 index 7ae962f..0000000 --- a/qtinterface/tqpicture.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPicture class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPicture class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPICTURE_H */ \ No newline at end of file diff --git a/qtinterface/tqpixmap.cpp b/qtinterface/tqpixmap.cpp deleted file mode 100644 index 7e26883..0000000 --- a/qtinterface/tqpixmap.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - -#include -#include - -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(this); -} - -const QBitmap *QPixmap::ptrmask() const { - QBitmap pm = mask(); - QBitmap *pr = ± - return pr; -} - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqpixmap.h b/qtinterface/tqpixmap.h deleted file mode 100644 index 7f8016e..0000000 --- a/qtinterface/tqpixmap.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPixmap class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPixmap class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPIXMAP_H */ \ No newline at end of file diff --git a/qtinterface/tqpixmapcache.cpp b/qtinterface/tqpixmapcache.cpp deleted file mode 100644 index c5a9c97..0000000 --- a/qtinterface/tqpixmapcache.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqpixmapcache.h b/qtinterface/tqpixmapcache.h deleted file mode 100644 index db68e4f..0000000 --- a/qtinterface/tqpixmapcache.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPixmapCache class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPixmapCache class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPIXMAPCACHE_H */ \ No newline at end of file diff --git a/qtinterface/tqplatinumstyle.cpp b/qtinterface/tqplatinumstyle.cpp deleted file mode 100644 index cce4794..0000000 --- a/qtinterface/tqplatinumstyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqplatinumstyle.h b/qtinterface/tqplatinumstyle.h deleted file mode 100644 index 2901978..0000000 --- a/qtinterface/tqplatinumstyle.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPlatinumStyle class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPlatinumStyle class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQPLATINUMSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/tqpmcache.h b/qtinterface/tqpmcache.h deleted file mode 100644 index 7ee3825..0000000 --- a/qtinterface/tqpmcache.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQPMCACHE_H -#define TQT_TQPMCACHE_H - -#include - -// Pull in tqpixmapcache defines - -#include - -#endif /* TQT_TQPMCACHE_H */ \ No newline at end of file diff --git a/qtinterface/tqpngio.cpp b/qtinterface/tqpngio.cpp deleted file mode 100644 index 0914c32..0000000 --- a/qtinterface/tqpngio.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqpngio.h b/qtinterface/tqpngio.h deleted file mode 100644 index 5afe79c..0000000 --- a/qtinterface/tqpngio.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPNGImage class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPNGImage class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQPNGIO_H */ \ No newline at end of file diff --git a/qtinterface/tqpntarry.h b/qtinterface/tqpntarry.h deleted file mode 100644 index d15173c..0000000 --- a/qtinterface/tqpntarry.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQPNTARRY_H -#define TQT_TQPNTARRY_H - -#include - -// Pull in tqpointarray defines - -#include - -#endif /* TQT_TQPNTARRY_H */ \ No newline at end of file diff --git a/qtinterface/tqpoint.cpp b/qtinterface/tqpoint.cpp deleted file mode 100644 index e115ed6..0000000 --- a/qtinterface/tqpoint.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqpoint.h b/qtinterface/tqpoint.h deleted file mode 100644 index 452cfa4..0000000 --- a/qtinterface/tqpoint.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPoint class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPoint class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPOINT_H */ \ No newline at end of file diff --git a/qtinterface/tqpointarray.cpp b/qtinterface/tqpointarray.cpp deleted file mode 100644 index 10a9285..0000000 --- a/qtinterface/tqpointarray.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqpointarray.h b/qtinterface/tqpointarray.h deleted file mode 100644 index 4858512..0000000 --- a/qtinterface/tqpointarray.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QAccel class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAccel class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPOINTARRAY_H */ \ No newline at end of file diff --git a/qtinterface/tqpolygonscanner.cpp b/qtinterface/tqpolygonscanner.cpp deleted file mode 100644 index ab67c2c..0000000 --- a/qtinterface/tqpolygonscanner.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqpolygonscanner.h b/qtinterface/tqpolygonscanner.h deleted file mode 100644 index 7f69f4d..0000000 --- a/qtinterface/tqpolygonscanner.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPolygonScanner class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPolygonScanner class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQPOLYGONSCANNER_H */ \ No newline at end of file diff --git a/qtinterface/tqpopmenu.h b/qtinterface/tqpopmenu.h deleted file mode 100644 index dd0b9e4..0000000 --- a/qtinterface/tqpopmenu.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQPOPMENU_H -#define TQT_TQPOPMENU_H - -#include - -// Pull in tqpopupmenu defines - -#include - -#endif /* TQT_TQPOPMENU_H */ \ No newline at end of file diff --git a/qtinterface/tqpopupmenu.cpp b/qtinterface/tqpopupmenu.cpp deleted file mode 100644 index 6ee632c..0000000 --- a/qtinterface/tqpopupmenu.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqpopupmenu.h b/qtinterface/tqpopupmenu.h deleted file mode 100644 index c81f7c8..0000000 --- a/qtinterface/tqpopupmenu.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPopupMenu class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPopupMenu class -// For Qt4, some changes are needed - -#include -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPOPUPMENU_H */ \ No newline at end of file diff --git a/qtinterface/tqprintdialog.cpp b/qtinterface/tqprintdialog.cpp deleted file mode 100644 index cb839d5..0000000 --- a/qtinterface/tqprintdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqprintdialog.h b/qtinterface/tqprintdialog.h deleted file mode 100644 index 0df321b..0000000 --- a/qtinterface/tqprintdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPrintDialog class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPrintDialog class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPRINTDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/tqprinter.cpp b/qtinterface/tqprinter.cpp deleted file mode 100644 index 92d5402..0000000 --- a/qtinterface/tqprinter.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqprinter.h b/qtinterface/tqprinter.h deleted file mode 100644 index 231f0cf..0000000 --- a/qtinterface/tqprinter.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPrinter class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPrinter class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPRINTER_H */ \ No newline at end of file diff --git a/qtinterface/tqprndlg.h b/qtinterface/tqprndlg.h deleted file mode 100644 index f820ec1..0000000 --- a/qtinterface/tqprndlg.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQPRNDLG_H -#define TQT_TQPRNDLG_H - -#include - -// Pull in tqprintdialog defines - -#include - -#endif /* TQT_TQPRNDLG_H */ \ No newline at end of file diff --git a/qtinterface/tqprocess.cpp b/qtinterface/tqprocess.cpp deleted file mode 100644 index 3b5d1e5..0000000 --- a/qtinterface/tqprocess.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqprocess.h b/qtinterface/tqprocess.h deleted file mode 100644 index 33d66fa..0000000 --- a/qtinterface/tqprocess.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QProcess class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QProcess class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPROCESS_H */ \ No newline at end of file diff --git a/qtinterface/tqprogbar.h b/qtinterface/tqprogbar.h deleted file mode 100644 index 6ed73d6..0000000 --- a/qtinterface/tqprogbar.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQPROGBAR_H -#define TQT_TQPROGBAR_H - -#include - -// Pull in tqprogressbar defines - -#include - -#endif /* TQT_TQPROGBAR_H */ \ No newline at end of file diff --git a/qtinterface/tqprogdlg.h b/qtinterface/tqprogdlg.h deleted file mode 100644 index 77819e8..0000000 --- a/qtinterface/tqprogdlg.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQPROGDLG_H -#define TQT_TQPROGDLG_H - -#include - -// Pull in tqprogressdialog defines - -#include - -#endif /* TQT_TQPROGDLG_H */ \ No newline at end of file diff --git a/qtinterface/tqprogressbar.cpp b/qtinterface/tqprogressbar.cpp deleted file mode 100644 index 9883738..0000000 --- a/qtinterface/tqprogressbar.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqprogressbar.h b/qtinterface/tqprogressbar.h deleted file mode 100644 index 515a68c..0000000 --- a/qtinterface/tqprogressbar.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QProgressBar class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QProgressBar class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPROGRESSBAR_H */ \ No newline at end of file diff --git a/qtinterface/tqprogressdialog.cpp b/qtinterface/tqprogressdialog.cpp deleted file mode 100644 index bd078be..0000000 --- a/qtinterface/tqprogressdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqprogressdialog.h b/qtinterface/tqprogressdialog.h deleted file mode 100644 index 2cbebd3..0000000 --- a/qtinterface/tqprogressdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QProgressDialog class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QProgressDialog class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPROGRESSDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/tqptrcollection.cpp b/qtinterface/tqptrcollection.cpp deleted file mode 100644 index e966407..0000000 --- a/qtinterface/tqptrcollection.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqptrcollection.h b/qtinterface/tqptrcollection.h deleted file mode 100644 index 3d5fff7..0000000 --- a/qtinterface/tqptrcollection.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPtrCollection class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPtrCollection class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPTRCOLLECTION_H */ \ No newline at end of file diff --git a/qtinterface/tqptrdict.cpp b/qtinterface/tqptrdict.cpp deleted file mode 100644 index aa2236e..0000000 --- a/qtinterface/tqptrdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqptrdict.h b/qtinterface/tqptrdict.h deleted file mode 100644 index f124c77..0000000 --- a/qtinterface/tqptrdict.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPtrDict class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPtrDict class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPTRDICT_H */ \ No newline at end of file diff --git a/qtinterface/tqptrlist.cpp b/qtinterface/tqptrlist.cpp deleted file mode 100644 index 9ccbc4d..0000000 --- a/qtinterface/tqptrlist.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -// 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! \ No newline at end of file diff --git a/qtinterface/tqptrlist.h b/qtinterface/tqptrlist.h deleted file mode 100644 index 2205341..0000000 --- a/qtinterface/tqptrlist.h +++ /dev/null @@ -1,257 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the TQPtrList class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the TQPtrList class -// For Qt4, some changes are needed - -#include -#include -#include -#include -#include - -/**************************************************************************** -** -** 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 TQPtrListStdIterator : public Q3GListStdIterator -{ -public: - inline TQPtrListStdIterator( Q3LNode* n ): Q3GListStdIterator(n) {} - type *operator*() { return node ? (type *)node->getData() : 0; } - inline TQPtrListStdIterator operator++() - { node = next(); return *this; } - inline TQPtrListStdIterator operator++(int) - { Q3LNode* n = node; node = next(); return TQPtrListStdIterator( n ); } - inline bool operator==( const TQPtrListStdIterator& it ) const { return node == it.node; } - inline bool operator!=( const TQPtrListStdIterator& it ) const { return node != it.node; } -}; - - -template -class TQPtrList -#ifdef Q_QDOC - : public Q3PtrCollection -#else - : public Q3GList -#endif -{ -public: - - TQPtrList() {} - TQPtrList( const TQPtrList &l ) : Q3GList(l) {} - ~TQPtrList() { clear(); } - TQPtrList &operator=(const TQPtrList &l) - { return (TQPtrList&)Q3GList::operator=(l); } - bool operator==( const TQPtrList &list ) const - { return Q3GList::operator==( list ); } - bool operator!=( const TQPtrList &list ) const - { return !Q3GList::operator==( list ); } - - // Interoperability - TQPtrList(const QList& l) - { - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - } - - TQPtrList& operator= (const QList& l) - { - this->clear(); - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - return *this; - } - - operator QList() const { - QList list; - for (typename TQPtrList::const_iterator it = TQPtrList::constBegin(); - it != TQPtrList::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 Iterator; - typedef TQPtrListStdIterator 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::deleteItem( Q3PtrCollection::Item ) -{ -} -#endif - -template inline void TQPtrList::deleteItem( Q3PtrCollection::Item d ) -{ - if ( del_item ) delete (type *)d; -} - -template -class TQPtrListIterator : public Q3GListIterator -{ -public: - TQPtrListIterator(const TQPtrList &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 (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& operator=(const TQPtrListIterator&it) - { Q3GListIterator::operator=(it); return *this; } -}; - -#ifndef QT_NO_COMPAT -#define TQT_TQList TQPtrList -#define TQT_TQListIterator TQPtrListIterator -#endif - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQPTRLIST_H */ \ No newline at end of file diff --git a/qtinterface/tqptrqueue.cpp b/qtinterface/tqptrqueue.cpp deleted file mode 100644 index c4a7734..0000000 --- a/qtinterface/tqptrqueue.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqptrqueue.h b/qtinterface/tqptrqueue.h deleted file mode 100644 index 7e9692d..0000000 --- a/qtinterface/tqptrqueue.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPtrQueue class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPtrQueue class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPTRQUEUE_H */ \ No newline at end of file diff --git a/qtinterface/tqptrstack.cpp b/qtinterface/tqptrstack.cpp deleted file mode 100644 index 8b3834b..0000000 --- a/qtinterface/tqptrstack.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqptrstack.h b/qtinterface/tqptrstack.h deleted file mode 100644 index 69450ba..0000000 --- a/qtinterface/tqptrstack.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPtrStack class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPtrStack class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPTRSTACK_H */ \ No newline at end of file diff --git a/qtinterface/tqptrvector.cpp b/qtinterface/tqptrvector.cpp deleted file mode 100644 index e0f9baf..0000000 --- a/qtinterface/tqptrvector.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqptrvector.h b/qtinterface/tqptrvector.h deleted file mode 100644 index ed7486c..0000000 --- a/qtinterface/tqptrvector.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPtrVector class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPtrVector class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPTRVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/tqpushbt.h b/qtinterface/tqpushbt.h deleted file mode 100644 index 6538363..0000000 --- a/qtinterface/tqpushbt.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQPUSHBT_H -#define TQT_TQPUSHBT_H - -#include - -// Pull in tqpushbutton defines - -#include - -#endif /* TQT_TQPUSHBT_H */ \ No newline at end of file diff --git a/qtinterface/tqpushbutton.cpp b/qtinterface/tqpushbutton.cpp deleted file mode 100644 index 7b51d59..0000000 --- a/qtinterface/tqpushbutton.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqpushbutton.h b/qtinterface/tqpushbutton.h deleted file mode 100644 index 0b6670d..0000000 --- a/qtinterface/tqpushbutton.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QPushButton class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QPushButton class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQPUSHBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/tqqueue.h b/qtinterface/tqqueue.h deleted file mode 100644 index 1330188..0000000 --- a/qtinterface/tqqueue.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQQUEUE_H -#define TQT_TQQUEUE_H - -#include - -// Pull in tqptrqueue defines - -#include - -#endif /* TQT_TQQUEUE_H */ \ No newline at end of file diff --git a/qtinterface/tqradiobt.h b/qtinterface/tqradiobt.h deleted file mode 100644 index 50f432c..0000000 --- a/qtinterface/tqradiobt.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQRADIOBT_H -#define TQT_TQRADIOBT_H - -#include - -// Pull in tqradiobutton defines - -#include - -#endif /* TQT_TQRADIOBT_H */ \ No newline at end of file diff --git a/qtinterface/tqradiobutton.cpp b/qtinterface/tqradiobutton.cpp deleted file mode 100644 index 21fb22c..0000000 --- a/qtinterface/tqradiobutton.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqradiobutton.h b/qtinterface/tqradiobutton.h deleted file mode 100644 index 4590cad..0000000 --- a/qtinterface/tqradiobutton.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QRadioButton class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QRadioButton class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQRADIOBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/tqrangecontrol.cpp b/qtinterface/tqrangecontrol.cpp deleted file mode 100644 index 7631448..0000000 --- a/qtinterface/tqrangecontrol.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqrangecontrol.h b/qtinterface/tqrangecontrol.h deleted file mode 100644 index 45c2dc6..0000000 --- a/qtinterface/tqrangecontrol.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QRangeControl class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QRangeControl class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQRANGECONTROL_H */ \ No newline at end of file diff --git a/qtinterface/tqrangect.h b/qtinterface/tqrangect.h deleted file mode 100644 index e8ae593..0000000 --- a/qtinterface/tqrangect.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQRANGECT_H -#define TQT_TQRANGECT_H - -#include - -// Pull in tqrangecontrol defines - -#include - -#endif /* TQT_TQRANGECT_H */ \ No newline at end of file diff --git a/qtinterface/tqrect.cpp b/qtinterface/tqrect.cpp deleted file mode 100644 index 2091af3..0000000 --- a/qtinterface/tqrect.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqrect.h b/qtinterface/tqrect.h deleted file mode 100644 index 9b9dcef..0000000 --- a/qtinterface/tqrect.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QRect class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QRect class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQRECT_H */ \ No newline at end of file diff --git a/qtinterface/tqregexp.cpp b/qtinterface/tqregexp.cpp deleted file mode 100644 index aeba265..0000000 --- a/qtinterface/tqregexp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include \ No newline at end of file diff --git a/qtinterface/tqregexp.h b/qtinterface/tqregexp.h deleted file mode 100644 index a7c386b..0000000 --- a/qtinterface/tqregexp.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QRegExp class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QRegExp class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQREGEXP_H */ \ No newline at end of file diff --git a/qtinterface/tqregion.cpp b/qtinterface/tqregion.cpp deleted file mode 100644 index 31d50b2..0000000 --- a/qtinterface/tqregion.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqregion.h b/qtinterface/tqregion.h deleted file mode 100644 index 285e165..0000000 --- a/qtinterface/tqregion.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QRegion class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QRegion class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQREGION_H */ \ No newline at end of file diff --git a/qtinterface/tqrtlcodec.cpp b/qtinterface/tqrtlcodec.cpp deleted file mode 100644 index ac79c9b..0000000 --- a/qtinterface/tqrtlcodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqrtlcodec.h b/qtinterface/tqrtlcodec.h deleted file mode 100644 index 7b50d91..0000000 --- a/qtinterface/tqrtlcodec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QHebrewCodec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QHebrewCodec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQRTLCODEC_H */ \ No newline at end of file diff --git a/qtinterface/tqscrbar.h b/qtinterface/tqscrbar.h deleted file mode 100644 index ea60875..0000000 --- a/qtinterface/tqscrbar.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQSCRBAR_H -#define TQT_TQSCRBAR_H - -#include - -// Pull in tqscrollbar defines - -#include - -#endif /* TQT_TQSCRBAR_H */ \ No newline at end of file diff --git a/qtinterface/tqscrollbar.cpp b/qtinterface/tqscrollbar.cpp deleted file mode 100644 index 16b61ed..0000000 --- a/qtinterface/tqscrollbar.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - -int QScrollBar::sliderStart() const { - return sliderPosition(); -} - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqscrollbar.h b/qtinterface/tqscrollbar.h deleted file mode 100644 index 7241ccd..0000000 --- a/qtinterface/tqscrollbar.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QScrollBar class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QScrollBar class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSCROLLBAR_H */ \ No newline at end of file diff --git a/qtinterface/tqscrollview.cpp b/qtinterface/tqscrollview.cpp deleted file mode 100644 index 4a5de16..0000000 --- a/qtinterface/tqscrollview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqscrollview.h b/qtinterface/tqscrollview.h deleted file mode 100644 index 8c75203..0000000 --- a/qtinterface/tqscrollview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QScrollView class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QScrollView class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSCROLLVIEW_H */ \ No newline at end of file diff --git a/qtinterface/tqsemaphore.cpp b/qtinterface/tqsemaphore.cpp deleted file mode 100644 index 6003a8b..0000000 --- a/qtinterface/tqsemaphore.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsemaphore.h b/qtinterface/tqsemaphore.h deleted file mode 100644 index 80c27ce..0000000 --- a/qtinterface/tqsemaphore.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSemaphore class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSemaphore class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSEMAPHORE_H */ \ No newline at end of file diff --git a/qtinterface/tqsemimodal.cpp b/qtinterface/tqsemimodal.cpp deleted file mode 100644 index 0a114af..0000000 --- a/qtinterface/tqsemimodal.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsemimodal.h b/qtinterface/tqsemimodal.h deleted file mode 100644 index 8aeb7f4..0000000 --- a/qtinterface/tqsemimodal.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQSEMIMODAL_H -#define TQT_TQSEMIMODAL_H - -#include - -#ifdef USE_QT3 - -// Reimplement the QSemiModal class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSemiModal class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQSEMIMODAL_H */ \ No newline at end of file diff --git a/qtinterface/tqserversocket.cpp b/qtinterface/tqserversocket.cpp deleted file mode 100644 index ad309ce..0000000 --- a/qtinterface/tqserversocket.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqserversocket.h b/qtinterface/tqserversocket.h deleted file mode 100644 index fefade2..0000000 --- a/qtinterface/tqserversocket.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QServerSocket class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QServerSocket class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSERVERSOCKET_H */ \ No newline at end of file diff --git a/qtinterface/tqsession.h b/qtinterface/tqsession.h deleted file mode 100644 index d6c04b8..0000000 --- a/qtinterface/tqsession.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Pull in Qt3 qsession defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qsession defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSESSION_H */ \ No newline at end of file diff --git a/qtinterface/tqsessionmanager.cpp b/qtinterface/tqsessionmanager.cpp deleted file mode 100644 index 8cb9c89..0000000 --- a/qtinterface/tqsessionmanager.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsessionmanager.h b/qtinterface/tqsessionmanager.h deleted file mode 100644 index 9bca583..0000000 --- a/qtinterface/tqsessionmanager.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSessionManager class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSessionManager class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSESSIONMANAGER_H */ \ No newline at end of file diff --git a/qtinterface/tqsettings.cpp b/qtinterface/tqsettings.cpp deleted file mode 100644 index a357257..0000000 --- a/qtinterface/tqsettings.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsettings.h b/qtinterface/tqsettings.h deleted file mode 100644 index d7daf64..0000000 --- a/qtinterface/tqsettings.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSettings class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSettings class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSETTINGS_H */ \ No newline at end of file diff --git a/qtinterface/tqsgistyle.cpp b/qtinterface/tqsgistyle.cpp deleted file mode 100644 index a9c9ce5..0000000 --- a/qtinterface/tqsgistyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsgistyle.h b/qtinterface/tqsgistyle.h deleted file mode 100644 index 72143ff..0000000 --- a/qtinterface/tqsgistyle.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSGIStyle class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSGIStyle class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQSGISTYLE_H */ \ No newline at end of file diff --git a/qtinterface/tqshared.cpp b/qtinterface/tqshared.cpp deleted file mode 100644 index a84069f..0000000 --- a/qtinterface/tqshared.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqshared.h b/qtinterface/tqshared.h deleted file mode 100644 index 8629721..0000000 --- a/qtinterface/tqshared.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QShared class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QShared class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSHARED_H */ \ No newline at end of file diff --git a/qtinterface/tqsignal.cpp b/qtinterface/tqsignal.cpp deleted file mode 100644 index ef6e4fe..0000000 --- a/qtinterface/tqsignal.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsignal.h b/qtinterface/tqsignal.h deleted file mode 100644 index f863cd0..0000000 --- a/qtinterface/tqsignal.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSignal class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSignal class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSIGNAL_H */ \ No newline at end of file diff --git a/qtinterface/tqsignalmapper.cpp b/qtinterface/tqsignalmapper.cpp deleted file mode 100644 index de52a32..0000000 --- a/qtinterface/tqsignalmapper.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsignalmapper.h b/qtinterface/tqsignalmapper.h deleted file mode 100644 index 9a4b9e9..0000000 --- a/qtinterface/tqsignalmapper.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSignalMapper class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSignalMapper class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSIGNALMAPPER_H */ \ No newline at end of file diff --git a/qtinterface/tqsignalslotimp.cpp b/qtinterface/tqsignalslotimp.cpp deleted file mode 100644 index 8c8082d..0000000 --- a/qtinterface/tqsignalslotimp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsignalslotimp.h b/qtinterface/tqsignalslotimp.h deleted file mode 100644 index 35e9380..0000000 --- a/qtinterface/tqsignalslotimp.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSignalSlotImp class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSignalSlotImp class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQSIGNALSLOTIMP_H */ \ No newline at end of file diff --git a/qtinterface/tqsimplerichtext.cpp b/qtinterface/tqsimplerichtext.cpp deleted file mode 100644 index 46d04f3..0000000 --- a/qtinterface/tqsimplerichtext.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsimplerichtext.h b/qtinterface/tqsimplerichtext.h deleted file mode 100644 index 3516546..0000000 --- a/qtinterface/tqsimplerichtext.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSimpleRichText class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSimpleRichText class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSIMPLERICHTEXT_H */ \ No newline at end of file diff --git a/qtinterface/tqsize.cpp b/qtinterface/tqsize.cpp deleted file mode 100644 index 2b49f06..0000000 --- a/qtinterface/tqsize.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsize.h b/qtinterface/tqsize.h deleted file mode 100644 index 107639e..0000000 --- a/qtinterface/tqsize.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSize class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSize class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSIZE_H */ \ No newline at end of file diff --git a/qtinterface/tqsizegrip.cpp b/qtinterface/tqsizegrip.cpp deleted file mode 100644 index b2ce160..0000000 --- a/qtinterface/tqsizegrip.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsizegrip.h b/qtinterface/tqsizegrip.h deleted file mode 100644 index 7f7a7c9..0000000 --- a/qtinterface/tqsizegrip.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSizeGrip class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSizeGrip class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSIZEGRIP_H */ \ No newline at end of file diff --git a/qtinterface/tqsizepolicy.cpp b/qtinterface/tqsizepolicy.cpp deleted file mode 100644 index 0842b84..0000000 --- a/qtinterface/tqsizepolicy.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsizepolicy.h b/qtinterface/tqsizepolicy.h deleted file mode 100644 index 90d7a67..0000000 --- a/qtinterface/tqsizepolicy.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSizePolicy class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSizePolicy class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSIZEPOLICY_H */ \ No newline at end of file diff --git a/qtinterface/tqsjiscodec.cpp b/qtinterface/tqsjiscodec.cpp deleted file mode 100644 index 52134d3..0000000 --- a/qtinterface/tqsjiscodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsjiscodec.h b/qtinterface/tqsjiscodec.h deleted file mode 100644 index 1363833..0000000 --- a/qtinterface/tqsjiscodec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSjisCodec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSjisCodec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQSJISCODEC_H */ \ No newline at end of file diff --git a/qtinterface/tqslider.cpp b/qtinterface/tqslider.cpp deleted file mode 100644 index a0862e9..0000000 --- a/qtinterface/tqslider.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - - - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqslider.h b/qtinterface/tqslider.h deleted file mode 100644 index 0864c73..0000000 --- a/qtinterface/tqslider.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSlider class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSlider class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSLIDER_H */ diff --git a/qtinterface/tqsocket.cpp b/qtinterface/tqsocket.cpp deleted file mode 100644 index f452706..0000000 --- a/qtinterface/tqsocket.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsocket.h b/qtinterface/tqsocket.h deleted file mode 100644 index 433fdbd..0000000 --- a/qtinterface/tqsocket.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSocket class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSocket class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSOCKET_H */ \ No newline at end of file diff --git a/qtinterface/tqsocketdevice.cpp b/qtinterface/tqsocketdevice.cpp deleted file mode 100644 index b76f6f8..0000000 --- a/qtinterface/tqsocketdevice.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsocketdevice.h b/qtinterface/tqsocketdevice.h deleted file mode 100644 index 909c531..0000000 --- a/qtinterface/tqsocketdevice.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSocketDevice class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSocketDevice class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSOCKETDEVICE_H */ \ No newline at end of file diff --git a/qtinterface/tqsocketnotifier.cpp b/qtinterface/tqsocketnotifier.cpp deleted file mode 100644 index ad57417..0000000 --- a/qtinterface/tqsocketnotifier.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include \ No newline at end of file diff --git a/qtinterface/tqsocketnotifier.h b/qtinterface/tqsocketnotifier.h deleted file mode 100644 index 703df43..0000000 --- a/qtinterface/tqsocketnotifier.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSocketNotifier class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSocketNotifier class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSOCKETNOTIFIER_H */ \ No newline at end of file diff --git a/qtinterface/tqsocknot.h b/qtinterface/tqsocknot.h deleted file mode 100644 index b63eefe..0000000 --- a/qtinterface/tqsocknot.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQSOCKNOT_H -#define TQT_TQSOCKNOT_H - -#include - -// Pull in tqsocketnotifier defines - -#include - -#endif /* TQT_TQSOCKNOT_H */ \ No newline at end of file diff --git a/qtinterface/tqsortedlist.cpp b/qtinterface/tqsortedlist.cpp deleted file mode 100644 index f8bc521..0000000 --- a/qtinterface/tqsortedlist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsortedlist.h b/qtinterface/tqsortedlist.h deleted file mode 100644 index 4b6cea7..0000000 --- a/qtinterface/tqsortedlist.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQSORTEDLIST_H -#define TQT_TQSORTEDLIST_H - -#include - -#ifdef USE_QT3 - -// Reimplement the QAccel class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QAccel class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSORTEDLIST_H */ \ No newline at end of file diff --git a/qtinterface/tqsound.cpp b/qtinterface/tqsound.cpp deleted file mode 100644 index 54cdb0f..0000000 --- a/qtinterface/tqsound.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsound.h b/qtinterface/tqsound.h deleted file mode 100644 index 5f2b292..0000000 --- a/qtinterface/tqsound.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSound class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSound class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSOUND_H */ \ No newline at end of file diff --git a/qtinterface/tqspinbox.cpp b/qtinterface/tqspinbox.cpp deleted file mode 100644 index 3fa33e8..0000000 --- a/qtinterface/tqspinbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqspinbox.h b/qtinterface/tqspinbox.h deleted file mode 100644 index 0c9caac..0000000 --- a/qtinterface/tqspinbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSpinBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSpinBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSPINBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqsplashscreen.cpp b/qtinterface/tqsplashscreen.cpp deleted file mode 100644 index 30bcd57..0000000 --- a/qtinterface/tqsplashscreen.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsplashscreen.h b/qtinterface/tqsplashscreen.h deleted file mode 100644 index 3dce7d8..0000000 --- a/qtinterface/tqsplashscreen.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSplashScreen class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSplashScreen class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSPLASHSCREEN_H */ \ No newline at end of file diff --git a/qtinterface/tqsplitter.cpp b/qtinterface/tqsplitter.cpp deleted file mode 100644 index 972530a..0000000 --- a/qtinterface/tqsplitter.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsplitter.h b/qtinterface/tqsplitter.h deleted file mode 100644 index f5c832f..0000000 --- a/qtinterface/tqsplitter.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSplitter class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSplitter class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSPLITTER_H */ \ No newline at end of file diff --git a/qtinterface/tqsql.cpp b/qtinterface/tqsql.cpp deleted file mode 100644 index aabd3d3..0000000 --- a/qtinterface/tqsql.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsql.h b/qtinterface/tqsql.h deleted file mode 100644 index 6c87cd7..0000000 --- a/qtinterface/tqsql.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSql class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSql class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQL_H */ \ No newline at end of file diff --git a/qtinterface/tqsqlcursor.cpp b/qtinterface/tqsqlcursor.cpp deleted file mode 100644 index a65937c..0000000 --- a/qtinterface/tqsqlcursor.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqlcursor.h b/qtinterface/tqsqlcursor.h deleted file mode 100644 index fa2ee9e..0000000 --- a/qtinterface/tqsqlcursor.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlCursor class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlCursor class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLCURSOR_H */ \ No newline at end of file diff --git a/qtinterface/tqsqldatabase.cpp b/qtinterface/tqsqldatabase.cpp deleted file mode 100644 index 2990818..0000000 --- a/qtinterface/tqsqldatabase.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqldatabase.h b/qtinterface/tqsqldatabase.h deleted file mode 100644 index 906b2a7..0000000 --- a/qtinterface/tqsqldatabase.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlDatabase class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlDatabase class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLDATABASE_H */ \ No newline at end of file diff --git a/qtinterface/tqsqldriver.cpp b/qtinterface/tqsqldriver.cpp deleted file mode 100644 index 8d95e64..0000000 --- a/qtinterface/tqsqldriver.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqldriver.h b/qtinterface/tqsqldriver.h deleted file mode 100644 index 67daf36..0000000 --- a/qtinterface/tqsqldriver.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlDriver class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlDriver class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLDRIVER_H */ \ No newline at end of file diff --git a/qtinterface/tqsqldriverplugin.cpp b/qtinterface/tqsqldriverplugin.cpp deleted file mode 100644 index b1b86d5..0000000 --- a/qtinterface/tqsqldriverplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqldriverplugin.h b/qtinterface/tqsqldriverplugin.h deleted file mode 100644 index 443c328..0000000 --- a/qtinterface/tqsqldriverplugin.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlDriverPlugin class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlDriverPlugin class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLDRIVERPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/tqsqleditorfactory.cpp b/qtinterface/tqsqleditorfactory.cpp deleted file mode 100644 index 5d7e9a4..0000000 --- a/qtinterface/tqsqleditorfactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqleditorfactory.h b/qtinterface/tqsqleditorfactory.h deleted file mode 100644 index c06482e..0000000 --- a/qtinterface/tqsqleditorfactory.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlEditorFactory class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlEditorFactory class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLEDITORFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/tqsqlerror.cpp b/qtinterface/tqsqlerror.cpp deleted file mode 100644 index 2f28a08..0000000 --- a/qtinterface/tqsqlerror.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqlerror.h b/qtinterface/tqsqlerror.h deleted file mode 100644 index de0e230..0000000 --- a/qtinterface/tqsqlerror.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlError class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlError class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLERROR_H */ \ No newline at end of file diff --git a/qtinterface/tqsqlfield.cpp b/qtinterface/tqsqlfield.cpp deleted file mode 100644 index f3f2b69..0000000 --- a/qtinterface/tqsqlfield.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqlfield.h b/qtinterface/tqsqlfield.h deleted file mode 100644 index c25d0f1..0000000 --- a/qtinterface/tqsqlfield.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlField class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlField class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLFIELD_H */ \ No newline at end of file diff --git a/qtinterface/tqsqlform.cpp b/qtinterface/tqsqlform.cpp deleted file mode 100644 index 6d2bf47..0000000 --- a/qtinterface/tqsqlform.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqlform.h b/qtinterface/tqsqlform.h deleted file mode 100644 index 8f38294..0000000 --- a/qtinterface/tqsqlform.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlForm class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlForm class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLFORM_H */ \ No newline at end of file diff --git a/qtinterface/tqsqlindex.cpp b/qtinterface/tqsqlindex.cpp deleted file mode 100644 index da11bea..0000000 --- a/qtinterface/tqsqlindex.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqlindex.h b/qtinterface/tqsqlindex.h deleted file mode 100644 index ba05c11..0000000 --- a/qtinterface/tqsqlindex.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlIndex class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlIndex class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLINDEX_H */ \ No newline at end of file diff --git a/qtinterface/tqsqlpropertymap.cpp b/qtinterface/tqsqlpropertymap.cpp deleted file mode 100644 index c0f2638..0000000 --- a/qtinterface/tqsqlpropertymap.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqlpropertymap.h b/qtinterface/tqsqlpropertymap.h deleted file mode 100644 index cc584de..0000000 --- a/qtinterface/tqsqlpropertymap.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlPropertyMap class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlPropertyMap class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLPROPERTYMAP_H */ \ No newline at end of file diff --git a/qtinterface/tqsqlquery.cpp b/qtinterface/tqsqlquery.cpp deleted file mode 100644 index 2e1e1d8..0000000 --- a/qtinterface/tqsqlquery.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqlquery.h b/qtinterface/tqsqlquery.h deleted file mode 100644 index 31c9a65..0000000 --- a/qtinterface/tqsqlquery.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlQuery class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlQuery class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLQUERY_H */ \ No newline at end of file diff --git a/qtinterface/tqsqlrecord.cpp b/qtinterface/tqsqlrecord.cpp deleted file mode 100644 index 5dc3a8b..0000000 --- a/qtinterface/tqsqlrecord.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqlrecord.h b/qtinterface/tqsqlrecord.h deleted file mode 100644 index 116db77..0000000 --- a/qtinterface/tqsqlrecord.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlRecord class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlRecord class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLRECORD_H */ \ No newline at end of file diff --git a/qtinterface/tqsqlresult.cpp b/qtinterface/tqsqlresult.cpp deleted file mode 100644 index fde82f7..0000000 --- a/qtinterface/tqsqlresult.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqlresult.h b/qtinterface/tqsqlresult.h deleted file mode 100644 index 03bd3b6..0000000 --- a/qtinterface/tqsqlresult.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlResult class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlResult class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLRESULT_H */ \ No newline at end of file diff --git a/qtinterface/tqsqlselectcursor.cpp b/qtinterface/tqsqlselectcursor.cpp deleted file mode 100644 index f988a12..0000000 --- a/qtinterface/tqsqlselectcursor.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsqlselectcursor.h b/qtinterface/tqsqlselectcursor.h deleted file mode 100644 index ba9dd8d..0000000 --- a/qtinterface/tqsqlselectcursor.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSqlSelectCursor class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSqlSelectCursor class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSQLSELECTCURSOR_H */ \ No newline at end of file diff --git a/qtinterface/tqstack.h b/qtinterface/tqstack.h deleted file mode 100644 index bc684c9..0000000 --- a/qtinterface/tqstack.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQSTACK_H -#define TQT_TQSTACK_H - -#include - -#ifdef USE_QT3 - -// Pull in Qt3 qptrstack defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qptrstack defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSTACK_H */ \ No newline at end of file diff --git a/qtinterface/tqstatusbar.cpp b/qtinterface/tqstatusbar.cpp deleted file mode 100644 index 73f497a..0000000 --- a/qtinterface/tqstatusbar.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqstatusbar.h b/qtinterface/tqstatusbar.h deleted file mode 100644 index b475057..0000000 --- a/qtinterface/tqstatusbar.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QStatusBar class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStatusBar class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSTATUSBAR_H */ \ No newline at end of file diff --git a/qtinterface/tqstring.cpp b/qtinterface/tqstring.cpp deleted file mode 100644 index 7efebe3..0000000 --- a/qtinterface/tqstring.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; 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 -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqstring.h b/qtinterface/tqstring.h deleted file mode 100644 index ab9354f..0000000 --- a/qtinterface/tqstring.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include -#include - -#ifdef USE_QT3 - -// Reimplement the QString class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QString class -// For Qt4, some changes are needed - -#include -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSTRING_H */ \ No newline at end of file diff --git a/qtinterface/tqstringlist.cpp b/qtinterface/tqstringlist.cpp deleted file mode 100644 index 853dbdd..0000000 --- a/qtinterface/tqstringlist.cpp +++ /dev/null @@ -1,178 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 QT_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 QT_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 QT_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 QT_NO_DATASTREAM -QDataStream &operator>>( QDataStream & s, TQStringList& l ) -{ - return s >> (TQValueList&)l; -} - -QDataStream &operator<<( QDataStream & s, const TQStringList& l ) -{ - return s << (const TQValueList&)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 \ No newline at end of file diff --git a/qtinterface/tqstringlist.h b/qtinterface/tqstringlist.h deleted file mode 100644 index 4e0b34b..0000000 --- a/qtinterface/tqstringlist.h +++ /dev/null @@ -1,168 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the TQStringList class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the TQStringList class -// For Qt4, some changes are needed - -#include -#include -#include -#include - -/**************************************************************************** -** -** 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 QT_NO_STRINGLIST - -class QRegExp; -template class QDeepCopy; - -#if defined(Q_TEMPLATEDLL) -// MOC_SKIP_BEGIN -//Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList; -// MOC_SKIP_END -#endif - -class TQStringList : public TQValueList -{ -public: - TQStringList() { } - TQStringList( const TQStringList& l ) : TQValueList(l) { } - TQStringList( const TQValueList& l ) : TQValueList(l) { } - TQStringList( const QString& i ) { append(i); } -#ifndef QT_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 QT_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 QT_NO_REGEXP - TQStringList grep( const QRegExp &expr ) const; -#endif - - TQStringList& gres( const QString &before, const QString &after, - bool cs = TRUE ); -#ifndef QT_NO_REGEXP_CAPTURE - TQStringList& gres( const QRegExp &expr, const QString &after ); -#endif - -protected: - void detach() { TQValueList::detach(); } - friend class QDeepCopy< TQStringList >; -}; - -#ifndef QT_NO_DATASTREAM -class QDataStream; -extern QDataStream &operator>>( QDataStream &, TQStringList& ); -extern QDataStream &operator<<( QDataStream &, const TQStringList& ); -#endif - -#endif - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQSTRINGLIST_H */ \ No newline at end of file diff --git a/qtinterface/tqstrlist.cpp b/qtinterface/tqstrlist.cpp deleted file mode 100644 index 41894f9..0000000 --- a/qtinterface/tqstrlist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include \ No newline at end of file diff --git a/qtinterface/tqstrlist.h b/qtinterface/tqstrlist.h deleted file mode 100644 index 9967457..0000000 --- a/qtinterface/tqstrlist.h +++ /dev/null @@ -1,198 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the TQStrList class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the TQStrList class -// For Qt4, some changes are needed - -#include -#include -#include - -/**************************************************************************** -** -** 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 -{ -}; -#else -typedef TQPtrListIterator TQStrListIterator; -#endif - -class TQStrList : public TQPtrList -{ -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 - TQStrList(const QList &list) { - for (int i = 0; i < list.size(); ++i) - append(list.at(i).constData()); - } - - TQStrList &operator =(const QList &list) { - clear(); - for (int i = 0; i < list.size(); ++i) - append(list.at(i).constData()); - return *this; - } - - operator QList() const { - QList list; - for (TQPtrListStdIterator 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 QT_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::operator=( strList ); - return *this; -} - -inline TQStrList::TQStrList( const TQStrList &strList ) - : TQPtrList( strList ) -{ - dc = FALSE; - operator=( strList ); -} - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQSTRLIST_H */ \ No newline at end of file diff --git a/qtinterface/tqstrvec.cpp b/qtinterface/tqstrvec.cpp deleted file mode 100644 index e7dc312..0000000 --- a/qtinterface/tqstrvec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqstrvec.h b/qtinterface/tqstrvec.h deleted file mode 100644 index 335a155..0000000 --- a/qtinterface/tqstrvec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QStrVec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStrVec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQSTRVEC_H */ \ No newline at end of file diff --git a/qtinterface/tqstyle.cpp b/qtinterface/tqstyle.cpp deleted file mode 100644 index d8e9c0a..0000000 --- a/qtinterface/tqstyle.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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(this); - QStyleOptionQ3ListViewItem item = lv->items.at(0); - return (Q3ListViewItem*)&item; -} - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqstyle.h b/qtinterface/tqstyle.h deleted file mode 100644 index 8122207..0000000 --- a/qtinterface/tqstyle.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QStyle class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStyle class -// For Qt4, some changes are needed - -#include -#include -#include - -// 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 */ \ No newline at end of file diff --git a/qtinterface/tqstylefactory.cpp b/qtinterface/tqstylefactory.cpp deleted file mode 100644 index 2c5ffb9..0000000 --- a/qtinterface/tqstylefactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqstylefactory.h b/qtinterface/tqstylefactory.h deleted file mode 100644 index b3e16dd..0000000 --- a/qtinterface/tqstylefactory.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QStyleFactory class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStyleFactory class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSTYLEFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/tqstyleplugin.cpp b/qtinterface/tqstyleplugin.cpp deleted file mode 100644 index db9dd39..0000000 --- a/qtinterface/tqstyleplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqstyleplugin.h b/qtinterface/tqstyleplugin.h deleted file mode 100644 index 52474ed..0000000 --- a/qtinterface/tqstyleplugin.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QStylePlugin class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStylePlugin class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSTYLEPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/tqstylesheet.cpp b/qtinterface/tqstylesheet.cpp deleted file mode 100644 index 8f5c3a4..0000000 --- a/qtinterface/tqstylesheet.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqstylesheet.h b/qtinterface/tqstylesheet.h deleted file mode 100644 index b1d5676..0000000 --- a/qtinterface/tqstylesheet.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QStyleSheet class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QStyleSheet class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSTYLESHEET_H */ \ No newline at end of file diff --git a/qtinterface/tqsyntaxhighlighter.cpp b/qtinterface/tqsyntaxhighlighter.cpp deleted file mode 100644 index a2809fd..0000000 --- a/qtinterface/tqsyntaxhighlighter.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqsyntaxhighlighter.h b/qtinterface/tqsyntaxhighlighter.h deleted file mode 100644 index a12f76e..0000000 --- a/qtinterface/tqsyntaxhighlighter.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QSyntaxHighlighter class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QSyntaxHighlighter class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQSYNTAXHIGHLIGHTER_H */ \ No newline at end of file diff --git a/qtinterface/tqt.cpp b/qtinterface/tqt.cpp deleted file mode 100644 index 799ff43..0000000 --- a/qtinterface/tqt.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include - -// Various methods that don't have a proper home (yet) - -#ifdef USE_QT4 - -static QColor tqblackptr_core = QColor(Qt::black); - -template -QList::operator bool() const { - return !this.isEmpty(); -} - -QBool::operator uint () const { - return b ? static_cast(1) : static_cast(0); -} - -QChar::operator int () const { - return static_cast(*this); -} - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqt_defs.h b/qtinterface/tqt_defs.h deleted file mode 100644 index 8d1c8b6..0000000 --- a/qtinterface/tqt_defs.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/qtinterface/tqt_undefs.h b/qtinterface/tqt_undefs.h deleted file mode 100644 index 8d1c8b6..0000000 --- a/qtinterface/tqt_undefs.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/qtinterface/tqtabbar.cpp b/qtinterface/tqtabbar.cpp deleted file mode 100644 index 06e9f5a..0000000 --- a/qtinterface/tqtabbar.cpp +++ /dev/null @@ -1,34 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqtabbar.h b/qtinterface/tqtabbar.h deleted file mode 100644 index a2a8fba..0000000 --- a/qtinterface/tqtabbar.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTabBar class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTabBar class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTABBAR_H */ \ No newline at end of file diff --git a/qtinterface/tqtabdialog.cpp b/qtinterface/tqtabdialog.cpp deleted file mode 100644 index 39c6644..0000000 --- a/qtinterface/tqtabdialog.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtabdialog.h b/qtinterface/tqtabdialog.h deleted file mode 100644 index 234be38..0000000 --- a/qtinterface/tqtabdialog.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTabDialog class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTabDialog class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTABDIALOG_H */ \ No newline at end of file diff --git a/qtinterface/tqtabdlg.h b/qtinterface/tqtabdlg.h deleted file mode 100644 index 064a76e..0000000 --- a/qtinterface/tqtabdlg.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQTABDLG_H -#define TQT_TQTABDLG_H - -#include - -// Pull in tqtabdialog defines - -#include - -#endif /* TQT_TQTABDLG_H */ \ No newline at end of file diff --git a/qtinterface/tqtable.cpp b/qtinterface/tqtable.cpp deleted file mode 100644 index be9e226..0000000 --- a/qtinterface/tqtable.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtable.h b/qtinterface/tqtable.h deleted file mode 100644 index 99e81b8..0000000 --- a/qtinterface/tqtable.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTable class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTable class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTABLE_H */ \ No newline at end of file diff --git a/qtinterface/tqtabwidget.cpp b/qtinterface/tqtabwidget.cpp deleted file mode 100644 index f288053..0000000 --- a/qtinterface/tqtabwidget.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtabwidget.h b/qtinterface/tqtabwidget.h deleted file mode 100644 index 2283013..0000000 --- a/qtinterface/tqtabwidget.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTabWidget class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTabWidget class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTABWIDGET_H */ \ No newline at end of file diff --git a/qtinterface/tqtextbrowser.cpp b/qtinterface/tqtextbrowser.cpp deleted file mode 100644 index 262efb4..0000000 --- a/qtinterface/tqtextbrowser.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtextbrowser.h b/qtinterface/tqtextbrowser.h deleted file mode 100644 index 9810102..0000000 --- a/qtinterface/tqtextbrowser.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTextBrowser class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextBrowser class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTBROWSER_H */ \ No newline at end of file diff --git a/qtinterface/tqtextcodec.cpp b/qtinterface/tqtextcodec.cpp deleted file mode 100644 index 6e047a5..0000000 --- a/qtinterface/tqtextcodec.cpp +++ /dev/null @@ -1,515 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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,"",15)) - n = line+15; - else if (0==qstrnicmp(line," ",14)) - esc = line[14]; - else if (0==qstrnicmp(line," ",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; ito_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 QT_NO_CODECS -// Cannot use
 or \code
-/*!
-    Reads a POSIX2 charmap definition from \a iod.
-    The parser recognizes the following lines:
-
-
-  <code_set_name> name
-  <escape_char> character
-  % alias alias
-  CHARMAP
-  <token> /xhexbyte <Uunicode> ...
-  <token> /ddecbyte <Uunicode> ...
-  <token> /octbyte <Uunicode> ...
-  <token> /any/any... <Uunicode> ...
-  END CHARMAP
-
- - 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 //QT_NO_CODECS - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqtextcodec.h b/qtinterface/tqtextcodec.h deleted file mode 100644 index 90d09df..0000000 --- a/qtinterface/tqtextcodec.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTextCodec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextCodec class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTCODEC_H */ \ No newline at end of file diff --git a/qtinterface/tqtextcodecfactory.cpp b/qtinterface/tqtextcodecfactory.cpp deleted file mode 100644 index ea81597..0000000 --- a/qtinterface/tqtextcodecfactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtextcodecfactory.h b/qtinterface/tqtextcodecfactory.h deleted file mode 100644 index 46d74e1..0000000 --- a/qtinterface/tqtextcodecfactory.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTextCodecFactory class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextCodecFactory class -// For Qt4, this class has been removed! - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTCODECFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/tqtextcodecplugin.cpp b/qtinterface/tqtextcodecplugin.cpp deleted file mode 100644 index f076590..0000000 --- a/qtinterface/tqtextcodecplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtextcodecplugin.h b/qtinterface/tqtextcodecplugin.h deleted file mode 100644 index fc4a1b6..0000000 --- a/qtinterface/tqtextcodecplugin.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTextCodecPlugin class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextCodecPlugin class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTCODECPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/tqtextedit.cpp b/qtinterface/tqtextedit.cpp deleted file mode 100644 index 2c80b1e..0000000 --- a/qtinterface/tqtextedit.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtextedit.h b/qtinterface/tqtextedit.h deleted file mode 100644 index 9f3b8d2..0000000 --- a/qtinterface/tqtextedit.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTextEdit class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextEdit class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTEDIT_H */ \ No newline at end of file diff --git a/qtinterface/tqtextstream.cpp b/qtinterface/tqtextstream.cpp deleted file mode 100644 index abc0898..0000000 --- a/qtinterface/tqtextstream.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include \ No newline at end of file diff --git a/qtinterface/tqtextstream.h b/qtinterface/tqtextstream.h deleted file mode 100644 index 03372cc..0000000 --- a/qtinterface/tqtextstream.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include -#include - -#ifdef USE_QT3 - -// Reimplement the QTextStream class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextStream class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTSTREAM_H */ \ No newline at end of file diff --git a/qtinterface/tqtextview.cpp b/qtinterface/tqtextview.cpp deleted file mode 100644 index 7f86067..0000000 --- a/qtinterface/tqtextview.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtextview.h b/qtinterface/tqtextview.h deleted file mode 100644 index 81919ef..0000000 --- a/qtinterface/tqtextview.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTextView class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTextView class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTEXTVIEW_H */ \ No newline at end of file diff --git a/qtinterface/tqtglobaldefines.h b/qtinterface/tqtglobaldefines.h deleted file mode 100644 index c39b03d..0000000 --- a/qtinterface/tqtglobaldefines.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - -Copyright (C) 2010-2011 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; 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/tqthread.cpp b/qtinterface/tqthread.cpp deleted file mode 100644 index bc3140e..0000000 --- a/qtinterface/tqthread.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqthread.h b/qtinterface/tqthread.h deleted file mode 100644 index f58cf08..0000000 --- a/qtinterface/tqthread.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QThread class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QThread class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTHREAD_H */ \ No newline at end of file diff --git a/qtinterface/tqthreadstorage.cpp b/qtinterface/tqthreadstorage.cpp deleted file mode 100644 index b6558e6..0000000 --- a/qtinterface/tqthreadstorage.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqthreadstorage.h b/qtinterface/tqthreadstorage.h deleted file mode 100644 index 1299491..0000000 --- a/qtinterface/tqthreadstorage.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QThreadStorage class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QThreadStorage class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTHREADSTORAGE_H */ \ No newline at end of file diff --git a/qtinterface/tqtimer.cpp b/qtinterface/tqtimer.cpp deleted file mode 100644 index 29d4fee..0000000 --- a/qtinterface/tqtimer.cpp +++ /dev/null @@ -1,32 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - -// int QTimer::myNewFunction(int parameter_one) -// { -// return parameter_one; -// } - -#endif // USE_QT4 \ No newline at end of file diff --git a/qtinterface/tqtimer.h b/qtinterface/tqtimer.h deleted file mode 100644 index 2f9d5da..0000000 --- a/qtinterface/tqtimer.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTimer class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTimer class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTIMER_H */ \ No newline at end of file diff --git a/qtinterface/tqtl.cpp b/qtinterface/tqtl.cpp deleted file mode 100644 index 642ab0e..0000000 --- a/qtinterface/tqtl.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtl.h b/qtinterface/tqtl.h deleted file mode 100644 index 57547bd..0000000 --- a/qtinterface/tqtl.h +++ /dev/null @@ -1,362 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the Qtl class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -#include - -// 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 QT_NO_TEXTSTREAM -template -class TQTextOStreamIterator -{ -protected: - QTextOStream& stream; - QString separator; - -public: - TQTextOStreamIterator( QTextOStream& s) : stream( s ) {} - TQTextOStreamIterator( QTextOStream& s, const QString& sep ) - : stream( s ), separator( sep ) {} - TQTextOStreamIterator& operator= ( const T& x ) { - stream << x; - if ( !separator.isEmpty() ) - stream << separator; - return *this; - } - TQTextOStreamIterator& operator*() { return *this; } - TQTextOStreamIterator& operator++() { return *this; } - TQTextOStreamIterator& operator++(int) { return *this; } -}; -#endif //QT_NO_TEXTSTREAM - -template -inline OutputIterator tqCopy( InputIterator _begin, InputIterator _end, - OutputIterator _dest ) -{ - while( _begin != _end ) - *_dest++ = *_begin++; - return _dest; -} - -template -inline BiOutputIterator tqCopyBackward( BiIterator _begin, BiIterator _end, - BiOutputIterator _dest ) -{ - while ( _begin != _end ) - *--_dest = *--_end; - return _dest; -} - -template -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 -inline void tqFill( ForwardIterator first, ForwardIterator last, const T& val ) -{ - for ( ; first != last; ++first ) - *first = val; -} - -#if 0 -template -inline OutputIterator qReverseCopy( BiIterator _begin, BiIterator _end, - OutputIterator _dest ) -{ - while ( _begin != _end ) { - --_end; - *_dest = *_end; - ++_dest; - } - return _dest; -} -#endif - - -template -inline InputIterator tqFind( InputIterator first, InputIterator last, - const T& val ) -{ - while ( first != last && *first != val ) - ++first; - return first; -} - -template -inline void tqCount( InputIterator first, InputIterator last, const T& value, - Size& n ) -{ - for ( ; first != last; ++first ) - if ( *first == value ) - ++n; -} - -template -inline void tqSwap( T& _value1, T& _value2 ) -{ - T tmp = _value1; - _value1 = _value2; - _value2 = tmp; -} - - -template -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 -inline void tqBubbleSort( Container &c ) -{ - tqBubbleSort( c.begin(), c.end() ); -} - - -template -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 -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 -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 -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 TQBackInsertIterator -{ -public: - TQBackInsertIterator( Container &c ) - : container( &c ) - { - } - - TQBackInsertIterator& - operator=( const Q_TYPENAME Container::value_type &value ) - { - container->push_back( value ); - return *this; - } - - TQBackInsertIterator& operator*() - { - return *this; - } - - TQBackInsertIterator& operator++() - { - return *this; - } - - TQBackInsertIterator& operator++(int) - { - return *this; - } - -protected: - Container *container; -}; - -template -inline TQBackInsertIterator qBackInserter( Container &c ) -{ - return TQBackInsertIterator( c ); -} - -/**********************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQTL_H */ \ No newline at end of file diff --git a/qtinterface/tqtoolbar.cpp b/qtinterface/tqtoolbar.cpp deleted file mode 100644 index a87a54a..0000000 --- a/qtinterface/tqtoolbar.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtoolbar.h b/qtinterface/tqtoolbar.h deleted file mode 100644 index 97ac747..0000000 --- a/qtinterface/tqtoolbar.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QToolBar class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - - -#ifdef USE_QT4 - -// Reimplement the QToolBar class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTOOLBAR_H */ \ No newline at end of file diff --git a/qtinterface/tqtoolbox.cpp b/qtinterface/tqtoolbox.cpp deleted file mode 100644 index 639cb2e..0000000 --- a/qtinterface/tqtoolbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtoolbox.h b/qtinterface/tqtoolbox.h deleted file mode 100644 index b5b9bf6..0000000 --- a/qtinterface/tqtoolbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QToolBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QToolBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTOOLBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqtoolbutton.cpp b/qtinterface/tqtoolbutton.cpp deleted file mode 100644 index 521c862..0000000 --- a/qtinterface/tqtoolbutton.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtoolbutton.h b/qtinterface/tqtoolbutton.h deleted file mode 100644 index 5f733e1..0000000 --- a/qtinterface/tqtoolbutton.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QToolButton class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QToolButton class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTOOLBUTTON_H */ \ No newline at end of file diff --git a/qtinterface/tqtooltip.cpp b/qtinterface/tqtooltip.cpp deleted file mode 100644 index 62c71f3..0000000 --- a/qtinterface/tqtooltip.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqtooltip.h b/qtinterface/tqtooltip.h deleted file mode 100644 index 42daa06..0000000 --- a/qtinterface/tqtooltip.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QToolTip class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QToolTip class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQTOOLTIP_H */ \ No newline at end of file diff --git a/qtinterface/tqtranslator.cpp b/qtinterface/tqtranslator.cpp deleted file mode 100644 index 9fc4146..0000000 --- a/qtinterface/tqtranslator.cpp +++ /dev/null @@ -1,404 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqtranslator.h b/qtinterface/tqtranslator.h deleted file mode 100644 index 4afc7db..0000000 --- a/qtinterface/tqtranslator.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTranslator class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTranslator class -// For Qt4, some changes are needed - -#include - -//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 */ \ No newline at end of file diff --git a/qtinterface/tqtsciicodec.cpp b/qtinterface/tqtsciicodec.cpp deleted file mode 100644 index e4213f6..0000000 --- a/qtinterface/tqtsciicodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqtsciicodec.h b/qtinterface/tqtsciicodec.h deleted file mode 100644 index c3967ce..0000000 --- a/qtinterface/tqtsciicodec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QTsciiCodec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QTsciiCodec class -// For Qt4, this class has been removed! - -#endif // USE_QT4 - -#endif /* TQT_TQTSCIICODEC_H */ \ No newline at end of file diff --git a/qtinterface/tqtstream.h b/qtinterface/tqtstream.h deleted file mode 100644 index 983d45d..0000000 --- a/qtinterface/tqtstream.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQTSTREAM_H -#define TQT_TQTSTREAM_H - -#include - -// Pull in textstream defines - -#include - -#endif /* TQT_TQTSTREAM_H */ \ No newline at end of file diff --git a/qtinterface/tqurl.cpp b/qtinterface/tqurl.cpp deleted file mode 100644 index eb39cff..0000000 --- a/qtinterface/tqurl.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqurl.h b/qtinterface/tqurl.h deleted file mode 100644 index 6ed52be..0000000 --- a/qtinterface/tqurl.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QUrl class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUrl class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQURL_H */ \ No newline at end of file diff --git a/qtinterface/tqurlinfo.cpp b/qtinterface/tqurlinfo.cpp deleted file mode 100644 index 5a35fc5..0000000 --- a/qtinterface/tqurlinfo.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqurlinfo.h b/qtinterface/tqurlinfo.h deleted file mode 100644 index 1ebb4d6..0000000 --- a/qtinterface/tqurlinfo.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QUrlInfo class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUrlInfo class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQURL_H */ \ No newline at end of file diff --git a/qtinterface/tqurloperator.cpp b/qtinterface/tqurloperator.cpp deleted file mode 100644 index a4d0475..0000000 --- a/qtinterface/tqurloperator.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqurloperator.h b/qtinterface/tqurloperator.h deleted file mode 100644 index 37fb584..0000000 --- a/qtinterface/tqurloperator.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QUrlOperator class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUrlOperator class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQURLOPERATOR_H */ \ No newline at end of file diff --git a/qtinterface/tqutfcodec.cpp b/qtinterface/tqutfcodec.cpp deleted file mode 100644 index 80a0da2..0000000 --- a/qtinterface/tqutfcodec.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqutfcodec.h b/qtinterface/tqutfcodec.h deleted file mode 100644 index e788130..0000000 --- a/qtinterface/tqutfcodec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QUtfCodec class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUtfCodec class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQUTFCODEC_H */ \ No newline at end of file diff --git a/qtinterface/tquuid.cpp b/qtinterface/tquuid.cpp deleted file mode 100644 index fa20ef4..0000000 --- a/qtinterface/tquuid.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tquuid.h b/qtinterface/tquuid.h deleted file mode 100644 index d12a7eb..0000000 --- a/qtinterface/tquuid.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QUuid class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QUuid class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQUUID_H */ \ No newline at end of file diff --git a/qtinterface/tqvalidator.cpp b/qtinterface/tqvalidator.cpp deleted file mode 100644 index d4cfe95..0000000 --- a/qtinterface/tqvalidator.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqvalidator.h b/qtinterface/tqvalidator.h deleted file mode 100644 index 9ceea73..0000000 --- a/qtinterface/tqvalidator.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QValidator class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QValidator class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQVALIDATOR_H */ \ No newline at end of file diff --git a/qtinterface/tqvaluelist.cpp b/qtinterface/tqvaluelist.cpp deleted file mode 100644 index 58afb58..0000000 --- a/qtinterface/tqvaluelist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqvaluelist.h b/qtinterface/tqvaluelist.h deleted file mode 100644 index f8d73b9..0000000 --- a/qtinterface/tqvaluelist.h +++ /dev/null @@ -1,720 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include - -#ifdef USE_QT3 - -// Reimplement the QValueList class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QValueList class -// For Qt4, some changes are needed - -#include -#include -#include - -/**************************************************************************** -** $Id: qt/qvaluelist.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 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* next; - TQValueListNode* prev; - T data; -}; - -template -class TQValueListIterator -{ - public: - /** - * Typedefs - */ - typedef TQValueListNode* NodePtr; -#ifndef QT_NO_STL - typedef std::bidirectional_iterator_tag iterator_category; -#endif - typedef T value_type; - typedef size_t size_type; -#ifndef QT_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& it ) : node( it.node ) {} - - bool operator==( const TQValueListIterator& it ) const { return node == it.node; } - bool operator!=( const TQValueListIterator& 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& operator++() { - node = node->next; - return *this; - } - - TQValueListIterator operator++(int) { - TQValueListIterator tmp = *this; - node = node->next; - return tmp; - } - - TQValueListIterator& operator--() { - node = node->prev; - return *this; - } - - TQValueListIterator operator--(int) { - TQValueListIterator tmp = *this; - node = node->prev; - return tmp; - } - - TQValueListIterator& operator+=( int j ) { - while ( j-- ) - node = node->next; - return *this; - } - - TQValueListIterator& operator-=( int j ) { - while ( j-- ) - node = node->prev; - return *this; - } - -}; - -template -class TQValueListConstIterator -{ - public: - /** - * Typedefs - */ - typedef TQValueListNode* NodePtr; -#ifndef QT_NO_STL - typedef std::bidirectional_iterator_tag iterator_category; -#endif - typedef T value_type; - typedef size_t size_type; -#ifndef QT_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& it ) : node( it.node ) {} - TQValueListConstIterator( const TQValueListIterator& it ) : node( it.node ) {} - - bool operator==( const TQValueListConstIterator& it ) const { return node == it.node; } - bool operator!=( const TQValueListConstIterator& 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& operator++() { - node = node->next; - return *this; - } - - TQValueListConstIterator operator++(int) { - TQValueListConstIterator tmp = *this; - node = node->next; - return tmp; - } - - TQValueListConstIterator& operator--() { - node = node->prev; - return *this; - } - - TQValueListConstIterator operator--(int) { - TQValueListConstIterator tmp = *this; - node = node->prev; - return tmp; - } -}; - -template -class TQValueListPrivate : public Q3Shared -{ -public: - /** - * Typedefs - */ - typedef TQValueListIterator Iterator; - typedef TQValueListConstIterator ConstIterator; - typedef TQValueListNode Node; - typedef TQValueListNode* NodePtr; - typedef size_t size_type; - - /** - * Functions - */ - TQValueListPrivate(); - TQValueListPrivate( const TQValueListPrivate& _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 -TQValueListPrivate::TQValueListPrivate() -{ - node = new Node; node->next = node->prev = node; nodes = 0; -} - -template -TQValueListPrivate::TQValueListPrivate( const TQValueListPrivate& _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 -TQValueListPrivate::~TQValueListPrivate() { - NodePtr p = node->next; - while( p != node ) { - NodePtr x = p->next; - delete p; - p = x; - } - delete node; -} - -template -Q_TYPENAME TQValueListPrivate::Iterator TQValueListPrivate::insert( Q_TYPENAME TQValueListPrivate::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 -Q_TYPENAME TQValueListPrivate::Iterator TQValueListPrivate::remove( Q_TYPENAME TQValueListPrivate::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 -Q_TYPENAME TQValueListPrivate::NodePtr TQValueListPrivate::find( Q_TYPENAME TQValueListPrivate::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 -int TQValueListPrivate::findIndex( Q_TYPENAME TQValueListPrivate::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 -uint TQValueListPrivate::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 -uint TQValueListPrivate::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 -Q_TYPENAME TQValueListPrivate::NodePtr TQValueListPrivate::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 -void TQValueListPrivate::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( QT_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 QDeepCopy; - -template -class TQValueList -{ -public: - /** - * Typedefs - */ - typedef TQValueListIterator iterator; - typedef TQValueListConstIterator 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 QT_NO_STL - typedef ptrdiff_t difference_type; -#else - typedef int difference_type; -#endif - - /** - * API - */ - TQValueList() { sh = new TQValueListPrivate; } - TQValueList( const TQValueList& l ) { sh = l.sh; sh->ref(); } -#ifndef QT_NO_STL - TQValueList( const std::list& l ) - { - sh = new TQValueListPrivate; - qCopy( l.begin(), l.end(), std::back_inserter( *this ) ); - } -#endif - ~TQValueList() { sh->derefAndDelete(); } - - TQValueList& operator= ( const TQValueList& l ) - { - l.sh->ref(); - sh->derefAndDelete(); - sh = l.sh; - return *this; - } -#ifndef QT_NO_STL - TQValueList& operator= ( const std::list& l ) - { - detach(); - qCopy( l.begin(), l.end(), std::back_inserter( *this ) ); - return *this; - } - bool operator== ( const std::list& l ) const - { - if ( size() != l.size() ) - return FALSE; - const_iterator it2 = begin(); -#if !defined(Q_CC_MIPS) - typename -#endif - std::list::const_iterator it = l.begin(); - for ( ; it2 != end(); ++it2, ++it ) - if ( !((*it2) == (*it)) ) - return FALSE; - return TRUE; - } -#endif - - // Interoperability - TQValueList(const QList& l) - { - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - } - - TQValueList& operator= (const QList& l) - { - this->clear(); - for (int i = 0; i < l.size(); ++i) append(l.at(i)); - return *this; - } - - operator QList() const { - QList list; - for (typename TQValueList::const_iterator it = this->constBegin(); - it != this->constEnd(); ++it) - list.append(*it); - return list; - } - - bool operator== ( const TQValueList& l ) const; - bool operator!= ( const TQValueList& 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& 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 operator+ ( const TQValueList& l ) const; - TQValueList& operator+= ( const TQValueList& 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& operator+= ( const T& x ) - { - append( x ); - return *this; - } - typedef TQValueListIterator Iterator; - typedef TQValueListConstIterator ConstIterator; - typedef T ValueType; - -protected: - /** - * Helpers - */ - void detach() { if ( sh->count > 1 ) detachInternal(); } - - /** - * Variables - */ - TQValueListPrivate* sh; - -private: - void detachInternal(); - - friend class QDeepCopy< TQValueList >; -}; - -template -bool TQValueList::operator== ( const TQValueList& 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 -void TQValueList::clear() -{ - if ( sh->count == 1 ) sh->clear(); else { sh->deref(); sh = new TQValueListPrivate; } -} - -template -Q_TYPENAME TQValueList::iterator TQValueList::erase( Q_TYPENAME TQValueList::iterator first, Q_TYPENAME TQValueList::iterator last ) -{ - while ( first != last ) - erase( first++ ); - return last; -} - - -template -void TQValueList::insert( Q_TYPENAME TQValueList::iterator pos, size_type n, const T& x ) -{ - for ( ; n > 0; --n ) - insert( pos, x ); -} - -template -TQValueList TQValueList::operator+ ( const TQValueList& l ) const -{ - TQValueList l2( *this ); - for( const_iterator it = l.begin(); it != l.end(); ++it ) - l2.append( *it ); - return l2; -} - -template -TQValueList& TQValueList::operator+= ( const TQValueList& l ) -{ - TQValueList copy = l; - for( const_iterator it = copy.begin(); it != copy.end(); ++it ) - append( *it ); - return *this; -} - -template -void TQValueList::detachInternal() -{ - sh->deref(); sh = new TQValueListPrivate( *sh ); -} - -#ifndef QT_NO_DATASTREAM -template -QDataStream& operator>>( QDataStream& s, TQValueList& 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 -QDataStream& operator<<( QDataStream& s, const TQValueList& l ) -{ - s << (Q_UINT32)l.size(); - TQValueListConstIterator it = l.begin(); - for( ; it != l.end(); ++it ) - s << *it; - return s; -} -#endif // QT_NO_DATASTREAM - -/****************************************************************************/ - -#endif // USE_QT4 - -#endif /* TQT_TQVALUELIST_H */ \ No newline at end of file diff --git a/qtinterface/tqvaluestack.cpp b/qtinterface/tqvaluestack.cpp deleted file mode 100644 index 777c73d..0000000 --- a/qtinterface/tqvaluestack.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqvaluestack.h b/qtinterface/tqvaluestack.h deleted file mode 100644 index ed987f5..0000000 --- a/qtinterface/tqvaluestack.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QValueStack class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QValueStack class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQVALUESTACK_H */ \ No newline at end of file diff --git a/qtinterface/tqvaluevector.cpp b/qtinterface/tqvaluevector.cpp deleted file mode 100644 index e0cd785..0000000 --- a/qtinterface/tqvaluevector.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqvaluevector.h b/qtinterface/tqvaluevector.h deleted file mode 100644 index 021f8b3..0000000 --- a/qtinterface/tqvaluevector.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QValueVector class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QValueVector class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQVALUEVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/tqvariant.cpp b/qtinterface/tqvariant.cpp deleted file mode 100644 index 23d24a5..0000000 --- a/qtinterface/tqvariant.cpp +++ /dev/null @@ -1,129 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#ifdef USE_QT4 - -#include - -// This is taken straight from -#ifdef Q_CC_SUN // Sun CC picks the wrong overload, so introduce awful hack - -template -inline T *v_cast(const QVariant::Private *nd, T * = 0) -{ - QVariant::Private *d = const_cast(nd); - return ((sizeof(T) > sizeof(QVariant::Private::Data)) - ? static_cast(d->data.shared->ptr) - : static_cast(static_cast(&d->data.c))); -} - -#else // every other compiler in this world - -template -inline const T *v_cast(const QVariant::Private *d, T * = 0) -{ - return ((sizeof(T) > sizeof(QVariant::Private::Data)) - ? static_cast(d->data.shared->ptr) - : static_cast(static_cast(&d->data.c))); -} - -template -inline T *v_cast(QVariant::Private *d, T * = 0) -{ - return ((sizeof(T) > sizeof(QVariant::Private::Data)) - ? static_cast(d->data.shared->ptr) - : static_cast(static_cast(&d->data.c))); -} - -#endif - -template -inline T qVariantToHelper(const QVariant::Private &d, QVariant::Type t, - const QVariant::Handler *handler, T * = 0) -{ - if (d.type == t) - return *v_cast(&d); - - T ret; - handler->convert(&d, t, &ret, 0); - return ret; -} - -QFont QVariant::toFont() const { - return qVariantToHelper(d, Font, handler); -} - -QColor QVariant::toColor() const { - return qVariantToHelper(d, Color, handler); -} - -QCursor QVariant::toCursor() const { - return qVariantToHelper(d, Cursor, handler); -} - -QBitmap QVariant::toBitmap() const { - return qVariantToHelper(d, Bitmap, handler); -} - -Q3PointArray QVariant::toPointArray() const { - return qVariantToHelper(d, PointArray, handler); -} - -QRegion QVariant::toRegion() const { - return qVariantToHelper(d, Region, handler); -} - -QPixmap QVariant::toPixmap() const { - return qVariantToHelper(d, Pixmap, handler); -} - -QImage QVariant::toImage() const { - return qVariantToHelper(d, Image, handler); -} - -QBrush QVariant::toBrush() const { - return qVariantToHelper(d, Brush, handler); -} - -QPalette QVariant::toPalette() const { - return qVariantToHelper(d, Palette, handler); -} - -QColorGroup QVariant::toColorGroup() const { - return qVariantToHelper(d, ColorGroup, handler); -} - -QIconSet QVariant::toIconSet() const { - return qVariantToHelper(d, IconSet, handler); -} - -QFont QVariant::asFont() { - return toFont(); -} - -QColor QVariant::asColor() { - return toColor(); -} - -#endif // USE_QT4 diff --git a/qtinterface/tqvariant.h b/qtinterface/tqvariant.h deleted file mode 100644 index b489af7..0000000 --- a/qtinterface/tqvariant.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 -#include - -#ifdef USE_QT3 - -// Reimplement the QVariant class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QVariant class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQVARIANT_H */ \ No newline at end of file diff --git a/qtinterface/tqvbox.cpp b/qtinterface/tqvbox.cpp deleted file mode 100644 index 790376a..0000000 --- a/qtinterface/tqvbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqvbox.h b/qtinterface/tqvbox.h deleted file mode 100644 index f04d1f6..0000000 --- a/qtinterface/tqvbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QVBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QVBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQVBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqvbuttongroup.cpp b/qtinterface/tqvbuttongroup.cpp deleted file mode 100644 index 52e9344..0000000 --- a/qtinterface/tqvbuttongroup.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqvbuttongroup.h b/qtinterface/tqvbuttongroup.h deleted file mode 100644 index ff59cf3..0000000 --- a/qtinterface/tqvbuttongroup.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QVButtonGroup class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QVButtonGroup class -// For Qt4, no changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQVBUTTONGROUP_H */ \ No newline at end of file diff --git a/qtinterface/tqvector.h b/qtinterface/tqvector.h deleted file mode 100644 index 73325cc..0000000 --- a/qtinterface/tqvector.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQVECTOR_H -#define TQT_TQVECTOR_H - -#include - -// Pull in tqptrvector defines - -#include - -#endif /* TQT_TQVECTOR_H */ \ No newline at end of file diff --git a/qtinterface/tqvfbhdr.cpp b/qtinterface/tqvfbhdr.cpp deleted file mode 100644 index 278b43d..0000000 --- a/qtinterface/tqvfbhdr.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqvfbhdr.h b/qtinterface/tqvfbhdr.h deleted file mode 100644 index bf10af4..0000000 --- a/qtinterface/tqvfbhdr.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QVFBHDR class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QVFBHDR class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQVFBHDR_H */ \ No newline at end of file diff --git a/qtinterface/tqvgroupbox.cpp b/qtinterface/tqvgroupbox.cpp deleted file mode 100644 index f460045..0000000 --- a/qtinterface/tqvgroupbox.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqvgroupbox.h b/qtinterface/tqvgroupbox.h deleted file mode 100644 index 652685a..0000000 --- a/qtinterface/tqvgroupbox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QVGroupBox class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QVGroupBox class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQVGROUPBOX_H */ \ No newline at end of file diff --git a/qtinterface/tqwaitcondition.cpp b/qtinterface/tqwaitcondition.cpp deleted file mode 100644 index 2fe41a1..0000000 --- a/qtinterface/tqwaitcondition.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqwaitcondition.h b/qtinterface/tqwaitcondition.h deleted file mode 100644 index 93d46ef..0000000 --- a/qtinterface/tqwaitcondition.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWaitCondition class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWaitCondition class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWAITCONDITION_H */ \ No newline at end of file diff --git a/qtinterface/tqwhatsthis.cpp b/qtinterface/tqwhatsthis.cpp deleted file mode 100644 index 1a170c5..0000000 --- a/qtinterface/tqwhatsthis.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqwhatsthis.h b/qtinterface/tqwhatsthis.h deleted file mode 100644 index 088ecf6..0000000 --- a/qtinterface/tqwhatsthis.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWhatsThis class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWhatsThis class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWHATSTHIS_H */ \ No newline at end of file diff --git a/qtinterface/tqwidcoll.h b/qtinterface/tqwidcoll.h deleted file mode 100644 index 836d88a..0000000 --- a/qtinterface/tqwidcoll.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQWIDCOLL_H -#define TQT_TQWIDCOLL_H - -#include - -// Pull in the widget defines - -#include -#include - -#endif /* TQT_TQWIDCOLL_H */ \ No newline at end of file diff --git a/qtinterface/tqwidget.cpp b/qtinterface/tqwidget.cpp deleted file mode 100644 index bfa02a4..0000000 --- a/qtinterface/tqwidget.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include - -#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 \ No newline at end of file diff --git a/qtinterface/tqwidget.h b/qtinterface/tqwidget.h deleted file mode 100644 index d9342ee..0000000 --- a/qtinterface/tqwidget.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWidget class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWidget class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGET_H */ \ No newline at end of file diff --git a/qtinterface/tqwidgetfactory.cpp b/qtinterface/tqwidgetfactory.cpp deleted file mode 100644 index 563d3cf..0000000 --- a/qtinterface/tqwidgetfactory.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqwidgetfactory.h b/qtinterface/tqwidgetfactory.h deleted file mode 100644 index 80e0d8d..0000000 --- a/qtinterface/tqwidgetfactory.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWidgetFactory class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWidgetFactory class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGETFACTORY_H */ \ No newline at end of file diff --git a/qtinterface/tqwidgetintdict.cpp b/qtinterface/tqwidgetintdict.cpp deleted file mode 100644 index 88a8bb5..0000000 --- a/qtinterface/tqwidgetintdict.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqwidgetintdict.h b/qtinterface/tqwidgetintdict.h deleted file mode 100644 index d6b1107..0000000 --- a/qtinterface/tqwidgetintdict.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWidgetIntDict class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWidgetIntDict class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGETINTDICT_H */ \ No newline at end of file diff --git a/qtinterface/tqwidgetlist.cpp b/qtinterface/tqwidgetlist.cpp deleted file mode 100644 index e7e1999..0000000 --- a/qtinterface/tqwidgetlist.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqwidgetlist.h b/qtinterface/tqwidgetlist.h deleted file mode 100644 index 21cd7ac..0000000 --- a/qtinterface/tqwidgetlist.h +++ /dev/null @@ -1,91 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the TQWidgetList class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the TQWidgetList class -// For Qt4, this class was removed! - -#include -#include - -class TQWidgetList : public TQPtrList -{ -public: - TQWidgetList() : TQPtrList() {} - TQWidgetList( const TQWidgetList &list ) : TQPtrList(list) {} - ~TQWidgetList() { clear(); } - TQWidgetList &operator=(const TQWidgetList &list) - { return (TQWidgetList&)TQPtrList::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 -{ -public: - TQWidgetListIt( const TQWidgetList &l ) : TQPtrListIterator(l) {} - TQWidgetListIt &operator=(const TQWidgetListIt &i) - { return (TQWidgetListIt&)TQPtrListIterator::operator=(i); } -}; - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGETLIST_H */ \ No newline at end of file diff --git a/qtinterface/tqwidgetplugin.cpp b/qtinterface/tqwidgetplugin.cpp deleted file mode 100644 index 668c45f..0000000 --- a/qtinterface/tqwidgetplugin.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqwidgetplugin.h b/qtinterface/tqwidgetplugin.h deleted file mode 100644 index 0dd505f..0000000 --- a/qtinterface/tqwidgetplugin.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWidgetPlugin class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWidgetPlugin class -// For Qt4, this class was removed! - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGETPLUGIN_H */ \ No newline at end of file diff --git a/qtinterface/tqwidgetstack.cpp b/qtinterface/tqwidgetstack.cpp deleted file mode 100644 index 0cf6330..0000000 --- a/qtinterface/tqwidgetstack.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqwidgetstack.h b/qtinterface/tqwidgetstack.h deleted file mode 100644 index f96359b..0000000 --- a/qtinterface/tqwidgetstack.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWidgetStack class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWidgetStack class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWIDGETSTACK_H */ \ No newline at end of file diff --git a/qtinterface/tqwindefs.h b/qtinterface/tqwindefs.h deleted file mode 100644 index 66bfe71..0000000 --- a/qtinterface/tqwindefs.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#ifndef TQT_TQWINDEFS_H -#define TQT_TQWINDEFS_H - -#include - -// Pull in tqwindowdefs defines - -#include - -#endif /* TQT_TQWINDEFS_H */ \ No newline at end of file diff --git a/qtinterface/tqwindowdefs.h b/qtinterface/tqwindowdefs.h deleted file mode 100644 index 7e98e47..0000000 --- a/qtinterface/tqwindowdefs.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Pull in Qt3 qwindowdefs defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qwindowdefs defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWINDOWDEFS_H */ \ No newline at end of file diff --git a/qtinterface/tqwindowsstyle.cpp b/qtinterface/tqwindowsstyle.cpp deleted file mode 100644 index 889607c..0000000 --- a/qtinterface/tqwindowsstyle.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqwindowsstyle.h b/qtinterface/tqwindowsstyle.h deleted file mode 100644 index a6dd0eb..0000000 --- a/qtinterface/tqwindowsstyle.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWindowsStyle class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWindowsStyle class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWINDOWSSTYLE_H */ \ No newline at end of file diff --git a/qtinterface/tqwinexport.h b/qtinterface/tqwinexport.h deleted file mode 100644 index 43c380d..0000000 --- a/qtinterface/tqwinexport.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Pull in Qt3 qwinexport defines - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Pull in Qt4 qwinexport defines - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWINEXPORT_H */ \ No newline at end of file diff --git a/qtinterface/tqwizard.cpp b/qtinterface/tqwizard.cpp deleted file mode 100644 index 5c5b50e..0000000 --- a/qtinterface/tqwizard.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqwizard.h b/qtinterface/tqwizard.h deleted file mode 100644 index 2defd89..0000000 --- a/qtinterface/tqwizard.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWizard class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWizard class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWIZARD_H */ \ No newline at end of file diff --git a/qtinterface/tqwmatrix.cpp b/qtinterface/tqwmatrix.cpp deleted file mode 100644 index 4699799..0000000 --- a/qtinterface/tqwmatrix.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqwmatrix.h b/qtinterface/tqwmatrix.h deleted file mode 100644 index 08d8fa1..0000000 --- a/qtinterface/tqwmatrix.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWMatrix class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWMatrix class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWMATRIX_H */ \ No newline at end of file diff --git a/qtinterface/tqworkspace.cpp b/qtinterface/tqworkspace.cpp deleted file mode 100644 index 09d136e..0000000 --- a/qtinterface/tqworkspace.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqworkspace.h b/qtinterface/tqworkspace.h deleted file mode 100644 index 1f242ae..0000000 --- a/qtinterface/tqworkspace.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QWorkspace class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QWorkspace class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQWORKSPACE_H */ \ No newline at end of file diff --git a/qtinterface/tqxml.cpp b/qtinterface/tqxml.cpp deleted file mode 100644 index e5759ab..0000000 --- a/qtinterface/tqxml.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - -*/ - -#include -#include diff --git a/qtinterface/tqxml.h b/qtinterface/tqxml.h deleted file mode 100644 index 81b1580..0000000 --- a/qtinterface/tqxml.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Copyright (C) 2010 Timothy Pearson - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the 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 - -#ifdef USE_QT3 - -// Reimplement the QXml class -// For Qt3, no changes are needed - -#include - -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QXml class -// For Qt4, some changes are needed - -#include - -#endif // USE_QT4 - -#endif /* TQT_TQXML_H */ \ No newline at end of file -- cgit v1.2.3