Convert to build under tqt3

bug/266/move-to-usr
Timothy Pearson 12 years ago
parent 3346d94867
commit d4cd5921a7

@ -1,8 +1,8 @@
#include <stdio.h> #include <stdio.h>
#include <qglobal.h> #include <ntqglobal.h>
#include <qstring.h> #include <ntqstring.h>
#include <qapplication.h> #include <ntqapplication.h>
#include <qmetaobject.h> #include <ntqmetaobject.h>
#include <private/qucomextra_p.h> #include <private/qucomextra_p.h>
#include "smoke.h" #include "smoke.h"

@ -1,17 +1,17 @@
#include <qstring.h> #include <ntqstring.h>
#include <qregexp.h> #include <ntqregexp.h>
#include <qapplication.h> #include <ntqapplication.h>
#include <qmetaobject.h> #include <ntqmetaobject.h>
#include <qvaluelist.h> #include <ntqvaluelist.h>
#include <qwidgetlist.h> #include <ntqwidgetlist.h>
#include <qcanvas.h> #include <ntqcanvas.h>
#include <qobjectlist.h> #include <ntqobjectlist.h>
#include <qintdict.h> #include <ntqintdict.h>
#include <qtoolbar.h> #include <ntqtoolbar.h>
#include <qtabbar.h> #include <ntqtabbar.h>
#include <qdir.h> #include <ntqdir.h>
#include <qdockwindow.h> #include <ntqdockwindow.h>
#include <qnetworkprotocol.h> #include <ntqnetworkprotocol.h>
#include <private/qucomextra_p.h> #include <private/qucomextra_p.h>
#include "smoke.h" #include "smoke.h"
@ -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 <qtextcodec.h> #include <ntqtextcodec.h>
#endif #endif
#include "marshall.h" #include "marshall.h"

@ -1018,14 +1018,14 @@ AC_DEFUN(KDE_PRINT_TQT_PROGRAM,
AC_REQUIRE([KDE_USE_QT]) AC_REQUIRE([KDE_USE_QT])
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#include "confdefs.h" #include "confdefs.h"
#include <qglobal.h> #include <ntqglobal.h>
#include <qapplication.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 <qevent.h> #include <ntqevent.h>
#include <qstring.h> #include <ntqstring.h>
#include <qstyle.h> #include <ntqstyle.h>
EOF EOF
if test $kde_qtsubver -gt 0; then if test $kde_qtsubver -gt 0; then
@ -1039,8 +1039,8 @@ fi
if test "$kde_qtver" = "3"; then if test "$kde_qtver" = "3"; then
cat >> conftest.$ac_ext <<EOF cat >> conftest.$ac_ext <<EOF
#include <qcursor.h> #include <ntqcursor.h>
#include <qstylefactory.h> #include <ntqstylefactory.h>
#include <private/qucomextra_p.h> #include <private/qucomextra_p.h>
EOF EOF
fi fi
@ -1274,9 +1274,9 @@ dnl ------------------------------------------------------------
dnl If we got --enable-embedded then adjust the TQt library name. dnl If we got --enable-embedded then adjust the TQt library name.
dnl ------------------------------------------------------------ dnl ------------------------------------------------------------
if test "x$kde_use_qt_emb" = "xyes"; then if test "x$kde_use_qt_emb" = "xyes"; then
qtlib="qte" qtlib="tqte"
else else
qtlib="qt" qtlib="tqt"
fi fi
kde_int_qt="-l$qtlib" kde_int_qt="-l$qtlib"
@ -1373,9 +1373,9 @@ if test ! "$ac_qt_includes" = "NO"; then
fi fi
if test "$kde_qtver" != "1"; then if test "$kde_qtver" != "1"; then
kde_qt_header=qstyle.h kde_qt_header=ntqstyle.h
else else
kde_qt_header=qglobal.h kde_qt_header=ntqglobal.h
fi fi
AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir) AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir)

