summaryrefslogtreecommitdiffstats
path: root/doc/html/qaxserver-example-hierarchy.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qaxserver-example-hierarchy.html')
-rw-r--r--doc/html/qaxserver-example-hierarchy.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/qaxserver-example-hierarchy.html b/doc/html/qaxserver-example-hierarchy.html
index de5115c16..a018cba46 100644
--- a/doc/html/qaxserver-example-hierarchy.html
+++ b/doc/html/qaxserver-example-hierarchy.html
@@ -33,15 +33,15 @@ body { background: #ffffff; color: black; }
-The ActiveX control in this example is a <a href="ntqwidget.html">TQWidget</a>
+The ActiveX control in this example is a <a href="tqwidget.html">TQWidget</a>
subclass with child widgets that are accessible as sub types.
<p>
-<pre> class TQParentWidget : public <a href="ntqwidget.html">TQWidget</a>
+<pre> class TQParentWidget : public <a href="tqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
- TQParentWidget( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = 0 );
+ TQParentWidget( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = 0 );
<a href="ntqsize.html">TQSize</a> sizeHint() const;
@@ -57,8 +57,8 @@ subclass with child widgets that are accessible as sub types.
with a name, and to return a pointer to a named widget.
<p>
-<pre> TQParentWidget::TQParentWidget( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name, WFlags f )
- : <a href="ntqwidget.html">TQWidget</a>( parent, name, f )
+<pre> TQParentWidget::TQParentWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name, WFlags f )
+ : <a href="tqwidget.html">TQWidget</a>( parent, name, f )
{
vbox = new <a href="qvboxlayout.html">TQVBoxLayout</a>( this );
<a name="x2649"></a> vbox-&gt;<a href="ntqlayout.html#setAutoAdd">setAutoAdd</a>( TRUE );
@@ -69,7 +69,7 @@ New child widgets are automatically added to the layout.
{
TQSubWidget *sw = new TQSubWidget( this, name );
sw-&gt;setLabel( name );
- sw-&gt;<a href="ntqwidget.html#show">show</a>();
+ sw-&gt;<a href="tqwidget.html#show">show</a>();
}
</pre>The <tt>createSubWidget</tt> slot creates a new <tt>TQSubWidget</tt> with
the name provided in the parameter, and sets the label to that
@@ -83,12 +83,12 @@ returns the first child of type <tt>TQSubWidget</tt> that has the requested
name.
<p>
-<pre> class TQSubWidget : public <a href="ntqwidget.html">TQWidget</a>
+<pre> class TQSubWidget : public <a href="tqwidget.html">TQWidget</a>
{
TQ_OBJECT
TQ_PROPERTY( TQString label READ label WRITE setLabel )
public:
- TQSubWidget( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = 0 );
+ TQSubWidget( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = 0 );
void setLabel( const <a href="ntqstring.html">TQString</a> &amp;text );
<a href="ntqstring.html">TQString</a> label() const;
@@ -105,8 +105,8 @@ name.
and implements the paintEvent to draw the label.
<p>
-<pre> TQSubWidget::TQSubWidget( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name, WFlags f )
- : <a href="ntqwidget.html">TQWidget</a>( parent, name, f )
+<pre> TQSubWidget::TQSubWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name, WFlags f )
+ : <a href="tqwidget.html">TQWidget</a>( parent, name, f )
{
}
@@ -114,7 +114,7 @@ and implements the paintEvent to draw the label.
{
lbl = text;
<a href="tqobject.html#setName">setName</a>( text );
- <a href="ntqwidget.html#update">update</a>();
+ <a href="tqwidget.html#update">update</a>();
}
TQString TQSubWidget::label() const
@@ -122,17 +122,17 @@ and implements the paintEvent to draw the label.
return lbl;
}
- TQSize TQSubWidget::<a href="ntqwidget.html#sizeHint">sizeHint</a>() const
+ TQSize TQSubWidget::<a href="tqwidget.html#sizeHint">sizeHint</a>() const
{
- <a href="ntqfontmetrics.html">TQFontMetrics</a> fm( <a href="ntqwidget.html#font">font</a>() );
+ <a href="ntqfontmetrics.html">TQFontMetrics</a> fm( <a href="tqwidget.html#font">font</a>() );
return TQSize( fm.<a href="ntqfontmetrics.html#width">width</a>(lbl), fm.<a href="ntqfontmetrics.html#height">height</a>() );
}
- void TQSubWidget::<a href="ntqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * )
+ void TQSubWidget::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * )
{
<a href="ntqpainter.html">TQPainter</a> painter(this);
- painter.<a href="ntqpainter.html#setPen">setPen</a>( <a href="ntqwidget.html#colorGroup">colorGroup</a>().text() );
- painter.<a href="ntqpainter.html#drawText">drawText</a>( <a href="ntqwidget.html#rect">rect</a>(), AlignCenter, lbl );
+ painter.<a href="ntqpainter.html#setPen">setPen</a>( <a href="tqwidget.html#colorGroup">colorGroup</a>().text() );
+ painter.<a href="ntqpainter.html#drawText">drawText</a>( <a href="tqwidget.html#rect">rect</a>(), AlignCenter, lbl );
}
</pre>The implementation of the TQSubWidget class is self-explanatory.
<p>
@@ -153,7 +153,7 @@ and implements the paintEvent to draw the label.
</pre>The <tt>ActiveTQtFactory</tt> class implements a <a href="qaxfactory.html">TQAxFactory</a>. It returns
the class names of all supported types, <tt>TQParentWidget</tt> and
<tt>TQSubWidget</tt>, from the <tt>featureList()</tt> reimplementation.
-<p> <pre> <a href="ntqwidget.html">TQWidget</a> *create( const <a href="ntqstring.html">TQString</a> &amp;key, TQWidget *parent, const char *name )
+<p> <pre> <a href="tqwidget.html">TQWidget</a> *create( const <a href="ntqstring.html">TQString</a> &amp;key, TQWidget *parent, const char *name )
{
if ( key == "TQParentWidget" )
return new TQParentWidget( parent, name );
@@ -200,7 +200,7 @@ well to be able to marshal calls correctly.
}
};
</pre>Objects of the <tt>TQSubWidget</tt> type should not expose the full
-functionality of e.g. <a href="ntqwidget.html">TQWidget</a>. Only those properties and slots
+functionality of e.g. <a href="tqwidget.html">TQWidget</a>. Only those properties and slots
explicitly declared in the type are accessible.
<p> <pre> TQAXFACTORY_EXPORT( ActiveTQtFactory, "{9e626211-be62-4d18-9483-9419358fbb03}", "{75c276de-1df5-451f-a004-e4fa1a587df1}" )
</pre>The factory is then exported using the <a href="qaxfactory.html#TQAXFACTORY_EXPORT">TQAXFACTORY_EXPORT</a>