|
|
|
@ -130,7 +130,7 @@ sub preliminary_test
|
|
|
|
|
print $msg, " " x ($nspaces - length($msg) + 8);
|
|
|
|
|
open( OUT, ">${tmp}.cpp" ) or die "Failed to open temp file ${tmp}.cpp: $!\n";
|
|
|
|
|
my $simple=q£
|
|
|
|
|
#include <ntqapplication.h>
|
|
|
|
|
#include <tqapplication.h>
|
|
|
|
|
int main( int argc, char **argv )
|
|
|
|
|
{
|
|
|
|
|
TQApplication foo( argc, argv );
|
|
|
|
@ -257,13 +257,13 @@ our %tests = (
|
|
|
|
|
"TQT_NO_BUTTONGROUP" => ["tqbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12],
|
|
|
|
|
"TQT_NO_CANVAS" => ["tqcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10],
|
|
|
|
|
"TQT_NO_CHECKBOX" => ["tqcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10],
|
|
|
|
|
"TQT_NO_CLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£
|
|
|
|
|
"TQT_NO_CLIPBOARD" => ["tqapplication.h, qclipboard.h", q£
|
|
|
|
|
TQApplication foo( argc, argv );
|
|
|
|
|
TQClipboard *baz= foo.clipboard();
|
|
|
|
|
£, 5],
|
|
|
|
|
"TQT_NO_COLORDIALOG" => ["tqcolordialog.h", "TQColorDialog::customCount();", 12],
|
|
|
|
|
"TQT_NO_COMBOBOX" => ["tqcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10],
|
|
|
|
|
"TQT_NO_COMPONENT" => ["ntqapplication.h", q£
|
|
|
|
|
"TQT_NO_COMPONENT" => ["tqapplication.h", q£
|
|
|
|
|
TQApplication foo( argc, argv );
|
|
|
|
|
foo.addLibraryPath( TQString::null );
|
|
|
|
|
£, 5],
|
|
|
|
@ -369,7 +369,7 @@ our %tests = (
|
|
|
|
|
"TQT_NO_MENUDATA" => ["tqmenudata.h", "TQMenuData foo;", 9],
|
|
|
|
|
"TQT_NO_MESSAGEBOX" => ["tqmessagebox.h", "TQMessageBox foo;", 13],
|
|
|
|
|
"TQT_NO_MIME" => ["tqmime.h", "TQMimeSourceFactory foo;", 5],
|
|
|
|
|
"TQT_NO_MIMECLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£
|
|
|
|
|
"TQT_NO_MIMECLIPBOARD" => ["tqapplication.h, qclipboard.h", q£
|
|
|
|
|
TQApplication foo( argc, argv );
|
|
|
|
|
TQClipboard *baz= foo.clipboard();
|
|
|
|
|
baz->data();
|
|
|
|
@ -401,7 +401,7 @@ our %tests = (
|
|
|
|
|
TQRegExp foo;
|
|
|
|
|
foo.wildcard();
|
|
|
|
|
£, 8],
|
|
|
|
|
"TQT_NO_REMOTE" => ["ntqapplication.h", q£
|
|
|
|
|
"TQT_NO_REMOTE" => ["tqapplication.h", q£
|
|
|
|
|
TQApplication foo( argc, argv );
|
|
|
|
|
foo.remoteControlEnabled();
|
|
|
|
|
£, 15],
|
|
|
|
@ -409,7 +409,7 @@ our %tests = (
|
|
|
|
|
"TQT_NO_RICHTEXT" => ["tqsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10],
|
|
|
|
|
"TQT_NO_SCROLLBAR" => ["tqscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12],
|
|
|
|
|
"TQT_NO_SCROLLVIEW" => ["tqscrollview.h", "TQScrollView foo;", 12],
|
|
|
|
|
"TQT_NO_SESSIONMANAGER" => ["ntqapplication.h", q£
|
|
|
|
|
"TQT_NO_SESSIONMANAGER" => ["tqapplication.h", q£
|
|
|
|
|
TQApplication foo( argc, argv );
|
|
|
|
|
foo.sessionId();
|
|
|
|
|
£, 15],
|
|
|
|
@ -430,7 +430,7 @@ our %tests = (
|
|
|
|
|
|
|
|
|
|
"TQT_NO_SQL" => ["tqsqlcursor.h", "TQSqlCursor foo;", 5],
|
|
|
|
|
"TQT_NO_STRINGLIST" => ["tqstringlist.h", "TQStringList foo;", 0],
|
|
|
|
|
"TQT_NO_STYLE" => ["ntqapplication.h", q£
|
|
|
|
|
"TQT_NO_STYLE" => ["tqapplication.h", q£
|
|
|
|
|
TQApplication foo( argc, argv );
|
|
|
|
|
foo.style();
|
|
|
|
|
£, 15],
|
|
|
|
|