diff options
Diffstat (limited to 'doc/html/qaxfactory.html')
| -rw-r--r-- | doc/html/qaxfactory.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/qaxfactory.html b/doc/html/qaxfactory.html index f52bc07b4..fd8dc96f9 100644 --- a/doc/html/qaxfactory.html +++ b/doc/html/qaxfactory.html @@ -235,8 +235,8 @@ control, otherwise the returned object will be exposed as a COM object. </h3> <p> Reimplement this function to provide the COM object for <em>object</em> -in <em>wrapper</em>. Return TRUE if the function was successfull, otherwise -return FALSE. +in <em>wrapper</em>. Return true if the function was successfull, otherwise +return false. <p> The default implementation creates a generic automation wrapper based on the <a href="metaobjects.html#meta-object">meta object</a> information of <em>object</em>. @@ -270,7 +270,7 @@ names) supported by this factory. <h3 class=fn>bool <a name="hasStockEvents"></a>TQAxFactory::hasStockEvents ( const <a href="ntqstring.html">TQString</a> & key ) const<tt> [virtual]</tt> </h3> -Reimplement this function to return TRUE if the ActiveX control +Reimplement this function to return true if the ActiveX control <em>key</em> should support the standard ActiveX events <ul> <li> Click @@ -283,8 +283,8 @@ Reimplement this function to return TRUE if the ActiveX control <li> MouseMove </ul> <p> The default implementation interprets <em>key</em> as the class name, -and returns TRUE if the value of the TQ_CLASSINFO entry "StockEvents" -is "yes". Otherwise this function returns FALSE. +and returns true if the value of the TQ_CLASSINFO entry "StockEvents" +is "yes". Otherwise this function returns false. <h3 class=fn><a href="ntquuid.html">TQUuid</a> <a name="interfaceID"></a>TQAxFactory::interfaceID ( const <a href="ntqstring.html">TQString</a> & key ) const<tt> [virtual]</tt> </h3> @@ -296,8 +296,8 @@ and returns the value of the TQ_CLASSINFO entry "InterfaceID". <h3 class=fn>bool <a name="isServer"></a>TQAxFactory::isServer ()<tt> [static]</tt> </h3> -Returns TRUE if the application has been started (by COM) as an ActiveX -server, otherwise returns FALSE. +Returns true if the application has been started (by COM) as an ActiveX +server, otherwise returns false. <p> <pre> int main( int argc, char**argv ) { @@ -314,10 +314,10 @@ server, otherwise returns FALSE. <h3 class=fn>bool <a name="isService"></a>TQAxFactory::isService () const<tt> [virtual]</tt> </h3> -Reimplement this function to return TRUE if the server is +Reimplement this function to return true if the server is running as a persistent service (e.g. an NT service) and should not terminate even when all objects provided have been released. -<p> The default implementation returns FALSE. +<p> The default implementation returns false. <h3 class=fn><a href="ntqmetaobject.html">TQMetaObject</a> * <a name="metaObject"></a>TQAxFactory::metaObject ( const <a href="ntqstring.html">TQString</a> & key ) const<tt> [virtual]</tt> </h3> @@ -359,27 +359,27 @@ that function returns the file path of the hosting application. <h3 class=fn>bool <a name="startServer"></a>TQAxFactory::startServer ( <a href="qaxfactory.html#ServerType-enum">ServerType</a> type = MultipleInstances )<tt> [static]</tt> </h3> -<p> Starts the COM server with <em>type</em> and returns TRUE if successful, -otherwise returns FALSE. +<p> Starts the COM server with <em>type</em> and returns true if successful, +otherwise returns false. <p> Calling this function if the server is already running (or for an -in-process server) does nothing and returns TRUE. +in-process server) does nothing and returns true. <p> The server is started automatically with <em>type</em> set to MultipleUse if the server executable has been started with the <tt>-activex</tt> command line parameter. <h3 class=fn>bool <a name="stayTopLevel"></a>TQAxFactory::stayTopLevel ( const <a href="ntqstring.html">TQString</a> & key ) const<tt> [virtual]</tt> </h3> -Reimplement this function to return TRUE if the ActiveX control <em>key</em> +Reimplement this function to return true if the ActiveX control <em>key</em> should be a top level window, e.g. a dialog. The default implementation -returns FALSE. +returns false. <h3 class=fn>bool <a name="stopServer"></a>TQAxFactory::stopServer ()<tt> [static]</tt> </h3> -<p> Stops the COM server and returns TRUE if successful, otherwise -returns FALSE. +<p> Stops the COM server and returns true if successful, otherwise +returns false. <p> Calling this function if the server is not running (or for an -in-process server) does nothing and returns TRUE. +in-process server) does nothing and returns true. <p> Stopping the server will not invalidate existing objects, but no new objects can be created from the existing server process. Usually COM will start a new server process if additional objects are requested. @@ -403,9 +403,9 @@ system registry using the <em>settings</em> object. <h3 class=fn>bool <a name="validateLicenseKey"></a>TQAxFactory::validateLicenseKey ( const <a href="ntqstring.html">TQString</a> & key, const <a href="ntqstring.html">TQString</a> & licenseKey ) const<tt> [virtual]</tt> </h3> -Reimplement this function to return TRUE if <em>licenseKey</em> is a valid +Reimplement this function to return true if <em>licenseKey</em> is a valid license for the class <em>key</em>, or if the current machine is licensed. -<p> The default implementation returns TRUE if the class <em>key</em> is not +<p> The default implementation returns true if the class <em>key</em> is not licensed (ie. no TQ_CLASSINFO attribute "LicenseKey"), or if <em>licenseKey</em> matches the value of the "LicenseKey" attribute, or if the machine is licensed through a .LIC file with the same filename |
