From 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 2 Jun 2024 23:07:22 +0900 Subject: Rename ntqwidget* related files to equivalent tqwidget* Signed-off-by: Michele Calgaro --- doc/html/qaxserver-example-multiple.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/qaxserver-example-multiple.html') diff --git a/doc/html/qaxserver-example-multiple.html b/doc/html/qaxserver-example-multiple.html index 010bc50fc..86094e0b3 100644 --- a/doc/html/qaxserver-example-multiple.html +++ b/doc/html/qaxserver-example-multiple.html @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; } -The ActiveX controls in this example are simple TQWidget +The ActiveX controls in this example are simple TQWidget subclasses reimplementing the paintEvent() method. The classes use the TQ_CLASSINFO macro to

The example demonstrates the use of the TQ_CLASSINFO macro to set @@ -41,7 +41,7 @@ the TQ_CLASSINFO macro to the TQAXFACTORY_BEGIN, TQAXCLASS and TQAXFACTORY_END macros.

-

    class TQAxWidget1 : public TQWidget
+
    class TQAxWidget1 : public TQWidget
     {
         TQ_OBJECT
         TQ_CLASSINFO("ClassID", "{1D9928BD-4453-4bdd-903D-E525ED17FDE5}")
@@ -51,8 +51,8 @@ the TQAXFACTORY_BEGIN, TQWidget *parent = 0, const char *name = 0, WFlags f = 0 )
-            : TQWidget( parent, name, f ), fill_color( red )
+        TQAxWidget1( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 )
+            : TQWidget( parent, name, f ), fill_color( red )
         {
         }
 
@@ -82,7 +82,7 @@ TQ_CLASSINFO macro.
 property using the TQ_PROPERTY macro.
 

-

    class TQAxWidget2 : public TQWidget
+
    class TQAxWidget2 : public TQWidget
     {
         TQ_OBJECT
         TQ_CLASSINFO("ClassID", "{58139D56-6BE9-4b17-937D-1B1EDEDD5B71}")
@@ -92,12 +92,12 @@ property using the TQ_PROPERTY macro.
         TQ_CLASSINFO("StockEvents", "yes")
 
The declaration of the second control class uses the TQ_CLASSINFO macro to set the COM identifiers as well as additional COM attributes for the -class. Objects of that class will not expose the TQWidget API, and provide +class. Objects of that class will not expose the TQWidget API, and provide the ActiveX stock events (ie. Click, KeyDown etc.).
        TQ_PROPERTY( int lineWidth READ lineWidth WRITE setLineWidth )
     public:
-        TQAxWidget2( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 )
-            : TQWidget( parent, name, f ), line_width( 1 )
+        TQAxWidget2( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 )
+            : TQWidget( parent, name, f ), line_width( 1 )
         {
         }
 
-- 
cgit v1.2.3