From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/qaxserver-example-hierarchy.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'doc/html/qaxserver-example-hierarchy.html') 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. TQSize sizeHint() const; public slots: - void createSubWidget( const TQString &name ); + void createSubWidget( const TQString &name ); - TQSubWidget *subWidget( const TQString &name ); + TQSubWidget *subWidget( const TQString &name ); private: TQVBoxLayout *vbox; @@ -65,7 +65,7 @@ with a name, and to return a pointer to a named widget. } The constructor of TQParentWidget creates a vertical box layout. New child widgets are automatically added to the layout. -

    void TQParentWidget::createSubWidget( const TQString &name )
+

    void TQParentWidget::createSubWidget( const TQString &name )
     {
         TQSubWidget *sw = new TQSubWidget( this, name );
         sw->setLabel( name );
@@ -74,7 +74,7 @@ New child widgets are automatically added to the layout.
 
The createSubWidget slot creates a new TQSubWidget with the name provided in the parameter, and sets the label to that name. The widget is also shown explicitly. -

    TQSubWidget *TQParentWidget::subWidget( const TQString &name )
+

    TQSubWidget *TQParentWidget::subWidget( const TQString &name )
     {
         return (TQSubWidget*)child( name, "TQSubWidget" );
     }
@@ -90,8 +90,8 @@ name.
     public:
         TQSubWidget( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );
 
-        void setLabel( const TQString &text );
-        TQString label() const;
+        void setLabel( const TQString &text );
+        TQString label() const;
 
         TQSize sizeHint() const;
 
@@ -99,7 +99,7 @@ name.
         void paintEvent( TQPaintEvent *e );
 
     private:
-        TQString lbl;
+        TQString lbl;
     };
 
The TQSubWidget class has a single string-property label, and implements the paintEvent to draw the label. @@ -110,7 +110,7 @@ and implements the paintEvent to draw the label. { } - void TQSubWidget::setLabel( const TQString &text ) + void TQSubWidget::setLabel( const TQString &text ) { lbl = text; setName( text ); @@ -143,9 +143,9 @@ and implements the paintEvent to draw the label. ActiveTQtFactory( const TQUuid &lib, const TQUuid &app ) : TQAxFactory( lib, app ) {} - TQStringList featureList() const + TQStringList featureList() const { - TQStringList list; + TQStringList list; list << "TQParentWidget"; list << "TQSubWidget"; return list; @@ -153,7 +153,7 @@ and implements the paintEvent to draw the label.
The ActiveTQtFactory class implements a TQAxFactory. It returns the class names of all supported types, TQParentWidget and TQSubWidget, from the featureList() reimplementation. -

        TQWidget *create( const TQString &key, TQWidget *parent, const char *name )
+

        TQWidget *create( const TQString &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, TQParentWidget and
 
The factory can however only create objects of the TQParentWidget type directly - objects of subtypes can only be created through the interface of TQParentWidget objects. -

        TQUuid classID( const TQString &key ) const
+

        TQUuid classID( const TQString &key ) const
         {
             if ( key == "TQParentWidget" )
                 return TQUuid( "{d574a747-8016-46db-a07c-b2b4854ee75c}" );
@@ -172,7 +172,7 @@ interface of TQParentWidget objects.
 
             return TQUuid();
         }
-        TQUuid interfaceID( const TQString &key ) const
+        TQUuid interfaceID( const TQString &key ) const
         {
             if ( key == "TQParentWidget" )
                 return TQUuid( "{4a30719d-d9c2-4659-9d16-67378209f822}" );
@@ -181,7 +181,7 @@ interface of TQParentWidget objects.
 
             return TQUuid();
         }
-        TQUuid eventsID( const TQString &key ) const
+        TQUuid eventsID( const TQString &key ) const
         {
             if ( key == "TQParentWidget" )
                 return TQUuid( "{aac9f855-c3dc-4cae-b747-c77f4d509f4c}" );
@@ -192,7 +192,7 @@ interface of TQParentWidget objects.
         }
 
COM however requires the IDs for the interfaces of the sub types as well to be able to marshal calls correctly. -

        TQString exposeToSuperClass( const TQString &key ) const
+

        TQString exposeToSuperClass( const TQString &key ) const
         {
             if ( key == "TQSubWidget" )
                 return key;
-- 
cgit v1.2.1