@ -561,9 +561,9 @@ EOF
EOF EOF
$qtjniExtras = <<EOF; $qtjniExtras = <<EOF;
#include <qapplication.h> #include <ntqapplication.h>
#include <qstring.h> #include <ntqstring.h>
#include <qcstring.h> #include <ntqcstring.h>
JNIEXPORT jobject JNICALL JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_color0(JNIEnv* env, jclass cls) Java_org_kde_qt_Qt_color0(JNIEnv* env, jclass cls)
@ -3098,14 +3098,14 @@ sub writeClassDoc
} }
print JNISOURCE "\n"; print JNISOURCE "\n";
print JNISOURCE "#include <qtjava/QtSupport.h>\n"; print JNISOURCE "#include <ntqtjava/QtSupport.h>\n";
if ($jniCode =~ /JavaSlot/) { if ($jniCode =~ /JavaSlot/) {
print JNISOURCE "#include <qtjava/JavaSlot.h>\n"; print JNISOURCE "#include <ntqtjava/JavaSlot.h>\n";
} }
if ( $typeprefix eq "qt_" ) { if ( $typeprefix eq "qt_" ) {
print JNISOURCE "#include <qtjava/$javaClassName" . ".h>\n"; print JNISOURCE "#include <ntqtjava/$javaClassName" . ".h>\n";
} else { } else {
print JNISOURCE "#include <kdejava/KDESupport.h>\n"; print JNISOURCE "#include <kdejava/KDESupport.h>\n";
print JNISOURCE "#include <kdejava/$javaClassName" . ".h>\n"; print JNISOURCE "#include <kdejava/$javaClassName" . ".h>\n";

@ -919,13 +919,13 @@ my $fhn =1; # static
map { for my $incl (keys %{$_->[2]}){ $includes{$incl}++ } } @code; map { for my $incl (keys %{$_->[2]}){ $includes{$incl}++ } } @code;
# Hack - some Qt/KDE headers need other headers included, but omit suitable #includes # Hack - some Qt/KDE headers need other headers included, but omit suitable #includes
if (defined $includes{"qregexp.h"} || defined $includes{"qcstring.h"}) { if (defined $includes{"ntqregexp.h"} || defined $includes{"ntqcstring.h"}) {
print $fh "#include <qregexp.h>\n"; print $fh "#include <ntqregexp.h>\n";
delete $includes{"qregexp.h"}; delete $includes{"ntqregexp.h"};
} }
if (defined $includes{"qmime.h"}) { if (defined $includes{"ntqmime.h"}) {
print $fh "#include <qurl.h>\n"; print $fh "#include <ntqurl.h>\n";
delete $includes{"qurl.h"}; delete $includes{"ntqurl.h"};
} }
if (defined $includes{"kshortcut.h"}) { if (defined $includes{"kshortcut.h"}) {
print $fh "#include <kshortcut.h>\n"; print $fh "#include <kshortcut.h>\n";
@ -946,9 +946,9 @@ my $fhn =1; # static
print $fh "#include <$incl>\n"; print $fh "#include <$incl>\n";
} }
if ( $main::qt4 if ( $main::qt4
and ( defined $includes{"qtreewidget.h"} and ( defined $includes{"ntqtreewidget.h"}
or defined $includes{"qlistwidget.h"} or defined $includes{"ntqlistwidget.h"}
or defined $includes{"qtablewidget.h"} ) ) or defined $includes{"ntqtablewidget.h"} ) )
{ {
print $fh "#include \"qwidgetitemdata_p.h\"\n"; print $fh "#include \"qwidgetitemdata_p.h\"\n";
} }

@ -26,14 +26,14 @@
#include "domtool.h" #include "domtool.h"
#include <qsizepolicy.h> #include <ntqsizepolicy.h>
#include <qcolor.h> #include <ntqcolor.h>
#include <qcursor.h> #include <ntqcursor.h>
#include <qdatetime.h> #include <ntqdatetime.h>
#include <qrect.h> #include <ntqrect.h>
#include <qsize.h> #include <ntqsize.h>
#include <qfont.h> #include <ntqfont.h>
#include <qdom.h> #include <ntqdom.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 <qvariant.h> #include <ntqvariant.h>
#include <qnamespace.h> #include <ntqnamespace.h>
class TQDomElement; class TQDomElement;
class TQDomDocument; class TQDomDocument;

@ -30,14 +30,14 @@
**********************************************************************/ **********************************************************************/
#include "uic.h" #include "uic.h"
#include <qfile.h> #include <ntqfile.h>
#include <qimage.h> #include <ntqimage.h>
#include <qstringlist.h> #include <ntqstringlist.h>
#include <qdatetime.h> #include <ntqdatetime.h>
#include <qfileinfo.h> #include <ntqfileinfo.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#include <qregexp.h> #include <ntqregexp.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 <qstringlist.h> #include <ntqstringlist.h>
#include <qvaluelist.h> #include <ntqvaluelist.h>
#include <qfile.h> #include <ntqfile.h>
#include <qfileinfo.h> #include <ntqfileinfo.h>
#include <qdir.h> #include <ntqdir.h>
#include <qregexp.h> #include <ntqregexp.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 <qcolor.h> #include <ntqcolor.h>
#define BOXLAYOUT_DEFAULT_MARGIN 11 #define BOXLAYOUT_DEFAULT_MARGIN 11
#define BOXLAYOUT_DEFAULT_SPACING 6 #define BOXLAYOUT_DEFAULT_SPACING 6

@ -31,10 +31,10 @@
#include "parser.h" #include "parser.h"
#include "widgetdatabase.h" #include "widgetdatabase.h"
#include "domtool.h" #include "domtool.h"
#include <qapplication.h> #include <ntqapplication.h>
#include <qfile.h> #include <ntqfile.h>
#include <qstringlist.h> #include <ntqstringlist.h>
#include <qdatetime.h> #include <ntqdatetime.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 <qregexp.h> #include <ntqregexp.h>
#include <qsizepolicy.h> #include <ntqsizepolicy.h>
#include <qstringlist.h> #include <ntqstringlist.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 <qobject.h> #include <ntqobject.h>
#include <qstringlist.h> #include <ntqstringlist.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 <qstring.h> #include <ntqstring.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 <qfile.h> #include <ntqfile.h>
#include <qstringlist.h> #include <ntqstringlist.h>
#include <qdatetime.h> #include <ntqdatetime.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#include <qregexp.h> #include <ntqregexp.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 <qfile.h> #include <ntqfile.h>
#include <qstringlist.h> #include <ntqstringlist.h>
#include <qdatetime.h> #include <ntqdatetime.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#include <qregexp.h> #include <ntqregexp.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 <qdom.h> #include <ntqdom.h>
#include <qstring.h> #include <ntqstring.h>
#include <qstringlist.h> #include <ntqstringlist.h>
#include <qmap.h> #include <ntqmap.h>
#include <qtextstream.h> #include <ntqtextstream.h>
#include <qpalette.h> #include <ntqpalette.h>
#include <qvariant.h> #include <ntqvariant.h>
#ifndef TQ_DUMMY_COMPARISON_OPERATOR #ifndef TQ_DUMMY_COMPARISON_OPERATOR
# warning "Defining TQ_DUMMY_COMPARISON_OPERATOR" # warning "Defining TQ_DUMMY_COMPARISON_OPERATOR"

@ -27,15 +27,15 @@
#include "widgetdatabase.h" #include "widgetdatabase.h"
#include "widgetinterface.h" #include "widgetinterface.h"
#include <qapplication.h> #include <ntqapplication.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#include <qstrlist.h> #include <ntqstrlist.h>
#include <qdict.h> #include <ntqdict.h>
#include <qfile.h> #include <ntqfile.h>
#include <qtextstream.h> #include <ntqtextstream.h>
#include <qcleanuphandler.h> #include <ntqcleanuphandler.h>
#include <qfeatures.h> #include <ntqfeatures.h>
#include <stdlib.h> #include <stdlib.h>

@ -21,8 +21,8 @@
#ifndef WIDGETDATABASE_H #ifndef WIDGETDATABASE_H
#define WIDGETDATABASE_H #define WIDGETDATABASE_H
#include <qiconset.h> #include <ntqiconset.h>
#include <qstring.h> #include <ntqstring.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/qpluginmanager_p.h>

@ -38,30 +38,30 @@ 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 = (
'qaccessible.h' => 1, # Accessibility support is not compiled by defaut 'ntqaccessible.h' => 1, # Accessibility support is not compiled by defaut
'qassistantclient.h' => 1, # Not part of TQt (introduced in TQt-3.1) 'ntqassistantclient.h' => 1, # Not part of TQt (introduced in TQt-3.1)
'qmotif.h' => 1, # 'ntqmotif.h' => 1, #
'qmotifwidget.h' => 1, # Motif extension (introduced in TQt-3.1) 'ntqmotifwidget.h' => 1, # Motif extension (introduced in TQt-3.1)
'qmotifdialog.h' => 1, # 'ntqmotifdialog.h' => 1, #
'qxt.h' => 1, # Xt 'ntqxt.h' => 1, # Xt
'qxtwidget.h' => 1, # Xt 'ntqxtwidget.h' => 1, # Xt
'qdns.h' => 1, # internal 'ntqdns.h' => 1, # internal
'qgl.h' => 1, # OpenGL 'ntqgl.h' => 1, # OpenGL
'qglcolormap.h' => 1, # OpenGL 'ntqglcolormap.h' => 1, # OpenGL
'qnp.h' => 1, # NSPlugin 'ntqnp.h' => 1, # NSPlugin
'qttableview.h' => 1, # Not in TQt anymore... 'ntqttableview.h' => 1, # Not in TQt anymore...
'qtmultilineedit.h' => 1, # Not in TQt anymore... 'ntqtmultilineedit.h' => 1, # Not in TQt anymore...
'qwidgetfactory.h' => 1, # Just an interface 'ntqwidgetfactory.h' => 1, # Just an interface
'qsharedmemory.h' => 1, # "not part of the TQt API" they say 'ntqsharedmemory.h' => 1, # "not part of the TQt API" they say
'qwindowsstyle.h' => 1, # TQt windowsstyle, plugin 'ntqwindowsstyle.h' => 1, # TQt windowsstyle, plugin
'qmotifstyle.h' => 1, 'ntqmotifstyle.h' => 1,
'qcompactstyle.h' => 1, 'ntqcompactstyle.h' => 1,
'qinterlacestyle.h' => 1, 'ntqinterlacestyle.h' => 1,
'qmotifplusstyle.h' => 1, 'ntqmotifplusstyle.h' => 1,
'qsgistyle.h' => 1, 'ntqsgistyle.h' => 1,
'qplatinumstyle.h' => 1, 'ntqplatinumstyle.h' => 1,
'qcdestyle.h' => 1, 'ntqcdestyle.h' => 1,
'qwindowsxpstyle.h' => 1 # play on the safe side 'ntqwindowsxpstyle.h' => 1 # play on the safe side
); );
# Some systems have a TQTDIR = KDEDIR = PREFIX # Some systems have a TQTDIR = KDEDIR = PREFIX

@ -1,350 +1,350 @@
q1xcompatibility.h ntq1xcompatibility.h
qabstractlayout.h ntqabstractlayout.h
qaccel.h ntqaccel.h
qaccessible.h ntqaccessible.h
qaction.h ntqaction.h
qapp.h ntqapp.h
qapplication.h ntqapplication.h
qarray.h ntqarray.h
qasciicache.h ntqasciicache.h
qasciidict.h ntqasciidict.h
qassistantclient.h ntqassistantclient.h
qasyncimageio.h ntqasyncimageio.h
qasyncio.h ntqasyncio.h
qbig5codec.h ntqbig5codec.h
qbitarray.h ntqbitarray.h
qbitarry.h ntqbitarry.h
qbitmap.h ntqbitmap.h
qbrush.h ntqbrush.h
qbttngrp.h ntqbttngrp.h
qbuffer.h ntqbuffer.h
qbuttongroup.h ntqbuttongroup.h
qbutton.h ntqbutton.h
qcache.h ntqcache.h
qcanvas.h ntqcanvas.h
qcdestyle.h ntqcdestyle.h
qcheckbox.h ntqcheckbox.h
qchkbox.h ntqchkbox.h
qcleanuphandler.h ntqcleanuphandler.h
qclipboard.h ntqclipboard.h
qclipbrd.h ntqclipbrd.h
qcollect.h ntqcollect.h
qcollection.h ntqcollection.h
qcolordialog.h ntqcolordialog.h
qcolor.h ntqcolor.h
qcombobox.h ntqcombobox.h
qcombo.h ntqcombo.h
qcommonstyle.h ntqcommonstyle.h
qcompactstyle.h ntqcompactstyle.h
qconfig-dist.h ntqconfig-dist.h
qconfig.h ntqconfig.h
qconnect.h ntqconnect.h
qconnection.h ntqconnection.h
qcstring.h ntqcstring.h
qcursor.h ntqcursor.h
qdatabrowser.h ntqdatabrowser.h
qdatastream.h ntqdatastream.h
qdatatable.h ntqdatatable.h
qdataview.h ntqdataview.h
qdatetimeedit.h ntqdatetimeedit.h
qdatetime.h ntqdatetime.h
qdatetm.h ntqdatetm.h
qdeepcopy.h ntqdeepcopy.h
qdesktopwidget.h ntqdesktopwidget.h
qdial.h ntqdial.h
qdialog.h ntqdialog.h
qdict.h ntqdict.h
qdir.h ntqdir.h
qdns.h ntqdns.h
qdockarea.h ntqdockarea.h
qdockwindow.h ntqdockwindow.h
qdom.h ntqdom.h
qdragobject.h ntqdragobject.h
qdrawutil.h ntqdrawutil.h
qdrawutl.h ntqdrawutl.h
qdropsite.h ntqdropsite.h
qdstream.h ntqdstream.h
qeditorfactory.h ntqeditorfactory.h
qerrormessage.h ntqerrormessage.h
qeucjpcodec.h ntqeucjpcodec.h
qeuckrcodec.h ntqeuckrcodec.h
qevent.h ntqevent.h
qeventloop.h ntqeventloop.h
qfeatures.h ntqfeatures.h
qfiledef.h ntqfiledef.h
qfiledialog.h ntqfiledialog.h
qfiledlg.h ntqfiledlg.h
qfile.h ntqfile.h
qfileinf.h ntqfileinf.h
qfileinfo.h ntqfileinfo.h
qfocusdata.h ntqfocusdata.h
qfontdatabase.h ntqfontdatabase.h
qfontdialog.h ntqfontdialog.h
qfontdta.h ntqfontdta.h
qfont.h ntqfont.h
qfontinf.h ntqfontinf.h
qfontinfo.h ntqfontinfo.h
qfontmet.h ntqfontmet.h
qfontmetrics.h ntqfontmetrics.h
qframe.h ntqframe.h
qftp.h ntqftp.h
qgarray.h ntqgarray.h
qgb18030codec.h ntqgb18030codec.h
qgbkcodec.h ntqgbkcodec.h
qgcache.h ntqgcache.h
qgdict.h ntqgdict.h
qgeneric.h ntqgeneric.h
qgif.h ntqgif.h
qglcolormap.h ntqglcolormap.h
qgl.h ntqgl.h
qglist.h ntqglist.h
qglobal.h ntqglobal.h
qgplugin.h ntqgplugin.h
qgrid.h ntqgrid.h
qgridview.h ntqgridview.h
qgroupbox.h ntqgroupbox.h
qgrpbox.h ntqgrpbox.h
qguardedptr.h ntqguardedptr.h
qgvector.h ntqgvector.h
qhbox.h ntqhbox.h
qhbuttongroup.h ntqhbuttongroup.h
qheader.h ntqheader.h
qhgroupbox.h ntqhgroupbox.h
qhostaddress.h ntqhostaddress.h
qhttp.h ntqhttp.h
qiconset.h ntqiconset.h
qiconview.h ntqiconview.h
qimageformatplugin.h ntqimageformatplugin.h
qimage.h ntqimage.h
qinputdialog.h ntqinputdialog.h
qintcache.h ntqintcache.h
qintcach.h ntqintcach.h
qintdict.h ntqintdict.h
qinterlacestyle.h ntqinterlacestyle.h
qiodev.h ntqiodev.h
qiodevice.h ntqiodevice.h
qjiscodec.h ntqjiscodec.h
qjpunicode.h ntqjpunicode.h
qkeycode.h ntqkeycode.h
qkeysequence.h ntqkeysequence.h
qlabel.h ntqlabel.h
qlayout.h ntqlayout.h
qlcdnumber.h ntqlcdnumber.h
qlcdnum.h ntqlcdnum.h
qlibrary.h ntqlibrary.h
qlined.h ntqlined.h
qlineedit.h ntqlineedit.h
qlistbox.h ntqlistbox.h
qlist.h ntqlist.h
qlistview.h ntqlistview.h
qlocalfs.h ntqlocalfs.h
qmainwindow.h ntqmainwindow.h
qmap.h ntqmap.h
qmemarray.h ntqmemarray.h
qmenubar.h ntqmenubar.h
qmenudata.h ntqmenudata.h
qmenudta.h ntqmenudta.h
qmessagebox.h ntqmessagebox.h
qmetaobject.h ntqmetaobject.h
qmetaobj.h ntqmetaobj.h
qmime.h ntqmime.h
qmlined.h ntqmlined.h
qmodules.h ntqmodules.h
qmotifdialog.h ntqmotifdialog.h
qmotif.h ntqmotif.h
qmotifplusstyle.h ntqmotifplusstyle.h
qmotifstyle.h ntqmotifstyle.h
qmotifwidget.h ntqmotifwidget.h
qmovie.h ntqmovie.h
qmsgbox.h ntqmsgbox.h
qmultilinedit.h ntqmultilinedit.h
qmultilineedit.h ntqmultilineedit.h
qmutex.h ntqmutex.h
qnamespace.h ntqnamespace.h
qnetwork.h ntqnetwork.h
qnetworkprotocol.h ntqnetworkprotocol.h
qobjcoll.h ntqobjcoll.h
qobjdefs.h ntqobjdefs.h
qobjectcleanuphandler.h ntqobjectcleanuphandler.h
qobjectdefs.h ntqobjectdefs.h
qobjectdict.h ntqobjectdict.h
qobject.h ntqobject.h
qobjectlist.h ntqobjectlist.h
qpaintdc.h ntqpaintdc.h
qpaintdevicedefs.h ntqpaintdevicedefs.h
qpaintdevice.h ntqpaintdevice.h
qpaintdevicemetrics.h ntqpaintdevicemetrics.h
qpaintd.h ntqpaintd.h
qpainter.h ntqpainter.h
qpair.h ntqpair.h
qpalette.h ntqpalette.h
qpdevmet.h ntqpdevmet.h
qpen.h ntqpen.h
qpicture.h ntqpicture.h
qpixmapcache.h ntqpixmapcache.h
qpixmap.h ntqpixmap.h
qplatinumstyle.h ntqplatinumstyle.h
qpmcache.h ntqpmcache.h
qpntarry.h ntqpntarry.h
qpointarray.h ntqpointarray.h
qpoint.h ntqpoint.h
qpolygonscanner.h ntqpolygonscanner.h
qpopmenu.h ntqpopmenu.h
qpopupmenu.h ntqpopupmenu.h
qprintdialog.h ntqprintdialog.h
qprinter.h ntqprinter.h
qprndlg.h ntqprndlg.h
qprocess.h ntqprocess.h
qprogbar.h ntqprogbar.h
qprogdlg.h ntqprogdlg.h
qprogressbar.h ntqprogressbar.h
qprogressdialog.h ntqprogressdialog.h
qpsprn.h ntqpsprn.h
qptrcollection.h ntqptrcollection.h
qptrdict.h ntqptrdict.h
qptrlist.h ntqptrlist.h
qptrqueue.h ntqptrqueue.h
qptrstack.h ntqptrstack.h
qptrvector.h ntqptrvector.h
qpushbt.h ntqpushbt.h
qpushbutton.h ntqpushbutton.h
qqueue.h ntqqueue.h
qradiobt.h ntqradiobt.h
qradiobutton.h ntqradiobutton.h
qrangecontrol.h ntqrangecontrol.h
qrangect.h ntqrangect.h
qrect.h ntqrect.h
qregexp.h ntqregexp.h
qregion.h ntqregion.h
qremotefactory.h ntqremotefactory.h
qremoteplugin.h ntqremoteplugin.h
qrtlcodec.h ntqrtlcodec.h
qscopedptr.h ntqscopedptr.h
qscrbar.h ntqscrbar.h
qscrollbar.h ntqscrollbar.h
qscrollview.h ntqscrollview.h
qsemaphore.h ntqsemaphore.h
qsemimodal.h ntqsemimodal.h
qserversocket.h ntqserversocket.h
qsession.h ntqsession.h
qsessionmanager.h ntqsessionmanager.h
qsettings.h ntqsettings.h
qsgistyle.h ntqsgistyle.h
qshared.h ntqshared.h
qsignal.h ntqsignal.h
qsignalmapper.h ntqsignalmapper.h
qsignalslotimp.h ntqsignalslotimp.h
qsimplerichtext.h ntqsimplerichtext.h
qsizegrip.h ntqsizegrip.h
qsize.h ntqsize.h
qsizepolicy.h ntqsizepolicy.h
qsjiscodec.h ntqsjiscodec.h
qslider.h ntqslider.h
qsocketdevice.h ntqsocketdevice.h
qsocket.h ntqsocket.h
qsocketnotifier.h ntqsocketnotifier.h
qsocknot.h ntqsocknot.h
qsortedlist.h ntqsortedlist.h
qsound.h ntqsound.h
qspinbox.h ntqspinbox.h
qsplashscreen.h ntqsplashscreen.h
qsplitter.h ntqsplitter.h
qsqlcursor.h ntqsqlcursor.h
qsqldatabase.h ntqsqldatabase.h
qsqldriver.h ntqsqldriver.h
qsqldriverplugin.h ntqsqldriverplugin.h
qsqleditorfactory.h ntqsqleditorfactory.h
qsqlerror.h ntqsqlerror.h
qsqlfield.h ntqsqlfield.h
qsqlform.h ntqsqlform.h
qsql.h ntqsql.h
qsqlindex.h ntqsqlindex.h
qsqlpropertymap.h ntqsqlpropertymap.h
qsqlquery.h ntqsqlquery.h
qsqlrecord.h ntqsqlrecord.h
qsqlresult.h ntqsqlresult.h
qsqlselectcursor.h ntqsqlselectcursor.h
qstack.h ntqstack.h
qstatusbar.h ntqstatusbar.h
qstring.h ntqstring.h
qstringlist.h ntqstringlist.h
qstrlist.h ntqstrlist.h
qstrvec.h ntqstrvec.h
qstylefactory.h ntqstylefactory.h
qstyle.h ntqstyle.h
qstyleplugin.h ntqstyleplugin.h
qstylesheet.h ntqstylesheet.h
qsyntaxhighlighter.h ntqsyntaxhighlighter.h
qtabbar.h ntqtabbar.h
qtabdialog.h ntqtabdialog.h
qtabdlg.h ntqtabdlg.h
qtable.h ntqtable.h
qtabwidget.h ntqtabwidget.h
qtextbrowser.h ntqtextbrowser.h
qtextcodecfactory.h ntqtextcodecfactory.h
qtextcodec.h ntqtextcodec.h
qtextcodecplugin.h ntqtextcodecplugin.h
qtextedit.h ntqtextedit.h
qtextstream.h ntqtextstream.h
qtextview.h ntqtextview.h
qt.h ntqt.h
qthread.h ntqthread.h
qtimer.h ntqtimer.h
qtl.h ntqtl.h
qtmultilineedit.h ntqtmultilineedit.h
qtoolbar.h ntqtoolbar.h
qtoolbutton.h ntqtoolbutton.h
qtoolbox.h ntqtoolbox.h
qtooltip.h ntqtooltip.h
qtranslator.h ntqtranslator.h
qtsciicodec.h ntqtsciicodec.h
qtstream.h ntqtstream.h
qttableview.h ntqttableview.h
qurl.h ntqurl.h
qurlinfo.h ntqurlinfo.h
qurloperator.h ntqurloperator.h
qutfcodec.h ntqutfcodec.h
quuid.h ntquuid.h
qvalidator.h ntqvalidator.h
qvaluelist.h ntqvaluelist.h
qvaluestack.h ntqvaluestack.h
qvaluevector.h ntqvaluevector.h
qvariant.h ntqvariant.h
qvbox.h ntqvbox.h
qvbuttongroup.h ntqvbuttongroup.h
qvector.h ntqvector.h
qvgroupbox.h ntqvgroupbox.h
qwaitcondition.h ntqwaitcondition.h
qwhatsthis.h ntqwhatsthis.h
qwidcoll.h ntqwidcoll.h
qwidgetfactory.h ntqwidgetfactory.h
qwidget.h ntqwidget.h
qwidgetintdict.h ntqwidgetintdict.h
qwidgetlist.h ntqwidgetlist.h
qwidgetplugin.h ntqwidgetplugin.h
qwidgetstack.h ntqwidgetstack.h
qwindefs.h ntqwindefs.h
qwindowdefs.h ntqwindowdefs.h
qwindow.h ntqwindow.h
qwindowsstyle.h ntqwindowsstyle.h
qwizard.h ntqwizard.h
qwmatrix.h ntqwmatrix.h
qworkspace.h ntqworkspace.h
qwsbeosdecoration_qws.h ntqwsbeosdecoration_qws.h
qwscommand_qws.h ntqwscommand_qws.h
qwscursor_qws.h ntqwscursor_qws.h
qwsdecoration_qws.h ntqwsdecoration_qws.h
qwsdefaultdecoration_qws.h ntqwsdefaultdecoration_qws.h
qwsdisplay_qws.h ntqwsdisplay_qws.h
qwsevent_qws.h ntqwsevent_qws.h
qwshydrodecoration_qws.h ntqwshydrodecoration_qws.h
qwskde2decoration_qws.h ntqwskde2decoration_qws.h
qwskdedecoration_qws.h ntqwskdedecoration_qws.h
qwsmanager_qws.h ntqwsmanager_qws.h
qwsmouse_qws.h ntqwsmouse_qws.h
qwsproperty_qws.h ntqwsproperty_qws.h
qwsregionmanager_qws.h ntqwsregionmanager_qws.h
qwssocket_qws.h ntqwssocket_qws.h
qwsutils_qws.h ntqwsutils_qws.h
qwswindowsdecoration_qws.h ntqwswindowsdecoration_qws.h
qxml.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/qglobal.h" or die "Invalid TQt directory.\n"; -e "$qtinc/ntqglobal.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 || "qtdefines") ) or die "Can't open output file: $!\n"; open( TQTDEFS, ">".($opt_o || "ntqtdefines") ) 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/qglobal.h 2>/dev/null"; my $cmd = "$cc -E -D__cplusplus -dM -I$qtinc $qtinc/ntqglobal.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/qglobal.h 2>/dev/null"; $cmd = "$cc -E -dM -I$qtinc $qtinc/ntqglobal.h 2>/dev/null";
$symbols = `$cmd`; $symbols = `$cmd`;
next; next;
} }
@ -130,7 +130,7 @@ sub preliminary_test
print $msg, " " x ($nspaces - length($msg) + 8); print $msg, " " x ($nspaces - length($msg) + 8);
open( OUT, ">${tmp}.cpp" ) or die "Failed to open temp file ${tmp}.cpp: $!\n"; open( OUT, ">${tmp}.cpp" ) or die "Failed to open temp file ${tmp}.cpp: $!\n";
my $simple=q£ my $simple=q£
#include <qapplication.h> #include <ntqapplication.h>
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
@ -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 qglobal.h)".( " " x (($nspaces-16) - length($_)) ).($qtundefs{$_}?"*Undefined*":" [Defined]").($opt_q?"":"\n"); print "\rSkipping $_ (in ntqglobal.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 <qfeatures.h>\n"; print OUT "#include <ntqfeatures.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,47 +248,47 @@ 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" => ["qaccel.h", "TQAccel foo( (TQWidget*)NULL );", 5], "TQT_NO_ACCEL" => ["ntqaccel.h", "TQAccel foo( (TQWidget*)NULL );", 5],
"TQT_NO_ACTION" => ["qaction.h", "TQAction foo( (TQObject*)NULL );", 5], "TQT_NO_ACTION" => ["ntqaction.h", "TQAction foo( (TQObject*)NULL );", 5],
"TQT_NO_ASYNC_IO" => ["qasyncio.h", "TQAsyncIO foo();", 5], "TQT_NO_ASYNC_IO" => ["ntqasyncio.h", "TQAsyncIO foo();", 5],
"TQT_NO_ASYNC_IMAGE_IO"=> ["qasyncimageio.h", "TQImageDecoder foo( (TQImageConsumer*) NULL );", 5], "TQT_NO_ASYNC_IMAGE_IO"=> ["ntqasyncimageio.h", "TQImageDecoder foo( (TQImageConsumer*) NULL );", 5],
"TQT_NO_BIG_CODECS" => ["qbig5codec.h", "TQBig5Codec foo();", 5], "TQT_NO_BIG_CODECS" => ["ntqbig5codec.h", "TQBig5Codec foo();", 5],
"TQT_NO_BUTTON" => ["qbutton.h", "TQButton foo( (TQWidget*)NULL );", 10], "TQT_NO_BUTTON" => ["ntqbutton.h", "TQButton foo( (TQWidget*)NULL );", 10],
"TQT_NO_BUTTONGROUP" => ["qbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12], "TQT_NO_BUTTONGROUP" => ["ntqbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12],
"TQT_NO_CANVAS" => ["qcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10], "TQT_NO_CANVAS" => ["ntqcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10],
"TQT_NO_CHECKBOX" => ["qcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10], "TQT_NO_CHECKBOX" => ["ntqcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10],
"TQT_NO_CLIPBOARD" => ["qapplication.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" => ["qcolordialog.h", "TQColorDialog::customCount();", 12], "TQT_NO_COLORDIALOG" => ["ntqcolordialog.h", "TQColorDialog::customCount();", 12],
"TQT_NO_COMBOBOX" => ["qcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10], "TQT_NO_COMBOBOX" => ["ntqcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10],
"TQT_NO_COMPAT" => ["qfontmetrics.h", q£ "TQT_NO_COMPAT" => ["ntqfontmetrics.h", q£
TQFontMetrics *foo= new TQFontMetrics( TQFont() ); TQFontMetrics *foo= new TQFontMetrics( TQFont() );
int bar = foo->width( 'c' ); int bar = foo->width( 'c' );
£, 0], £, 0],
"TQT_NO_COMPONENT" => ["qapplication.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" => ["qcursor.h", "TQCursor foo;", 5], "TQT_NO_CURSOR" => ["ntqcursor.h", "TQCursor foo;", 5],
"TQT_NO_DATASTREAM" => ["qdatastream.h", "TQDataStream foo;", 5], "TQT_NO_DATASTREAM" => ["ntqdatastream.h", "TQDataStream foo;", 5],
"TQT_NO_DATETIMEEDIT" => ["qdatetimeedit.h", "TQTimeEdit foo;", 12], "TQT_NO_DATETIMEEDIT" => ["ntqdatetimeedit.h", "TQTimeEdit foo;", 12],
"TQT_NO_DIAL" => ["qdial.h", "TQDial foo;", 10], "TQT_NO_DIAL" => ["ntqdial.h", "TQDial foo;", 10],
"TQT_NO_DIALOG" => ["qdialog.h", "TQDialog foo;", 12], "TQT_NO_DIALOG" => ["ntqdialog.h", "TQDialog foo;", 12],
"TQT_NO_DIR" => ["qdir.h", "TQDir foo;", 5], "TQT_NO_DIR" => ["ntqdir.h", "TQDir foo;", 5],
"TQT_NO_DNS" => ["qdns.h", "TQDns foo;", 5], "TQT_NO_DNS" => ["ntqdns.h", "TQDns foo;", 5],
"TQT_NO_DOM" => ["qdom.h", "TQDomDocumentType foo;", 5], "TQT_NO_DOM" => ["ntqdom.h", "TQDomDocumentType foo;", 5],
"TQT_NO_DRAGANDDROP" => ["qevent.h", "TQDropEvent foo( TQPoint(1,1) );", 5], "TQT_NO_DRAGANDDROP" => ["ntqevent.h", "TQDropEvent foo( TQPoint(1,1) );", 5],
"TQT_NO_DRAWUTIL" => ["qdrawutil.h, qcolor.h", "qDrawPlainRect( (TQPainter *) NULL, 0, 0, 0, 0, TQColor() );", 10], "TQT_NO_DRAWUTIL" => ["ntqdrawutil.h, qcolor.h", "ntqDrawPlainRect( (TQPainter *) NULL, 0, 0, 0, 0, TQColor() );", 10],
"TQT_NO_ERRORMESSAGE" => ["qerrormessage.h", "TQErrorMessage foo( (TQWidget*) NULL );", 13], "TQT_NO_ERRORMESSAGE" => ["ntqerrormessage.h", "TQErrorMessage foo( (TQWidget*) NULL );", 13],
"TQT_NO_FILEDIALOG" => ["qfiledialog.h", "TQFileIconProvider foo;", 13], "TQT_NO_FILEDIALOG" => ["ntqfiledialog.h", "TQFileIconProvider foo;", 13],
"TQT_NO_FONTDATABASE" => ["qfontdatabase.h", "TQFontDatabase foo;", 5], "TQT_NO_FONTDATABASE" => ["ntqfontdatabase.h", "TQFontDatabase foo;", 5],
"TQT_NO_FONTDIALOG" => ["qfontdialog.h", "TQFontDialog::getFont( (bool *)NULL );", 12], "TQT_NO_FONTDIALOG" => ["ntqfontdialog.h", "TQFontDialog::getFont( (bool *)NULL );", 12],
"TQT_NO_FRAME" => ["qframe.h", "TQFrame foo;", 10], "TQT_NO_FRAME" => ["ntqframe.h", "TQFrame foo;", 10],
"TQT_NO_GRID" => ["qgrid.h", "TQGrid foo(5);", 12], "TQT_NO_GRID" => ["ntqgrid.h", "TQGrid foo(5);", 12],
"TQT_NO_GRIDVIEW" => ["qgridview.h", "TQFoo foo;", 13, q£ "TQT_NO_GRIDVIEW" => ["ntqgridview.h", "TQFoo foo;", 13, q£
class TQFoo: public TQGridView class TQFoo: public TQGridView
{ {
public: public:
@ -297,15 +297,15 @@ our %tests = (
void paintCell(TQPainter *, int, int){}; void paintCell(TQPainter *, int, int){};
}; };
£], £],
"TQT_NO_GROUPBOX" => ["qgroupbox.h", "TQGroupBox foo;", 12], "TQT_NO_GROUPBOX" => ["ntqgroupbox.h", "TQGroupBox foo;", 12],
"TQT_NO_HBOX" => ["qhbox.h", "TQHBox foo;", 12], "TQT_NO_HBOX" => ["ntqhbox.h", "TQHBox foo;", 12],
"TQT_NO_HBUTTONGROUP" => ["qhbuttongroup.h", "TQHButtonGroup foo;", 13], "TQT_NO_HBUTTONGROUP" => ["ntqhbuttongroup.h", "TQHButtonGroup foo;", 13],
"TQT_NO_HEADER" => ["qheader.h", "TQHeader foo;", 10], "TQT_NO_HEADER" => ["ntqheader.h", "TQHeader foo;", 10],
"TQT_NO_HGROUPBOX" => ["qhgroupbox.h", "TQHGroupBox foo;", 13], "TQT_NO_HGROUPBOX" => ["ntqhgroupbox.h", "TQHGroupBox foo;", 13],
"TQT_NO_ICONSET" => ["qiconset.h", "TQIconSet foo;", 8], "TQT_NO_ICONSET" => ["ntqiconset.h", "TQIconSet foo;", 8],
"TQT_NO_ICONVIEW" => ["qiconview.h", "TQIconView foo;", 13], "TQT_NO_ICONVIEW" => ["ntqiconview.h", "TQIconView foo;", 13],
"TQT_NO_IMAGEFORMATPLUGIN" => ["qimageformatplugin.h, qstringlist.h", "TQFoo foo;", 5, q£ "TQT_NO_IMAGEFORMATPLUGIN" => ["ntqimageformatplugin.h, qstringlist.h", "TQFoo foo;", 5, q£
class TQFoo: public TQImageFormatPlugin class TQFoo: public TQImageFormatPlugin
{ {
@ -317,40 +317,40 @@ our %tests = (
}; };
TTQ_EXPORT_PLUGIN( TQFoo ) TTQ_EXPORT_PLUGIN( TQFoo )
£], £],
"TQT_NO_IMAGE_DITHER_TO_1" => ["qimage.h", q£ "TQT_NO_IMAGE_DITHER_TO_1" => ["ntqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->createAlphaMask(); foo->createAlphaMask();
£, 8], £, 8],
"TQT_NO_IMAGE_HEURISTIC_MASK" => ["qimage.h", q£ "TQT_NO_IMAGE_HEURISTIC_MASK" => ["ntqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->createHeuristicMask(); foo->createHeuristicMask();
£, 8], £, 8],
"TQT_NO_IMAGE_MIRROR" => ["qimage.h", q£ "TQT_NO_IMAGE_MIRROR" => ["ntqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->mirror(); foo->mirror();
£, 8], £, 8],
"TQT_NO_IMAGE_SMOOTHSCALE" => ["qimage.h", q£ "TQT_NO_IMAGE_SMOOTHSCALE" => ["ntqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->smoothScale( 10, 10); foo->smoothScale( 10, 10);
£, 8], £, 8],
"TQT_NO_IMAGE_TEXT" => ["qimage.h", "TQImageTextKeyLang foo;", 8], "TQT_NO_IMAGE_TEXT" => ["ntqimage.h", "TQImageTextKeyLang foo;", 8],
"TQT_NO_IMAGE_TRANSFORMATION" => ["qimage.h", q£ "TQT_NO_IMAGE_TRANSFORMATION" => ["ntqimage.h", q£
TQImage *foo = new TQImage; TQImage *foo = new TQImage;
foo->scale( 10, 10); foo->scale( 10, 10);
£, 8], £, 8],
"TQT_NO_IMAGE_TRUECOLOR" => ["qimage.h", q£ "TQT_NO_IMAGE_TRUECOLOR" => ["ntqimage.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" => ["qinputdialog.h, qstring.h", q£TQInputDialog::getText( TQString::null, TQString::null);£, 13], "TQT_NO_INPUTDIALOG" => ["ntqinputdialog.h, qstring.h", q£TQInputDialog::getText( TQString::null, TQString::null);£, 13],
"TQT_NO_IMAGEIO" => ["qbitmap.h, qstring.h", q£ "TQT_NO_IMAGEIO" => ["ntqbitmap.h, qstring.h", q£
TQBitmap foo( TQString::fromLatin1("foobar") ); TQBitmap foo( TQString::fromLatin1("foobar") );
£, 5], £, 5],
"TQT_NO_IMAGEIO_JPEG" => ["qjpegio.h", "qInitJpegIO();", 8], "TQT_NO_IMAGEIO_JPEG" => ["ntqjpegio.h", "ntqInitJpegIO();", 8],
"TQT_NO_IMAGEIO_MNG" => ["qmngio.h", "qInitMngIO();", 8], "TQT_NO_IMAGEIO_MNG" => ["ntqmngio.h", "ntqInitMngIO();", 8],
"TQT_NO_IMAGEIO_PNG" => ["qpngio.h", "qInitPngIO();", 8], "TQT_NO_IMAGEIO_PNG" => ["ntqpngio.h", "ntqInitPngIO();", 8],
"TQT_NO_LABEL" => ["qlabel.h", "TQLabel foo( (TQWidget*) NULL );", 10], "TQT_NO_LABEL" => ["ntqlabel.h", "TQLabel foo( (TQWidget*) NULL );", 10],
"TQT_NO_LAYOUT" => ["qlayout.h", "TQFoo foo;", 10, q£ "TQT_NO_LAYOUT" => ["ntqlayout.h", "TQFoo foo;", 10, q£
class TQFoo: public TQLayout class TQFoo: public TQLayout
{ {
@ -363,43 +363,43 @@ our %tests = (
void setGeometry( const TQRect & ) { }; void setGeometry( const TQRect & ) { };
}; };
£], £],
"TQT_NO_LCDNUMBER" => ["qlcdnumber.h", "TQLCDNumber foo;", 12], "TQT_NO_LCDNUMBER" => ["ntqlcdnumber.h", "TQLCDNumber foo;", 12],
"TQT_NO_LINEEDIT" => ["qlineedit.h", "TQLineEdit foo( (TQWidget *) NULL );", 12], "TQT_NO_LINEEDIT" => ["ntqlineedit.h", "TQLineEdit foo( (TQWidget *) NULL );", 12],
"TQT_NO_LISTBOX" => ["qlistbox.h", "TQListBox foo;", 13], "TQT_NO_LISTBOX" => ["ntqlistbox.h", "TQListBox foo;", 13],
"TQT_NO_LISTVIEW" => ["qlistview.h", "TQListView foo;", 13], "TQT_NO_LISTVIEW" => ["ntqlistview.h", "TQListView foo;", 13],
"TQT_NO_MAINWINDOW" => ["qmainwindow.h", "TQMainWindow foo;", 13], "TQT_NO_MAINWINDOW" => ["ntqmainwindow.h", "TQMainWindow foo;", 13],
"TQT_NO_MENUBAR" => ["qmenubar.h", "TQMenuBar foo;", 13], "TQT_NO_MENUBAR" => ["ntqmenubar.h", "TQMenuBar foo;", 13],
"TQT_NO_MOVIE" => ["qmovie.h", "TQMovie foo;", 5], "TQT_NO_MOVIE" => ["ntqmovie.h", "TQMovie foo;", 5],
"TQT_NO_MENUDATA" => ["qmenudata.h", "TQMenuData foo;", 9], "TQT_NO_MENUDATA" => ["ntqmenudata.h", "TQMenuData foo;", 9],
"TQT_NO_MESSAGEBOX" => ["qmessagebox.h", "TQMessageBox foo;", 13], "TQT_NO_MESSAGEBOX" => ["ntqmessagebox.h", "TQMessageBox foo;", 13],
"TQT_NO_MIME" => ["qmime.h", "TQMimeSourceFactory foo;", 5], "TQT_NO_MIME" => ["ntqmime.h", "TQMimeSourceFactory foo;", 5],
"TQT_NO_MIMECLIPBOARD" => ["qapplication.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" => ["qmultilineedit.h", "TQMultiLineEdit foo;", 14], "TQT_NO_MULTILINEEDIT" => ["ntqmultilineedit.h", "TQMultiLineEdit foo;", 14],
"TQT_NO_NETWORK" => ["qnetwork.h", "qInitNetworkProtocols();", 5], "TQT_NO_NETWORK" => ["ntqnetwork.h", "ntqInitNetworkProtocols();", 5],
"TQT_NO_NETWORKPROTOCOL" => ["qnetworkprotocol.h", "TQNetworkProtocol foo;", 8], "TQT_NO_NETWORKPROTOCOL" => ["ntqnetworkprotocol.h", "TQNetworkProtocol foo;", 8],
"TQT_NO_NETWORKPROTOCOL_FTP" => ["qftp.h", "TQFtp foo;", 9], "TQT_NO_NETWORKPROTOCOL_FTP" => ["ntqftp.h", "TQFtp foo;", 9],
"TQT_NO_PALETTE" => ["qpalette.h", "TQColorGroup foo;", 5], "TQT_NO_PALETTE" => ["ntqpalette.h", "TQColorGroup foo;", 5],
"TQT_NO_PICTURE" => ["qpicture.h", "TQPicture foo;", 5], "TQT_NO_PICTURE" => ["ntqpicture.h", "TQPicture foo;", 5],
"TQT_NO_PIXMAP_TRANSFORMATION" =>["qbitmap.h, qwmatrix.h", q£ "TQT_NO_PIXMAP_TRANSFORMATION" =>["ntqbitmap.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" => ["qpopupmenu.h", "TQPopupMenu foo;", 12], "TQT_NO_POPUPMENU" => ["ntqpopupmenu.h", "TQPopupMenu foo;", 12],
"TQT_NO_PRINTER" => ["qprinter.h", "TQPrinter foo;", 5], "TQT_NO_PRINTER" => ["ntqprinter.h", "TQPrinter foo;", 5],
"TQT_NO_PRINTDIALOG" => ["qprintdialog.h", "TQPrintDialog foo( (TQPrinter*) NULL );", 13], "TQT_NO_PRINTDIALOG" => ["ntqprintdialog.h", "TQPrintDialog foo( (TQPrinter*) NULL );", 13],
"TQT_NO_PROCESS" => ["qprocess.h", "TQProcess foo;", 5], "TQT_NO_PROCESS" => ["ntqprocess.h", "TQProcess foo;", 5],
"TQT_NO_PROGRESSBAR" => ["qprogressbar.h", "TQProgressBar foo;", 12], "TQT_NO_PROGRESSBAR" => ["ntqprogressbar.h", "TQProgressBar foo;", 12],
"TQT_NO_PROGRESSDIALOG" => ["qprogressdialog.h", "TQProgressDialog foo;", 13], "TQT_NO_PROGRESSDIALOG" => ["ntqprogressdialog.h", "TQProgressDialog foo;", 13],
"TQT_NO_PUSHBUTTON" => ["qpushbutton.h", "TQPushButton foo( (TQWidget *) NULL );", 12], "TQT_NO_PUSHBUTTON" => ["ntqpushbutton.h", "TQPushButton foo( (TQWidget *) NULL );", 12],
"TQT_NO_PROPERTIES" => ["qmetaobject.h", "TQMetaProperty foo;", 0], "TQT_NO_PROPERTIES" => ["ntqmetaobject.h", "TQMetaProperty foo;", 0],
# "TQT_NO_TQTMULTILINEEDIT" => ["qtmultilineedit.h", "TQtMultiLineEdit foo;", 15], # "TQT_NO_TQTMULTILINEEDIT" => ["ntqtmultilineedit.h", "TQtMultiLineEdit foo;", 15],
# "TQT_NO_TQTTABLEVIEW" => ["qttableview.h", "TQFoo foo;", 16, q£ # "TQT_NO_TQTTABLEVIEW" => ["ntqttableview.h", "TQFoo foo;", 16, q£
# class TQFoo: public TQtTableView # class TQFoo: public TQtTableView
# { # {
# public: # public:
@ -408,63 +408,63 @@ our %tests = (
# void paintCell( TQPainter *, int, int) {}; # void paintCell( TQPainter *, int, int) {};
# }; # };
# £], # £],
"TQT_NO_TQUUID_STRING" => ["quuid.h", "TQUuid foo( TQString::null );", 8], "TQT_NO_TQUUID_STRING" => ["ntquuid.h", "TQUuid foo( TQString::null );", 8],
"TQT_NO_RANGECONTROL" => ["qrangecontrol.h", "TQRangeControl foo;", 10], "TQT_NO_RANGECONTROL" => ["ntqrangecontrol.h", "TQRangeControl foo;", 10],
"TQT_NO_REGEXP" => ["qregexp.h", "TQRegExp foo;", 5], "TQT_NO_REGEXP" => ["ntqregexp.h", "TQRegExp foo;", 5],
"TQT_NO_REGEXP_WILDCARD" => ["qregexp.h", q£ "TQT_NO_REGEXP_WILDCARD" => ["ntqregexp.h", q£
TQRegExp foo; TQRegExp foo;
foo.wildcard(); foo.wildcard();
£, 8], £, 8],
"TQT_NO_REMOTE" => ["qapplication.h", q£ "TQT_NO_REMOTE" => ["ntqapplication.h", q£
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
foo.remoteControlEnabled(); foo.remoteControlEnabled();
£, 15], £, 15],
"TQT_NO_RADIOBUTTON" => ["qradiobutton.h", "TQRadioButton foo( (TQWidget *) NULL );", 12], "TQT_NO_RADIOBUTTON" => ["ntqradiobutton.h", "TQRadioButton foo( (TQWidget *) NULL );", 12],
"TQT_NO_RICHTEXT" => ["qsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10], "TQT_NO_RICHTEXT" => ["ntqsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10],
"TQT_NO_SCROLLBAR" => ["qscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12], "TQT_NO_SCROLLBAR" => ["ntqscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12],
"TQT_NO_SCROLLVIEW" => ["qscrollview.h", "TQScrollView foo;", 12], "TQT_NO_SCROLLVIEW" => ["ntqscrollview.h", "TQScrollView foo;", 12],
"TQT_NO_SEMIMODAL" => ["qsemimodal.h", "TQSemiModal foo;", 10], "TQT_NO_SEMIMODAL" => ["ntqsemimodal.h", "TQSemiModal foo;", 10],
"TQT_NO_SESSIONMANAGER" => ["qapplication.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" => ["qsettings.h", "TQSettings foo;", 5], "TQT_NO_SETTINGS" => ["ntqsettings.h", "TQSettings foo;", 5],
"TQT_NO_SIGNALMAPPER" => ["qsignalmapper.h", "TQSignalMapper foo( (TQObject *) NULL );", 0], "TQT_NO_SIGNALMAPPER" => ["ntqsignalmapper.h", "TQSignalMapper foo( (TQObject *) NULL );", 0],
"TQT_NO_SIZEGRIP" => ["qsizegrip.h", "TQSizeGrip foo( (TQWidget *) NULL );", 10], "TQT_NO_SIZEGRIP" => ["ntqsizegrip.h", "TQSizeGrip foo( (TQWidget *) NULL );", 10],
"TQT_NO_SLIDER" => ["qslider.h", "TQSlider foo( (TQWidget *) NULL );", 12], "TQT_NO_SLIDER" => ["ntqslider.h", "TQSlider foo( (TQWidget *) NULL );", 12],
"TQT_NO_SOUND" => ["qsound.h", "TQSound foo( TQString::null );", 5], "TQT_NO_SOUND" => ["ntqsound.h", "TQSound foo( TQString::null );", 5],
"TQT_NO_SPINWIDGET" => ["qrangecontrol.h", "TQSpinWidget foo;", 10], "TQT_NO_SPINWIDGET" => ["ntqrangecontrol.h", "TQSpinWidget foo;", 10],
"TQT_NO_SPRINTF" => ["qcolor.h", q£ "TQT_NO_SPRINTF" => ["ntqcolor.h", q£
TQColor foo; TQColor foo;
foo.name(); foo.name();
£, 0], £, 0],
"TQT_NO_SQL" => ["qsqlcursor.h", "TQSqlCursor foo;", 5], "TQT_NO_SQL" => ["ntqsqlcursor.h", "TQSqlCursor foo;", 5],
"TQT_NO_STRINGLIST" => ["qstringlist.h", "TQStringList foo;", 0], "TQT_NO_STRINGLIST" => ["ntqstringlist.h", "TQStringList foo;", 0],
"TQT_NO_STYLE" => ["qapplication.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" => ["qcdestyle.h", "TQCDEStyle foo;", 16], # "TQT_NO_STYLE_CDE" => ["ntqcdestyle.h", "TQCDEStyle foo;", 16],
# "TQT_NO_STYLE_COMPACT" => ["qcompactstyle.h", "TQCompactStyle foo;", 16], # "TQT_NO_STYLE_COMPACT" => ["ntqcompactstyle.h", "TQCompactStyle foo;", 16],
# "TQT_NO_STYLE_INTERLACE" => ["qinterlacestyle.h", "TQInterlaceStyle foo;", 16], # "TQT_NO_STYLE_INTERLACE" => ["ntqinterlacestyle.h", "TQInterlaceStyle foo;", 16],
# "TQT_NO_STYLE_PLATINUM" => ["qplatinumstyle.h", "TQPlatinumStyle foo;", 16], # "TQT_NO_STYLE_PLATINUM" => ["ntqplatinumstyle.h", "TQPlatinumStyle foo;", 16],
# "TQT_NO_STYLE_MOTIF" => ["qmotifstyle.h", "TQMotifStyle foo;", 16], # "TQT_NO_STYLE_MOTIF" => ["ntqmotifstyle.h", "TQMotifStyle foo;", 16],
# "TQT_NO_STYLE_MOTIFPLUS" => ["qmotifplusstyle.h", "TQMotifPlusStyle foo;", 16], # "TQT_NO_STYLE_MOTIFPLUS" => ["ntqmotifplusstyle.h", "TQMotifPlusStyle foo;", 16],
# "TQT_NO_STYLE_SGI" => ["qsgistyle.h", "TQSGIStyle foo;", 16], # "TQT_NO_STYLE_SGI" => ["ntqsgistyle.h", "TQSGIStyle foo;", 16],
# "TQT_NO_STYLE_WINDOWS" => ["qwindowsstyle.h", "TQWindowsStyle foo;", 16], # "TQT_NO_STYLE_WINDOWS" => ["ntqwindowsstyle.h", "TQWindowsStyle foo;", 16],
"TQT_NO_TABBAR" => ["qtabbar.h", "TQTabBar foo;", 10], "TQT_NO_TABBAR" => ["ntqtabbar.h", "TQTabBar foo;", 10],
"TQT_NO_TABDIALOG" => ["qtabdialog.h", "TQTabDialog foo;", 12], "TQT_NO_TABDIALOG" => ["ntqtabdialog.h", "TQTabDialog foo;", 12],
"TQT_NO_TABLE" => ["qtable.h", "TQTable foo;", 10], "TQT_NO_TABLE" => ["ntqtable.h", "TQTable foo;", 10],
"TQT_NO_TABWIDGET" => ["qtabwidget.h", "TQTabWidget foo;", 10], "TQT_NO_TABWIDGET" => ["ntqtabwidget.h", "TQTabWidget foo;", 10],
"TQT_NO_TEXTBROWSER" => ["qtextbrowser.h", "TQTextBrowser foo;", 14], "TQT_NO_TEXTBROWSER" => ["ntqtextbrowser.h", "TQTextBrowser foo;", 14],
"TQT_NO_TEXTCODEC" => ["qtextcodec.h", "TQTextCodec::codecForIndex(1);", 5], "TQT_NO_TEXTCODEC" => ["ntqtextcodec.h", "TQTextCodec::codecForIndex(1);", 5],
"TQT_NO_TEXTCODECPLUGIN" => ["qtextcodecplugin.h, qstringlist.h, qvaluelist.h, qtextcodec.h", "TQFoo foo;", 6, q£ "TQT_NO_TEXTCODECPLUGIN" => ["ntqtextcodecplugin.h, qstringlist.h, qvaluelist.h, qtextcodec.h", "TQFoo foo;", 6, q£
class TQFoo: public TQTextCodecPlugin class TQFoo: public TQTextCodecPlugin
{ {
@ -478,24 +478,24 @@ our %tests = (
}; };
TTQ_EXPORT_PLUGIN( TQFoo ) TTQ_EXPORT_PLUGIN( TQFoo )
£], £],
"TQT_NO_TEXTEDIT" => ["qtextedit.h", "TQTextEdit foo;", 13], "TQT_NO_TEXTEDIT" => ["ntqtextedit.h", "TQTextEdit foo;", 13],
"TQT_NO_TEXTSTREAM" => ["qtextstream.h", "TQTextStream foo;", 5], "TQT_NO_TEXTSTREAM" => ["ntqtextstream.h", "TQTextStream foo;", 5],
"TQT_NO_TEXTVIEW" => ["qtextview.h", "TQTextView foo;", 14], #Obsolete "TQT_NO_TEXTVIEW" => ["ntqtextview.h", "TQTextView foo;", 14], #Obsolete
"TQT_NO_TOOLBAR" => ["qtoolbar.h", "TQToolBar foo;", 10], "TQT_NO_TOOLBAR" => ["ntqtoolbar.h", "TQToolBar foo;", 10],
"TQT_NO_TOOLBUTTON" => ["qtoolbutton.h", "TQToolButton foo((TQWidget *) NULL );", 12], "TQT_NO_TOOLBUTTON" => ["ntqtoolbutton.h", "TQToolButton foo((TQWidget *) NULL );", 12],
"TQT_NO_TOOLTIP" => ["qtooltip.h", "TQToolTip::hide();", 10], "TQT_NO_TOOLTIP" => ["ntqtooltip.h", "TQToolTip::hide();", 10],
"TQT_NO_TRANSFORMATIONS" => ["qpainter.h", q£ "TQT_NO_TRANSFORMATIONS" => ["ntqpainter.h", q£
TQPainter *foo= new TQPainter(); TQPainter *foo= new TQPainter();
foo->setViewXForm( true );£, 5], foo->setViewXForm( true );£, 5],
"TQT_NO_VARIANT" => ["qvariant.h", "TQVariant foo;", 0], "TQT_NO_VARIANT" => ["ntqvariant.h", "TQVariant foo;", 0],
"TQT_NO_WHATSTHIS" => ["qwhatsthis.h", "TQWhatsThis::inWhatsThisMode();", 10], "TQT_NO_WHATSTHIS" => ["ntqwhatsthis.h", "TQWhatsThis::inWhatsThisMode();", 10],
"TQT_NO_WHEELEVENT" => ["qevent.h", "TQWheelEvent foo( TQPoint(1,1), 1, 1 );", 5], "TQT_NO_WHEELEVENT" => ["ntqevent.h", "TQWheelEvent foo( TQPoint(1,1), 1, 1 );", 5],
"TQT_NO_WIDGET_TOPEXTRA" => ["qwidget.h", "TQWidget foo; foo.caption();", 9], "TQT_NO_WIDGET_TOPEXTRA" => ["ntqwidget.h", "TQWidget foo; foo.caption();", 9],
"TQT_NO_WIDGETSTACK" => ["qwidgetstack.h", "TQWidgetStack foo;", 13], "TQT_NO_WIDGETSTACK" => ["ntqwidgetstack.h", "TQWidgetStack foo;", 13],
"TQT_NO_WIZARD" => ["qwizard.h", "TQWizard foo;", 13], "TQT_NO_WIZARD" => ["ntqwizard.h", "TQWizard foo;", 13],
"TQT_NO_WMATRIX" => ["qwmatrix.h", "TQWMatrix foo;", 0], "TQT_NO_WMATRIX" => ["ntqwmatrix.h", "TQWMatrix foo;", 0],
"TQT_NO_XML" => ["qxml.h", "TQXmlNamespaceSupport foo;", 5], "TQT_NO_XML" => ["ntqxml.h", "TQXmlNamespaceSupport foo;", 5],
); );
} }

Loading…
Cancel
Save