Adapt to latest tqt3 version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/21/head
Michele Calgaro 6 months ago
parent 1945c9975f
commit 838094bf63
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,9 +1,9 @@
#include <stdio.h> #include <stdio.h>
#include <ntqglobal.h> #include <tqglobal.h>
#include <ntqstring.h> #include <tqstring.h>
#include <ntqapplication.h> #include <ntqapplication.h>
#include <ntqmetaobject.h> #include <tqmetaobject.h>
#include <private/qucomextra_p.h> #include <private/tqucomextra_p.h>
#include "smoke.h" #include "smoke.h"
#undef DEBUG #undef DEBUG

@ -1,18 +1,18 @@
#include <ntqstring.h> #include <tqstring.h>
#include <ntqregexp.h> #include <tqregexp.h>
#include <ntqapplication.h> #include <ntqapplication.h>
#include <ntqmetaobject.h> #include <tqmetaobject.h>
#include <ntqvaluelist.h> #include <tqvaluelist.h>
#include <ntqwidgetlist.h> #include <tqwidgetlist.h>
#include <ntqcanvas.h> #include <tqcanvas.h>
#include <ntqobjectlist.h> #include <tqobjectlist.h>
#include <ntqintdict.h> #include <tqintdict.h>
#include <ntqtoolbar.h> #include <tqtoolbar.h>
#include <ntqtabbar.h> #include <tqtabbar.h>
#include <ntqdir.h> #include <tqdir.h>
#include <ntqdockwindow.h> #include <tqdockwindow.h>
#include <ntqnetworkprotocol.h> #include <tqnetworkprotocol.h>
#include <private/qucomextra_p.h> #include <private/tqucomextra_p.h>
#include "smoke.h" #include "smoke.h"
#undef DEBUG #undef DEBUG
@ -30,7 +30,7 @@
#include "XSUB.h" #include "XSUB.h"
#if PERL_VERSION == 6 && PERL_SUBVERSION == 0 #if PERL_VERSION == 6 && PERL_SUBVERSION == 0
#include <ntqtextcodec.h> #include <tqtextcodec.h>
#endif #endif
#include "marshall.h" #include "marshall.h"

@ -1018,14 +1018,14 @@ AC_DEFUN(KDE_PRINT_TQT_PROGRAM,
AC_REQUIRE([KDE_USE_TQT]) AC_REQUIRE([KDE_USE_TQT])
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#include "confdefs.h" #include "confdefs.h"
#include <ntqglobal.h> #include <tqglobal.h>
#include <ntqapplication.h> #include <ntqapplication.h>
EOF EOF
if test "$kde_qtver" = "2"; then if test "$kde_qtver" = "2"; then
cat >> conftest.$ac_ext <<EOF cat >> conftest.$ac_ext <<EOF
#include <ntqevent.h> #include <tqevent.h>
#include <ntqstring.h> #include <tqstring.h>
#include <ntqstyle.h> #include <tqstyle.h>
EOF EOF
if test $kde_qtsubver -gt 0; then if test $kde_qtsubver -gt 0; then
@ -1039,9 +1039,9 @@ fi
if test "$kde_qtver" = "3"; then if test "$kde_qtver" = "3"; then
cat >> conftest.$ac_ext <<EOF cat >> conftest.$ac_ext <<EOF
#include <ntqcursor.h> #include <tqcursor.h>
#include <ntqstylefactory.h> #include <tqstylefactory.h>
#include <private/qucomextra_p.h> #include <private/tqucomextra_p.h>
EOF EOF
fi fi
@ -1373,9 +1373,9 @@ if test ! "$ac_tqt_includes" = "NO"; then
fi fi
if test "$kde_qtver" != "1"; then if test "$kde_qtver" != "1"; then
kde_qt_header=ntqstyle.h kde_qt_header=tqstyle.h
else else
kde_qt_header=ntqglobal.h kde_qt_header=tqglobal.h
fi fi
AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir) AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir)

2
aclocal.m4 vendored

@ -1053,7 +1053,7 @@ if test "$kde_qtver" = "3"; then
cat >> conftest.$ac_ext <<EOF cat >> conftest.$ac_ext <<EOF
#include <qcursor.h> #include <qcursor.h>
#include <qstylefactory.h> #include <qstylefactory.h>
#include <private/qucomextra_p.h> #include <private/tqucomextra_p.h>
EOF EOF
fi fi

@ -26,14 +26,14 @@
#include "domtool.h" #include "domtool.h"
#include <ntqsizepolicy.h> #include <tqsizepolicy.h>
#include <ntqcolor.h> #include <tqcolor.h>
#include <ntqcursor.h> #include <tqcursor.h>
#include <ntqdatetime.h> #include <tqdatetime.h>
#include <ntqrect.h> #include <tqrect.h>
#include <ntqsize.h> #include <tqsize.h>
#include <ntqfont.h> #include <tqfont.h>
#include <ntqdom.h> #include <tqdom.h>
/*! /*!
\class DomTool domtool.h \class DomTool domtool.h

@ -27,8 +27,8 @@
#ifndef DOMTOOL_H #ifndef DOMTOOL_H
#define DOMTOOL_H #define DOMTOOL_H
#include <ntqvariant.h> #include <tqvariant.h>
#include <ntqnamespace.h> #include <tqnamespace.h>
class TQDomElement; class TQDomElement;
class TQDomDocument; class TQDomDocument;

@ -30,14 +30,14 @@
**********************************************************************/ **********************************************************************/
#include "uic.h" #include "uic.h"
#include <ntqfile.h> #include <tqfile.h>
#include <ntqimage.h> #include <tqimage.h>
#include <ntqstringlist.h> #include <tqstringlist.h>
#include <ntqdatetime.h> #include <tqdatetime.h>
#include <ntqfileinfo.h> #include <tqfileinfo.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#include <ntqregexp.h> #include <tqregexp.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>

@ -32,12 +32,12 @@
#include "parser.h" #include "parser.h"
#include "widgetdatabase.h" #include "widgetdatabase.h"
#include "domtool.h" #include "domtool.h"
#include <ntqstringlist.h> #include <tqstringlist.h>
#include <ntqvaluelist.h> #include <tqvaluelist.h>
#include <ntqfile.h> #include <tqfile.h>
#include <ntqfileinfo.h> #include <tqfileinfo.h>
#include <ntqdir.h> #include <tqdir.h>
#include <ntqregexp.h> #include <tqregexp.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#if( TQT_VERSION < 0x030101 ) #if( TQT_VERSION < 0x030101 )

@ -21,7 +21,7 @@
#ifndef GLOBALDEFS_H #ifndef GLOBALDEFS_H
#define GLOBALDEFS_H #define GLOBALDEFS_H
#include <ntqcolor.h> #include <tqcolor.h>
#define BOXLAYOUT_DEFAULT_MARGIN 11 #define BOXLAYOUT_DEFAULT_MARGIN 11
#define BOXLAYOUT_DEFAULT_SPACING 6 #define BOXLAYOUT_DEFAULT_SPACING 6

@ -32,9 +32,9 @@
#include "widgetdatabase.h" #include "widgetdatabase.h"
#include "domtool.h" #include "domtool.h"
#include <ntqapplication.h> #include <ntqapplication.h>
#include <ntqfile.h> #include <tqfile.h>
#include <ntqstringlist.h> #include <tqstringlist.h>
#include <ntqdatetime.h> #include <tqdatetime.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#include <stdio.h> #include <stdio.h>

@ -23,9 +23,9 @@
#include "widgetinterface.h" #include "widgetinterface.h"
#include "widgetdatabase.h" #include "widgetdatabase.h"
#include "domtool.h" #include "domtool.h"
#include <ntqregexp.h> #include <tqregexp.h>
#include <ntqsizepolicy.h> #include <tqsizepolicy.h>
#include <ntqstringlist.h> #include <tqstringlist.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>

