diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/qaxserver-example-hierarchy.html | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qaxserver-example-hierarchy.html')
-rw-r--r-- | doc/html/qaxserver-example-hierarchy.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/qaxserver-example-hierarchy.html b/doc/html/qaxserver-example-hierarchy.html index a018cba46..b6361de24 100644 --- a/doc/html/qaxserver-example-hierarchy.html +++ b/doc/html/qaxserver-example-hierarchy.html @@ -46,9 +46,9 @@ subclass with child widgets that are accessible as sub types. <a href="ntqsize.html">TQSize</a> sizeHint() const; public slots: - void createSubWidget( const <a href="ntqstring.html">TQString</a> &name ); + void createSubWidget( const <a href="tqstring.html">TQString</a> &name ); - TQSubWidget *subWidget( const <a href="ntqstring.html">TQString</a> &name ); + TQSubWidget *subWidget( const <a href="tqstring.html">TQString</a> &name ); private: <a href="qvboxlayout.html">TQVBoxLayout</a> *vbox; @@ -65,7 +65,7 @@ with a name, and to return a pointer to a named widget. } </pre>The constructor of TQParentWidget creates a vertical box layout. New child widgets are automatically added to the layout. -<p> <pre> void TQParentWidget::createSubWidget( const <a href="ntqstring.html">TQString</a> &name ) +<p> <pre> void TQParentWidget::createSubWidget( const <a href="tqstring.html">TQString</a> &name ) { TQSubWidget *sw = new TQSubWidget( this, name ); sw->setLabel( name ); @@ -74,7 +74,7 @@ New child widgets are automatically added to the layout. </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 name. The widget is also shown explicitly. -<p> <pre> TQSubWidget *TQParentWidget::subWidget( const <a href="ntqstring.html">TQString</a> &name ) +<p> <pre> TQSubWidget *TQParentWidget::subWidget( const <a href="tqstring.html">TQString</a> &name ) { return (TQSubWidget*)<a href="tqobject.html#child">child</a>( name, "TQSubWidget" ); } @@ -90,8 +90,8 @@ name. public: 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> &text ); - <a href="ntqstring.html">TQString</a> label() const; + void setLabel( const <a href="tqstring.html">TQString</a> &text ); + <a href="tqstring.html">TQString</a> label() const; <a href="ntqsize.html">TQSize</a> sizeHint() const; @@ -99,7 +99,7 @@ name. void paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> *e ); private: - <a href="ntqstring.html">TQString</a> lbl; + <a href="tqstring.html">TQString</a> lbl; }; </pre>The <tt>TQSubWidget</tt> class has a single string-property <tt>label</tt>, and implements the paintEvent to draw the label. @@ -110,7 +110,7 @@ and implements the paintEvent to draw the label. { } - void TQSubWidget::setLabel( const <a href="ntqstring.html">TQString</a> &text ) + void TQSubWidget::setLabel( const <a href="tqstring.html">TQString</a> &text ) { lbl = text; <a href="tqobject.html#setName">setName</a>( text ); @@ -143,9 +143,9 @@ and implements the paintEvent to draw the label. ActiveTQtFactory( const <a href="ntquuid.html">TQUuid</a> &lib, const <a href="ntquuid.html">TQUuid</a> &app ) : <a href="qaxfactory.html">TQAxFactory</a>( lib, app ) {} - <a href="ntqstringlist.html">TQStringList</a> featureList() const + <a href="tqstringlist.html">TQStringList</a> featureList() const { - <a href="ntqstringlist.html">TQStringList</a> list; + <a href="tqstringlist.html">TQStringList</a> list; list << "TQParentWidget"; list << "TQSubWidget"; return list; @@ -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="tqwidget.html">TQWidget</a> *create( const <a href="ntqstring.html">TQString</a> &key, TQWidget *parent, const char *name ) +<p> <pre> <a href="tqwidget.html">TQWidget</a> *create( const <a href="tqstring.html">TQString</a> &key, TQWidget *parent, const char *name ) { if ( key == "TQParentWidget" ) return new TQParentWidget( parent, name ); @@ -163,7 +163,7 @@ the class names of all supported types, <tt>TQParentWidget</tt> and </pre>The factory can however only create objects of the <tt>TQParentWidget</tt> type directly - objects of subtypes can only be created through the interface of <tt>TQParentWidget</tt> objects. -<p> <pre> <a href="ntquuid.html">TQUuid</a> classID( const <a href="ntqstring.html">TQString</a> &key ) const +<p> <pre> <a href="ntquuid.html">TQUuid</a> classID( const <a href="tqstring.html">TQString</a> &key ) const { if ( key == "TQParentWidget" ) return TQUuid( "{d574a747-8016-46db-a07c-b2b4854ee75c}" ); @@ -172,7 +172,7 @@ interface of <tt>TQParentWidget</tt> objects. return TQUuid(); } - <a href="ntquuid.html">TQUuid</a> interfaceID( const <a href="ntqstring.html">TQString</a> &key ) const + <a href="ntquuid.html">TQUuid</a> interfaceID( const <a href="tqstring.html">TQString</a> &key ) const { if ( key == "TQParentWidget" ) return TQUuid( "{4a30719d-d9c2-4659-9d16-67378209f822}" ); @@ -181,7 +181,7 @@ interface of <tt>TQParentWidget</tt> objects. return TQUuid(); } - <a href="ntquuid.html">TQUuid</a> eventsID( const <a href="ntqstring.html">TQString</a> &key ) const + <a href="ntquuid.html">TQUuid</a> eventsID( const <a href="tqstring.html">TQString</a> &key ) const { if ( key == "TQParentWidget" ) return TQUuid( "{aac9f855-c3dc-4cae-b747-c77f4d509f4c}" ); @@ -192,7 +192,7 @@ interface of <tt>TQParentWidget</tt> objects. } </pre>COM however requires the IDs for the interfaces of the sub types as well to be able to marshal calls correctly. -<p> <pre> <a href="ntqstring.html">TQString</a> exposeToSuperClass( const <a href="ntqstring.html">TQString</a> &key ) const +<p> <pre> <a href="tqstring.html">TQString</a> exposeToSuperClass( const <a href="tqstring.html">TQString</a> &key ) const { if ( key == "TQSubWidget" ) return key; |