From 0f92dd542b65bc910caaf190b7c623aa5158c86a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 14 Nov 2011 22:33:41 -0600 Subject: Fix native TQt3 accidental conversion to tquit --- doc/html/qapplication.html | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'doc/html/qapplication.html') 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.

Public Slots

@@ -270,7 +270,7 @@ any overrides after.) enter_loop(), exit_loop(), exit(), -tquit(). +quit(). sendEvent(), postEvent(), sendPostedEvents(), @@ -530,14 +530,14 @@ See the examples/menu/menu.cpp example.

void TQApplication::aboutToQuit () [signal]

-

This signal is emitted when the application is about to tquit the +

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 tquit() from inside the +This may happen either after a call to quit() from inside the application or when the users shuts down the entire desktop session.

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. -

See also tquit(). +

See also quit().

TQWidget * TQApplication::activeModalWidget () [static]

@@ -698,13 +698,13 @@ entry in the file menu as shown in the following code example: TQPopupMenu* file = new TQPopupMenu( this ); file->insertItem( "&Quit", qApp, SLOT(closeAllWindows()), CTRL+Key_Q ); - // when the last window is closed, the application should tquit - connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( tquit() ) ); + // when the last window is closed, the application should quit + connect( qApp, SIGNAL( lastWindowClosed() ), qApp, SLOT( quit() ) );

The windows are closed in random order, until one window does not accept the close event. -

See also TQWidget::close(), TQWidget::closeEvent(), lastWindowClosed(), tquit(), topLevelWidgets(), and TQWidget::isTopLevel. +

See also TQWidget::close(), TQWidget::closeEvent(), lastWindowClosed(), quit(), topLevelWidgets(), and TQWidget::isTopLevel.

Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. @@ -803,7 +803,7 @@ it before you create the TQApplication object. Enters the main event loop and waits until exit() 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 tquit()). +exit() (which is 0 if exit() is called via quit()).

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 TQTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). -

See also tquit(), exit(), processEvents(), and setMainWidget(). +

See also quit(), exit(), processEvents(), and setMainWidget().

Examples: helpsystem/main.cpp, life/main.cpp, network/archivesearch/main.cpp, network/ftpclient/main.cpp, opengl/main.cpp, t1/main.cpp, and t4/main.cpp.

void TQApplication::exit ( int retcode = 0 ) [static] @@ -829,7 +829,7 @@ value indicates an error.

Note that unlike the C library function of the same name, this function does return to the caller -- it is event processing that stops. -

See also tquit() and exec(). +

See also quit() and exec().

Examples: chart/chartform.cpp, extension/mainform.ui.h, and picture/picture.cpp.

void TQApplication::exit_loop () @@ -945,7 +945,7 @@ Returns TRUE if effect is enabled; otherwise returns FALSE.

This signal is emitted when the user has closed the last top level window.

The signal is very useful when your application has many top level -widgets but no main widget. You can then connect it to the tquit() +widgets but no main widget. You can then connect it to the quit() slot.

For convenience, this signal is not 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.

See also processEvents(), exec(), and TQTimer. -

void TQApplication::tquit () [slot] +

void TQApplication::quit () [slot]

Tells the application to exit with return code 0 (success). Equivalent to calling TQApplication::exit( 0 ). -

It's common to connect the lastWindowClosed() signal to tquit(), and +

It's common to connect the lastWindowClosed() signal to quit(), and you also often connect e.g. TQButton::clicked() or signals in TQAction, TQPopupMenu or TQMenuBar to it.

Example:

-    TQPushButton *tquitButton = new TQPushButton( "Quit" );
-    connect( tquitButton, SIGNAL(clicked()), qApp, SLOT(tquit()) );
+    TQPushButton *quitButton = new TQPushButton( "Quit" );
+    connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) );
   

See also exit(), aboutToQuit(), lastWindowClosed(), and TQAction. @@ -1468,12 +1468,12 @@ TQApplication does not take ownership of the mainWidget, so if you create your main widget on the heap you must delete it yourself.

You need not have a main widget; connecting lastWindowClosed() to -tquit() is an alternative. +quit() is an alternative.

For X11, this function also resizes and moves the main widget according to the -geometry command-line option, so you should set the default geometry (using TQWidget::setGeometry()) before calling setMainWidget(). -

See also mainWidget(), exec(), and tquit(). +

See also mainWidget(), exec(), and quit().

Examples: chart/main.cpp, helpsystem/main.cpp, life/main.cpp, network/ftpclient/main.cpp, opengl/main.cpp, t1/main.cpp, and t4/main.cpp.

void TQApplication::setOverrideCursor ( const TQCursor & cursor, bool replace = FALSE ) [static] -- cgit v1.2.1