@ -19,8 +19,8 @@
**********************************************************************/ **********************************************************************/
#include "parser.h" #include "parser.h"
#include <ntqobject.h> #include <tqobject.h>
#include <ntqstringlist.h> #include <tqstringlist.h>
class NormalizeObject : public TQObject class NormalizeObject : public TQObject
{ {

@ -21,7 +21,7 @@
#ifndef PARSER_H #ifndef PARSER_H
#define PARSER_H #define PARSER_H
#include <ntqstring.h> #include <tqstring.h>
class Parser class Parser
{ {

@ -22,12 +22,12 @@
#include "parser.h" #include "parser.h"
#include "widgetdatabase.h" #include "widgetdatabase.h"
#include "domtool.h" #include "domtool.h"
#include <ntqfile.h> #include <tqfile.h>
#include <ntqstringlist.h> #include <tqstringlist.h>
#include <ntqdatetime.h> #include <tqdatetime.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#include <ntqregexp.h> #include <tqregexp.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

@ -32,12 +32,12 @@
#include "parser.h" #include "parser.h"
#include "widgetdatabase.h" #include "widgetdatabase.h"
#include "domtool.h" #include "domtool.h"
#include <ntqfile.h> #include <tqfile.h>
#include <ntqstringlist.h> #include <tqstringlist.h>
#include <ntqdatetime.h> #include <tqdatetime.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#include <ntqregexp.h> #include <tqregexp.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

@ -21,13 +21,13 @@
#ifndef UIC_H #ifndef UIC_H
#define UIC_H #define UIC_H
#include <ntqdom.h> #include <tqdom.h>
#include <ntqstring.h> #include <tqstring.h>
#include <ntqstringlist.h> #include <tqstringlist.h>
#include <ntqmap.h> #include <tqmap.h>
#include <ntqtextstream.h> #include <tqtextstream.h>
#include <ntqpalette.h> #include <tqpalette.h>
#include <ntqvariant.h> #include <tqvariant.h>
#ifndef TQ_DUMMY_COMPARISON_OPERATOR #ifndef TQ_DUMMY_COMPARISON_OPERATOR
# warning "Defining TQ_DUMMY_COMPARISON_OPERATOR" # warning "Defining TQ_DUMMY_COMPARISON_OPERATOR"

@ -30,12 +30,12 @@
#include <ntqapplication.h> #include <ntqapplication.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#include <ntqstrlist.h> #include <tqstrlist.h>
#include <ntqdict.h> #include <tqdict.h>
#include <ntqfile.h> #include <tqfile.h>
#include <ntqtextstream.h> #include <tqtextstream.h>
#include <ntqcleanuphandler.h> #include <tqcleanuphandler.h>
#include <ntqfeatures.h> #include <tqfeatures.h>
#include <stdlib.h> #include <stdlib.h>

@ -21,10 +21,10 @@
#ifndef WIDGETDATABASE_H #ifndef WIDGETDATABASE_H
#define WIDGETDATABASE_H #define WIDGETDATABASE_H
#include <ntqiconset.h> #include <tqiconset.h>
#include <ntqstring.h> #include <tqstring.h>
#include "widgetinterface.h" // up here for GCC 2.7.* compatibility #include "widgetinterface.h" // up here for GCC 2.7.* compatibility
#include <private/qpluginmanager_p.h> #include <private/tqpluginmanager_p.h>
extern TQPluginManager<WidgetInterface> *widgetManager(); extern TQPluginManager<WidgetInterface> *widgetManager();

@ -21,7 +21,7 @@
#ifndef WIDGETINTERFACE_H #ifndef WIDGETINTERFACE_H
#define WIDGETINTERFACE_H #define WIDGETINTERFACE_H
#include <private/qwidgetinterface_p.h> #include <private/tqwidgetinterface_p.h>
#define WidgetInterface TQWidgetFactoryInterface #define WidgetInterface TQWidgetFactoryInterface
#define IID_Widget IID_QWidgetFactory #define IID_Widget IID_QWidgetFactory

@ -38,28 +38,28 @@ chdir "$kalyptusdir" or die "Couldn't go to $kalyptusdir (edit script to change
# Find out which header files we need to parse # Find out which header files we need to parse
# We don't want all of them - e.g. not template-based stuff # We don't want all of them - e.g. not template-based stuff
my %excludes = ( my %excludes = (
'ntqaccessible.h' => 1, # Accessibility support is not compiled by defaut 'tqaccessible.h' => 1, # Accessibility support is not compiled by defaut
'ntqassistantclient.h' => 1, # Not part of TQt (introduced in TQt-3.1) 'tqassistantclient.h' => 1, # Not part of TQt (introduced in TQt-3.1)
'ntqmotif.h' => 1, # 'tqmotif.h' => 1, #
'ntqmotifwidget.h' => 1, # Motif extension (introduced in TQt-3.1) 'tqmotifwidget.h' => 1, # Motif extension (introduced in TQt-3.1)
'ntqmotifdialog.h' => 1, # 'tqmotifdialog.h' => 1, #
'ntqxt.h' => 1, # Xt 'tqxt.h' => 1, # Xt
'ntqxtwidget.h' => 1, # Xt 'tqxtwidget.h' => 1, # Xt
'ntqdns.h' => 1, # internal 'tqdns.h' => 1, # internal
'ntqgl.h' => 1, # OpenGL 'tqgl.h' => 1, # OpenGL
'ntqglcolormap.h' => 1, # OpenGL 'tqglcolormap.h' => 1, # OpenGL
'ntqnp.h' => 1, # NSPlugin 'tqnp.h' => 1, # NSPlugin
'ntqwidgetfactory.h' => 1, # Just an interface 'tqwidgetfactory.h' => 1, # Just an interface
'ntqsharedmemory.h' => 1, # "not part of the TQt API" they say 'tqsharedmemory.h' => 1, # "not part of the TQt API" they say
'ntqwindowsstyle.h' => 1, # TQt windowsstyle, plugin 'tqwindowsstyle.h' => 1, # TQt windowsstyle, plugin
'ntqmotifstyle.h' => 1, 'tqmotifstyle.h' => 1,
'ntqcompactstyle.h' => 1, 'tqcompactstyle.h' => 1,
'ntqinterlacestyle.h' => 1, 'tqinterlacestyle.h' => 1,
'ntqmotifplusstyle.h' => 1, 'tqmotifplusstyle.h' => 1,
'ntqsgistyle.h' => 1, 'tqsgistyle.h' => 1,
'ntqplatinumstyle.h' => 1, 'tqplatinumstyle.h' => 1,
'ntqcdestyle.h' => 1, 'tqcdestyle.h' => 1,
'ntqwindowsxpstyle.h' => 1 # play on the safe side 'tqwindowsxpstyle.h' => 1 # play on the safe side
); );
# Some systems have a TQTDIR = TDEDIR = PREFIX # Some systems have a TQTDIR = TDEDIR = PREFIX

@ -1,291 +1,289 @@
ntqabstractlayout.h tqaccel.h
ntqaccel.h tqaccessible.h
ntqaccessible.h tqaction.h
ntqaction.h
ntqapplication.h ntqapplication.h
ntqasciicache.h tqasciicache.h
ntqasciidict.h tqasciidict.h
ntqassistantclient.h tqassistantclient.h
ntqasyncimageio.h tqasyncimageio.h
ntqasyncio.h tqasyncio.h
ntqbig5codec.h tqbig5codec.h
ntqbitarray.h tqbitarray.h
ntqbitmap.h tqbitmap.h
ntqbrush.h tqbrush.h
ntqbuffer.h tqbuffer.h
ntqbuttongroup.h tqbuttongroup.h
ntqbutton.h tqbutton.h
ntqcache.h tqcache.h
ntqcanvas.h tqcanvas.h
ntqcdestyle.h tqcdestyle.h
ntqcheckbox.h tqcheckbox.h
ntqcleanuphandler.h tqcleanuphandler.h
ntqclipboard.h tqclipboard.h
ntqcolordialog.h tqcolordialog.h
ntqcolor.h tqcolor.h
ntqcombobox.h tqcombobox.h
ntqcommonstyle.h tqcommonstyle.h
ntqcompactstyle.h tqcompactstyle.h
ntqconfig-dist.h
ntqconfig.h ntqconfig.h
ntqconnection.h tqconnection.h
ntqcstring.h tqcstring.h
ntqcursor.h tqcursor.h
ntqdatabrowser.h tqdatabrowser.h
ntqdatastream.h tqdatastream.h
ntqdatatable.h tqdatatable.h
ntqdataview.h tqdataview.h
ntqdatetimeedit.h tqdatetimeedit.h
ntqdatetime.h tqdatetime.h
ntqdeepcopy.h tqdeepcopy.h
ntqdesktopwidget.h tqdesktopwidget.h
ntqdial.h tqdial.h
ntqdialog.h tqdialog.h
ntqdict.h tqdict.h
ntqdir.h tqdir.h
ntqdns.h tqdns.h
ntqdockarea.h tqdockarea.h
ntqdockwindow.h tqdockwindow.h
ntqdom.h tqdom.h
ntqdragobject.h tqdragobject.h
ntqdrawutil.h tqdrawutil.h
ntqdropsite.h tqdropsite.h
ntqeditorfactory.h tqeditorfactory.h
ntqerrormessage.h tqerrormessage.h
ntqeucjpcodec.h tqeucjpcodec.h
ntqeuckrcodec.h tqeuckrcodec.h
ntqevent.h tqevent.h
ntqeventloop.h tqeventloop.h
ntqfeatures.h tqfeatures.h
ntqfiledialog.h tqfiledialog.h
ntqfile.h tqfile.h
ntqfileinfo.h tqfileinfo.h
ntqfocusdata.h tqfocusdata.h
ntqfontdatabase.h tqfontdatabase.h
ntqfontdialog.h tqfontdialog.h
ntqfontdta.h tqfontdta.h
ntqfont.h tqfont.h
ntqfontinfo.h tqfontinfo.h
ntqfontmetrics.h tqfontmetrics.h
ntqframe.h tqframe.h
ntqftp.h tqftp.h
ntqgarray.h tqgarray.h
ntqgb18030codec.h tqgb18030codec.h
ntqgbkcodec.h tqgbkcodec.h
ntqgcache.h tqgcache.h
ntqgdict.h tqgdict.h
ntqgeneric.h tqgif.h
ntqgif.h tqglcolormap.h
ntqglcolormap.h tqgl.h
ntqgl.h tqglist.h
ntqglist.h tqglobal.h
ntqglobal.h tqgplugin.h
ntqgplugin.h tqgrid.h
ntqgrid.h tqgridview.h
ntqgridview.h tqgroupbox.h
ntqgroupbox.h tqguardedptr.h
ntqguardedptr.h tqgvector.h
ntqgvector.h tqhbox.h
ntqhbox.h tqhbuttongroup.h
ntqhbuttongroup.h tqheader.h
ntqheader.h tqhebrewcodec
ntqhgroupbox.h tqhgroupbox.h
ntqhostaddress.h tqhostaddress.h
ntqhttp.h tqhttp.h
ntqiconset.h tqiconset.h
ntqiconview.h tqiconview.h
ntqimageformatplugin.h tqimageformatplugin.h
ntqimage.h tqimage.h
ntqinputdialog.h tqinputdialog.h
ntqintcache.h tqintcache.h
ntqintdict.h tqintdict.h
ntqinterlacestyle.h tqinterlacestyle.h
ntqiodevice.h tqiodevice.h
ntqjiscodec.h tqjiscodec.h
ntqjpunicode.h tqjpunicode.h
ntqkeycode.h tqkeycode.h
ntqkeysequence.h tqkeysequence.h
ntqlabel.h tqlabel.h
ntqlayout.h tqlayout.h
ntqlcdnumber.h tqlcdnumber.h
ntqlibrary.h tqlocale.h
ntqlineedit.h tqlibrary.h
ntqlistbox.h tqlineedit.h
ntqlistview.h tqlistbox.h
ntqlocalfs.h tqlistview.h
ntqmainwindow.h tqlocalfs.h
ntqmap.h tqmainwindow.h
ntqmemarray.h tqmap.h
ntqmenubar.h tqmemarray.h
ntqmenudata.h tqmenubar.h
ntqmessagebox.h tqmenudata.h
ntqmetaobject.h tqmessagebox.h
ntqmime.h tqmetaobject.h
tqmime.h
ntqmodules.h ntqmodules.h
ntqmotifdialog.h tqmotifdialog.h
ntqmotif.h tqmotif.h
ntqmotifplusstyle.h tqmotifplusstyle.h
ntqmotifstyle.h tqmotifstyle.h
ntqmotifwidget.h tqmotifwidget.h
ntqmovie.h tqmovie.h
ntqmultilineedit.h tqmultilineedit.h
ntqmutex.h tqmutex.h
ntqnamespace.h tqnamespace.h
ntqnetwork.h tqnetwork.h
ntqnetworkprotocol.h tqnetworkprotocol.h
ntqobjectcleanuphandler.h tqobjectcleanuphandler.h
ntqobjectdefs.h tqobjectdefs.h
ntqobjectdict.h tqobjectdict.h
ntqobject.h tqobject.h
ntqobjectlist.h tqobjectlist.h
ntqpaintdevice.h tqpaintdevice.h
ntqpaintdevicemetrics.h tqpaintdevicemetrics.h
ntqpainter.h tqpainter.h
ntqpair.h tqpair.h
ntqpalette.h tqpalette.h
ntqpen.h tqpen.h
ntqpicture.h tqpicture.h
ntqpixmapcache.h tqpixmapcache.h
ntqpixmap.h tqpixmap.h
ntqplatinumstyle.h tqplatinumstyle.h
ntqpointarray.h tqpointarray.h
ntqpoint.h tqpoint.h
ntqpolygonscanner.h tqpolygonscanner.h
ntqpopupmenu.h tqpopupmenu.h
ntqprintdialog.h tqprintdialog.h
ntqprinter.h tqprinter.h
ntqprocess.h tqprocess.h
ntqprogressbar.h tqprogressbar.h
ntqprogressdialog.h tqprogressdialog.h
ntqptrcollection.h tqptrcollection.h
ntqptrdict.h tqptrdict.h
ntqptrlist.h tqptrlist.h
ntqptrqueue.h tqptrqueue.h
ntqptrstack.h tqptrstack.h
ntqptrvector.h tqptrvector.h
ntqpushbutton.h tqpushbutton.h
ntqradiobutton.h tqradiobutton.h
ntqrangecontrol.h tqrangecontrol.h
ntqrect.h tqrect.h
ntqregexp.h tqregexp.h
ntqregion.h tqregion.h
ntqremotefactory.h tqremotefactory.h
ntqremoteplugin.h tqremoteplugin.h
ntqrtlcodec.h tqscopedptr.h
ntqscopedptr.h tqscrollbar.h
ntqscrollbar.h tqscrollview.h
ntqscrollview.h tqsemaphore.h
ntqsemaphore.h tqserversocket.h
ntqserversocket.h tqsession.h
ntqsession.h tqsessionmanager.h
ntqsessionmanager.h tqsettings.h
ntqsettings.h tqsgistyle.h
ntqsgistyle.h tqshared.h
ntqshared.h tqsignal.h
ntqsignal.h tqsignalmapper.h
ntqsignalmapper.h tqsignalslotimp.h
ntqsignalslotimp.h tqsimplerichtext.h
ntqsimplerichtext.h tqsizegrip.h
ntqsizegrip.h tqsize.h
ntqsize.h tqsizepolicy.h
ntqsizepolicy.h tqsjiscodec.h
ntqsjiscodec.h tqslider.h
ntqslider.h tqsocketdevice.h
ntqsocketdevice.h tqsocket.h
ntqsocket.h tqsocketnotifier.h
ntqsocketnotifier.h tqsound.h
ntqsound.h tqspinbox.h
ntqspinbox.h tqsplashscreen.h
ntqsplashscreen.h tqsplitter.h
ntqsplitter.h tqsqlcursor.h
ntqsqlcursor.h tqsqldatabase.h
ntqsqldatabase.h tqsqldriver.h
ntqsqldriver.h tqsqldriverplugin.h
ntqsqldriverplugin.h tqsqleditorfactory.h
ntqsqleditorfactory.h tqsqlerror.h
ntqsqlerror.h tqsqlfield.h
ntqsqlfield.h tqsqlform.h
ntqsqlform.h tqsql.h
ntqsql.h tqsqlindex.h
ntqsqlindex.h tqsqlpropertymap.h
ntqsqlpropertymap.h tqsqlquery.h
ntqsqlquery.h tqsqlrecord.h
ntqsqlrecord.h tqsqlresult.h
ntqsqlresult.h tqsqlselectcursor.h
ntqsqlselectcursor.h tqstatusbar.h
ntqstatusbar.h tqstring.h
ntqstring.h tqstringlist.h
ntqstringlist.h tqstrlist.h
ntqstrlist.h tqstrvec.h
ntqstrvec.h tqstylefactory.h
ntqstylefactory.h tqstyle.h
ntqstyle.h tqstyleplugin.h
ntqstyleplugin.h tqstylesheet.h
ntqstylesheet.h tqsyntaxhighlighter.h
ntqsyntaxhighlighter.h tqtabbar.h
ntqtabbar.h tqtabdialog.h
ntqtabdialog.h tqtable.h
ntqtable.h tqtabwidget.h
ntqtabwidget.h tqtextbrowser.h
ntqtextbrowser.h tqtextcodecfactory.h
ntqtextcodecfactory.h tqtextcodec.h
ntqtextcodec.h tqtextcodecplugin.h
ntqtextcodecplugin.h tqtextedit.h
ntqtextedit.h tqtextstream.h
ntqtextstream.h tqtextview.h
ntqtextview.h tqt.h
ntqt.h tqthread.h
ntqthread.h tqtimer.h
ntqtimer.h tqtl.h
ntqtl.h tqtoolbar.h
ntqtoolbar.h tqtoolbutton.h
ntqtoolbutton.h tqtoolbox.h
ntqtoolbox.h tqtooltip.h
ntqtooltip.h tqtranslator.h
ntqtranslator.h tqtsciicodec.h
ntqtsciicodec.h tqurl.h
ntqurl.h tqurlinfo.h
ntqurlinfo.h tqurloperator.h
ntqurloperator.h tqutfcodec.h
ntqutfcodec.h tquuid.h
ntquuid.h tqvalidator.h
ntqvalidator.h tqvaluelist.h
ntqvaluelist.h tqvaluestack.h
ntqvaluestack.h tqvaluevector.h
ntqvaluevector.h tqvariant.h
ntqvariant.h tqvbox.h
ntqvbox.h tqvbuttongroup.h
ntqvbuttongroup.h tqvgroupbox.h
ntqvgroupbox.h tqwaitcondition.h
ntqwaitcondition.h tqwhatsthis.h
ntqwhatsthis.h tqwidgetfactory.h
ntqwidgetfactory.h tqwidget.h
ntqwidget.h tqwidgetintdict.h
ntqwidgetintdict.h tqwidgetlist.h
ntqwidgetlist.h tqwidgetplugin.h
ntqwidgetplugin.h tqwidgetstack.h
ntqwidgetstack.h tqwindowdefs.h
ntqwindowdefs.h tqwindow.h
ntqwindow.h tqwindowsstyle.h
ntqwindowsstyle.h tqwizard.h
ntqwizard.h tqwmatrix.h
ntqwmatrix.h tqworkspace.h
ntqworkspace.h tqwsbeosdecoration_qws.h
ntqwsbeosdecoration_qws.h tqwscommand_qws.h
ntqwscommand_qws.h tqwscursor_qws.h
ntqwscursor_qws.h tqwsdecoration_qws.h
ntqwsdecoration_qws.h tqwsdefaultdecoration_qws.h
ntqwsdefaultdecoration_qws.h tqwsdisplay_qws.h
ntqwsdisplay_qws.h tqwsevent_qws.h
ntqwsevent_qws.h tqwshydrodecoration_qws.h
ntqwshydrodecoration_qws.h tqwskde2decoration_qws.h
ntqwskde2decoration_qws.h tqwskdedecoration_qws.h
ntqwskdedecoration_qws.h tqwsmanager_qws.h
ntqwsmanager_qws.h tqwsmouse_qws.h
ntqwsmouse_qws.h tqwsproperty_qws.h
ntqwsproperty_qws.h tqwsregionmanager_qws.h
ntqwsregionmanager_qws.h tqwssocket_qws.h
ntqwssocket_qws.h tqwsutils_qws.h
ntqwsutils_qws.h tqwswindowsdecoration_qws.h
ntqwswindowsdecoration_qws.h tqxml.h
ntqxml.h

@ -52,7 +52,7 @@ $x{'LIB_X11'} =~ s/\$\((.*?)\)/$x{$1}/g;
$qtflags =~ s/\$\((.*?)\)/$x{$1}/g; $qtflags =~ s/\$\((.*?)\)/$x{$1}/g;
-e "$qtinc/ntqglobal.h" or die "Invalid TQt directory.\n"; -e "$qtinc/tqglobal.h" or die "Invalid TQt directory.\n";
my $ccmd = "$cc $ccflags $allinc $alllib -o $tmp $tmp.cpp $qtflags"; my $ccmd = "$cc $ccflags $allinc $alllib -o $tmp $tmp.cpp $qtflags";
@ -66,7 +66,7 @@ my($count, $used, $total);
map{ $tests{$_}->[2]>=$threshold ? ($used++, $total++):$total++ } keys %tests; map{ $tests{$_}->[2]>=$threshold ? ($used++, $total++):$total++ } keys %tests;
print "Number of defines to be tested : $used/$total\n\n" unless $opt_q; print "Number of defines to be tested : $used/$total\n\n" unless $opt_q;
open( TQTDEFS, ">".($opt_o || "ntqtdefines") ) or die "Can't open output file: $!\n"; open( TQTDEFS, ">".($opt_o || "tqtdefines") ) or die "Can't open output file: $!\n";
grab_qglobal_symbols(); grab_qglobal_symbols();
preliminary_test(); preliminary_test();
@ -94,7 +94,7 @@ sub gettmpfile
sub grab_qglobal_symbols sub grab_qglobal_symbols
{ {
my $cmd = "$cc -E -D__cplusplus -dM -I$qtinc $qtinc/ntqglobal.h 2>/dev/null"; my $cmd = "$cc -E -D__cplusplus -dM -I$qtinc $qtinc/tqglobal.h 2>/dev/null";
my $symbols = `$cmd`; my $symbols = `$cmd`;
for(0..1) for(0..1)
{ {
@ -115,7 +115,7 @@ sub grab_qglobal_symbols
elsif(! $_) # first try elsif(! $_) # first try
{ {
print "Failed to run $cmd.\nTrying without __cplusplus (might be already defined)\n"; print "Failed to run $cmd.\nTrying without __cplusplus (might be already defined)\n";
$cmd = "$cc -E -dM -I$qtinc $qtinc/ntqglobal.h 2>/dev/null"; $cmd = "$cc -E -dM -I$qtinc $qtinc/tqglobal.h 2>/dev/null";
$symbols = `$cmd`; $symbols = `$cmd`;
next; next;
} }
@ -168,7 +168,7 @@ sub perform_all_tests
$tests{$_}->[2] < $threshold and next; $tests{$_}->[2] < $threshold and next;
($qtdefs{$_} || $qtundefs{$_}) and do ($qtdefs{$_} || $qtundefs{$_}) and do
{ {
print "\rSkipping $_ (in ntqglobal.h)".( " " x (($nspaces-16) - length($_)) ).($qtundefs{$_}?"*Undefined*":" [Defined]").($opt_q?"":"\n"); print "\rSkipping $_ (in tqglobal.h)".( " " x (($nspaces-16) - length($_)) ).($qtundefs{$_}?"*Undefined*":" [Defined]").($opt_q?"":"\n");
next next
}; };
print "\rTesting $_".( " " x ($nspaces - length($_)) ); print "\rTesting $_".( " " x ($nspaces - length($_)) );
@ -181,7 +181,7 @@ sub perform_all_tests
{ {
print OUT "#include <$inc>\n"; print OUT "#include <$inc>\n";
} }
print OUT "#include <ntqfeatures.h>\n"; print OUT "#include <tqfeatures.h>\n";
print OUT $tests{$_}->[3] if $tests{$_}->[3]; # need to define some classes ? print OUT $tests{$_}->[3] if $tests{$_}->[3]; # need to define some classes ?
print OUT qq£ print OUT qq£
@ -248,43 +248,43 @@ BEGIN {
# "DEFINE" => ["header-1.h,... header-n.h", "main() code", priority, "Definitions (if needed)"] # "DEFINE" => ["header-1.h,... header-n.h", "main() code", priority, "Definitions (if needed)"]
our %tests = ( our %tests = (
"TQT_NO_ACCEL" => ["ntqaccel.h", "TQAccel foo( (TQWidget*)NULL );", 5], "TQT_NO_ACCEL" => ["tqaccel.h", "TQAccel foo( (TQWidget*)NULL );", 5],
"TQT_NO_ACTION" => ["ntqaction.h", "TQAction foo( (TQObject*)NULL );", 5], "TQT_NO_ACTION" => ["tqaction.h", "TQAction foo( (TQObject*)NULL );", 5],
"TQT_NO_ASYNC_IO" => ["ntqasyncio.h", "TQAsyncIO foo();", 5], "TQT_NO_ASYNC_IO" => ["tqasyncio.h", "TQAsyncIO foo();", 5],
"TQT_NO_ASYNC_IMAGE_IO"=> ["ntqasyncimageio.h", "TQImageDecoder foo( (TQImageConsumer*) NULL );", 5], "TQT_NO_ASYNC_IMAGE_IO"=> ["tqasyncimageio.h", "TQImageDecoder foo( (TQImageConsumer*) NULL );", 5],
"TQT_NO_BIG_CODECS" => ["ntqbig5codec.h", "TQBig5Codec foo();", 5], "TQT_NO_BIG_CODECS" => ["tqbig5codec.h", "TQBig5Codec foo();", 5],
"TQT_NO_BUTTON" => ["ntqbutton.h", "TQButton foo( (TQWidget*)NULL );", 10], "TQT_NO_BUTTON" => ["tqbutton.h", "TQButton foo( (TQWidget*)NULL );", 10],
"TQT_NO_BUTTONGROUP" => ["ntqbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12], "TQT_NO_BUTTONGROUP" => ["tqbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12],
"TQT_NO_CANVAS" => ["ntqcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10], "TQT_NO_CANVAS" => ["tqcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10],
"TQT_NO_CHECKBOX" => ["ntqcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10], "TQT_NO_CHECKBOX" => ["tqcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10],
"TQT_NO_CLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£ "TQT_NO_CLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
TQClipboard *baz= foo.clipboard(); TQClipboard *baz= foo.clipboard();
£, 5], £, 5],
"TQT_NO_COLORDIALOG" => ["ntqcolordialog.h", "TQColorDialog::customCount();", 12], "TQT_NO_COLORDIALOG" => ["tqcolordialog.h", "TQColorDialog::customCount();", 12],
"TQT_NO_COMBOBOX" => ["ntqcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10], "TQT_NO_COMBOBOX" => ["tqcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10],
"TQT_NO_COMPONENT" => ["ntqapplication.h", q£ "TQT_NO_COMPONENT" => ["ntqapplication.h", q£
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
foo.addLibraryPath( TQString::null ); foo.addLibraryPath( TQString::null );
£, 5], £, 5],
"TQT_NO_CURSOR" => ["ntqcursor.h", "TQCursor foo;", 5], "TQT_NO_CURSOR" => ["tqcursor.h", "TQCursor foo;", 5],
"TQT_NO_DATASTREAM" => ["ntqdatastream.h", "TQDataStream foo;", 5], "TQT_NO_DATASTREAM" => ["tqdatastream.h", "TQDataStream foo;", 5],
"TQT_NO_DATETIMEEDIT" => ["ntqdatetimeedit.h", "TQTimeEdit foo;", 12], "TQT_NO_DATETIMEEDIT" => ["tqdatetimeedit.h", "TQTimeEdit foo;", 12],
"TQT_NO_DIAL" => ["ntqdial.h", "TQDial foo;", 10], "TQT_NO_DIAL" => ["tqdial.h", "TQDial foo;", 10],
"TQT_NO_DIALOG" => ["ntqdialog.h", "TQDialog foo;", 12], "TQT_NO_DIALOG" => ["tqdialog.h", "TQDialog foo;", 12],
"TQT_NO_DIR" => ["ntqdir.h", "TQDir foo;", 5], "TQT_NO_DIR" => ["tqdir.h", "TQDir foo;", 5],
"TQT_NO_DNS" => ["ntqdns.h", "TQDns foo;", 5], "TQT_NO_DNS" => ["tqdns.h", "TQDns foo;", 5],
"TQT_NO_DOM" => ["ntqdom.h", "TQDomDocumentType foo;", 5], "TQT_NO_DOM" => ["tqdom.h", "TQDomDocumentType foo;", 5],
"TQT_NO_DRAGANDDROP" => ["ntqevent.h", "TQDropEvent foo( TQPoint(1,1) );", 5], "TQT_NO_DRAGANDDROP" => ["tqevent.h", "TQDropEvent foo( TQPoint(1,1) );", 5],
"TQT_NO_DRAWUTIL" => ["ntqdrawutil.h, qcolor.h", "ntqDrawPlainRect( (TQPainter *) NULL, 0, 0, 0, 0, TQColor() );", 10], "TQT_NO_DRAWUTIL" => ["tqdrawutil.h, qcolor.h", "tqDrawPlainRect( (TQPainter *) NULL, 0, 0, 0, 0, TQColor() );", 10],
"TQT_NO_ERRORMESSAGE" => ["ntqerrormessage.h", "TQErrorMessage foo( (TQWidget*) NULL );", 13], "TQT_NO_ERRORMESSAGE" => ["tqerrormessage.h", "TQErrorMessage foo( (TQWidget*) NULL );", 13],
"TQT_NO_FILEDIALOG" => ["ntqfiledialog.h", "TQFileIconProvider foo;", 13], "TQT_NO_FILEDIALOG" => ["tqfiledialog.h", "TQFileIconProvider foo;", 13],
"TQT_NO_FONTDATABASE" => ["ntqfontdatabase.h", "TQFontDatabase foo;", 5], "TQT_NO_FONTDATABASE" => ["tqfontdatabase.h", "TQFontDatabase foo;", 5],
"TQT_NO_FONTDIALOG" => ["ntqfontdialog.h", "TQFontDialog::getFont( (bool *)NULL );", 12], "TQT_NO_FONTDIALOG" => ["tqfontdialog.h", "TQFontDialog::getFont( (bool *)NULL );", 12],
"TQT_NO_FRAME" => ["ntqframe.h", "TQFrame foo;", 10], "TQT_NO_FRAME" => ["tqframe.h", "TQFrame foo;", 10],
"TQT_NO_GRID" => ["ntqgrid.h", "TQGrid foo(5);", 12], "TQT_NO_GRID" => ["tqgrid.h", "TQGrid foo(5);", 12],
"TQT_NO_GRIDVIEW" => ["ntqgridview.h", "TQFoo foo;", 13, q£ "TQT_NO_GRIDVIEW" => ["tqgridview.h", "TQFoo foo;", 13, q£
class TQFoo: public TQGridView class TQFoo: public TQGridView
{ {
public: public:
@ -293,15 +293,15 @@ our %tests = (
void paintCell(TQPainter *, int, int){}; void paintCell(TQPainter *, int, int){};
}; };
£], £],
"TQT_NO_GROUPBOX" => ["ntqgroupbox.h", "TQGroupBox foo;", 12], "TQT_NO_GROUPBOX" => ["tqgroupbox.h", "TQGroupBox foo;", 12],
"TQT_NO_HBOX" => ["ntqhbox.h", "TQHBox foo;", 12], "TQT_NO_HBOX" => ["tqhbox.h", "TQHBox foo;", 12],
"TQT_NO_HBUTTONGROUP" => ["ntqhbuttongroup.h", "TQHButtonGroup foo;", 13], "TQT_NO_HBUTTONGROUP" => ["tqhbuttongroup.h", "TQHButtonGroup foo;", 13],
"TQT_NO_HEADER" => ["ntqheader.h", "TQHeader foo;", 10], "TQT_NO_HEADER" => ["tqheader.h", "TQHeader foo;", 10],
"TQT_NO_HGROUPBOX" => ["ntqhgroupbox.h", "TQHGroupBox foo;", 13], "TQT_NO_HGROUPBOX" => ["tqhgroupbox.h", "TQHGroupBox foo;", 13],
"TQT_NO_ICONSET" => ["ntqiconset.h", "TQIconSet foo;", 8], "TQT_NO_ICONSET" => ["tqiconset.h", "TQIconSet foo;", 8],
"TQT_NO_ICONVIEW" => ["ntqiconview.h", "TQIconView foo;", 13], "TQT_NO_ICONVIEW" => ["tqiconview.h", "TQIconView foo;", 13],
"TQT_NO_IMAGEFORMATPLUGIN" => ["ntqimageformatplugin.h, qstringlist.h", "TQFoo foo;", 5, q£ "TQT_NO_IMAGEFORMATPLUGIN" => ["tqimageformatplugin.h, qstringlist.h", "TQFoo foo;", 5, q£
class TQFoo: public TQImageFormatPlugin class TQFoo: public TQImageFormatPlugin
{ {
@ -313,40 +313,40 @@ our %tests = (
}; };
TQ_EXPORT_PLUGIN( TQFoo ) TQ_EXPORT_PLUGIN( TQFoo )
£], £],
"TQT_NO_IMAGE_DITHER_TO_1" => ["ntqimage.h", q£ "TQT_NO_IMAGE_DITHER_TO_1" => ["tqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->createAlphaMask(); foo->createAlphaMask();
£, 8], £, 8],
"TQT_NO_IMAGE_HEURISTIC_MASK" => ["ntqimage.h", q£ "TQT_NO_IMAGE_HEURISTIC_MASK" => ["tqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->createHeuristicMask(); foo->createHeuristicMask();
£, 8], £, 8],
"TQT_NO_IMAGE_MIRROR" => ["ntqimage.h", q£ "TQT_NO_IMAGE_MIRROR" => ["tqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->mirror(); foo->mirror();
£, 8], £, 8],
"TQT_NO_IMAGE_SMOOTHSCALE" => ["ntqimage.h", q£ "TQT_NO_IMAGE_SMOOTHSCALE" => ["tqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->smoothScale( 10, 10); foo->smoothScale( 10, 10);
£, 8], £, 8],
"TQT_NO_IMAGE_TEXT" => ["ntqimage.h", "TQImageTextKeyLang foo;", 8], "TQT_NO_IMAGE_TEXT" => ["tqimage.h", "TQImageTextKeyLang foo;", 8],
"TQT_NO_IMAGE_TRANSFORMATION" => ["ntqimage.h", q£ "TQT_NO_IMAGE_TRANSFORMATION" => ["tqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->scale( 10, 10); foo->scale( 10, 10);
£, 8], £, 8],
"TQT_NO_IMAGE_TRUECOLOR" => ["ntqimage.h", q£ "TQT_NO_IMAGE_TRUECOLOR" => ["tqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->convertDepthWithPalette( 1, (TQRgb*) NULL, 1 ); foo->convertDepthWithPalette( 1, (TQRgb*) NULL, 1 );
£, 8], £, 8],
"TQT_NO_INPUTDIALOG" => ["ntqinputdialog.h, qstring.h", q£TQInputDialog::getText( TQString::null, TQString::null);£, 13], "TQT_NO_INPUTDIALOG" => ["tqinputdialog.h, qstring.h", q£TQInputDialog::getText( TQString::null, TQString::null);£, 13],
"TQT_NO_IMAGEIO" => ["ntqbitmap.h, qstring.h", q£ "TQT_NO_IMAGEIO" => ["tqbitmap.h, qstring.h", q£
TQBitmap foo( TQString::fromLatin1("foobar") ); TQBitmap foo( TQString::fromLatin1("foobar") );
£, 5], £, 5],
"TQT_NO_IMAGEIO_JPEG" => ["ntqjpegio.h", "ntqInitJpegIO();", 8], "TQT_NO_IMAGEIO_JPEG" => ["tqjpegio.h", "tqInitJpegIO();", 8],
"TQT_NO_IMAGEIO_MNG" => ["ntqmngio.h", "ntqInitMngIO();", 8], "TQT_NO_IMAGEIO_MNG" => ["tqmngio.h", "tqInitMngIO();", 8],
"TQT_NO_IMAGEIO_PNG" => ["ntqpngio.h", "ntqInitPngIO();", 8], "TQT_NO_IMAGEIO_PNG" => ["tqpngio.h", "tqInitPngIO();", 8],
"TQT_NO_LABEL" => ["ntqlabel.h", "TQLabel foo( (TQWidget*) NULL );", 10], "TQT_NO_LABEL" => ["tqlabel.h", "TQLabel foo( (TQWidget*) NULL );", 10],
"TQT_NO_LAYOUT" => ["ntqlayout.h", "TQFoo foo;", 10, q£ "TQT_NO_LAYOUT" => ["tqlayout.h", "TQFoo foo;", 10, q£
class TQFoo: public TQLayout class TQFoo: public TQLayout
{ {
@ -359,45 +359,45 @@ our %tests = (
void setGeometry( const TQRect & ) { }; void setGeometry( const TQRect & ) { };
}; };
£], £],
"TQT_NO_LCDNUMBER" => ["ntqlcdnumber.h", "TQLCDNumber foo;", 12], "TQT_NO_LCDNUMBER" => ["tqlcdnumber.h", "TQLCDNumber foo;", 12],
"TQT_NO_LINEEDIT" => ["ntqlineedit.h", "TQLineEdit foo( (TQWidget *) NULL );", 12], "TQT_NO_LINEEDIT" => ["tqlineedit.h", "TQLineEdit foo( (TQWidget *) NULL );", 12],
"TQT_NO_LISTBOX" => ["ntqlistbox.h", "TQListBox foo;", 13], "TQT_NO_LISTBOX" => ["tqlistbox.h", "TQListBox foo;", 13],
"TQT_NO_LISTVIEW" => ["ntqlistview.h", "TQListView foo;", 13], "TQT_NO_LISTVIEW" => ["tqlistview.h", "TQListView foo;", 13],
"TQT_NO_MAINWINDOW" => ["ntqmainwindow.h", "TQMainWindow foo;", 13], "TQT_NO_MAINWINDOW" => ["tqmainwindow.h", "TQMainWindow foo;", 13],
"TQT_NO_MENUBAR" => ["ntqmenubar.h", "TQMenuBar foo;", 13], "TQT_NO_MENUBAR" => ["tqmenubar.h", "TQMenuBar foo;", 13],
"TQT_NO_MOVIE" => ["ntqmovie.h", "TQMovie foo;", 5], "TQT_NO_MOVIE" => ["tqmovie.h", "TQMovie foo;", 5],
"TQT_NO_MENUDATA" => ["ntqmenudata.h", "TQMenuData foo;", 9], "TQT_NO_MENUDATA" => ["tqmenudata.h", "TQMenuData foo;", 9],
"TQT_NO_MESSAGEBOX" => ["ntqmessagebox.h", "TQMessageBox foo;", 13], "TQT_NO_MESSAGEBOX" => ["tqmessagebox.h", "TQMessageBox foo;", 13],
"TQT_NO_MIME" => ["ntqmime.h", "TQMimeSourceFactory foo;", 5], "TQT_NO_MIME" => ["tqmime.h", "TQMimeSourceFactory foo;", 5],
"TQT_NO_MIMECLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£ "TQT_NO_MIMECLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
TQClipboard *baz= foo.clipboard(); TQClipboard *baz= foo.clipboard();
baz->data(); baz->data();
£, 8], £, 8],
"TQT_NO_MULTILINEEDIT" => ["ntqmultilineedit.h", "TQMultiLineEdit foo;", 14], "TQT_NO_MULTILINEEDIT" => ["tqmultilineedit.h", "TQMultiLineEdit foo;", 14],
"TQT_NO_NETWORK" => ["ntqnetwork.h", "ntqInitNetworkProtocols();", 5], "TQT_NO_NETWORK" => ["tqnetwork.h", "tqInitNetworkProtocols();", 5],
"TQT_NO_NETWORKPROTOCOL" => ["ntqnetworkprotocol.h", "TQNetworkProtocol foo;", 8], "TQT_NO_NETWORKPROTOCOL" => ["tqnetworkprotocol.h", "TQNetworkProtocol foo;", 8],
"TQT_NO_NETWORKPROTOCOL_FTP" => ["ntqftp.h", "TQFtp foo;", 9], "TQT_NO_NETWORKPROTOCOL_FTP" => ["tqftp.h", "TQFtp foo;", 9],
"TQT_NO_PALETTE" => ["ntqpalette.h", "TQColorGroup foo;", 5], "TQT_NO_PALETTE" => ["tqpalette.h", "TQColorGroup foo;", 5],
"TQT_NO_PICTURE" => ["ntqpicture.h", "TQPicture foo;", 5], "TQT_NO_PICTURE" => ["tqpicture.h", "TQPicture foo;", 5],
"TQT_NO_PIXMAP_TRANSFORMATION" =>["ntqbitmap.h, qwmatrix.h", q£ "TQT_NO_PIXMAP_TRANSFORMATION" =>["tqbitmap.h, qwmatrix.h", q£
TQBitmap *foo= new TQBitmap(); TQBitmap *foo= new TQBitmap();
TQWMatrix bar; TQWMatrix bar;
foo->xForm( bar ); foo->xForm( bar );
£, 5], £, 5],
"TQT_NO_POPUPMENU" => ["ntqpopupmenu.h", "TQPopupMenu foo;", 12], "TQT_NO_POPUPMENU" => ["tqpopupmenu.h", "TQPopupMenu foo;", 12],
"TQT_NO_PRINTER" => ["ntqprinter.h", "TQPrinter foo;", 5], "TQT_NO_PRINTER" => ["tqprinter.h", "TQPrinter foo;", 5],
"TQT_NO_PRINTDIALOG" => ["ntqprintdialog.h", "TQPrintDialog foo( (TQPrinter*) NULL );", 13], "TQT_NO_PRINTDIALOG" => ["tqprintdialog.h", "TQPrintDialog foo( (TQPrinter*) NULL );", 13],
"TQT_NO_PROCESS" => ["ntqprocess.h", "TQProcess foo;", 5], "TQT_NO_PROCESS" => ["tqprocess.h", "TQProcess foo;", 5],
"TQT_NO_PROGRESSBAR" => ["ntqprogressbar.h", "TQProgressBar foo;", 12], "TQT_NO_PROGRESSBAR" => ["tqprogressbar.h", "TQProgressBar foo;", 12],
"TQT_NO_PROGRESSDIALOG" => ["ntqprogressdialog.h", "TQProgressDialog foo;", 13], "TQT_NO_PROGRESSDIALOG" => ["tqprogressdialog.h", "TQProgressDialog foo;", 13],
"TQT_NO_PUSHBUTTON" => ["ntqpushbutton.h", "TQPushButton foo( (TQWidget *) NULL );", 12], "TQT_NO_PUSHBUTTON" => ["tqpushbutton.h", "TQPushButton foo( (TQWidget *) NULL );", 12],
"TQT_NO_PROPERTIES" => ["ntqmetaobject.h", "TQMetaProperty foo;", 0], "TQT_NO_PROPERTIES" => ["tqmetaobject.h", "TQMetaProperty foo;", 0],
"TQT_NO_TQUUID_STRING" => ["ntquuid.h", "TQUuid foo( TQString::null );", 8], "TQT_NO_TQUUID_STRING" => ["tquuid.h", "TQUuid foo( TQString::null );", 8],
"TQT_NO_RANGECONTROL" => ["ntqrangecontrol.h", "TQRangeControl foo;", 10], "TQT_NO_RANGECONTROL" => ["tqrangecontrol.h", "TQRangeControl foo;", 10],
"TQT_NO_REGEXP" => ["ntqregexp.h", "TQRegExp foo;", 5], "TQT_NO_REGEXP" => ["tqregexp.h", "TQRegExp foo;", 5],
"TQT_NO_REGEXP_WILDCARD" => ["ntqregexp.h", q£ "TQT_NO_REGEXP_WILDCARD" => ["tqregexp.h", q£
TQRegExp foo; TQRegExp foo;
foo.wildcard(); foo.wildcard();
£, 8], £, 8],
@ -405,51 +405,51 @@ our %tests = (
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
foo.remoteControlEnabled(); foo.remoteControlEnabled();
£, 15], £, 15],
"TQT_NO_RADIOBUTTON" => ["ntqradiobutton.h", "TQRadioButton foo( (TQWidget *) NULL );", 12], "TQT_NO_RADIOBUTTON" => ["tqradiobutton.h", "TQRadioButton foo( (TQWidget *) NULL );", 12],
"TQT_NO_RICHTEXT" => ["ntqsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10], "TQT_NO_RICHTEXT" => ["tqsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10],
"TQT_NO_SCROLLBAR" => ["ntqscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12], "TQT_NO_SCROLLBAR" => ["tqscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12],
"TQT_NO_SCROLLVIEW" => ["ntqscrollview.h", "TQScrollView foo;", 12], "TQT_NO_SCROLLVIEW" => ["tqscrollview.h", "TQScrollView foo;", 12],
"TQT_NO_SESSIONMANAGER" => ["ntqapplication.h", q£ "TQT_NO_SESSIONMANAGER" => ["ntqapplication.h", q£
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
foo.sessionId(); foo.sessionId();
£, 15], £, 15],
"TQT_NO_SETTINGS" => ["ntqsettings.h", "TQSettings foo;", 5], "TQT_NO_SETTINGS" => ["tqsettings.h", "TQSettings foo;", 5],
"TQT_NO_SIGNALMAPPER" => ["ntqsignalmapper.h", "TQSignalMapper foo( (TQObject *) NULL );", 0], "TQT_NO_SIGNALMAPPER" => ["tqsignalmapper.h", "TQSignalMapper foo( (TQObject *) NULL );", 0],
"TQT_NO_SIZEGRIP" => ["ntqsizegrip.h", "TQSizeGrip foo( (TQWidget *) NULL );", 10], "TQT_NO_SIZEGRIP" => ["tqsizegrip.h", "TQSizeGrip foo( (TQWidget *) NULL );", 10],
"TQT_NO_SLIDER" => ["ntqslider.h", "TQSlider foo( (TQWidget *) NULL );", 12], "TQT_NO_SLIDER" => ["tqslider.h", "TQSlider foo( (TQWidget *) NULL );", 12],
"TQT_NO_SOUND" => ["ntqsound.h", "TQSound foo( TQString::null );", 5], "TQT_NO_SOUND" => ["tqsound.h", "TQSound foo( TQString::null );", 5],
"TQT_NO_SPINWIDGET" => ["ntqrangecontrol.h", "TQSpinWidget foo;", 10], "TQT_NO_SPINWIDGET" => ["tqrangecontrol.h", "TQSpinWidget foo;", 10],
"TQT_NO_SPRINTF" => ["ntqcolor.h", q£ "TQT_NO_SPRINTF" => ["tqcolor.h", q£
TQColor foo; TQColor foo;
foo.name(); foo.name();
£, 0], £, 0],
"TQT_NO_SQL" => ["ntqsqlcursor.h", "TQSqlCursor foo;", 5], "TQT_NO_SQL" => ["tqsqlcursor.h", "TQSqlCursor foo;", 5],
"TQT_NO_STRINGLIST" => ["ntqstringlist.h", "TQStringList foo;", 0], "TQT_NO_STRINGLIST" => ["tqstringlist.h", "TQStringList foo;", 0],
"TQT_NO_STYLE" => ["ntqapplication.h", q£ "TQT_NO_STYLE" => ["ntqapplication.h", q£
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
foo.style(); foo.style();
£, 15], £, 15],
# "TQT_NO_STYLE_CDE" => ["ntqcdestyle.h", "TQCDEStyle foo;", 16], # "TQT_NO_STYLE_CDE" => ["tqcdestyle.h", "TQCDEStyle foo;", 16],
# "TQT_NO_STYLE_COMPACT" => ["ntqcompactstyle.h", "TQCompactStyle foo;", 16], # "TQT_NO_STYLE_COMPACT" => ["tqcompactstyle.h", "TQCompactStyle foo;", 16],
# "TQT_NO_STYLE_INTERLACE" => ["ntqinterlacestyle.h", "TQInterlaceStyle foo;", 16], # "TQT_NO_STYLE_INTERLACE" => ["tqinterlacestyle.h", "TQInterlaceStyle foo;", 16],
# "TQT_NO_STYLE_PLATINUM" => ["ntqplatinumstyle.h", "TQPlatinumStyle foo;", 16], # "TQT_NO_STYLE_PLATINUM" => ["tqplatinumstyle.h", "TQPlatinumStyle foo;", 16],
# "TQT_NO_STYLE_MOTIF" => ["ntqmotifstyle.h", "TQMotifStyle foo;", 16], # "TQT_NO_STYLE_MOTIF" => ["tqmotifstyle.h", "TQMotifStyle foo;", 16],
# "TQT_NO_STYLE_MOTIFPLUS" => ["ntqmotifplusstyle.h", "TQMotifPlusStyle foo;", 16], # "TQT_NO_STYLE_MOTIFPLUS" => ["tqmotifplusstyle.h", "TQMotifPlusStyle foo;", 16],
# "TQT_NO_STYLE_SGI" => ["ntqsgistyle.h", "TQSGIStyle foo;", 16], # "TQT_NO_STYLE_SGI" => ["tqsgistyle.h", "TQSGIStyle foo;", 16],
# "TQT_NO_STYLE_WINDOWS" => ["ntqwindowsstyle.h", "TQWindowsStyle foo;", 16], # "TQT_NO_STYLE_WINDOWS" => ["tqwindowsstyle.h", "TQWindowsStyle foo;", 16],
"TQT_NO_TABBAR" => ["ntqtabbar.h", "TQTabBar foo;", 10], "TQT_NO_TABBAR" => ["tqtabbar.h", "TQTabBar foo;", 10],
"TQT_NO_TABDIALOG" => ["ntqtabdialog.h", "TQTabDialog foo;", 12], "TQT_NO_TABDIALOG" => ["tqtabdialog.h", "TQTabDialog foo;", 12],
"TQT_NO_TABLE" => ["ntqtable.h", "TQTable foo;", 10], "TQT_NO_TABLE" => ["tqtable.h", "TQTable foo;", 10],
"TQT_NO_TABWIDGET" => ["ntqtabwidget.h", "TQTabWidget foo;", 10], "TQT_NO_TABWIDGET" => ["tqtabwidget.h", "TQTabWidget foo;", 10],
"TQT_NO_TEXTBROWSER" => ["ntqtextbrowser.h", "TQTextBrowser foo;", 14], "TQT_NO_TEXTBROWSER" => ["tqtextbrowser.h", "TQTextBrowser foo;", 14],
"TQT_NO_TEXTCODEC" => ["ntqtextcodec.h", "TQTextCodec::codecForIndex(1);", 5], "TQT_NO_TEXTCODEC" => ["tqtextcodec.h", "TQTextCodec::codecForIndex(1);", 5],
"TQT_NO_TEXTCODECPLUGIN" => ["ntqtextcodecplugin.h, qstringlist.h, qvaluelist.h, qtextcodec.h", "TQFoo foo;", 6, q£ "TQT_NO_TEXTCODECPLUGIN" => ["tqtextcodecplugin.h, qstringlist.h, qvaluelist.h, qtextcodec.h", "TQFoo foo;", 6, q£
class TQFoo: public TQTextCodecPlugin class TQFoo: public TQTextCodecPlugin
{ {
@ -463,24 +463,24 @@ our %tests = (
}; };
TQ_EXPORT_PLUGIN( TQFoo ) TQ_EXPORT_PLUGIN( TQFoo )
£], £],
"TQT_NO_TEXTEDIT" => ["ntqtextedit.h", "TQTextEdit foo;", 13], "TQT_NO_TEXTEDIT" => ["tqtextedit.h", "TQTextEdit foo;", 13],
"TQT_NO_TEXTSTREAM" => ["ntqtextstream.h", "TQTextStream foo;", 5], "TQT_NO_TEXTSTREAM" => ["tqtextstream.h", "TQTextStream foo;", 5],
"TQT_NO_TEXTVIEW" => ["ntqtextview.h", "TQTextView foo;", 14], #Obsolete "TQT_NO_TEXTVIEW" => ["tqtextview.h", "TQTextView foo;", 14], #Obsolete
"TQT_NO_TOOLBAR" => ["ntqtoolbar.h", "TQToolBar foo;", 10], "TQT_NO_TOOLBAR" => ["tqtoolbar.h", "TQToolBar foo;", 10],
"TQT_NO_TOOLBUTTON" => ["ntqtoolbutton.h", "TQToolButton foo((TQWidget *) NULL );", 12], "TQT_NO_TOOLBUTTON" => ["tqtoolbutton.h", "TQToolButton foo((TQWidget *) NULL );", 12],
"TQT_NO_TOOLTIP" => ["ntqtooltip.h", "TQToolTip::hide();", 10], "TQT_NO_TOOLTIP" => ["tqtooltip.h", "TQToolTip::hide();", 10],
"TQT_NO_TRANSFORMATIONS" => ["ntqpainter.h", q£ "TQT_NO_TRANSFORMATIONS" => ["tqpainter.h", q£
TQPainter *foo= new TQPainter(); TQPainter *foo= new TQPainter();
foo->setViewXForm( true );£, 5], foo->setViewXForm( true );£, 5],
"TQT_NO_VARIANT" => ["ntqvariant.h", "TQVariant foo;", 0], "TQT_NO_VARIANT" => ["tqvariant.h", "TQVariant foo;", 0],
"TQT_NO_WHATSTHIS" => ["ntqwhatsthis.h", "TQWhatsThis::inWhatsThisMode();", 10], "TQT_NO_WHATSTHIS" => ["tqwhatsthis.h", "TQWhatsThis::inWhatsThisMode();", 10],
"TQT_NO_WHEELEVENT" => ["ntqevent.h", "TQWheelEvent foo( TQPoint(1,1), 1, 1 );", 5], "TQT_NO_WHEELEVENT" => ["tqevent.h", "TQWheelEvent foo( TQPoint(1,1), 1, 1 );", 5],
"TQT_NO_WIDGET_TOPEXTRA" => ["ntqwidget.h", "TQWidget foo; foo.caption();", 9], "TQT_NO_WIDGET_TOPEXTRA" => ["tqwidget.h", "TQWidget foo; foo.caption();", 9],
"TQT_NO_WIDGETSTACK" => ["ntqwidgetstack.h", "TQWidgetStack foo;", 13], "TQT_NO_WIDGETSTACK" => ["tqwidgetstack.h", "TQWidgetStack foo;", 13],
"TQT_NO_WIZARD" => ["ntqwizard.h", "TQWizard foo;", 13], "TQT_NO_WIZARD" => ["tqwizard.h", "TQWizard foo;", 13],
"TQT_NO_WMATRIX" => ["ntqwmatrix.h", "TQWMatrix foo;", 0], "TQT_NO_WMATRIX" => ["tqwmatrix.h", "TQWMatrix foo;", 0],
"TQT_NO_XML" => ["ntqxml.h", "TQXmlNamespaceSupport foo;", 5], "TQT_NO_XML" => ["tqxml.h", "TQXmlNamespaceSupport foo;", 5],
); );
} }

Loading…
Cancel
Save