| CMakeLists.txt |
|
1455 |
- |
| iaxserverbase.cpp |
|
363 |
- |
| iaxserverbase_p.h |
|
1214 |
- |
| qaxaggregated.cpp |
!
\class QAxAggregated
\brief The QAxAggregated class is an abstract base class for implementations of
additional COM interfaces.
\inmodule QAxServer
Create a subclass of QAxAggregated and reimplement
queryInterface() to support additional COM interfaces. Use
multiple inheritance from those COM interfaces. Implement the
IUnknown interface of those COM interfaces by delegating the
calls to \c QueryInterface(), \c AddRef() and \c Release() to the
interface provided by controllingUnknown().
Use the widget() method if you need to make calls to the QWidget
implementing the ActiveX control. You must not store that pointer
in your subclass (unless you use QPointer), as the QWidget can
be destroyed by the ActiveQt framework at any time.
\sa QAxBindable, QAxFactory, {Active Qt}
|
3243 |
- |
| qaxaggregated.h |
|
1234 |
- |
| qaxbindable.cpp |
!
\class QAxBindable
\brief The QAxBindable class provides an interface between a
QWidget and an ActiveX client.
\inmodule QAxServer
The functions provided by this class allow an ActiveX control to
communicate property changes to a client application. Inherit
your control class from both QWidget (directly or indirectly) and
this class to get access to this class's functions. The
\l{moc}{meta-object compiler} requires you to inherit from
QWidget first.
\snippet src_activeqt_control_qaxbindable.cpp 0
When implementing the property write function, use
requestPropertyChange() to get permission from the ActiveX client
application to change this property. When the property changes,
call propertyChanged() to notify the ActiveX client application
about the change. If a fatal error occurs in the control, use the
static reportError() function to notify the client.
Use the interface returned by clientSite() to call the ActiveX
client. To implement additional COM interfaces in your ActiveX
control, reimplement createAggregate() to return a new object of a
QAxAggregated subclass.
\sa QAxAggregated, QAxFactory, {ActiveQt Framework}
|
5808 |
- |
| qaxbindable.h |
|
992 |
- |
| qaxfactory.cpp |
!
\class QAxFactory
\brief The QAxFactory class defines a factory for the creation of COM components.
\inmodule QAxServer
Implement this factory once in your COM server to provide information
about the components the server can create. Subclass QAxFactory and implement
the pure virtual functions in any implementation file (e.g. main.cpp), and export
the factory using the \c QAXFACTORY_EXPORT() macro.
\snippet src_activeqt_control_qaxfactory.cpp 0
If you use the \c Q_CLASSINFO() macro to provide the unique
identifiers or other attributes for your class you can use the \c
QAXFACTORY_BEGIN(), \c QAXCLASS() and \c QAXFACTORY_END() macros to
expose one or more classes as COM objects.
\snippet src_activeqt_control_qaxfactory.cpp 1
Only one QAxFactory implementation may be instantiated and
exported by an ActiveX server application. This instance is accessible
through the global qAxFactory() function.
A factory can also reimplement the registerClass() and
unregisterClass() functions to set additional flags for an ActiveX
control in the registry. To limit the number of methods or
properties a widget class exposes from its parent classes
reimplement exposeToSuperClass().
\sa QAxAggregated, QAxBindable, {ActiveQt Framework}
|
17066 |
- |
| qaxfactory.h |
|
10325 |
- |
| qaxmain.cpp |
|
400 |
- |
| qaxserver.cpp |
|
48472 |
- |
| qaxserver.def |
|
206 |
- |
| qaxserver.ico |
|
766 |
- |
| qaxserver.rc |
|
48 |
- |
| qaxserverbase.cpp |
Helper class to store and enumerate all connected event listeners.
|
122273 |
- |
| qaxserverbase_p.h |
\class QAxServerBase
\brief The QAxServerBase class is an ActiveX control hosting a QWidget.
\internal
|
11885 |
- |
| qaxserverdll.cpp |
lpvReserved |
3040 |
- |
| qaxservermain.cpp |
pv |
8514 |
- |
| qaxsignalvec.cpp |
|
1810 |
- |
| qaxsignalvec_p.h |
Helper class to enumerate all supported event interfaces.
|
1465 |
- |
| qclassfactory_p.h |
|
1924 |
- |
| Qt6AxServerMacros.cmake |
|
4986 |
- |