diff options
Diffstat (limited to 'smoke')
-rw-r--r-- | smoke/kde/generate.pl.in | 2 | ||||
-rw-r--r-- | smoke/kde/qt_smoke.h | 2 | ||||
-rw-r--r-- | smoke/kde/qtguess.pl.in | 332 | ||||
-rw-r--r-- | smoke/qt/Makefile.am | 2 | ||||
-rw-r--r-- | smoke/qt/configure.in.in | 12 | ||||
-rw-r--r-- | smoke/qt/generate.pl.in | 2 | ||||
-rw-r--r-- | smoke/qt/qt_smoke.h | 2 | ||||
-rw-r--r-- | smoke/qt/qtguess.pl.in | 332 | ||||
-rw-r--r-- | smoke/smoke.h | 4 |
9 files changed, 345 insertions, 345 deletions
diff --git a/smoke/kde/generate.pl.in b/smoke/kde/generate.pl.in index f4cfde2a..04ef4f90 100644 --- a/smoke/kde/generate.pl.in +++ b/smoke/kde/generate.pl.in @@ -138,7 +138,7 @@ if("@KDE_HAVE_GL@" eq "yes") } else { - print STDERR "Qt was not compiled with OpenGL support...\n Skipping QGL Classes.\n"; + print STDERR "Qt was not compiled with OpenGL support...\n Skipping TQGL Classes.\n"; } } diff --git a/smoke/kde/qt_smoke.h b/smoke/kde/qt_smoke.h index 22d8d231..8859c243 100644 --- a/smoke/kde/qt_smoke.h +++ b/smoke/kde/qt_smoke.h @@ -4,6 +4,6 @@ // 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/kde/qtguess.pl.in b/smoke/kde/qtguess.pl.in index 389129d7..6fc8ac8d 100644 --- a/smoke/kde/qtguess.pl.in +++ b/smoke/kde/qtguess.pl.in @@ -5,7 +5,7 @@ # author: germain Garand <germain@ebooksfrance.com> # licence: GPL v.2 -# options: -q: be quieter +# options: -q: be tquieter # -o file: redirect output to "file". (default: ./qtdefines) # -t [0..15]: set the testing threshold (see below) # -f "flags": additional compiler flags/parameters @@ -66,7 +66,7 @@ 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; #--------------------------------------------------------------# @@ -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_ACCEL" => ["qaccel.h", "TQAccel foo( (TQWidget*)NULL );", 5], + "QT_NO_ACTION" => ["qaction.h", "TQAction foo( (TQObject*)NULL );", 5], + "QT_NO_ASYNC_IO" => ["qasyncio.h", "TQAsyncIO foo();", 5], + "QT_NO_ASYNC_IMAGE_IO"=> ["qasyncimageio.h", "TQImageDecoder foo( (TQImageConsumer*) NULL );", 5], + "QT_NO_BIG_CODECS" => ["qbig5codec.h", "TQBig5Codec foo();", 5], + "QT_NO_BUTTON" => ["qbutton.h", "TQButton foo( (TQWidget*)NULL );", 10], + "QT_NO_BUTTONGROUP" => ["qbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12], + "QT_NO_CANVAS" => ["qcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10], + "QT_NO_CHECKBOX" => ["qcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10], "QT_NO_CLIPBOARD" => ["qapplication.h, qclipboard.h", q£ - QApplication foo( argc, argv ); - QClipboard *baz= foo.clipboard(); + 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_COLORDIALOG" => ["qcolordialog.h", "TQColorDialog::customCount();", 12], + "QT_NO_COMBOBOX" => ["qcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10], "QT_NO_COMPAT" => ["qfontmetrics.h", q£ - QFontMetrics *foo= new QFontMetrics( QFont() ); + 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 ); + 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 + "QT_NO_CURSOR" => ["qcursor.h", "TQCursor foo;", 5], + "QT_NO_DATASTREAM" => ["qdatastream.h", "TQDataStream foo;", 5], + "QT_NO_DATETIMEEDIT" => ["qdatetimeedit.h", "TQTimeEdit foo;", 12], + "QT_NO_DIAL" => ["qdial.h", "TQDial foo;", 10], + "QT_NO_DIALOG" => ["qdialog.h", "TQDialog foo;", 12], + "QT_NO_DIR" => ["qdir.h", "TQDir foo;", 5], + "QT_NO_DNS" => ["qdns.h", "TQDns foo;", 5], + "QT_NO_DOM" => ["qdom.h", "TQDomDocumentType foo;", 5], + "QT_NO_DRAGANDDROP" => ["qevent.h", "TQDropEvent foo( TQPoint(1,1) );", 5], + "QT_NO_DRAWUTIL" => ["qdrawutil.h, qcolor.h", "qDrawPlainRect( (TQPainter *) NULL, 0, 0, 0, 0, TQColor() );", 10], + "QT_NO_ERRORMESSAGE" => ["qerrormessage.h", "TQErrorMessage foo( (TQWidget*) NULL );", 13], + "QT_NO_FILEDIALOG" => ["qfiledialog.h", "TQFileIconProvider foo;", 13], + + "QT_NO_FONTDATABASE" => ["qfontdatabase.h", "TQFontDatabase foo;", 5], + "QT_NO_FONTDIALOG" => ["qfontdialog.h", "TQFontDialog::getFont( (bool *)NULL );", 12], + "QT_NO_FRAME" => ["qframe.h", "TQFrame foo;", 10], + "QT_NO_GRID" => ["qgrid.h", "TQGrid foo(5);", 12], + "QT_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], + "QT_NO_GROUPBOX" => ["qgroupbox.h", "TQGroupBox foo;", 12], + "QT_NO_HBOX" => ["qhbox.h", "TQHBox foo;", 12], + "QT_NO_HBUTTONGROUP" => ["qhbuttongroup.h", "TQHButtonGroup foo;", 13], + "QT_NO_HEADER" => ["qheader.h", "TQHeader foo;", 10], + "QT_NO_HGROUPBOX" => ["qhgroupbox.h", "TQHGroupBox foo;", 13], + "QT_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£ + "QT_NO_ICONVIEW" => ["qiconview.h", "TQIconView foo;", 13], + "QT_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 ) + Q_EXPORT_PLUGIN( TQFoo ) £], "QT_NO_IMAGE_DITHER_TO_1" => ["qimage.h", q£ - QImage *foo = new QImage; + TQImage *foo = new TQImage; foo->createAlphaMask(); £, 8], "QT_NO_IMAGE_HEURISTIC_MASK" => ["qimage.h", q£ - QImage *foo = new QImage; + TQImage *foo = new TQImage; foo->createHeuristicMask(); £, 8], "QT_NO_IMAGE_MIRROR" => ["qimage.h", q£ - QImage *foo = new QImage; + TQImage *foo = new TQImage; foo->mirror(); £, 8], "QT_NO_IMAGE_SMOOTHSCALE" => ["qimage.h", q£ - QImage *foo = new QImage; + TQImage *foo = new TQImage; foo->smoothScale( 10, 10); £, 8], - "QT_NO_IMAGE_TEXT" => ["qimage.h", "QImageTextKeyLang foo;", 8], + "QT_NO_IMAGE_TEXT" => ["qimage.h", "TQImageTextKeyLang foo;", 8], "QT_NO_IMAGE_TRANSFORMATION" => ["qimage.h", q£ - QImage *foo = new QImage; + 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 ); + 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_INPUTDIALOG" => ["qinputdialog.h, qstring.h", q£QInputDialog::getText( TQString::null, TQString::null);£, 13], "QT_NO_IMAGEIO" => ["qbitmap.h, qstring.h", q£ - QBitmap foo( QString::fromLatin1("foobar") ); + 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£ + "QT_NO_LABEL" => ["qlabel.h", "TQLabel foo( (TQWidget*) NULL );", 10], + "QT_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_LCDNUMBER" => ["qlcdnumber.h", "TQLCDNumber foo;", 12], + "QT_NO_LINEEDIT" => ["qlineedit.h", "TQLineEdit foo( (TQWidget *) NULL );", 12], + "QT_NO_LISTBOX" => ["qlistbox.h", "TQListBox foo;", 13], + "QT_NO_LISTVIEW" => ["qlistview.h", "TQListView foo;", 13], + "QT_NO_MAINWINDOW" => ["qmainwindow.h", "TQMainWindow foo;", 13], + "QT_NO_MENUBAR" => ["qmenubar.h", "TQMenuBar foo;", 13], + "QT_NO_MOVIE" => ["qmovie.h", "TQMovie foo;", 5], + "QT_NO_MENUDATA" => ["qmenudata.h", "TQMenuData foo;", 9], + "QT_NO_MESSAGEBOX" => ["qmessagebox.h", "TQMessageBox foo;", 13], + "QT_NO_MIME" => ["qmime.h", "TQMimeSourceFactory foo;", 5], "QT_NO_MIMECLIPBOARD" => ["qapplication.h, qclipboard.h", q£ - QApplication foo( argc, argv ); - QClipboard *baz= foo.clipboard(); + TQApplication foo( argc, argv ); + TQClipboard *baz= foo.clipboard(); baz->data(); £, 8], - "QT_NO_MULTILINEEDIT" => ["qmultilineedit.h", "QMultiLineEdit foo;", 14], + "QT_NO_MULTILINEEDIT" => ["qmultilineedit.h", "TQMultiLineEdit 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_NETWORKPROTOCOL" => ["qnetworkprotocol.h", "TQNetworkProtocol foo;", 8], + "QT_NO_NETWORKPROTOCOL_FTP" => ["qftp.h", "TQFtp foo;", 9], + "QT_NO_PALETTE" => ["qpalette.h", "TQColorGroup foo;", 5], + "QT_NO_PICTURE" => ["qpicture.h", "TQPicture foo;", 5], "QT_NO_PIXMAP_TRANSFORMATION" =>["qbitmap.h, qwmatrix.h", q£ - QBitmap *foo= new QBitmap(); - QWMatrix bar; + 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_POPUPMENU" => ["qpopupmenu.h", "TQPopupMenu foo;", 12], + "QT_NO_PRINTER" => ["qprinter.h", "TQPrinter foo;", 5], + "QT_NO_PRINTDIALOG" => ["qprintdialog.h", "TQPrintDialog foo( (TQPrinter*) NULL );", 13], + "QT_NO_PROCESS" => ["qprocess.h", "TQProcess foo;", 5], + "QT_NO_PROGRESSBAR" => ["qprogressbar.h", "TQProgressBar foo;", 12], + "QT_NO_PROGRESSDIALOG" => ["qprogressdialog.h", "TQProgressDialog foo;", 13], + "QT_NO_PUSHBUTTON" => ["qpushbutton.h", "TQPushButton foo( (TQWidget *) NULL );", 12], + "QT_NO_PROPERTIES" => ["qmetaobject.h", "TQMetaProperty foo;", 0], # "QT_NO_QTMULTILINEEDIT" => ["qtmultilineedit.h", "QtMultiLineEdit foo;", 15], -# "QT_NO_QTTABLEVIEW" => ["qttableview.h", "QFoo foo;", 16, q£ -# class QFoo: public QtTableView +# "QT_NO_QTTABLEVIEW" => ["qttableview.h", "TQFoo foo;", 16, q£ +# class TQFoo: public QtTableView # { # 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_QUUID_STRING" => ["quuid.h", "TQUuid foo( TQString::null );", 8], + "QT_NO_RANGECONTROL" => ["qrangecontrol.h", "TQRangeControl foo;", 10], + "QT_NO_REGEXP" => ["qregexp.h", "TQRegExp foo;", 5], "QT_NO_REGEXP_WILDCARD" => ["qregexp.h", q£ - QRegExp foo; + TQRegExp foo; foo.wildcard(); £, 8], "QT_NO_REMOTE" => ["qapplication.h", q£ - QApplication foo( argc, argv ); + 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_RADIOBUTTON" => ["qradiobutton.h", "TQRadioButton foo( (TQWidget *) NULL );", 12], + "QT_NO_RICHTEXT" => ["qsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10], + "QT_NO_SCROLLBAR" => ["qscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12], + "QT_NO_SCROLLVIEW" => ["qscrollview.h", "TQScrollView foo;", 12], + "QT_NO_SEMIMODAL" => ["qsemimodal.h", "TQSemiModal foo;", 10], "QT_NO_SESSIONMANAGER" => ["qapplication.h", q£ - QApplication foo( argc, argv ); + 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], + "QT_NO_SETTINGS" => ["qsettings.h", "TQSettings foo;", 5], + "QT_NO_SIGNALMAPPER" => ["qsignalmapper.h", "TQSignalMapper foo( (TQObject *) NULL );", 0], + "QT_NO_SIZEGRIP" => ["qsizegrip.h", "TQSizeGrip foo( (TQWidget *) NULL );", 10], + "QT_NO_SLIDER" => ["qslider.h", "TQSlider foo( (TQWidget *) NULL );", 12], + "QT_NO_SOUND" => ["qsound.h", "TQSound foo( TQString::null );", 5], - "QT_NO_SPINWIDGET" => ["qrangecontrol.h", "QSpinWidget foo;", 10], + "QT_NO_SPINWIDGET" => ["qrangecontrol.h", "TQSpinWidget foo;", 10], "QT_NO_SPRINTF" => ["qcolor.h", q£ - QColor foo; + TQColor foo; foo.name(); £, 0], - "QT_NO_SQL" => ["qsqlcursor.h", "QSqlCursor foo;", 5], - "QT_NO_STRINGLIST" => ["qstringlist.h", "QStringList foo;", 0], + "QT_NO_SQL" => ["qsqlcursor.h", "TQSqlCursor foo;", 5], + "QT_NO_STRINGLIST" => ["qstringlist.h", "TQStringList foo;", 0], "QT_NO_STYLE" => ["qapplication.h", q£ - QApplication foo( argc, argv ); + 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£ +# "QT_NO_STYLE_CDE" => ["qcdestyle.h", "TQCDEStyle foo;", 16], +# "QT_NO_STYLE_COMPACT" => ["qcompactstyle.h", "TQCompactStyle foo;", 16], +# "QT_NO_STYLE_INTERLACE" => ["qinterlacestyle.h", "TQInterlaceStyle foo;", 16], +# "QT_NO_STYLE_PLATINUM" => ["qplatinumstyle.h", "TQPlatinumStyle foo;", 16], +# "QT_NO_STYLE_MOTIF" => ["qmotifstyle.h", "TQMotifStyle foo;", 16], +# "QT_NO_STYLE_MOTIFPLUS" => ["qmotifplusstyle.h", "TQMotifPlusStyle foo;", 16], +# "QT_NO_STYLE_SGI" => ["qsgistyle.h", "TQSGIStyle foo;", 16], +# "QT_NO_STYLE_WINDOWS" => ["qwindowsstyle.h", "TQWindowsStyle foo;", 16], + "QT_NO_TABBAR" => ["qtabbar.h", "TQTabBar foo;", 10], + "QT_NO_TABDIALOG" => ["qtabdialog.h", "TQTabDialog foo;", 12], + "QT_NO_TABLE" => ["qtable.h", "TQTable foo;", 10], + "QT_NO_TABWIDGET" => ["qtabwidget.h", "TQTabWidget foo;", 10], + "QT_NO_TEXTBROWSER" => ["qtextbrowser.h", "TQTextBrowser foo;", 14], + "QT_NO_TEXTCODEC" => ["qtextcodec.h", "TQTextCodec::codecForIndex(1);", 5], + "QT_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 ) + Q_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], + "QT_NO_TEXTEDIT" => ["qtextedit.h", "TQTextEdit foo;", 13], + "QT_NO_TEXTSTREAM" => ["qtextstream.h", "TQTextStream foo;", 5], + "QT_NO_TEXTVIEW" => ["qtextview.h", "TQTextView foo;", 14], #Obsolete + "QT_NO_TOOLBAR" => ["qtoolbar.h", "TQToolBar foo;", 10], + "QT_NO_TOOLBUTTON" => ["qtoolbutton.h", "TQToolButton foo((TQWidget *) NULL );", 12], + "QT_NO_TOOLTIP" => ["qtooltip.h", "TQToolTip::hide();", 10], "QT_NO_TRANSFORMATIONS" => ["qpainter.h", q£ - QPainter *foo= new QPainter(); + 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], + "QT_NO_VARIANT" => ["qvariant.h", "TQVariant foo;", 0], + "QT_NO_WHATSTHIS" => ["qwhatsthis.h", "TQWhatsThis::inWhatsThisMode();", 10], + "QT_NO_WHEELEVENT" => ["qevent.h", "TQWheelEvent foo( TQPoint(1,1), 1, 1 );", 5], + "QT_NO_WIDGET_TOPEXTRA" => ["qwidget.h", "TQWidget foo; foo.caption();", 9], + "QT_NO_WIDGETSTACK" => ["qwidgetstack.h", "TQWidgetStack foo;", 13], + "QT_NO_WIZARD" => ["qwizard.h", "TQWizard foo;", 13], + "QT_NO_WMATRIX" => ["qwmatrix.h", "TQWMatrix foo;", 0], + "QT_NO_XML" => ["qxml.h", "TQXmlNamespaceSupport foo;", 5], ); } diff --git a/smoke/qt/Makefile.am b/smoke/qt/Makefile.am index 343f7704..9be641f0 100644 --- a/smoke/qt/Makefile.am +++ b/smoke/qt/Makefile.am @@ -9,7 +9,7 @@ EXTRA_DIST=generate.pl.in qtguess.pl.in qt_smoke.h Makefile.am libsmokeqt_la_LDFLAGS = -version-info 3:2:2 -no-undefined $(all_libraries) $(GLINC) # the libraries to link against. -libsmokeqt_la_LIBADD = $(LIB_QT) $(GLLIB) $(LIBQSCINTILLA) +libsmokeqt_la_LIBADD = $(LIB_QT) $(GLLIB) $(LIBTQSCINTILLA) x_sources = x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp \ x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp \ diff --git a/smoke/qt/configure.in.in b/smoke/qt/configure.in.in index 688e3c81..5c2b2faf 100644 --- a/smoke/qt/configure.in.in +++ b/smoke/qt/configure.in.in @@ -27,12 +27,12 @@ if test "X$kde_build_libsmoke" = "Xqt" -o "X$kde_build_libsmoke" = "Xqt kde"; th fi dnl ------- -dnl Test for libqscintilla (QScintilla support) +dnl Test for libqscintilla (TQScintilla support) dnl ------- AC_ARG_ENABLE( qscintilla, - [ --enable-qscintilla@<:@=yes|no@:>@ Smoke: build Smoke with QScintilla extention for qt @<:@default:no@:>@], + [ --enable-qscintilla@<:@=yes|no@:>@ Smoke: build Smoke with TQScintilla extention for qt @<:@default:no@:>@], [ qtextscintilla="$enableval" ], [ qtextscintilla="no" ] ) @@ -66,15 +66,15 @@ AC_TRY_LINK([ ]) if test ! "$ac_cv_lib_qscintilla" = no; then - AC_DEFINE_UNQUOTED(HAVE_LIBQSCINTILLA, 1, [Define if you have libqscintilla]) - LIBQSCINTILLA="$ac_cv_lib_qscintilla" + AC_DEFINE_UNTQUOTED(HAVE_LIBTQSCINTILLA, 1, [Define if you have libqscintilla]) + LIBTQSCINTILLA="$ac_cv_lib_qscintilla" AC_MSG_RESULT($ac_cv_lib_qscintilla) else AC_MSG_ERROR(not found. Check your installation and look into config.log) - LIBQSCINTILLA="" + LIBTQSCINTILLA="" fi -AC_SUBST(LIBQSCINTILLA) +AC_SUBST(LIBTQSCINTILLA) ]) if test "X$qtextscintilla" = "Xyes" ; then diff --git a/smoke/qt/generate.pl.in b/smoke/qt/generate.pl.in index 82d8e5ee..b2f511b4 100644 --- a/smoke/qt/generate.pl.in +++ b/smoke/qt/generate.pl.in @@ -108,7 +108,7 @@ if("@KDE_HAVE_GL@" eq "yes") } else { - print STDERR "Qt was not compiled with OpenGL support...\n Skipping QGL Classes.\n"; + print STDERR "Qt was not compiled with OpenGL support...\n Skipping TQGL Classes.\n"; } } diff --git a/smoke/qt/qt_smoke.h b/smoke/qt/qt_smoke.h index 22d8d231..8859c243 100644 --- a/smoke/qt/qt_smoke.h +++ b/smoke/qt/qt_smoke.h @@ -4,6 +4,6 @@ // 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 389129d7..6fc8ac8d 100644 --- a/smoke/qt/qtguess.pl.in +++ b/smoke/qt/qtguess.pl.in @@ -5,7 +5,7 @@ # author: germain Garand <germain@ebooksfrance.com> # licence: GPL v.2 -# options: -q: be quieter +# options: -q: be tquieter # -o file: redirect output to "file". (default: ./qtdefines) # -t [0..15]: set the testing threshold (see below) # -f "flags": additional compiler flags/parameters @@ -66,7 +66,7 @@ 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; #--------------------------------------------------------------# @@ -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_ACCEL" => ["qaccel.h", "TQAccel foo( (TQWidget*)NULL );", 5], + "QT_NO_ACTION" => ["qaction.h", "TQAction foo( (TQObject*)NULL );", 5], + "QT_NO_ASYNC_IO" => ["qasyncio.h", "TQAsyncIO foo();", 5], + "QT_NO_ASYNC_IMAGE_IO"=> ["qasyncimageio.h", "TQImageDecoder foo( (TQImageConsumer*) NULL );", 5], + "QT_NO_BIG_CODECS" => ["qbig5codec.h", "TQBig5Codec foo();", 5], + "QT_NO_BUTTON" => ["qbutton.h", "TQButton foo( (TQWidget*)NULL );", 10], + "QT_NO_BUTTONGROUP" => ["qbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12], + "QT_NO_CANVAS" => ["qcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10], + "QT_NO_CHECKBOX" => ["qcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10], "QT_NO_CLIPBOARD" => ["qapplication.h, qclipboard.h", q£ - QApplication foo( argc, argv ); - QClipboard *baz= foo.clipboard(); + 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_COLORDIALOG" => ["qcolordialog.h", "TQColorDialog::customCount();", 12], + "QT_NO_COMBOBOX" => ["qcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10], "QT_NO_COMPAT" => ["qfontmetrics.h", q£ - QFontMetrics *foo= new QFontMetrics( QFont() ); + 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 ); + 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 + "QT_NO_CURSOR" => ["qcursor.h", "TQCursor foo;", 5], + "QT_NO_DATASTREAM" => ["qdatastream.h", "TQDataStream foo;", 5], + "QT_NO_DATETIMEEDIT" => ["qdatetimeedit.h", "TQTimeEdit foo;", 12], + "QT_NO_DIAL" => ["qdial.h", "TQDial foo;", 10], + "QT_NO_DIALOG" => ["qdialog.h", "TQDialog foo;", 12], + "QT_NO_DIR" => ["qdir.h", "TQDir foo;", 5], + "QT_NO_DNS" => ["qdns.h", "TQDns foo;", 5], + "QT_NO_DOM" => ["qdom.h", "TQDomDocumentType foo;", 5], + "QT_NO_DRAGANDDROP" => ["qevent.h", "TQDropEvent foo( TQPoint(1,1) );", 5], + "QT_NO_DRAWUTIL" => ["qdrawutil.h, qcolor.h", "qDrawPlainRect( (TQPainter *) NULL, 0, 0, 0, 0, TQColor() );", 10], + "QT_NO_ERRORMESSAGE" => ["qerrormessage.h", "TQErrorMessage foo( (TQWidget*) NULL );", 13], + "QT_NO_FILEDIALOG" => ["qfiledialog.h", "TQFileIconProvider foo;", 13], + + "QT_NO_FONTDATABASE" => ["qfontdatabase.h", "TQFontDatabase foo;", 5], + "QT_NO_FONTDIALOG" => ["qfontdialog.h", "TQFontDialog::getFont( (bool *)NULL );", 12], + "QT_NO_FRAME" => ["qframe.h", "TQFrame foo;", 10], + "QT_NO_GRID" => ["qgrid.h", "TQGrid foo(5);", 12], + "QT_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], + "QT_NO_GROUPBOX" => ["qgroupbox.h", "TQGroupBox foo;", 12], + "QT_NO_HBOX" => ["qhbox.h", "TQHBox foo;", 12], + "QT_NO_HBUTTONGROUP" => ["qhbuttongroup.h", "TQHButtonGroup foo;", 13], + "QT_NO_HEADER" => ["qheader.h", "TQHeader foo;", 10], + "QT_NO_HGROUPBOX" => ["qhgroupbox.h", "TQHGroupBox foo;", 13], + "QT_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£ + "QT_NO_ICONVIEW" => ["qiconview.h", "TQIconView foo;", 13], + "QT_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 ) + Q_EXPORT_PLUGIN( TQFoo ) £], "QT_NO_IMAGE_DITHER_TO_1" => ["qimage.h", q£ - QImage *foo = new QImage; + TQImage *foo = new TQImage; foo->createAlphaMask(); £, 8], "QT_NO_IMAGE_HEURISTIC_MASK" => ["qimage.h", q£ - QImage *foo = new QImage; + TQImage *foo = new TQImage; foo->createHeuristicMask(); £, 8], "QT_NO_IMAGE_MIRROR" => ["qimage.h", q£ - QImage *foo = new QImage; + TQImage *foo = new TQImage; foo->mirror(); £, 8], "QT_NO_IMAGE_SMOOTHSCALE" => ["qimage.h", q£ - QImage *foo = new QImage; + TQImage *foo = new TQImage; foo->smoothScale( 10, 10); £, 8], - "QT_NO_IMAGE_TEXT" => ["qimage.h", "QImageTextKeyLang foo;", 8], + "QT_NO_IMAGE_TEXT" => ["qimage.h", "TQImageTextKeyLang foo;", 8], "QT_NO_IMAGE_TRANSFORMATION" => ["qimage.h", q£ - QImage *foo = new QImage; + 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 ); + 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_INPUTDIALOG" => ["qinputdialog.h, qstring.h", q£QInputDialog::getText( TQString::null, TQString::null);£, 13], "QT_NO_IMAGEIO" => ["qbitmap.h, qstring.h", q£ - QBitmap foo( QString::fromLatin1("foobar") ); + 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£ + "QT_NO_LABEL" => ["qlabel.h", "TQLabel foo( (TQWidget*) NULL );", 10], + "QT_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_LCDNUMBER" => ["qlcdnumber.h", "TQLCDNumber foo;", 12], + "QT_NO_LINEEDIT" => ["qlineedit.h", "TQLineEdit foo( (TQWidget *) NULL );", 12], + "QT_NO_LISTBOX" => ["qlistbox.h", "TQListBox foo;", 13], + "QT_NO_LISTVIEW" => ["qlistview.h", "TQListView foo;", 13], + "QT_NO_MAINWINDOW" => ["qmainwindow.h", "TQMainWindow foo;", 13], + "QT_NO_MENUBAR" => ["qmenubar.h", "TQMenuBar foo;", 13], + "QT_NO_MOVIE" => ["qmovie.h", "TQMovie foo;", 5], + "QT_NO_MENUDATA" => ["qmenudata.h", "TQMenuData foo;", 9], + "QT_NO_MESSAGEBOX" => ["qmessagebox.h", "TQMessageBox foo;", 13], + "QT_NO_MIME" => ["qmime.h", "TQMimeSourceFactory foo;", 5], "QT_NO_MIMECLIPBOARD" => ["qapplication.h, qclipboard.h", q£ - QApplication foo( argc, argv ); - QClipboard *baz= foo.clipboard(); + TQApplication foo( argc, argv ); + TQClipboard *baz= foo.clipboard(); baz->data(); £, 8], - "QT_NO_MULTILINEEDIT" => ["qmultilineedit.h", "QMultiLineEdit foo;", 14], + "QT_NO_MULTILINEEDIT" => ["qmultilineedit.h", "TQMultiLineEdit 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_NETWORKPROTOCOL" => ["qnetworkprotocol.h", "TQNetworkProtocol foo;", 8], + "QT_NO_NETWORKPROTOCOL_FTP" => ["qftp.h", "TQFtp foo;", 9], + "QT_NO_PALETTE" => ["qpalette.h", "TQColorGroup foo;", 5], + "QT_NO_PICTURE" => ["qpicture.h", "TQPicture foo;", 5], "QT_NO_PIXMAP_TRANSFORMATION" =>["qbitmap.h, qwmatrix.h", q£ - QBitmap *foo= new QBitmap(); - QWMatrix bar; + 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_POPUPMENU" => ["qpopupmenu.h", "TQPopupMenu foo;", 12], + "QT_NO_PRINTER" => ["qprinter.h", "TQPrinter foo;", 5], + "QT_NO_PRINTDIALOG" => ["qprintdialog.h", "TQPrintDialog foo( (TQPrinter*) NULL );", 13], + "QT_NO_PROCESS" => ["qprocess.h", "TQProcess foo;", 5], + "QT_NO_PROGRESSBAR" => ["qprogressbar.h", "TQProgressBar foo;", 12], + "QT_NO_PROGRESSDIALOG" => ["qprogressdialog.h", "TQProgressDialog foo;", 13], + "QT_NO_PUSHBUTTON" => ["qpushbutton.h", "TQPushButton foo( (TQWidget *) NULL );", 12], + "QT_NO_PROPERTIES" => ["qmetaobject.h", "TQMetaProperty foo;", 0], # "QT_NO_QTMULTILINEEDIT" => ["qtmultilineedit.h", "QtMultiLineEdit foo;", 15], -# "QT_NO_QTTABLEVIEW" => ["qttableview.h", "QFoo foo;", 16, q£ -# class QFoo: public QtTableView +# "QT_NO_QTTABLEVIEW" => ["qttableview.h", "TQFoo foo;", 16, q£ +# class TQFoo: public QtTableView # { # 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_QUUID_STRING" => ["quuid.h", "TQUuid foo( TQString::null );", 8], + "QT_NO_RANGECONTROL" => ["qrangecontrol.h", "TQRangeControl foo;", 10], + "QT_NO_REGEXP" => ["qregexp.h", "TQRegExp foo;", 5], "QT_NO_REGEXP_WILDCARD" => ["qregexp.h", q£ - QRegExp foo; + TQRegExp foo; foo.wildcard(); £, 8], "QT_NO_REMOTE" => ["qapplication.h", q£ - QApplication foo( argc, argv ); + 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_RADIOBUTTON" => ["qradiobutton.h", "TQRadioButton foo( (TQWidget *) NULL );", 12], + "QT_NO_RICHTEXT" => ["qsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10], + "QT_NO_SCROLLBAR" => ["qscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12], + "QT_NO_SCROLLVIEW" => ["qscrollview.h", "TQScrollView foo;", 12], + "QT_NO_SEMIMODAL" => ["qsemimodal.h", "TQSemiModal foo;", 10], "QT_NO_SESSIONMANAGER" => ["qapplication.h", q£ - QApplication foo( argc, argv ); + 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], + "QT_NO_SETTINGS" => ["qsettings.h", "TQSettings foo;", 5], + "QT_NO_SIGNALMAPPER" => ["qsignalmapper.h", "TQSignalMapper foo( (TQObject *) NULL );", 0], + "QT_NO_SIZEGRIP" => ["qsizegrip.h", "TQSizeGrip foo( (TQWidget *) NULL );", 10], + "QT_NO_SLIDER" => ["qslider.h", "TQSlider foo( (TQWidget *) NULL );", 12], + "QT_NO_SOUND" => ["qsound.h", "TQSound foo( TQString::null );", 5], - "QT_NO_SPINWIDGET" => ["qrangecontrol.h", "QSpinWidget foo;", 10], + "QT_NO_SPINWIDGET" => ["qrangecontrol.h", "TQSpinWidget foo;", 10], "QT_NO_SPRINTF" => ["qcolor.h", q£ - QColor foo; + TQColor foo; foo.name(); £, 0], - "QT_NO_SQL" => ["qsqlcursor.h", "QSqlCursor foo;", 5], - "QT_NO_STRINGLIST" => ["qstringlist.h", "QStringList foo;", 0], + "QT_NO_SQL" => ["qsqlcursor.h", "TQSqlCursor foo;", 5], + "QT_NO_STRINGLIST" => ["qstringlist.h", "TQStringList foo;", 0], "QT_NO_STYLE" => ["qapplication.h", q£ - QApplication foo( argc, argv ); + 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£ +# "QT_NO_STYLE_CDE" => ["qcdestyle.h", "TQCDEStyle foo;", 16], +# "QT_NO_STYLE_COMPACT" => ["qcompactstyle.h", "TQCompactStyle foo;", 16], +# "QT_NO_STYLE_INTERLACE" => ["qinterlacestyle.h", "TQInterlaceStyle foo;", 16], +# "QT_NO_STYLE_PLATINUM" => ["qplatinumstyle.h", "TQPlatinumStyle foo;", 16], +# "QT_NO_STYLE_MOTIF" => ["qmotifstyle.h", "TQMotifStyle foo;", 16], +# "QT_NO_STYLE_MOTIFPLUS" => ["qmotifplusstyle.h", "TQMotifPlusStyle foo;", 16], +# "QT_NO_STYLE_SGI" => ["qsgistyle.h", "TQSGIStyle foo;", 16], +# "QT_NO_STYLE_WINDOWS" => ["qwindowsstyle.h", "TQWindowsStyle foo;", 16], + "QT_NO_TABBAR" => ["qtabbar.h", "TQTabBar foo;", 10], + "QT_NO_TABDIALOG" => ["qtabdialog.h", "TQTabDialog foo;", 12], + "QT_NO_TABLE" => ["qtable.h", "TQTable foo;", 10], + "QT_NO_TABWIDGET" => ["qtabwidget.h", "TQTabWidget foo;", 10], + "QT_NO_TEXTBROWSER" => ["qtextbrowser.h", "TQTextBrowser foo;", 14], + "QT_NO_TEXTCODEC" => ["qtextcodec.h", "TQTextCodec::codecForIndex(1);", 5], + "QT_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 ) + Q_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], + "QT_NO_TEXTEDIT" => ["qtextedit.h", "TQTextEdit foo;", 13], + "QT_NO_TEXTSTREAM" => ["qtextstream.h", "TQTextStream foo;", 5], + "QT_NO_TEXTVIEW" => ["qtextview.h", "TQTextView foo;", 14], #Obsolete + "QT_NO_TOOLBAR" => ["qtoolbar.h", "TQToolBar foo;", 10], + "QT_NO_TOOLBUTTON" => ["qtoolbutton.h", "TQToolButton foo((TQWidget *) NULL );", 12], + "QT_NO_TOOLTIP" => ["qtooltip.h", "TQToolTip::hide();", 10], "QT_NO_TRANSFORMATIONS" => ["qpainter.h", q£ - QPainter *foo= new QPainter(); + 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], + "QT_NO_VARIANT" => ["qvariant.h", "TQVariant foo;", 0], + "QT_NO_WHATSTHIS" => ["qwhatsthis.h", "TQWhatsThis::inWhatsThisMode();", 10], + "QT_NO_WHEELEVENT" => ["qevent.h", "TQWheelEvent foo( TQPoint(1,1), 1, 1 );", 5], + "QT_NO_WIDGET_TOPEXTRA" => ["qwidget.h", "TQWidget foo; foo.caption();", 9], + "QT_NO_WIDGETSTACK" => ["qwidgetstack.h", "TQWidgetStack foo;", 13], + "QT_NO_WIZARD" => ["qwizard.h", "TQWizard foo;", 13], + "QT_NO_WMATRIX" => ["qwmatrix.h", "TQWMatrix foo;", 0], + "QT_NO_XML" => ["qxml.h", "TQXmlNamespaceSupport foo;", 5], ); } diff --git a/smoke/smoke.h b/smoke/smoke.h index ba214a28..33cdde55 100644 --- a/smoke/smoke.h +++ b/smoke/smoke.h @@ -25,7 +25,7 @@ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + EXEMPLARY, OR CONSETQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT @@ -105,7 +105,7 @@ public: * # is an object * ? is a non-scalar (reference to array or hash, undef) * - * e.g. TQApplication(int &, char **) becomes QApplication$? + * e.g. TTQApplication(int &, char **) becomes TQApplication$? */ struct MethodMap { Index classId; // Index into classes |