summaryrefslogtreecommitdiffstats
path: root/doc/html/qcloseevent.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
commitea318d1431c89e647598c510c4245c6571aa5f46 (patch)
tree996d29b80c30d453dda86d1a23162d441628f169 /doc/html/qcloseevent.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/qcloseevent.html')
-rw-r--r--doc/html/qcloseevent.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/qcloseevent.html b/doc/html/qcloseevent.html
index 1674e60b..3a632cc3 100644
--- a/doc/html/qcloseevent.html
+++ b/doc/html/qcloseevent.html
@@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }
<p>The TQCloseEvent class contains parameters that describe a close event.
<a href="#details">More...</a>
-<p><tt>#include &lt;<a href="qevent-h.html">qevent.h</a>&gt;</tt>
-<p>Inherits <a href="qevent.html">TQEvent</a>.
+<p><tt>#include &lt;<a href="qevent-h.html">ntqevent.h</a>&gt;</tt>
+<p>Inherits <a href="ntqevent.html">TQEvent</a>.
<p><a href="qcloseevent-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -51,20 +51,20 @@ The TQCloseEvent class contains parameters that describe a close event.
<p> Close events are sent to widgets that the user wants to close,
usually by choosing "Close" from the window menu, or by clicking
the `X' titlebar button. They are also sent when you call
-<a href="qwidget.html#close">TQWidget::close</a>() to close a widget programmatically.
+<a href="ntqwidget.html#close">TQWidget::close</a>() to close a widget programmatically.
<p> 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 <a href="qt.html#WidgetFlags-enum">WDestructiveClose</a> flag). If it refuses to accept the close
+the <a href="ntqt.html#WidgetFlags-enum">WDestructiveClose</a> 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.)
-<p> The application's main widget -- <a href="qapplication.html#mainWidget">TQApplication::mainWidget</a>() --
+<p> The application's main widget -- <a href="ntqapplication.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="qapplication.html#exec">TQApplication::exec</a>() in the
+(i.e. it returns from the call to <a href="ntqapplication.html#exec">TQApplication::exec</a>() in the
main() function).
-<p> The event handler <a href="qwidget.html#closeEvent">TQWidget::closeEvent</a>() receives close events. The
+<p> The event handler <a href="ntqwidget.html#closeEvent">TQWidget::closeEvent</a>() 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.
@@ -72,16 +72,16 @@ special handing, you should reimplement the event handler.
Application Walkthrough</a> shows a close event handler that
asks whether to save a document before closing.
<p> If you want the widget to be deleted when it is closed, create it
-with the <a href="qt.html#WidgetFlags-enum">WDestructiveClose</a> widget flag. This is very useful for
+with the <a href="ntqt.html#WidgetFlags-enum">WDestructiveClose</a> widget flag. This is very useful for
independent top-level windows in a multi-window application.
-<p> <a href="qobject.html">TQObject</a>s emits the <a href="qobject.html#destroyed">destroyed()</a> signal when they are deleted.
+<p> <a href="ntqobject.html">TQObject</a>s emits the <a href="ntqobject.html#destroyed">destroyed()</a> signal when they are deleted.
<p> If the last top-level window is closed, the
-<a href="qapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is emitted.
+<a href="ntqapplication.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="qwidget.html#close">TQWidget::close</a>(), <a href="qwidget.html#hide">TQWidget::hide</a>(), <a href="qobject.html#destroyed">TQObject::destroyed</a>(), <a href="qapplication.html#setMainWidget">TQApplication::setMainWidget</a>(), <a href="qapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>(), <a href="qapplication.html#exec">TQApplication::exec</a>(), <a href="qapplication.html#quit">TQApplication::quit</a>(), and <a href="events.html">Event Classes</a>.
+<p> <p>See also <a href="ntqwidget.html#close">TQWidget::close</a>(), <a href="ntqwidget.html#hide">TQWidget::hide</a>(), <a href="ntqobject.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>.
<hr><h2>Member Function Documentation</h2>
<h3 class=fn><a name="TQCloseEvent"></a>TQCloseEvent::TQCloseEvent ()
@@ -98,10 +98,10 @@ to FALSE.
<p> Setting the accept flag indicates that the receiver of this event
agrees to close the widget.
<p> The accept flag is <em>not</em> set by default.
-<p> If you choose to accept in <a href="qwidget.html#closeEvent">TQWidget::closeEvent</a>(), the widget will
-be hidden. If the widget's <a href="qt.html#WidgetFlags-enum">WDestructiveClose</a> flag is set, it
+<p> If you choose to accept in <a href="ntqwidget.html#closeEvent">TQWidget::closeEvent</a>(), the widget will
+be hidden. If the widget's <a href="ntqt.html#WidgetFlags-enum">WDestructiveClose</a> flag is set, it
will also be destroyed.
-<p> <p>See also <a href="#ignore">ignore</a>() and <a href="qwidget.html#hide">TQWidget::hide</a>().
+<p> <p>See also <a href="#ignore">ignore</a>() and <a href="ntqwidget.html#hide">TQWidget::hide</a>().
<p>Examples: <a href="qaction-application-example.html#x1128">action/application.cpp</a>, <a href="simple-application-example.html#x1545">application/application.cpp</a>, <a href="mdi-example.html#x2021">mdi/application.cpp</a>, <a href="popup-example.html#x1607">popup/popup.cpp</a>, and <a href="qwerty-example.html#x360">qwerty/qwerty.cpp</a>.
<h3 class=fn>void <a name="ignore"></a>TQCloseEvent::ignore ()