diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
commit | 0f92dd542b65bc910caaf190b7c623aa5158c86a (patch) | |
tree | 120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /tools/designer | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip |
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'tools/designer')
-rw-r--r-- | tools/designer/designer/configtoolboxdialog.ui.h | 2 | ||||
-rw-r--r-- | tools/designer/designer/listviewdnd.cpp | 2 | ||||
-rw-r--r-- | tools/designer/examples/addressbook/main.cpp | 2 | ||||
-rw-r--r-- | tools/designer/examples/metric/main.cpp | 2 | ||||
-rw-r--r-- | tools/designer/examples/metric/metric.ui | 6 | ||||
-rw-r--r-- | tools/designer/examples/multiclip/multiclip.ui | 6 | ||||
-rw-r--r-- | tools/designer/examples/receiver1/mainform.ui | 4 | ||||
-rw-r--r-- | tools/designer/examples/receiver2/mainform.ui | 4 | ||||
-rw-r--r-- | tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp | 2 | ||||
-rw-r--r-- | tools/designer/plugins/glade/glade2ui.cpp | 2 | ||||
-rw-r--r-- | tools/designer/uilib/test/main.cpp | 2 |
11 files changed, 17 insertions, 17 deletions
diff --git a/tools/designer/designer/configtoolboxdialog.ui.h b/tools/designer/designer/configtoolboxdialog.ui.h index 1ef3884e..d536310e 100644 --- a/tools/designer/designer/configtoolboxdialog.ui.h +++ b/tools/designer/designer/configtoolboxdialog.ui.h @@ -102,7 +102,7 @@ void ConfigToolboxDialog::addTool() listViewCommon->ensureItemVisible( i ); } else if ( !addKids ) { // Children processing not set, so set it - // Also find the item were we shall tquit + // Also find the item were we shall quit // processing children...if any such item addKids = TRUE; nextSibling = (*it)->nextSibling(); diff --git a/tools/designer/designer/listviewdnd.cpp b/tools/designer/designer/listviewdnd.cpp index f4191269..f9fa8d7d 100644 --- a/tools/designer/designer/listviewdnd.cpp +++ b/tools/designer/designer/listviewdnd.cpp @@ -153,7 +153,7 @@ int ListViewDnd::buildFlatList( ListViewItemList & list ) list.append( *it ); } else if ( !addKids ) { // Children processing not set, so set it - // Also find the item were we shall tquit + // Also find the item were we shall quit // processing children...if any such item addKids = TRUE; nextSibling = (*it)->nextSibling(); diff --git a/tools/designer/examples/addressbook/main.cpp b/tools/designer/examples/addressbook/main.cpp index 76ad6321..f96b6a33 100644 --- a/tools/designer/examples/addressbook/main.cpp +++ b/tools/designer/examples/addressbook/main.cpp @@ -6,6 +6,6 @@ int main( int argc, char ** argv ) TQApplication a( argc, argv ); AddressBook *w = new AddressBook; w->show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); } diff --git a/tools/designer/examples/metric/main.cpp b/tools/designer/examples/metric/main.cpp index d7a20ab4..fb7cfc76 100644 --- a/tools/designer/examples/metric/main.cpp +++ b/tools/designer/examples/metric/main.cpp @@ -7,6 +7,6 @@ int main( int argc, char ** argv ) ConversionForm *w = new ConversionForm; w->show(); a.setMainWidget( w ); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); } diff --git a/tools/designer/examples/metric/metric.ui b/tools/designer/examples/metric/metric.ui index aba8c2ef..d2ae5456 100644 --- a/tools/designer/examples/metric/metric.ui +++ b/tools/designer/examples/metric/metric.ui @@ -277,7 +277,7 @@ </spacer> <widget class="TQPushButton"> <property name="name"> - <cstring>tquitButton</cstring> + <cstring>quitButton</cstring> </property> <property name="text"> <string>&Quit</string> @@ -295,7 +295,7 @@ <slot>clear()</slot> </connection> <connection> - <sender>tquitButton</sender> + <sender>quitButton</sender> <signal>clicked()</signal> <receiver>ConversionForm</receiver> <slot>close()</slot> @@ -350,7 +350,7 @@ <tabstop>decimalsSpinBox</tabstop> <tabstop>clearButton</tabstop> <tabstop>calculateButton</tabstop> - <tabstop>tquitButton</tabstop> + <tabstop>quitButton</tabstop> </tabstops> <includes> <include location="local" impldecl="in implementation">metric.ui.h</include> diff --git a/tools/designer/examples/multiclip/multiclip.ui b/tools/designer/examples/multiclip/multiclip.ui index 52f83f82..f1312fd9 100644 --- a/tools/designer/examples/multiclip/multiclip.ui +++ b/tools/designer/examples/multiclip/multiclip.ui @@ -101,7 +101,7 @@ </spacer> <widget class="TQPushButton" row="7" column="1"> <property name="name"> - <cstring>tquitPushButton</cstring> + <cstring>quitPushButton</cstring> </property> <property name="text"> <string>&Quit</string> @@ -163,7 +163,7 @@ </widget> <connections> <connection language="C++"> - <sender>tquitPushButton</sender> + <sender>quitPushButton</sender> <signal>clicked()</signal> <receiver>MulticlipForm</receiver> <slot>accept()</slot> @@ -201,6 +201,6 @@ <tabstop>addPushButton</tabstop> <tabstop>copyPushButton</tabstop> <tabstop>deletePushButton</tabstop> - <tabstop>tquitPushButton</tabstop> + <tabstop>quitPushButton</tabstop> </tabstops> </UI> diff --git a/tools/designer/examples/receiver1/mainform.ui b/tools/designer/examples/receiver1/mainform.ui index c4db7442..3f332675 100644 --- a/tools/designer/examples/receiver1/mainform.ui +++ b/tools/designer/examples/receiver1/mainform.ui @@ -27,7 +27,7 @@ </property> <widget class="TQPushButton" row="0" column="1"> <property name="name"> - <cstring>tquitPushButton</cstring> + <cstring>quitPushButton</cstring> </property> <property name="text"> <string>&Quit</string> @@ -67,7 +67,7 @@ <slot>creditDialog()</slot> </connection> <connection> - <sender>tquitPushButton</sender> + <sender>quitPushButton</sender> <signal>clicked()</signal> <receiver>MainForm</receiver> <slot>accept()</slot> diff --git a/tools/designer/examples/receiver2/mainform.ui b/tools/designer/examples/receiver2/mainform.ui index b69bca55..4d52c281 100644 --- a/tools/designer/examples/receiver2/mainform.ui +++ b/tools/designer/examples/receiver2/mainform.ui @@ -32,7 +32,7 @@ </property> <widget class="TQPushButton" row="0" column="1"> <property name="name"> - <cstring>tquitPushButton</cstring> + <cstring>quitPushButton</cstring> </property> <property name="text"> <string>&Quit</string> @@ -72,7 +72,7 @@ <slot>creditDialog()</slot> </connection> <connection language="C++"> - <sender>tquitPushButton</sender> + <sender>quitPushButton</sender> <signal>clicked()</signal> <receiver>MainForm</receiver> <slot>accept()</slot> 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; } diff --git a/tools/designer/uilib/test/main.cpp b/tools/designer/uilib/test/main.cpp index 6cd12eef..f8ce38c5 100644 --- a/tools/designer/uilib/test/main.cpp +++ b/tools/designer/uilib/test/main.cpp @@ -45,6 +45,6 @@ int main( int argc, char ** argv ) if ( !w ) return 0; w->show(); - a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) ); + a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); return a.exec(); } |