summaryrefslogtreecommitdiffstats
path: root/doc/html/qaction-application-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qaction-application-example.html')
-rw-r--r--doc/html/qaction-application-example.html4
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", "&amp;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-&gt;<a href="qwidget.html#setCaption">setCaption</a>( "Document 1" );
<a name="x1178"></a> mw-&gt;<a href="qwidget.html#show">show</a>();
-<a name="x1179"></a> a.<a href="qobject.html#connect">connect</a>( &amp;a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, SLOT(<a href="qapplication.html#tquit">tquit</a>()) );
+<a name="x1179"></a> a.<a href="qobject.html#connect">connect</a>( &amp;a, SIGNAL(<a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, SLOT(<a href="qapplication.html#quit">quit</a>()) );
return a.<a href="qapplication.html#exec">exec</a>();
}
</pre>