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 /doc/html/qaction-application-example.html | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip |
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'doc/html/qaction-application-example.html')
-rw-r--r-- | doc/html/qaction-application-example.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/qaction-application-example.html b/doc/html/qaction-application-example.html index c166a8d9a..2709e8633 100644 --- a/doc/html/qaction-application-example.html +++ b/doc/html/qaction-application-example.html @@ -188,7 +188,7 @@ private: SLOT( <a href="qwidget.html#close">close</a>() ) ); fileQuitAction = new <a href="qaction.html">TQAction</a>( "Quit", "&Quit", CTRL+Key_Q, this, - "tquit" ); + "quit" ); <a name="x1127"></a> <a href="qobject.html#connect">connect</a>( fileQuitAction, SIGNAL( <a href="qaction.html#activated">activated</a>() ) , qApp, SLOT( <a href="qapplication.html#closeAllWindows">closeAllWindows</a>() ) ); @@ -421,7 +421,7 @@ int main( int argc, char ** argv ) { ApplicationWindow * mw = new ApplicationWindow(); mw-><a href="qwidget.html#setCaption">setCaption</a>( "Document 1" ); <a name="x1178"></a> mw-><a href="qwidget.html#show">show</a>(); -<a name="x1179"></a> a.<a href="qobject.html#connect">connect</a>( &a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, SLOT(<a href="qapplication.html#tquit">tquit</a>()) ); +<a name="x1179"></a> a.<a href="qobject.html#connect">connect</a>( &a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, SLOT(<a href="qapplication.html#quit">quit</a>()) ); return a.<a href="qapplication.html#exec">exec</a>(); } </pre> |