diff options
Diffstat (limited to 'doc/html/tqcloseevent.html')
-rw-r--r-- | doc/html/tqcloseevent.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/tqcloseevent.html b/doc/html/tqcloseevent.html index 98405e12a..bfe2fe879 100644 --- a/doc/html/tqcloseevent.html +++ b/doc/html/tqcloseevent.html @@ -58,10 +58,10 @@ the <a href="tqt.html#WidgetFlags-enum">WDestructiveClose</a> flag). If it refus event nothing happens. (Under X11 it is possible that the window manager will forcibly close the window; but at the time of writing we are not aware of any window manager that does this.) -<p> The application's main widget -- <a href="ntqapplication.html#mainWidget">TQApplication::mainWidget</a>() -- +<p> The application's main widget -- <a href="tqapplication.html#mainWidget">TQApplication::mainWidget</a>() -- is a special case. When it accepts the close event, TQt leaves the main event loop and the application is immediately terminated -(i.e. it returns from the call to <a href="ntqapplication.html#exec">TQApplication::exec</a>() in the +(i.e. it returns from the call to <a href="tqapplication.html#exec">TQApplication::exec</a>() in the main() function). <p> The event handler <a href="tqwidget.html#closeEvent">TQWidget::closeEvent</a>() receives close events. The default implementation of this event handler accepts the close @@ -75,12 +75,12 @@ with the <a href="tqt.html#WidgetFlags-enum">WDestructiveClose</a> widget flag. independent top-level windows in a multi-window application. <p> <a href="tqobject.html">TQObject</a>s emits the <a href="tqobject.html#destroyed">destroyed()</a> signal when they are deleted. <p> If the last top-level window is closed, the -<a href="ntqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is emitted. +<a href="tqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is emitted. <p> The <a href="#isAccepted">isAccepted</a>() function returns TRUE if the event's receiver has agreed to close the widget; call <a href="#accept">accept</a>() to agree to close the widget and call <a href="#ignore">ignore</a>() if the receiver of this event does not want the widget to be closed. -<p> <p>See also <a href="tqwidget.html#close">TQWidget::close</a>(), <a href="tqwidget.html#hide">TQWidget::hide</a>(), <a href="tqobject.html#destroyed">TQObject::destroyed</a>(), <a href="ntqapplication.html#setMainWidget">TQApplication::setMainWidget</a>(), <a href="ntqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>(), <a href="ntqapplication.html#exec">TQApplication::exec</a>(), <a href="ntqapplication.html#quit">TQApplication::quit</a>(), and <a href="events.html">Event Classes</a>. +<p> <p>See also <a href="tqwidget.html#close">TQWidget::close</a>(), <a href="tqwidget.html#hide">TQWidget::hide</a>(), <a href="tqobject.html#destroyed">TQObject::destroyed</a>(), <a href="tqapplication.html#setMainWidget">TQApplication::setMainWidget</a>(), <a href="tqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>(), <a href="tqapplication.html#exec">TQApplication::exec</a>(), <a href="tqapplication.html#quit">TQApplication::quit</a>(), and <a href="events.html">Event Classes</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQCloseEvent"></a>TQCloseEvent::TQCloseEvent () |