summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcloseevent.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqcloseevent.3qt')
-rw-r--r--doc/man/man3/tqcloseevent.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqcloseevent.3qt b/doc/man/man3/tqcloseevent.3qt
index e8d80d362..47f01da1e 100644
--- a/doc/man/man3/tqcloseevent.3qt
+++ b/doc/man/man3/tqcloseevent.3qt
@@ -35,7 +35,7 @@ Close events are sent to widgets that the user wants to close, usually by choosi
.PP
Close events contain a flag that indicates whether the receiver wants the widget to be closed or not. When a widget accepts the close event, it is hidden (and destroyed if it was created with the WDestructiveClose flag). If it refuses to accept the close 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.)
.PP
-The application's main widget -- QApplication::mainWidget() -- 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 QApplication::exec() in the main() function).
+The application's main widget -- TQApplication::mainWidget() -- 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 TQApplication::exec() in the main() function).
.PP
The event handler TQWidget::closeEvent() receives close events. The default implementation of this event handler accepts the close event. If you do not want your widget to be hidden, or want some special handing, you should reimplement the event handler.
.PP
@@ -45,11 +45,11 @@ If you want the widget to be deleted when it is closed, create it with the WDest
.PP
TQObjects emits the destroyed() signal when they are deleted.
.PP
-If the last top-level window is closed, the QApplication::lastWindowClosed() signal is emitted.
+If the last top-level window is closed, the TQApplication::lastWindowClosed() signal is emitted.
.PP
The isAccepted() function returns TRUE if the event's receiver has agreed to close the widget; call accept() to agree to close the widget and call ignore() if the receiver of this event does not want the widget to be closed.
.PP
-See also TQWidget::close(), TQWidget::hide(), TQObject::destroyed(), QApplication::setMainWidget(), QApplication::lastWindowClosed(), QApplication::exec(), QApplication::quit(), and Event Classes.
+See also TQWidget::close(), TQWidget::hide(), TQObject::destroyed(), TQApplication::setMainWidget(), TQApplication::lastWindowClosed(), TQApplication::exec(), TQApplication::quit(), and Event Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQCloseEvent::TQCloseEvent ()"
Constructs a close event object with the accept parameter flag set to FALSE.