SIP4 python bindings for TQt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
2.8KB

  1. // This is the SIP interface definition for TQAxBase.
  2. //
  3. // Copyright (c) 2007
  4. // Riverbank Computing Limited <info@riverbankcomputing.co.uk>
  5. //
  6. // This file is part of PyTQt.
  7. //
  8. // This copy of PyTQt is free software; you can redistribute it and/or modify it
  9. // under the terms of the GNU General Public License as published by the Free
  10. // Software Foundation; either version 2, or (at your option) any later
  11. // version.
  12. //
  13. // PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
  14. // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  15. // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  16. // details.
  17. //
  18. // You should have received a copy of the GNU General Public License along with
  19. // PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
  20. // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  21. %ExportedDoc
  22. <Sect2><Title>TQAxBase (Windows, TQt v3+)</Title>
  23. <FuncSynopsis>
  24. <FuncDef><Function>TQAxObject</Function></FuncDef>
  25. <ParamDef>IUnknown *<Parameter>iface</Parameter> = 0</ParamDef>
  26. </FuncSynopsis>
  27. <Para>
  28. Not implemented.
  29. </Para>
  30. <FuncSynopsis>
  31. <FuncDef>long <Function>queryInterface</Function></FuncDef>
  32. <ParamDef>const TQUuid &amp;<Parameter>uuid</Parameter></ParamDef>
  33. <ParamDef>void **<Parameter>iface</Parameter></ParamDef>
  34. </FuncSynopsis>
  35. <Para>
  36. Not implemented.
  37. </Para>
  38. <FuncSynopsis>
  39. <FuncDef>PropertyBag <Function>propertyBag</Function> const</FuncDef>
  40. <ParamDef></ParamDef>
  41. </FuncSynopsis>
  42. <Para>
  43. Not implemented.
  44. </Para>
  45. <FuncSynopsis>
  46. <FuncDef>void <Function>setPropertyBag</Function></FuncDef>
  47. <ParamDef>const PropertyBag &amp;<Parameter>bag</Parameter></ParamDef>
  48. </FuncSynopsis>
  49. <Para>
  50. Not implemented.
  51. </Para>
  52. <FuncSynopsis>
  53. <FuncDef>unsigned long <Function>registerWeakActiveObject</Function></FuncDef>
  54. <ParamDef>const TQString &amp;<Parameter>guid</Parameter></ParamDef>
  55. </FuncSynopsis>
  56. <Para>
  57. This is a utility method provided by PyTQt to make it easier to use
  58. Mark Hammond's <Literal>win32com</Literal> module to manipulate objects
  59. created by the <Literal>qtaxcontainer</Literal> module.
  60. </Para>
  61. <Para>
  62. The <Literal>RegisterActiveObject()</Literal> COM function is called to
  63. register the <Literal>TQAxBase</Literal> instance as a weak object with the
  64. <Literal>guid</Literal> GUID. The revoke handle is returned.
  65. </Para>
  66. <FuncSynopsis>
  67. <FuncDef>static void <Function>revokeActiveObject</Function></FuncDef>
  68. <ParamDef>unsigned long <Parameter>rhandle</Parameter></ParamDef>
  69. </FuncSynopsis>
  70. <Para>
  71. This is a wrapper around the <Literal>RevokeActiveObject()</Literal> COM
  72. function and is called to revoke the object registered using
  73. <Literal>registerWeakActiveObject()</Literal>. <Literal>rhandle</Literal> is
  74. the revoke handle returned by <Literal>registerWeakActiveObject()</Literal>.
  75. </Para>
  76. </Sect2>
  77. %End