diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-20 20:01:48 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-20 20:01:48 -0500 |
commit | 7608f0043b6dfc0b1adcaa8912793e1d3fe7b636 (patch) | |
tree | 7ffddfefaf990c9a33ee6a0f317b9133dc58305c /doc/html/qaxserver-example-multiple.html | |
parent | edec8306fb4f7dab5e6b0f368e889581f38ea3bc (diff) | |
download | tqt3-7608f0043b6dfc0b1adcaa8912793e1d3fe7b636.tar.gz tqt3-7608f0043b6dfc0b1adcaa8912793e1d3fe7b636.zip |
Automated update from Qt3
Diffstat (limited to 'doc/html/qaxserver-example-multiple.html')
-rw-r--r-- | doc/html/qaxserver-example-multiple.html | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/html/qaxserver-example-multiple.html b/doc/html/qaxserver-example-multiple.html index 4336e29c7..045a6f4b9 100644 --- a/doc/html/qaxserver-example-multiple.html +++ b/doc/html/qaxserver-example-multiple.html @@ -35,8 +35,8 @@ body { background: #ffffff; color: black; } The ActiveX controls in this example are simple <a href="ntqwidget.html">TQWidget</a> subclasses reimplementing the paintEvent() method. The classes use -the Q_CLASSINFO macro to -<p> The example demonstrates the use of the Q_CLASSINFO macro to set +the TQ_CLASSINFO macro to +<p> The example demonstrates the use of the TQ_CLASSINFO macro to set <a href="activentqt.html#ActiveTQt">ActiveTQt</a>-specific attributes for <a href="ntqobject.html">TQObject</a> sub classes, and the use of the <a href="qaxfactory.html#TQAXFACTORY_BEGIN">TQAXFACTORY_BEGIN</a>, <a href="qaxfactory.html#TQAXCLASS">TQAXCLASS</a> and <a href="qaxfactory.html#TQAXFACTORY_END">TQAXFACTORY_END</a> macros. <p> @@ -44,12 +44,12 @@ the <a href="qaxfactory.html#TQAXFACTORY_BEGIN">TQAXFACTORY_BEGIN</a>, <a href=" <pre> class TQAxWidget1 : public <a href="ntqwidget.html">TQWidget</a> { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> - Q_CLASSINFO("ClassID", "{1D9928BD-4453-4bdd-903D-E525ED17FDE5}") - Q_CLASSINFO("InterfaceID", "{99F6860E-2C5A-42ec-87F2-43396F4BE389}") - Q_CLASSINFO("EventsID", "{0A3E9F27-E4F1-45bb-9E47-63099BCCD0E3}") + TQ_CLASSINFO("ClassID", "{1D9928BD-4453-4bdd-903D-E525ED17FDE5}") + TQ_CLASSINFO("InterfaceID", "{99F6860E-2C5A-42ec-87F2-43396F4BE389}") + TQ_CLASSINFO("EventsID", "{0A3E9F27-E4F1-45bb-9E47-63099BCCD0E3}") </pre>The class declaration includes the TQ_OBJECT macro to activate TQt's <a href="metaobjects.html#meta-object">meta object</a> system, and sets COM identifiers for the class using the -Q_CLASSINFO macro. -<pre> Q_PROPERTY( TQColor fillColor READ fillColor WRITE setFillColor ) +TQ_CLASSINFO macro. +<pre> TQ_PROPERTY( TQColor fillColor READ fillColor WRITE setFillColor ) public: TQAxWidget1( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = 0 ) : <a href="ntqwidget.html">TQWidget</a>( parent, name, f ), fill_color( red ) @@ -79,22 +79,22 @@ Q_CLASSINFO macro. <a href="ntqcolor.html">TQColor</a> fill_color; }; </pre>The control draws a filled rectangle. The fill color is exposed as a -property using the Q_PROPERTY macro. +property using the TQ_PROPERTY macro. <p> <pre> class TQAxWidget2 : public <a href="ntqwidget.html">TQWidget</a> { TQ_OBJECT - Q_CLASSINFO("ClassID", "{58139D56-6BE9-4b17-937D-1B1EDEDD5B71}") - Q_CLASSINFO("InterfaceID", "{B66280AB-08CC-4dcc-924F-58E6D7975B7D}") - Q_CLASSINFO("EventsID", "{D72BACBA-03C4-4480-B4BB-DE4FE3AA14A0}") - Q_CLASSINFO("ToSuperClass", "TQAxWidget2") - Q_CLASSINFO("StockEvents", "yes") -</pre>The declaration of the second control class uses the Q_CLASSINFO macro + TQ_CLASSINFO("ClassID", "{58139D56-6BE9-4b17-937D-1B1EDEDD5B71}") + TQ_CLASSINFO("InterfaceID", "{B66280AB-08CC-4dcc-924F-58E6D7975B7D}") + TQ_CLASSINFO("EventsID", "{D72BACBA-03C4-4480-B4BB-DE4FE3AA14A0}") + TQ_CLASSINFO("ToSuperClass", "TQAxWidget2") + TQ_CLASSINFO("StockEvents", "yes") +</pre>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 <a href="ntqwidget.html">TQWidget</a> API, and provide the ActiveX stock events (ie. Click, KeyDown etc.). -<pre> Q_PROPERTY( int lineWidth READ lineWidth WRITE setLineWidth ) +<pre> TQ_PROPERTY( int lineWidth READ lineWidth WRITE setLineWidth ) public: TQAxWidget2( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = 0 ) : <a href="ntqwidget.html">TQWidget</a>( parent, name, f ), line_width( 1 ) @@ -128,7 +128,7 @@ the ActiveX stock events (ie. Click, KeyDown etc.). int line_width; }; </pre>The control draws a circle. The line width is exposed as a property -using the Q_PROPERTY macro. +using the TQ_PROPERTY macro. <p> The controls are exposed by the implementation of <a href="qaxfactory.html">TQAxFactory</a> as provided by the TQAXFACTORY_BEGIN and TQAXFACTORY_END macros. |