From 0f92dd542b65bc910caaf190b7c623aa5158c86a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 14 Nov 2011 22:33:41 -0600 Subject: Fix native TQt3 accidental conversion to tquit --- tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp | 2 +- tools/designer/plugins/glade/glade2ui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/designer/plugins') diff --git a/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp b/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp index a9ae3b7ed..c412505a9 100644 --- a/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp +++ b/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp @@ -76,7 +76,7 @@ static TQString generateMainCppCode( const TQString &formname, const TQString &i code += " TQApplication a( argc, argv );\n"; code += " " + formname + " w;\n"; code += " w.show();\n"; - code += " a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) );\n"; + code += " a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );\n"; code += " return a.exec();\n"; code += "}\n"; return code; diff --git a/tools/designer/plugins/glade/glade2ui.cpp b/tools/designer/plugins/glade/glade2ui.cpp index 89337eb58..44965b6e6 100644 --- a/tools/designer/plugins/glade/glade2ui.cpp +++ b/tools/designer/plugins/glade/glade2ui.cpp @@ -447,7 +447,7 @@ static TQString accelerate( const TQString& gtkLabel ) { TQString qtLabel = gtkLabel; qtLabel.replace( '&', TQString("&&") ); - // close but not tquite right + // close but not quite right qtLabel.replace( TQChar('_'), TQChar('&') ); return qtLabel; } -- cgit v1.2.1