Use tq* header after last round of renaming in tqt3

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/23/head
Michele Calgaro 4 weeks ago
parent 6ad6ccfdd6
commit 6f64d33002
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,7 +1,7 @@
#include <stdio.h> #include <stdio.h>
#include <tqglobal.h> #include <tqglobal.h>
#include <tqstring.h> #include <tqstring.h>
#include <ntqapplication.h> #include <tqapplication.h>
#include <tqmetaobject.h> #include <tqmetaobject.h>
#include <private/tqucomextra_p.h> #include <private/tqucomextra_p.h>
#include "smoke.h" #include "smoke.h"

@ -1,6 +1,6 @@
#include <tqstring.h> #include <tqstring.h>
#include <tqregexp.h> #include <tqregexp.h>
#include <ntqapplication.h> #include <tqapplication.h>
#include <tqmetaobject.h> #include <tqmetaobject.h>
#include <tqvaluelist.h> #include <tqvaluelist.h>
#include <tqwidgetlist.h> #include <tqwidgetlist.h>

@ -1019,7 +1019,7 @@ AC_REQUIRE([KDE_USE_TQT])
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#include "confdefs.h" #include "confdefs.h"
#include <tqglobal.h> #include <tqglobal.h>
#include <ntqapplication.h> #include <tqapplication.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

@ -31,7 +31,7 @@
#include "parser.h" #include "parser.h"
#include "widgetdatabase.h" #include "widgetdatabase.h"
#include "domtool.h" #include "domtool.h"
#include <ntqapplication.h> #include <tqapplication.h>
#include <tqfile.h> #include <tqfile.h>
#include <tqstringlist.h> #include <tqstringlist.h>
#include <tqdatetime.h> #include <tqdatetime.h>

@ -27,7 +27,7 @@
#include "widgetdatabase.h" #include "widgetdatabase.h"
#include "widgetinterface.h" #include "widgetinterface.h"
#include <ntqapplication.h> #include <tqapplication.h>
#define NO_STATIC_COLORS #define NO_STATIC_COLORS
#include <globaldefs.h> #include <globaldefs.h>
#include <tqstrlist.h> #include <tqstrlist.h>

@ -1,7 +1,7 @@
tqaccel.h tqaccel.h
tqaccessible.h tqaccessible.h
tqaction.h tqaction.h
ntqapplication.h tqapplication.h
tqasciicache.h tqasciicache.h
tqasciidict.h tqasciidict.h
tqassistantclient.h tqassistantclient.h
@ -25,7 +25,7 @@ tqcolor.h
tqcombobox.h tqcombobox.h
tqcommonstyle.h tqcommonstyle.h
tqcompactstyle.h tqcompactstyle.h
ntqconfig.h tqconfig.h
tqconnection.h tqconnection.h
tqcstring.h tqcstring.h
tqcursor.h tqcursor.h
@ -120,7 +120,7 @@ tqmenudata.h
tqmessagebox.h tqmessagebox.h
tqmetaobject.h tqmetaobject.h
tqmime.h tqmime.h
ntqmodules.h tqmodules.h
tqmotifplusstyle.h tqmotifplusstyle.h
tqmotifstyle.h tqmotifstyle.h
tqmovie.h tqmovie.h

@ -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 <ntqapplication.h> #include <tqapplication.h>
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
@ -257,13 +257,13 @@ our %tests = (
"TQT_NO_BUTTONGROUP" => ["tqbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12], "TQT_NO_BUTTONGROUP" => ["tqbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12],
"TQT_NO_CANVAS" => ["tqcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10], "TQT_NO_CANVAS" => ["tqcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10],
"TQT_NO_CHECKBOX" => ["tqcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10], "TQT_NO_CHECKBOX" => ["tqcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10],
"TQT_NO_CLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£ "TQT_NO_CLIPBOARD" => ["tqapplication.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" => ["tqcolordialog.h", "TQColorDialog::customCount();", 12], "TQT_NO_COLORDIALOG" => ["tqcolordialog.h", "TQColorDialog::customCount();", 12],
"TQT_NO_COMBOBOX" => ["tqcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10], "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 ); TQApplication foo( argc, argv );
foo.addLibraryPath( TQString::null ); foo.addLibraryPath( TQString::null );
£, 5], £, 5],
@ -369,7 +369,7 @@ our %tests = (
"TQT_NO_MENUDATA" => ["tqmenudata.h", "TQMenuData foo;", 9], "TQT_NO_MENUDATA" => ["tqmenudata.h", "TQMenuData foo;", 9],
"TQT_NO_MESSAGEBOX" => ["tqmessagebox.h", "TQMessageBox foo;", 13], "TQT_NO_MESSAGEBOX" => ["tqmessagebox.h", "TQMessageBox foo;", 13],
"TQT_NO_MIME" => ["tqmime.h", "TQMimeSourceFactory foo;", 5], "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 ); TQApplication foo( argc, argv );
TQClipboard *baz= foo.clipboard(); TQClipboard *baz= foo.clipboard();
baz->data(); baz->data();
@ -401,7 +401,7 @@ our %tests = (
TQRegExp foo; TQRegExp foo;
foo.wildcard(); foo.wildcard();
£, 8], £, 8],
"TQT_NO_REMOTE" => ["ntqapplication.h", q£ "TQT_NO_REMOTE" => ["tqapplication.h", q£
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
foo.remoteControlEnabled(); foo.remoteControlEnabled();
£, 15], £, 15],
@ -409,7 +409,7 @@ our %tests = (
"TQT_NO_RICHTEXT" => ["tqsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10], "TQT_NO_RICHTEXT" => ["tqsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10],
"TQT_NO_SCROLLBAR" => ["tqscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12], "TQT_NO_SCROLLBAR" => ["tqscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12],
"TQT_NO_SCROLLVIEW" => ["tqscrollview.h", "TQScrollView foo;", 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 ); TQApplication foo( argc, argv );
foo.sessionId(); foo.sessionId();
£, 15], £, 15],
@ -430,7 +430,7 @@ our %tests = (
"TQT_NO_SQL" => ["tqsqlcursor.h", "TQSqlCursor foo;", 5], "TQT_NO_SQL" => ["tqsqlcursor.h", "TQSqlCursor foo;", 5],
"TQT_NO_STRINGLIST" => ["tqstringlist.h", "TQStringList foo;", 0], "TQT_NO_STRINGLIST" => ["tqstringlist.h", "TQStringList foo;", 0],
"TQT_NO_STYLE" => ["ntqapplication.h", q£ "TQT_NO_STYLE" => ["tqapplication.h", q£
TQApplication foo( argc, argv ); TQApplication foo( argc, argv );
foo.style(); foo.style();
£, 15], £, 15],

Loading…
Cancel
Save