summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /tools/designer/plugins
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'tools/designer/plugins')
-rw-r--r--tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp2
-rw-r--r--tools/designer/plugins/glade/glade2ui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp b/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp
index a9ae3b7e..c412505a 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 89337eb5..44965b6e 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;
}