summaryrefslogtreecommitdiffstats
path: root/doc/html/qapplication.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qapplication.html')
-rw-r--r--doc/html/qapplication.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/qapplication.html b/doc/html/qapplication.html
index cfdfa0980..353c3ee37 100644
--- a/doc/html/qapplication.html
+++ b/doc/html/qapplication.html
@@ -92,7 +92,7 @@ flow and main settings.
</ul>
<h2>Public Slots</h2>
<ul>
-<li class=fn>void <a href="#tquit"><b>tquit</b></a> ()</li>
+<li class=fn>void <a href="#quit"><b>quit</b></a> ()</li>
<li class=fn>void <a href="#closeAllWindows"><b>closeAllWindows</b></a> ()</li>
<li class=fn>void <a href="#aboutTQt"><b>aboutTQt</b></a> ()</li>
</ul>
@@ -270,7 +270,7 @@ any overrides after.)
<a href="#enter_loop">enter_loop</a>(),
<a href="#exit_loop">exit_loop</a>(),
<a href="#exit">exit</a>(),
-<a href="#tquit">tquit</a>().
+<a href="#quit">quit</a>().
<a href="#sendEvent">sendEvent</a>(),
<a href="#postEvent">postEvent</a>(),
<a href="#sendPostedEvents">sendPostedEvents</a>(),
@@ -530,14 +530,14 @@ See the examples/menu/menu.cpp example.
<h3 class=fn>void <a name="aboutToQuit"></a>TQApplication::aboutToQuit ()<tt> [signal]</tt>
</h3>
-<p> This signal is emitted when the application is about to tquit the
+<p> This signal is emitted when the application is about to quit the
main event loop, e.g. when the event loop level drops to zero.
-This may happen either after a call to <a href="#tquit">tquit</a>() from inside the
+This may happen either after a call to <a href="#quit">quit</a>() from inside the
application or when the users shuts down the entire desktop session.
<p> The signal is particularly useful if your application has to do some
last-second cleanup. Note that no user interaction is possible in
this state.
-<p> <p>See also <a href="#tquit">tquit</a>().
+<p> <p>See also <a href="#quit">quit</a>().
<h3 class=fn><a href="qwidget.html">TQWidget</a>&nbsp;* <a name="activeModalWidget"></a>TQApplication::activeModalWidget ()<tt> [static]</tt>
</h3>
@@ -698,13 +698,13 @@ entry in the file menu as shown in the following code example:
<a href="qpopupmenu.html">TQPopupMenu</a>* file = new <a href="qpopupmenu.html">TQPopupMenu</a>( this );
file-&gt;<a href="qmenudata.html#insertItem">insertItem</a>( "&amp;Quit", qApp, SLOT(<a href="#closeAllWindows">closeAllWindows</a>()), CTRL+Key_Q );
- // when the last window is closed, the application should tquit
- <a href="qobject.html#connect">connect</a>( qApp, SIGNAL( <a href="#lastWindowClosed">lastWindowClosed</a>() ), qApp, SLOT( <a href="#tquit">tquit</a>() ) );
+ // when the last window is closed, the application should quit
+ <a href="qobject.html#connect">connect</a>( qApp, SIGNAL( <a href="#lastWindowClosed">lastWindowClosed</a>() ), qApp, SLOT( <a href="#quit">quit</a>() ) );
</pre>
<p> The windows are closed in random order, until one window does not
accept the close event.
-<p> <p>See also <a href="qwidget.html#close">TQWidget::close</a>(), <a href="qwidget.html#closeEvent">TQWidget::closeEvent</a>(), <a href="#lastWindowClosed">lastWindowClosed</a>(), <a href="#tquit">tquit</a>(), <a href="#topLevelWidgets">topLevelWidgets</a>(), and <a href="qwidget.html#isTopLevel-prop">TQWidget::isTopLevel</a>.
+<p> <p>See also <a href="qwidget.html#close">TQWidget::close</a>(), <a href="qwidget.html#closeEvent">TQWidget::closeEvent</a>(), <a href="#lastWindowClosed">lastWindowClosed</a>(), <a href="#quit">quit</a>(), <a href="#topLevelWidgets">topLevelWidgets</a>(), and <a href="qwidget.html#isTopLevel-prop">TQWidget::isTopLevel</a>.
<p>
<p>Examples: <a href="qaction-application-example.html#x1127">action/application.cpp</a>, <a href="simple-application-example.html#x1544">application/application.cpp</a>, <a href="helpviewer-example.html#x980">helpviewer/helpwindow.cpp</a>, <a href="mdi-example.html#x2020">mdi/application.cpp</a>, and <a href="qwerty-example.html#x358">qwerty/qwerty.cpp</a>.
@@ -803,7 +803,7 @@ it before you create the TQApplication object.
</h3>
Enters the main event loop and waits until <a href="#exit">exit</a>() is called or the
main widget is destroyed, and returns the value that was set to
-exit() (which is 0 if exit() is called via <a href="#tquit">tquit</a>()).
+exit() (which is 0 if exit() is called via <a href="#quit">quit</a>()).
<p> It is necessary to call this function to start event handling. The
main event loop receives events from the window system and
dispatches these to the application widgets.
@@ -815,7 +815,7 @@ exec() to start a local event loop.
special function whenever there are no pending events, use a
<a href="qtimer.html">TQTimer</a> with 0 timeout. More advanced idle processing schemes can
be achieved using <a href="#processEvents">processEvents</a>().
-<p> <p>See also <a href="#tquit">tquit</a>(), <a href="#exit">exit</a>(), <a href="#processEvents">processEvents</a>(), and <a href="#setMainWidget">setMainWidget</a>().
+<p> <p>See also <a href="#quit">quit</a>(), <a href="#exit">exit</a>(), <a href="#processEvents">processEvents</a>(), and <a href="#setMainWidget">setMainWidget</a>().
<p>Examples: <a href="helpsystem-example.html#x2700">helpsystem/main.cpp</a>, <a href="qdialog.html#x2132">life/main.cpp</a>, <a href="archivesearch-example.html#x486">network/archivesearch/main.cpp</a>, <a href="ftpclient-example.html#x777">network/ftpclient/main.cpp</a>, <a href="qaxserver-example-opengl.html#x2731">opengl/main.cpp</a>, <a href="tutorial1-01.html#x2283">t1/main.cpp</a>, and <a href="tutorial1-04.html#x2303">t4/main.cpp</a>.
<h3 class=fn>void <a name="exit"></a>TQApplication::exit ( int&nbsp;retcode = 0 )<tt> [static]</tt>
@@ -829,7 +829,7 @@ value indicates an error.
<p> Note that unlike the C library function of the same name, this
function <em>does</em> return to the caller -- it is event processing that
stops.
-<p> <p>See also <a href="#tquit">tquit</a>() and <a href="#exec">exec</a>().
+<p> <p>See also <a href="#quit">quit</a>() and <a href="#exec">exec</a>().
<p>Examples: <a href="canvas-chart-example.html#x2875">chart/chartform.cpp</a>, <a href="extension-dialog-example.html#x2865">extension/mainform.ui.h</a>, and <a href="picture-example.html#x106">picture/picture.cpp</a>.
<h3 class=fn>void <a name="exit_loop"></a>TQApplication::exit_loop ()
@@ -945,7 +945,7 @@ Returns TRUE if <em>effect</em> is enabled; otherwise returns FALSE.
<p> This signal is emitted when the user has closed the last
top level window.
<p> The signal is very useful when your application has many top level
-widgets but no main widget. You can then connect it to the <a href="#tquit">tquit</a>()
+widgets but no main widget. You can then connect it to the <a href="#quit">quit</a>()
slot.
<p> For convenience, this signal is <em>not</em> emitted for transient top level
widgets such as popup menus and dialogs.
@@ -1116,17 +1116,17 @@ event processing must be grafted onto existing program loops.
problems.
<p> <p>See also <a href="#processEvents">processEvents</a>(), <a href="#exec">exec</a>(), and <a href="qtimer.html">TQTimer</a>.
-<h3 class=fn>void <a name="tquit"></a>TQApplication::tquit ()<tt> [slot]</tt>
+<h3 class=fn>void <a name="quit"></a>TQApplication::quit ()<tt> [slot]</tt>
</h3>
Tells the application to exit with return code 0 (success).
Equivalent to calling <a href="#exit">TQApplication::exit</a>( 0 ).
-<p> It's common to connect the <a href="#lastWindowClosed">lastWindowClosed</a>() signal to <a href="#tquit">tquit</a>(), and
+<p> It's common to connect the <a href="#lastWindowClosed">lastWindowClosed</a>() signal to <a href="#quit">quit</a>(), and
you also often connect e.g. <a href="qbutton.html#clicked">TQButton::clicked</a>() or signals in
<a href="qaction.html">TQAction</a>, <a href="qpopupmenu.html">TQPopupMenu</a> or <a href="qmenubar.html">TQMenuBar</a> to it.
<p> Example:
<pre>
- <a href="qpushbutton.html">TQPushButton</a> *tquitButton = new <a href="qpushbutton.html">TQPushButton</a>( "Quit" );
- <a href="qobject.html#connect">connect</a>( tquitButton, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="#tquit">tquit</a>()) );
+ <a href="qpushbutton.html">TQPushButton</a> *quitButton = new <a href="qpushbutton.html">TQPushButton</a>( "Quit" );
+ <a href="qobject.html#connect">connect</a>( quitButton, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="#quit">quit</a>()) );
</pre>
<p> <p>See also <a href="#exit">exit</a>(), <a href="#aboutToQuit">aboutToQuit</a>(), <a href="#lastWindowClosed">lastWindowClosed</a>(), and <a href="qaction.html">TQAction</a>.
@@ -1468,12 +1468,12 @@ TQApplication does <em>not</em> take ownership of the <em>mainWidget</em>, so
if you create your main widget on the heap you must delete it
yourself.
<p> You need not have a main widget; connecting <a href="#lastWindowClosed">lastWindowClosed</a>() to
-<a href="#tquit">tquit</a>() is an alternative.
+<a href="#quit">quit</a>() is an alternative.
<p> For X11, this function also resizes and moves the main widget
according to the <em>-geometry</em> command-line option, so you should
set the default geometry (using <a href="qwidget.html#setGeometry">TQWidget::setGeometry</a>()) before
calling <a href="#setMainWidget">setMainWidget</a>().
-<p> <p>See also <a href="#mainWidget">mainWidget</a>(), <a href="#exec">exec</a>(), and <a href="#tquit">tquit</a>().
+<p> <p>See also <a href="#mainWidget">mainWidget</a>(), <a href="#exec">exec</a>(), and <a href="#quit">quit</a>().
<p>Examples: <a href="tutorial2-04.html#x2560">chart/main.cpp</a>, <a href="helpsystem-example.html#x2701">helpsystem/main.cpp</a>, <a href="qdialog.html#x2133">life/main.cpp</a>, <a href="ftpclient-example.html#x779">network/ftpclient/main.cpp</a>, <a href="qaxserver-example-opengl.html#x2733">opengl/main.cpp</a>, <a href="tutorial1-01.html#x2284">t1/main.cpp</a>, and <a href="tutorial1-04.html#x2305">t4/main.cpp</a>.
<h3 class=fn>void <a name="setOverrideCursor"></a>TQApplication::setOverrideCursor ( const&nbsp;<a href="qcursor.html">TQCursor</a>&nbsp;&amp;&nbsp;cursor, bool&nbsp;replace = FALSE )<tt> [static]</tt>