summaryrefslogtreecommitdiffstats
path: root/doc/html/qcustomevent.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qcustomevent.html')
-rw-r--r--doc/html/qcustomevent.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/qcustomevent.html b/doc/html/qcustomevent.html
index 3c727fa22..18ee27c79 100644
--- a/doc/html/qcustomevent.html
+++ b/doc/html/qcustomevent.html
@@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }
<p>The TQCustomEvent class provides support for custom events.
<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="qcustomevent-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -49,10 +49,10 @@ body { background: #ffffff; color: black; }
The TQCustomEvent class provides support for custom events.
<p>
<p> TQCustomEvent is a generic event class for user-defined events.
-User defined events can be sent to widgets or other <a href="qobject.html">TQObject</a>
-instances using <a href="qapplication.html#postEvent">TQApplication::postEvent</a>() or
-<a href="qapplication.html#sendEvent">TQApplication::sendEvent</a>(). Subclasses of TQObject can easily
-receive custom events by implementing the <a href="qobject.html#customEvent">TQObject::customEvent</a>()
+User defined events can be sent to widgets or other <a href="ntqobject.html">TQObject</a>
+instances using <a href="ntqapplication.html#postEvent">TQApplication::postEvent</a>() or
+<a href="ntqapplication.html#sendEvent">TQApplication::sendEvent</a>(). Subclasses of TQObject can easily
+receive custom events by implementing the <a href="ntqobject.html#customEvent">TQObject::customEvent</a>()
event handler function.
<p> TQCustomEvent objects should be created with a type ID that
uniquely identifies the event type. To avoid clashes with the
@@ -72,30 +72,30 @@ suitable for your event type.
class ColorChangeEvent : public TQCustomEvent
{
public:
- ColorChangeEvent( <a href="qcolor.html">TQColor</a> color )
+ ColorChangeEvent( <a href="ntqcolor.html">TQColor</a> color )
: TQCustomEvent( 65432 ), c( color ) {}
- <a href="qcolor.html">TQColor</a> color() const { return c; }
+ <a href="ntqcolor.html">TQColor</a> color() const { return c; }
private:
- <a href="qcolor.html">TQColor</a> c;
+ <a href="ntqcolor.html">TQColor</a> c;
};
// To send an event of this custom event type:
ColorChangeEvent* ce = new ColorChangeEvent( blue );
- TQApplication::<a href="qapplication.html#postEvent">postEvent</a>( receiver, ce ); // TQt will delete it when done
+ TQApplication::<a href="ntqapplication.html#postEvent">postEvent</a>( receiver, ce ); // TQt will delete it when done
// To receive an event of this custom event type:
void MyWidget::customEvent( TQCustomEvent * e )
{
- if ( e-&gt;<a href="qevent.html#type">type</a>() == 65432 ) { // It must be a ColorChangeEvent
+ if ( e-&gt;<a href="ntqevent.html#type">type</a>() == 65432 ) { // It must be a ColorChangeEvent
ColorChangeEvent* ce = (ColorChangeEvent*)e;
newColor = ce-&gt;color();
}
}
</pre>
-<p> <p>See also <a href="qobject.html#customEvent">TQWidget::customEvent</a>(), <a href="qapplication.html#notify">TQApplication::notify</a>(), and <a href="events.html">Event Classes</a>.
+<p> <p>See also <a href="ntqobject.html#customEvent">TQWidget::customEvent</a>(), <a href="ntqapplication.html#notify">TQApplication::notify</a>(), and <a href="events.html">Event Classes</a>.
<hr><h2>Member Function Documentation</h2>
<h3 class=fn><a name="TQCustomEvent"></a>TQCustomEvent::TQCustomEvent ( int&nbsp;type )
@@ -104,7 +104,7 @@ Constructs a custom event object with event type <em>type</em>. The
value of <em>type</em> must be at least as large as TQEvent::User. The
data pointer is set to 0.
-<h3 class=fn><a name="TQCustomEvent-2"></a>TQCustomEvent::TQCustomEvent ( <a href="qevent.html#Type-enum">Type</a>&nbsp;type, void&nbsp;*&nbsp;data )
+<h3 class=fn><a name="TQCustomEvent-2"></a>TQCustomEvent::TQCustomEvent ( <a href="ntqevent.html#Type-enum">Type</a>&nbsp;type, void&nbsp;*&nbsp;data )
</h3>
<p> Constructs a custom event object with the event type <em>type</em> and a