summaryrefslogtreecommitdiffstats
path: root/smoke/qt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-01 18:24:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-01 18:24:37 -0600
commit4e997a9c6e25689dca65a2ec573a599699ef8170 (patch)
treefdb5ecac42fb8204df9fc8c9abe1c784d4719e0e /smoke/qt
parentbfa107694b2507a7116f8856cafe4ab1375da8a9 (diff)
downloadlibtqt-perl-4e997a9c6e25689dca65a2ec573a599699ef8170.tar.gz
libtqt-perl-4e997a9c6e25689dca65a2ec573a599699ef8170.zip
Initial TQt conversion
Diffstat (limited to 'smoke/qt')
-rw-r--r--smoke/qt/Makefile.in14
-rw-r--r--smoke/qt/generate.pl.in24
-rw-r--r--smoke/qt/qt_smoke.h6
-rw-r--r--smoke/qt/qtguess.pl.in392
4 files changed, 218 insertions, 218 deletions
diff --git a/smoke/qt/Makefile.in b/smoke/qt/Makefile.in
index 8fdbc30..6a98cac 100644
--- a/smoke/qt/Makefile.in
+++ b/smoke/qt/Makefile.in
@@ -104,14 +104,14 @@ LIBUCB = @LIBUCB@
LIBUTIL = @LIBUTIL@
LIBZ = @LIBZ@
LIB_POLL = @LIB_POLL@
-LIB_QPE = @LIB_QPE@
+LIB_TQPE = @LIB_TQPE@
LIB_QT = @LIB_QT@
LIB_X11 = @LIB_X11@
LIB_XEXT = @LIB_XEXT@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
-MOC = @MOC@
+TQMOC = @TQMOC@
NOOPT_CFLAGS = @NOOPT_CFLAGS@
NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
OBJEXT = @OBJEXT@
@@ -122,9 +122,9 @@ PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-QTE_NORTTI = @QTE_NORTTI@
-QT_INCLUDES = @QT_INCLUDES@
-QT_LDFLAGS = @QT_LDFLAGS@
+TQTE_NORTTI = @TQTE_NORTTI@
+TQT_INCLUDES = @TQT_INCLUDES@
+TQT_LDFLAGS = @TQT_LDFLAGS@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
@@ -304,7 +304,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
#>+ 3
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu smoke/qt/Makefile
- cd $(top_srcdir) && perl admin/am_edit PerlQt-3.008/smoke/qt/Makefile.in
+ cd $(top_srcdir) && perl admin/am_edit PerlTQt-3.008/smoke/qt/Makefile.in
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
qtguess.pl: $(top_builddir)/config.status qtguess.pl.in
@@ -630,7 +630,7 @@ docs-am:
force-reedit:
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu smoke/qt/Makefile
- cd $(top_srcdir) && perl admin/am_edit PerlQt-3.008/smoke/qt/Makefile.in
+ cd $(top_srcdir) && perl admin/am_edit PerlTQt-3.008/smoke/qt/Makefile.in
#>+ 9
diff --git a/smoke/qt/generate.pl.in b/smoke/qt/generate.pl.in
index 5f4a669..4fa8cd4 100644
--- a/smoke/qt/generate.pl.in
+++ b/smoke/qt/generate.pl.in
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-## Run this first, to generate the x_*.cpp files from the Qt headers
+## Run this first, to generate the x_*.cpp files from the TQt headers
## using kalyptus
my $kalyptusdir = "../../kalyptus";
@@ -25,7 +25,7 @@ if (-d $outdir) { system "rm -f $outdir/x_*.cpp"; } else { mkdir $outdir; }
mkdir $finaloutdir unless (-d $finaloutdir);
-# Load the QT_NO_* macros found in "qtdefines". They'll be passed to kalyptus
+# Load the TQT_NO_* macros found in "qtdefines". They'll be passed to kalyptus
my $macros="";
if ( -e $definespath ){
print "Found '$defines'. Reading preprocessor symbols from there...\n";
@@ -39,9 +39,9 @@ chdir "$kalyptusdir" or die "Couldn't go to $kalyptusdir (edit script to change
# We don't want all of them - e.g. not template-based stuff
my %excludes = (
'qaccessible.h' => 1, # Accessibility support is not compiled by defaut
- 'qassistantclient.h' => 1, # Not part of Qt (introduced in Qt-3.1)
+ 'qassistantclient.h' => 1, # Not part of TQt (introduced in TQt-3.1)
'qmotif.h' => 1, #
- 'qmotifwidget.h' => 1, # Motif extension (introduced in Qt-3.1)
+ 'qmotifwidget.h' => 1, # Motif extension (introduced in TQt-3.1)
'qmotifdialog.h' => 1, #
'qxt.h' => 1, # Xt
'qxtwidget.h' => 1, # Xt
@@ -49,11 +49,11 @@ my %excludes = (
'qgl.h' => 1, # OpenGL
'qglcolormap.h' => 1, # OpenGL
'qnp.h' => 1, # NSPlugin
- 'qttableview.h' => 1, # Not in Qt anymore...
- 'qtmultilineedit.h' => 1, # Not in Qt anymore...
+ 'qttableview.h' => 1, # Not in TQt anymore...
+ 'qtmultilineedit.h' => 1, # Not in TQt anymore...
'qwidgetfactory.h' => 1, # Just an interface
- 'qsharedmemory.h' => 1, # "not part of the Qt API" they say
- 'qwindowsstyle.h' => 1, # Qt windowsstyle, plugin
+ 'qsharedmemory.h' => 1, # "not part of the TQt API" they say
+ 'qwindowsstyle.h' => 1, # TQt windowsstyle, plugin
'qmotifstyle.h' => 1,
'qcompactstyle.h' => 1,
'qinterlacestyle.h' => 1,
@@ -64,7 +64,7 @@ my %excludes = (
'qwindowsxpstyle.h' => 1 # play on the safe side
);
-# Some systems have a QTDIR = KDEDIR = PREFIX
+# Some systems have a TQTDIR = KDEDIR = PREFIX
# We need a complete list
my %includes;
@@ -78,18 +78,18 @@ if("@KDE_HAVE_GL@" eq "yes")
open(DEFS, $definespath);
my @defs = <DEFS>;
close DEFS;
- if(!grep(/QT_NO_OPENGL/, @defs))
+ if(!grep(/TQT_NO_OPENGL/, @defs))
{
$excludes{'qgl.h'} = undef;
$excludes{'qglcolormap.h'} = undef;
}
else
{
- print STDERR "Qt was not compiled with OpenGL support...\n Skipping QGL Classes.\n";
+ print STDERR "TQt was not compiled with OpenGL support...\n Skipping TQGL Classes.\n";
}
}
-# List Qt headers, and exclude the ones listed above
+# List TQt headers, and exclude the ones listed above
my @headers = ();
$qtinc= '@qt_includes@';
diff --git a/smoke/qt/qt_smoke.h b/smoke/qt/qt_smoke.h
index 22d8d23..3ca29df 100644
--- a/smoke/qt/qt_smoke.h
+++ b/smoke/qt/qt_smoke.h
@@ -1,9 +1,9 @@
-#ifndef QT_SMOKE_H
-#define QT_SMOKE_H
+#ifndef TQT_SMOKE_H
+#define TQT_SMOKE_H
// Defined in smokedata.cpp, initialized by init_qt_Smoke(), used by all .cpp files
extern Smoke* qt_Smoke;
-class QGlobalSpace { };
+class TQGlobalSpace { };
#endif
diff --git a/smoke/qt/qtguess.pl.in b/smoke/qt/qtguess.pl.in
index a5fc6b2..c23530e 100644
--- a/smoke/qt/qtguess.pl.in
+++ b/smoke/qt/qtguess.pl.in
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# qtguess.pl : check how Qt was compiled. Issue a list of all defined QT_NO_* macros, one per line.
+# qtguess.pl : check how TQt was compiled. Issue a list of all defined TQT_NO_* macros, one per line.
#
# author: germain Garand <germain@ebooksfrance.com>
# licence: GPL v.2
@@ -17,9 +17,9 @@ use vars qw/$opt_f $opt_o $opt_p/;
getopts('qo:f:t:');
# Threshold :
-# 0 - test basic Qt types/classes
+# 0 - test basic TQt types/classes
# 5 - test higher level, non-gui classes
-# 8 - test options of the above (ex: QT_NO_IMAGE_SMOOTHSCALE)
+# 8 - test options of the above (ex: TQT_NO_IMAGE_SMOOTHSCALE)
# 10 - test basic widgets
# 12 - test composite widgets
# 13 - test widgets inheriting composite widgets
@@ -52,21 +52,21 @@ $x{'LIB_X11'} =~ s/\$\((.*?)\)/$x{$1}/g;
$qtflags =~ s/\$\((.*?)\)/$x{$1}/g;
- -e "$qtinc/qglobal.h" or die "Invalid Qt directory.\n";
+ -e "$qtinc/qglobal.h" or die "Invalid TQt directory.\n";
my $ccmd = "$cc $ccflags $allinc $alllib -o $tmp $tmp.cpp $qtflags";
my $threshold = defined($opt_t)?$opt_t : $default_threshold;
$threshold >= 0 or die "invalid testing threshold: $threshold\n";
-print "Checking how Qt was built... \n";
+print "Checking how TQt was built... \n";
print "Threshold is set to $threshold\n" unless $opt_q;
my($count, $used, $total);
map{ $tests{$_}->[2]>=$threshold ? ($used++, $total++):$total++ } keys %tests;
print "Number of defines to be tested : $used/$total\n\n" unless $opt_q;
-open( QTDEFS, ">".($opt_o || "qtdefines") ) or die "Can't open output file: $!\n";
+open( TQTDEFS, ">".($opt_o || "qtdefines") ) or die "Can't open output file: $!\n";
grab_qglobal_symbols();
preliminary_test();
@@ -74,7 +74,7 @@ perform_all_tests();
print +scalar(keys %qtdefs) . " defines found.\n";
-print QTDEFS join("\n", keys %qtdefs), "\n";
+print TQTDEFS join("\n", keys %qtdefs), "\n";
close;
#--------------------------------------------------------------#
@@ -100,14 +100,14 @@ sub grab_qglobal_symbols
{
if( check_exit_status($?) )
{
- while( $symbols =~/^#\s*define\s*(QT_\S+)/gm )
+ while( $symbols =~/^#\s*define\s*(TQT_\S+)/gm )
{
$qtdefs{$1} = 1;
}
print "Found ". scalar( keys %qtdefs )." predefined symbol".((scalar( keys %qtdefs ) -1)?"s":"")." in qglobal.h\n" unless ($opt_q or !(keys %qtdefs));
- while( $symbols =~/^#\s*define\s*QT_MODULE_(\S+)/gm )
+ while( $symbols =~/^#\s*define\s*TQT_MODULE_(\S+)/gm )
{
- $qtundefs{"QT_NO_$1"} = 1;
+ $qtundefs{"TQT_NO_$1"} = 1;
}
print "Found ". scalar( keys %qtundefs )." undefined symbol".((scalar( keys %qtundefs ) -1)?"s":"")." in qglobal.h\n" unless ($opt_q or !(keys %qtundefs));
last;
@@ -133,7 +133,7 @@ sub preliminary_test
#include <qapplication.h>
int main( int argc, char **argv )
{
- QApplication foo( argc, argv );
+ TQApplication foo( argc, argv );
return 0;
}
£;
@@ -248,254 +248,254 @@ BEGIN {
# "DEFINE" => ["header-1.h,... header-n.h", "main() code", priority, "Definitions (if needed)"]
our %tests = (
- "QT_NO_ACCEL" => ["qaccel.h", "QAccel foo( (QWidget*)NULL );", 5],
- "QT_NO_ACTION" => ["qaction.h", "QAction foo( (QObject*)NULL );", 5],
- "QT_NO_ASYNC_IO" => ["qasyncio.h", "QAsyncIO foo();", 5],
- "QT_NO_ASYNC_IMAGE_IO"=> ["qasyncimageio.h", "QImageDecoder foo( (QImageConsumer*) NULL );", 5],
- "QT_NO_BIG_CODECS" => ["qbig5codec.h", "QBig5Codec foo();", 5],
- "QT_NO_BUTTON" => ["qbutton.h", "QButton foo( (QWidget*)NULL );", 10],
- "QT_NO_BUTTONGROUP" => ["qbuttongroup.h", "QButtonGroup foo( (QWidget*)NULL );", 12],
- "QT_NO_CANVAS" => ["qcanvas.h", "QCanvas foo( (QObject*)NULL );", 10],
- "QT_NO_CHECKBOX" => ["qcheckbox.h", "QCheckBox( (QWidget*)NULL );", 10],
- "QT_NO_CLIPBOARD" => ["qapplication.h, qclipboard.h", q£
- QApplication foo( argc, argv );
- QClipboard *baz= foo.clipboard();
+ "TQT_NO_ACCEL" => ["qaccel.h", "TQAccel foo( (TQWidget*)NULL );", 5],
+ "TQT_NO_ACTION" => ["qaction.h", "TQAction foo( (TQObject*)NULL );", 5],
+ "TQT_NO_ASYNC_IO" => ["qasyncio.h", "TQAsyncIO foo();", 5],
+ "TQT_NO_ASYNC_IMAGE_IO"=> ["qasyncimageio.h", "TQImageDecoder foo( (TQImageConsumer*) NULL );", 5],
+ "TQT_NO_BIG_CODECS" => ["qbig5codec.h", "TQBig5Codec foo();", 5],
+ "TQT_NO_BUTTON" => ["qbutton.h", "TQButton foo( (TQWidget*)NULL );", 10],
+ "TQT_NO_BUTTONGROUP" => ["qbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12],
+ "TQT_NO_CANVAS" => ["qcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10],
+ "TQT_NO_CHECKBOX" => ["qcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10],
+ "TQT_NO_CLIPBOARD" => ["qapplication.h, qclipboard.h", q£
+ TQApplication foo( argc, argv );
+ TQClipboard *baz= foo.clipboard();
£, 5],
- "QT_NO_COLORDIALOG" => ["qcolordialog.h", "QColorDialog::customCount();", 12],
- "QT_NO_COMBOBOX" => ["qcombobox.h", "QComboBox( (QWidget*)NULL );", 10],
- "QT_NO_COMPAT" => ["qfontmetrics.h", q£
- QFontMetrics *foo= new QFontMetrics( QFont() );
+ "TQT_NO_COLORDIALOG" => ["qcolordialog.h", "TQColorDialog::customCount();", 12],
+ "TQT_NO_COMBOBOX" => ["qcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10],
+ "TQT_NO_COMPAT" => ["qfontmetrics.h", q£
+ TQFontMetrics *foo= new TQFontMetrics( TQFont() );
int bar = foo->width( 'c' );
£, 0],
- "QT_NO_COMPONENT" => ["qapplication.h", q£
- QApplication foo( argc, argv );
- foo.addLibraryPath( QString::null );
+ "TQT_NO_COMPONENT" => ["qapplication.h", q£
+ TQApplication foo( argc, argv );
+ foo.addLibraryPath( TQString::null );
£, 5],
- "QT_NO_CURSOR" => ["qcursor.h", "QCursor foo;", 5],
- "QT_NO_DATASTREAM" => ["qdatastream.h", "QDataStream foo;", 5],
- "QT_NO_DATETIMEEDIT" => ["qdatetimeedit.h", "QTimeEdit foo;", 12],
- "QT_NO_DIAL" => ["qdial.h", "QDial foo;", 10],
- "QT_NO_DIALOG" => ["qdialog.h", "QDialog foo;", 12],
- "QT_NO_DIR" => ["qdir.h", "QDir foo;", 5],
- "QT_NO_DNS" => ["qdns.h", "QDns foo;", 5],
- "QT_NO_DOM" => ["qdom.h", "QDomDocumentType foo;", 5],
- "QT_NO_DRAGANDDROP" => ["qevent.h", "QDropEvent foo( QPoint(1,1) );", 5],
- "QT_NO_DRAWUTIL" => ["qdrawutil.h, qcolor.h", "qDrawPlainRect( (QPainter *) NULL, 0, 0, 0, 0, QColor() );", 10],
- "QT_NO_ERRORMESSAGE" => ["qerrormessage.h", "QErrorMessage foo( (QWidget*) NULL );", 13],
- "QT_NO_FILEDIALOG" => ["qfiledialog.h", "QFileIconProvider foo;", 13],
-
- "QT_NO_FONTDATABASE" => ["qfontdatabase.h", "QFontDatabase foo;", 5],
- "QT_NO_FONTDIALOG" => ["qfontdialog.h", "QFontDialog::getFont( (bool *)NULL );", 12],
- "QT_NO_FRAME" => ["qframe.h", "QFrame foo;", 10],
- "QT_NO_GRID" => ["qgrid.h", "QGrid foo(5);", 12],
- "QT_NO_GRIDVIEW" => ["qgridview.h", "QFoo foo;", 13, q£
- class QFoo: public QGridView
+ "TQT_NO_CURSOR" => ["qcursor.h", "TQCursor foo;", 5],
+ "TQT_NO_DATASTREAM" => ["qdatastream.h", "TQDataStream foo;", 5],
+ "TQT_NO_DATETIMEEDIT" => ["qdatetimeedit.h", "TQTimeEdit foo;", 12],
+ "TQT_NO_DIAL" => ["qdial.h", "TQDial foo;", 10],
+ "TQT_NO_DIALOG" => ["qdialog.h", "TQDialog foo;", 12],
+ "TQT_NO_DIR" => ["qdir.h", "TQDir foo;", 5],
+ "TQT_NO_DNS" => ["qdns.h", "TQDns foo;", 5],
+ "TQT_NO_DOM" => ["qdom.h", "TQDomDocumentType foo;", 5],
+ "TQT_NO_DRAGANDDROP" => ["qevent.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_ERRORMESSAGE" => ["qerrormessage.h", "TQErrorMessage foo( (TQWidget*) NULL );", 13],
+ "TQT_NO_FILEDIALOG" => ["qfiledialog.h", "TQFileIconProvider foo;", 13],
+
+ "TQT_NO_FONTDATABASE" => ["qfontdatabase.h", "TQFontDatabase foo;", 5],
+ "TQT_NO_FONTDIALOG" => ["qfontdialog.h", "TQFontDialog::getFont( (bool *)NULL );", 12],
+ "TQT_NO_FRAME" => ["qframe.h", "TQFrame foo;", 10],
+ "TQT_NO_GRID" => ["qgrid.h", "TQGrid foo(5);", 12],
+ "TQT_NO_GRIDVIEW" => ["qgridview.h", "TQFoo foo;", 13, q£
+ class TQFoo: public TQGridView
{
public:
- QFoo(){};
- ~QFoo(){};
- void paintCell(QPainter *, int, int){};
+ TQFoo(){};
+ ~TQFoo(){};
+ void paintCell(TQPainter *, int, int){};
};
£],
- "QT_NO_GROUPBOX" => ["qgroupbox.h", "QGroupBox foo;", 12],
- "QT_NO_HBOX" => ["qhbox.h", "QHBox foo;", 12],
- "QT_NO_HBUTTONGROUP" => ["qhbuttongroup.h", "QHButtonGroup foo;", 13],
- "QT_NO_HEADER" => ["qheader.h", "QHeader foo;", 10],
- "QT_NO_HGROUPBOX" => ["qhgroupbox.h", "QHGroupBox foo;", 13],
- "QT_NO_ICONSET" => ["qiconset.h", "QIconSet foo;", 8],
+ "TQT_NO_GROUPBOX" => ["qgroupbox.h", "TQGroupBox foo;", 12],
+ "TQT_NO_HBOX" => ["qhbox.h", "TQHBox foo;", 12],
+ "TQT_NO_HBUTTONGROUP" => ["qhbuttongroup.h", "TQHButtonGroup foo;", 13],
+ "TQT_NO_HEADER" => ["qheader.h", "TQHeader foo;", 10],
+ "TQT_NO_HGROUPBOX" => ["qhgroupbox.h", "TQHGroupBox foo;", 13],
+ "TQT_NO_ICONSET" => ["qiconset.h", "TQIconSet foo;", 8],
- "QT_NO_ICONVIEW" => ["qiconview.h", "QIconView foo;", 13],
- "QT_NO_IMAGEFORMATPLUGIN" => ["qimageformatplugin.h, qstringlist.h", "QFoo foo;", 5, q£
+ "TQT_NO_ICONVIEW" => ["qiconview.h", "TQIconView foo;", 13],
+ "TQT_NO_IMAGEFORMATPLUGIN" => ["qimageformatplugin.h, qstringlist.h", "TQFoo foo;", 5, q£
- class QFoo: public QImageFormatPlugin
+ class TQFoo: public TQImageFormatPlugin
{
public:
- QFoo() {};
- ~QFoo() {};
- QStringList keys() const { return QStringList(); };
- bool installIOHandler( const QString &format ) { return true; };
+ TQFoo() {};
+ ~TQFoo() {};
+ TQStringList keys() const { return TQStringList(); };
+ bool installIOHandler( const TQString &format ) { return true; };
};
- Q_EXPORT_PLUGIN( QFoo )
+ TTQ_EXPORT_PLUGIN( TQFoo )
£],
- "QT_NO_IMAGE_DITHER_TO_1" => ["qimage.h", q£
- QImage *foo = new QImage;
+ "TQT_NO_IMAGE_DITHER_TO_1" => ["qimage.h", q£
+ TQImage *foo = new TQImage;
foo->createAlphaMask();
£, 8],
- "QT_NO_IMAGE_HEURISTIC_MASK" => ["qimage.h", q£
- QImage *foo = new QImage;
+ "TQT_NO_IMAGE_HEURISTIC_MASK" => ["qimage.h", q£
+ TQImage *foo = new TQImage;
foo->createHeuristicMask();
£, 8],
- "QT_NO_IMAGE_MIRROR" => ["qimage.h", q£
- QImage *foo = new QImage;
+ "TQT_NO_IMAGE_MIRROR" => ["qimage.h", q£
+ TQImage *foo = new TQImage;
foo->mirror();
£, 8],
- "QT_NO_IMAGE_SMOOTHSCALE" => ["qimage.h", q£
- QImage *foo = new QImage;
+ "TQT_NO_IMAGE_SMOOTHSCALE" => ["qimage.h", q£
+ TQImage *foo = new TQImage;
foo->smoothScale( 10, 10);
£, 8],
- "QT_NO_IMAGE_TEXT" => ["qimage.h", "QImageTextKeyLang foo;", 8],
- "QT_NO_IMAGE_TRANSFORMATION" => ["qimage.h", q£
- QImage *foo = new QImage;
+ "TQT_NO_IMAGE_TEXT" => ["qimage.h", "TQImageTextKeyLang foo;", 8],
+ "TQT_NO_IMAGE_TRANSFORMATION" => ["qimage.h", q£
+ TQImage *foo = new TQImage;
foo->scale( 10, 10);
£, 8],
- "QT_NO_IMAGE_TRUECOLOR" => ["qimage.h", q£
- QImage *foo = new QImage;
- foo->convertDepthWithPalette( 1, (QRgb*) NULL, 1 );
+ "TQT_NO_IMAGE_TRUECOLOR" => ["qimage.h", q£
+ TQImage *foo = new TQImage;
+ foo->convertDepthWithPalette( 1, (TQRgb*) NULL, 1 );
£, 8],
- "QT_NO_INPUTDIALOG" => ["qinputdialog.h, qstring.h", q£QInputDialog::getText( QString::null, QString::null);£, 13],
- "QT_NO_IMAGEIO" => ["qbitmap.h, qstring.h", q£
- QBitmap foo( QString::fromLatin1("foobar") );
+ "TQT_NO_INPUTDIALOG" => ["qinputdialog.h, qstring.h", q£TQInputDialog::getText( TQString::null, TQString::null);£, 13],
+ "TQT_NO_IMAGEIO" => ["qbitmap.h, qstring.h", q£
+ TQBitmap foo( TQString::fromLatin1("foobar") );
£, 5],
- "QT_NO_IMAGEIO_JPEG" => ["qjpegio.h", "qInitJpegIO();", 8],
- "QT_NO_IMAGEIO_MNG" => ["qmngio.h", "qInitMngIO();", 8],
- "QT_NO_IMAGEIO_PNG" => ["qpngio.h", "qInitPngIO();", 8],
- "QT_NO_LABEL" => ["qlabel.h", "QLabel foo( (QWidget*) NULL );", 10],
- "QT_NO_LAYOUT" => ["qlayout.h", "QFoo foo;", 10, q£
+ "TQT_NO_IMAGEIO_JPEG" => ["qjpegio.h", "qInitJpegIO();", 8],
+ "TQT_NO_IMAGEIO_MNG" => ["qmngio.h", "qInitMngIO();", 8],
+ "TQT_NO_IMAGEIO_PNG" => ["qpngio.h", "qInitPngIO();", 8],
+ "TQT_NO_LABEL" => ["qlabel.h", "TQLabel foo( (TQWidget*) NULL );", 10],
+ "TQT_NO_LAYOUT" => ["qlayout.h", "TQFoo foo;", 10, q£
- class QFoo: public QLayout
+ class TQFoo: public TQLayout
{
public:
- QFoo() {};
- ~QFoo() {};
- void addItem( QLayoutItem * ) { };
- QSize sizeHint() const { return QSize(); }
- QLayoutIterator iterator() { return QLayoutIterator( (QGLayoutIterator *) NULL ); };
- void setGeometry( const QRect & ) { };
+ TQFoo() {};
+ ~TQFoo() {};
+ void addItem( TQLayoutItem * ) { };
+ TQSize sizeHint() const { return TQSize(); }
+ TQLayoutIterator iterator() { return TQLayoutIterator( (TQGLayoutIterator *) NULL ); };
+ void setGeometry( const TQRect & ) { };
};
£],
- "QT_NO_LCDNUMBER" => ["qlcdnumber.h", "QLCDNumber foo;", 12],
- "QT_NO_LINEEDIT" => ["qlineedit.h", "QLineEdit foo( (QWidget *) NULL );", 12],
- "QT_NO_LISTBOX" => ["qlistbox.h", "QListBox foo;", 13],
- "QT_NO_LISTVIEW" => ["qlistview.h", "QListView foo;", 13],
- "QT_NO_MAINWINDOW" => ["qmainwindow.h", "QMainWindow foo;", 13],
- "QT_NO_MENUBAR" => ["qmenubar.h", "QMenuBar foo;", 13],
- "QT_NO_MOVIE" => ["qmovie.h", "QMovie foo;", 5],
- "QT_NO_MENUDATA" => ["qmenudata.h", "QMenuData foo;", 9],
- "QT_NO_MESSAGEBOX" => ["qmessagebox.h", "QMessageBox foo;", 13],
- "QT_NO_MIME" => ["qmime.h", "QMimeSourceFactory foo;", 5],
- "QT_NO_MIMECLIPBOARD" => ["qapplication.h, qclipboard.h", q£
- QApplication foo( argc, argv );
- QClipboard *baz= foo.clipboard();
+ "TQT_NO_LCDNUMBER" => ["qlcdnumber.h", "TQLCDNumber foo;", 12],
+ "TQT_NO_LINEEDIT" => ["qlineedit.h", "TQLineEdit foo( (TQWidget *) NULL );", 12],
+ "TQT_NO_LISTBOX" => ["qlistbox.h", "TQListBox foo;", 13],
+ "TQT_NO_LISTVIEW" => ["qlistview.h", "TQListView foo;", 13],
+ "TQT_NO_MAINWINDOW" => ["qmainwindow.h", "TQMainWindow foo;", 13],
+ "TQT_NO_MENUBAR" => ["qmenubar.h", "TQMenuBar foo;", 13],
+ "TQT_NO_MOVIE" => ["qmovie.h", "TQMovie foo;", 5],
+ "TQT_NO_MENUDATA" => ["qmenudata.h", "TQMenuData foo;", 9],
+ "TQT_NO_MESSAGEBOX" => ["qmessagebox.h", "TQMessageBox foo;", 13],
+ "TQT_NO_MIME" => ["qmime.h", "TQMimeSourceFactory foo;", 5],
+ "TQT_NO_MIMECLIPBOARD" => ["qapplication.h, qclipboard.h", q£
+ TQApplication foo( argc, argv );
+ TQClipboard *baz= foo.clipboard();
baz->data();
£, 8],
- "QT_NO_MULTILINEEDIT" => ["qmultilineedit.h", "QMultiLineEdit foo;", 14],
- "QT_NO_NETWORK" => ["qnetwork.h", "qInitNetworkProtocols();", 5],
- "QT_NO_NETWORKPROTOCOL" => ["qnetworkprotocol.h", "QNetworkProtocol foo;", 8],
- "QT_NO_NETWORKPROTOCOL_FTP" => ["qftp.h", "QFtp foo;", 9],
- "QT_NO_PALETTE" => ["qpalette.h", "QColorGroup foo;", 5],
- "QT_NO_PICTURE" => ["qpicture.h", "QPicture foo;", 5],
- "QT_NO_PIXMAP_TRANSFORMATION" =>["qbitmap.h, qwmatrix.h", q£
- QBitmap *foo= new QBitmap();
- QWMatrix bar;
+ "TQT_NO_MULTILINEEDIT" => ["qmultilineedit.h", "TQMultiLineEdit foo;", 14],
+ "TQT_NO_NETWORK" => ["qnetwork.h", "qInitNetworkProtocols();", 5],
+ "TQT_NO_NETWORKPROTOCOL" => ["qnetworkprotocol.h", "TQNetworkProtocol foo;", 8],
+ "TQT_NO_NETWORKPROTOCOL_FTP" => ["qftp.h", "TQFtp foo;", 9],
+ "TQT_NO_PALETTE" => ["qpalette.h", "TQColorGroup foo;", 5],
+ "TQT_NO_PICTURE" => ["qpicture.h", "TQPicture foo;", 5],
+ "TQT_NO_PIXMAP_TRANSFORMATION" =>["qbitmap.h, qwmatrix.h", q£
+ TQBitmap *foo= new TQBitmap();
+ TQWMatrix bar;
foo->xForm( bar );
£, 5],
- "QT_NO_POPUPMENU" => ["qpopupmenu.h", "QPopupMenu foo;", 12],
- "QT_NO_PRINTER" => ["qprinter.h", "QPrinter foo;", 5],
- "QT_NO_PRINTDIALOG" => ["qprintdialog.h", "QPrintDialog foo( (QPrinter*) NULL );", 13],
- "QT_NO_PROCESS" => ["qprocess.h", "QProcess foo;", 5],
- "QT_NO_PROGRESSBAR" => ["qprogressbar.h", "QProgressBar foo;", 12],
- "QT_NO_PROGRESSDIALOG" => ["qprogressdialog.h", "QProgressDialog foo;", 13],
- "QT_NO_PUSHBUTTON" => ["qpushbutton.h", "QPushButton foo( (QWidget *) NULL );", 12],
- "QT_NO_PROPERTIES" => ["qmetaobject.h", "QMetaProperty foo;", 0],
-# "QT_NO_QTMULTILINEEDIT" => ["qtmultilineedit.h", "QtMultiLineEdit foo;", 15],
-# "QT_NO_QTTABLEVIEW" => ["qttableview.h", "QFoo foo;", 16, q£
-# class QFoo: public QtTableView
+ "TQT_NO_POPUPMENU" => ["qpopupmenu.h", "TQPopupMenu foo;", 12],
+ "TQT_NO_PRINTER" => ["qprinter.h", "TQPrinter foo;", 5],
+ "TQT_NO_PRINTDIALOG" => ["qprintdialog.h", "TQPrintDialog foo( (TQPrinter*) NULL );", 13],
+ "TQT_NO_PROCESS" => ["qprocess.h", "TQProcess foo;", 5],
+ "TQT_NO_PROGRESSBAR" => ["qprogressbar.h", "TQProgressBar foo;", 12],
+ "TQT_NO_PROGRESSDIALOG" => ["qprogressdialog.h", "TQProgressDialog foo;", 13],
+ "TQT_NO_PUSHBUTTON" => ["qpushbutton.h", "TQPushButton foo( (TQWidget *) NULL );", 12],
+ "TQT_NO_PROPERTIES" => ["qmetaobject.h", "TQMetaProperty foo;", 0],
+# "TQT_NO_TQTMULTILINEEDIT" => ["qtmultilineedit.h", "TQtMultiLineEdit foo;", 15],
+# "TQT_NO_TQTTABLEVIEW" => ["qttableview.h", "TQFoo foo;", 16, q£
+# class TQFoo: public TQtTableView
# {
# public:
-# QFoo() {};
-# ~QFoo() {};
-# void paintCell( QPainter *, int, int) {};
+# TQFoo() {};
+# ~TQFoo() {};
+# void paintCell( TQPainter *, int, int) {};
# };
# £],
- "QT_NO_QUUID_STRING" => ["quuid.h", "QUuid foo( QString::null );", 8],
- "QT_NO_RANGECONTROL" => ["qrangecontrol.h", "QRangeControl foo;", 10],
- "QT_NO_REGEXP" => ["qregexp.h", "QRegExp foo;", 5],
- "QT_NO_REGEXP_WILDCARD" => ["qregexp.h", q£
- QRegExp foo;
+ "TQT_NO_TQUUID_STRING" => ["quuid.h", "TQUuid foo( TQString::null );", 8],
+ "TQT_NO_RANGECONTROL" => ["qrangecontrol.h", "TQRangeControl foo;", 10],
+ "TQT_NO_REGEXP" => ["qregexp.h", "TQRegExp foo;", 5],
+ "TQT_NO_REGEXP_WILDCARD" => ["qregexp.h", q£
+ TQRegExp foo;
foo.wildcard();
£, 8],
- "QT_NO_REMOTE" => ["qapplication.h", q£
- QApplication foo( argc, argv );
+ "TQT_NO_REMOTE" => ["qapplication.h", q£
+ TQApplication foo( argc, argv );
foo.remoteControlEnabled();
£, 15],
- "QT_NO_RADIOBUTTON" => ["qradiobutton.h", "QRadioButton foo( (QWidget *) NULL );", 12],
- "QT_NO_RICHTEXT" => ["qsimplerichtext.h, qstring.h, qfont.h", "QSimpleRichText foo( QString::null, QFont() );", 10],
- "QT_NO_SCROLLBAR" => ["qscrollbar.h", "QScrollBar foo( (QWidget *) NULL );", 12],
- "QT_NO_SCROLLVIEW" => ["qscrollview.h", "QScrollView foo;", 12],
- "QT_NO_SEMIMODAL" => ["qsemimodal.h", "QSemiModal foo;", 10],
- "QT_NO_SESSIONMANAGER" => ["qapplication.h", q£
- QApplication foo( argc, argv );
+ "TQT_NO_RADIOBUTTON" => ["qradiobutton.h", "TQRadioButton foo( (TQWidget *) NULL );", 12],
+ "TQT_NO_RICHTEXT" => ["qsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10],
+ "TQT_NO_SCROLLBAR" => ["qscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12],
+ "TQT_NO_SCROLLVIEW" => ["qscrollview.h", "TQScrollView foo;", 12],
+ "TQT_NO_SEMIMODAL" => ["qsemimodal.h", "TQSemiModal foo;", 10],
+ "TQT_NO_SESSIONMANAGER" => ["qapplication.h", q£
+ TQApplication foo( argc, argv );
foo.sessionId();
£, 15],
- "QT_NO_SETTINGS" => ["qsettings.h", "QSettings foo;", 5],
- "QT_NO_SIGNALMAPPER" => ["qsignalmapper.h", "QSignalMapper foo( (QObject *) NULL );", 0],
- "QT_NO_SIZEGRIP" => ["qsizegrip.h", "QSizeGrip foo( (QWidget *) NULL );", 10],
- "QT_NO_SLIDER" => ["qslider.h", "QSlider foo( (QWidget *) NULL );", 12],
- "QT_NO_SOUND" => ["qsound.h", "QSound foo( QString::null );", 5],
+ "TQT_NO_SETTINGS" => ["qsettings.h", "TQSettings foo;", 5],
+ "TQT_NO_SIGNALMAPPER" => ["qsignalmapper.h", "TQSignalMapper foo( (TQObject *) NULL );", 0],
+ "TQT_NO_SIZEGRIP" => ["qsizegrip.h", "TQSizeGrip foo( (TQWidget *) NULL );", 10],
+ "TQT_NO_SLIDER" => ["qslider.h", "TQSlider foo( (TQWidget *) NULL );", 12],
+ "TQT_NO_SOUND" => ["qsound.h", "TQSound foo( TQString::null );", 5],
- "QT_NO_SPINWIDGET" => ["qrangecontrol.h", "QSpinWidget foo;", 10],
- "QT_NO_SPRINTF" => ["qcolor.h", q£
- QColor foo;
+ "TQT_NO_SPINWIDGET" => ["qrangecontrol.h", "TQSpinWidget foo;", 10],
+ "TQT_NO_SPRINTF" => ["qcolor.h", q£
+ TQColor foo;
foo.name();
£, 0],
- "QT_NO_SQL" => ["qsqlcursor.h", "QSqlCursor foo;", 5],
- "QT_NO_STRINGLIST" => ["qstringlist.h", "QStringList foo;", 0],
- "QT_NO_STYLE" => ["qapplication.h", q£
- QApplication foo( argc, argv );
+ "TQT_NO_SQL" => ["qsqlcursor.h", "TQSqlCursor foo;", 5],
+ "TQT_NO_STRINGLIST" => ["qstringlist.h", "TQStringList foo;", 0],
+ "TQT_NO_STYLE" => ["qapplication.h", q£
+ TQApplication foo( argc, argv );
foo.style();
£, 15],
-# "QT_NO_STYLE_CDE" => ["qcdestyle.h", "QCDEStyle foo;", 16],
-# "QT_NO_STYLE_COMPACT" => ["qcompactstyle.h", "QCompactStyle foo;", 16],
-# "QT_NO_STYLE_INTERLACE" => ["qinterlacestyle.h", "QInterlaceStyle foo;", 16],
-# "QT_NO_STYLE_PLATINUM" => ["qplatinumstyle.h", "QPlatinumStyle foo;", 16],
-# "QT_NO_STYLE_MOTIF" => ["qmotifstyle.h", "QMotifStyle foo;", 16],
-# "QT_NO_STYLE_MOTIFPLUS" => ["qmotifplusstyle.h", "QMotifPlusStyle foo;", 16],
-# "QT_NO_STYLE_SGI" => ["qsgistyle.h", "QSGIStyle foo;", 16],
-# "QT_NO_STYLE_WINDOWS" => ["qwindowsstyle.h", "QWindowsStyle foo;", 16],
- "QT_NO_TABBAR" => ["qtabbar.h", "QTabBar foo;", 10],
- "QT_NO_TABDIALOG" => ["qtabdialog.h", "QTabDialog foo;", 12],
- "QT_NO_TABLE" => ["qtable.h", "QTable foo;", 10],
- "QT_NO_TABWIDGET" => ["qtabwidget.h", "QTabWidget foo;", 10],
- "QT_NO_TEXTBROWSER" => ["qtextbrowser.h", "QTextBrowser foo;", 14],
- "QT_NO_TEXTCODEC" => ["qtextcodec.h", "QTextCodec::codecForIndex(1);", 5],
- "QT_NO_TEXTCODECPLUGIN" => ["qtextcodecplugin.h, qstringlist.h, qvaluelist.h, qtextcodec.h", "QFoo foo;", 6, q£
+# "TQT_NO_STYLE_CDE" => ["qcdestyle.h", "TQCDEStyle foo;", 16],
+# "TQT_NO_STYLE_COMPACT" => ["qcompactstyle.h", "TQCompactStyle foo;", 16],
+# "TQT_NO_STYLE_INTERLACE" => ["qinterlacestyle.h", "TQInterlaceStyle foo;", 16],
+# "TQT_NO_STYLE_PLATINUM" => ["qplatinumstyle.h", "TQPlatinumStyle foo;", 16],
+# "TQT_NO_STYLE_MOTIF" => ["qmotifstyle.h", "TQMotifStyle foo;", 16],
+# "TQT_NO_STYLE_MOTIFPLUS" => ["qmotifplusstyle.h", "TQMotifPlusStyle foo;", 16],
+# "TQT_NO_STYLE_SGI" => ["qsgistyle.h", "TQSGIStyle foo;", 16],
+# "TQT_NO_STYLE_WINDOWS" => ["qwindowsstyle.h", "TQWindowsStyle foo;", 16],
+ "TQT_NO_TABBAR" => ["qtabbar.h", "TQTabBar foo;", 10],
+ "TQT_NO_TABDIALOG" => ["qtabdialog.h", "TQTabDialog foo;", 12],
+ "TQT_NO_TABLE" => ["qtable.h", "TQTable foo;", 10],
+ "TQT_NO_TABWIDGET" => ["qtabwidget.h", "TQTabWidget foo;", 10],
+ "TQT_NO_TEXTBROWSER" => ["qtextbrowser.h", "TQTextBrowser foo;", 14],
+ "TQT_NO_TEXTCODEC" => ["qtextcodec.h", "TQTextCodec::codecForIndex(1);", 5],
+ "TQT_NO_TEXTCODECPLUGIN" => ["qtextcodecplugin.h, qstringlist.h, qvaluelist.h, qtextcodec.h", "TQFoo foo;", 6, q£
- class QFoo: public QTextCodecPlugin
+ class TQFoo: public TQTextCodecPlugin
{
public:
- QFoo() {};
- ~QFoo() {};
- QStringList names() const {return QStringList();}
- QValueList<int>mibEnums() const {return QValueList<int>();}
- QTextCodec *createForName( const QString & name ) {return (QTextCodec *)NULL;}
- QTextCodec *createForMib( int mib ) {return (QTextCodec *)NULL;}
+ TQFoo() {};
+ ~TQFoo() {};
+ TQStringList names() const {return TQStringList();}
+ TQValueList<int>mibEnums() const {return TQValueList<int>();}
+ TQTextCodec *createForName( const TQString & name ) {return (TQTextCodec *)NULL;}
+ TQTextCodec *createForMib( int mib ) {return (TQTextCodec *)NULL;}
};
- Q_EXPORT_PLUGIN( QFoo )
+ TTQ_EXPORT_PLUGIN( TQFoo )
£],
- "QT_NO_TEXTEDIT" => ["qtextedit.h", "QTextEdit foo;", 13],
- "QT_NO_TEXTSTREAM" => ["qtextstream.h", "QTextStream foo;", 5],
- "QT_NO_TEXTVIEW" => ["qtextview.h", "QTextView foo;", 14], #Obsolete
- "QT_NO_TOOLBAR" => ["qtoolbar.h", "QToolBar foo;", 10],
- "QT_NO_TOOLBUTTON" => ["qtoolbutton.h", "QToolButton foo((QWidget *) NULL );", 12],
- "QT_NO_TOOLTIP" => ["qtooltip.h", "QToolTip::hide();", 10],
+ "TQT_NO_TEXTEDIT" => ["qtextedit.h", "TQTextEdit foo;", 13],
+ "TQT_NO_TEXTSTREAM" => ["qtextstream.h", "TQTextStream foo;", 5],
+ "TQT_NO_TEXTVIEW" => ["qtextview.h", "TQTextView foo;", 14], #Obsolete
+ "TQT_NO_TOOLBAR" => ["qtoolbar.h", "TQToolBar foo;", 10],
+ "TQT_NO_TOOLBUTTON" => ["qtoolbutton.h", "TQToolButton foo((TQWidget *) NULL );", 12],
+ "TQT_NO_TOOLTIP" => ["qtooltip.h", "TQToolTip::hide();", 10],
- "QT_NO_TRANSFORMATIONS" => ["qpainter.h", q£
- QPainter *foo= new QPainter();
+ "TQT_NO_TRANSFORMATIONS" => ["qpainter.h", q£
+ TQPainter *foo= new TQPainter();
foo->setViewXForm( true );£, 5],
- "QT_NO_VARIANT" => ["qvariant.h", "QVariant foo;", 0],
- "QT_NO_WHATSTHIS" => ["qwhatsthis.h", "QWhatsThis::inWhatsThisMode();", 10],
- "QT_NO_WHEELEVENT" => ["qevent.h", "QWheelEvent foo( QPoint(1,1), 1, 1 );", 5],
- "QT_NO_WIDGET_TOPEXTRA" => ["qwidget.h", "QWidget foo; foo.caption();", 9],
- "QT_NO_WIDGETSTACK" => ["qwidgetstack.h", "QWidgetStack foo;", 13],
- "QT_NO_WIZARD" => ["qwizard.h", "QWizard foo;", 13],
- "QT_NO_WMATRIX" => ["qwmatrix.h", "QWMatrix foo;", 0],
- "QT_NO_XML" => ["qxml.h", "QXmlNamespaceSupport foo;", 5],
+ "TQT_NO_VARIANT" => ["qvariant.h", "TQVariant foo;", 0],
+ "TQT_NO_WHATSTHIS" => ["qwhatsthis.h", "TQWhatsThis::inWhatsThisMode();", 10],
+ "TQT_NO_WHEELEVENT" => ["qevent.h", "TQWheelEvent foo( TQPoint(1,1), 1, 1 );", 5],
+ "TQT_NO_WIDGET_TOPEXTRA" => ["qwidget.h", "TQWidget foo; foo.caption();", 9],
+ "TQT_NO_WIDGETSTACK" => ["qwidgetstack.h", "TQWidgetStack foo;", 13],
+ "TQT_NO_WIZARD" => ["qwizard.h", "TQWizard foo;", 13],
+ "TQT_NO_WMATRIX" => ["qwmatrix.h", "TQWMatrix foo;", 0],
+ "TQT_NO_XML" => ["qxml.h", "TQXmlNamespaceSupport foo;", 5],
);
}