Qt 4.8
|
Public Types | |
typedef QMap< QUuid, IConnectionPoint * > | ConnectionPoints |
typedef QMap< QUuid, IConnectionPoint * >::Iterator | ConnectionPointsIterator |
Public Functions | |
unsigned long WINAPI | AddRef () |
STDMETHOD() | Advise (IAdviseSink *pAdvSink, DWORD *pdwConnection) |
IUnknown * | clientSite () const |
STDMETHOD() | Close (DWORD dwSaveOption) |
STDMETHOD() | ContextSensitiveHelp (BOOL fEnterMode) |
HWND | create (HWND hWndParent, RECT &rcPos) |
Creates the window hosting the QWidget. More... | |
void | createMenu (QMenuBar *menuBar) |
Creates a Win32 menubar. More... | |
HMENU | createPopup (QMenu *popup, HMENU oldMenu=0) |
STDMETHOD() | DAdvise (FORMATETC *pformatetc, DWORD advf, IAdviseSink *pAdvSink, DWORD *pdwConnection) |
STDMETHOD() | DoVerb (LONG iVerb, LPMSG lpmsg, IOleClientSite *pActiveSite, LONG lindex, HWND hwndParent, LPCRECT lprcPosRect) |
STDMETHOD() | Draw (DWORD dwAspect, LONG lIndex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hicTargetDevice, HDC hdcDraw, LPCRECTL lprcBounds, LPCRECTL lprcWBounds, BOOL(__stdcall *pfnContinue)(ULONG_PTR), ULONG_PTR dwContinue) |
STDMETHOD() | DUnadvise (DWORD dwConnection) |
void | emitPropertyChanged (const char *) |
Call IPropertyNotifySink of connected clients. More... | |
bool | emitRequestPropertyChange (const char *) |
Call IPropertyNotifySink of connected clients. More... | |
STDMETHOD() | EnableModeless (BOOL) |
void | ensureMetaData () |
Makes sure the type info is loaded. More... | |
STDMETHOD() | EnumAdvise (IEnumSTATDATA **ppenumAdvise) |
STDMETHOD() | EnumConnectionPoints (IEnumConnectionPoints **) |
STDMETHOD() | EnumDAdvise (IEnumSTATDATA **ppenumAdvise) |
STDMETHOD() | EnumFormatEtc (DWORD, IEnumFORMATETC **) |
STDMETHOD() | EnumVerbs (IEnumOLEVERB **ppEnumOleVerb) |
bool | eventFilter (QObject *o, QEvent *e) |
Filters events if this object has been installed as an event filter for the watched object. More... | |
STDMETHOD() | FindConnectionPoint (REFIID, IConnectionPoint **) |
STDMETHOD() | Freeze (DWORD dwAspect, LONG lindex, void *pvAspect, DWORD *pdwFreeze) |
STDMETHOD() | FreezeEvents (BOOL) |
STDMETHOD() | GetAdvise (DWORD *aspects, DWORD *advf, IAdviseSink **pAdvSink) |
STDMETHOD() | GetCanonicalFormatEtc (FORMATETC *, FORMATETC *) |
STDMETHOD() | GetClassID (GUID *clsid) |
STDMETHOD() | GetClassInfo (ITypeInfo **pptinfo) |
STDMETHOD() | GetClientSite (IOleClientSite **ppClientSite) |
STDMETHOD() | GetClipboardData (DWORD dwReserved, IDataObject **ppDataObject) |
STDMETHOD() | GetColorSet (DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hicTargetDev, LOGPALETTE **ppColorSet) |
STDMETHOD() | GetControlInfo (LPCONTROLINFO) |
STDMETHOD() | GetCurFile (LPOLESTR *currentFile) |
STDMETHOD() | GetData (FORMATETC *pformatetcIn, STGMEDIUM *pmedium) |
STDMETHOD() | GetDataHere (FORMATETC *, STGMEDIUM *) |
STDMETHOD() | GetExtent (DWORD dwDrawAspect, SIZEL *psizel) |
STDMETHOD() | GetExtent (DWORD dwAspect, LONG lindex, DVTARGETDEVICE *ptd, LPSIZEL lpsizel) |
STDMETHOD() | GetGUID (DWORD dwGuidKind, GUID *pGUID) |
STDMETHOD() | GetIDsOfNames (REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgdispid) |
STDMETHOD() | GetMiscStatus (DWORD dwAspect, DWORD *pdwStatus) |
STDMETHOD() | GetMoniker (DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk) |
STDMETHOD() | GetSizeMax (ULARGE_INTEGER *pcbSize) |
STDMETHOD() | GetTypeInfo (UINT itinfo, LCID lcid, ITypeInfo **pptinfo) |
STDMETHOD() | GetTypeInfoCount (UINT *pctinfo) |
STDMETHOD() | GetUserClassID (CLSID *pClsid) |
STDMETHOD() | GetUserType (DWORD dwFormOfType, LPOLESTR *pszUserType) |
STDMETHOD() | GetWindow (HWND *pHwnd) |
STDMETHOD() | HandsOffStorage () |
void | init () |
Initializes data members. More... | |
STDMETHOD() | InitFromData (IDataObject *pDataObject, BOOL fCreation, DWORD dwReserved) |
STDMETHOD() | InitNew (VOID) |
STDMETHOD() | InitNew (IStorage *pStg) |
STDMETHOD() | InPlaceDeactivate () |
HRESULT | InternalQueryInterface (REFIID iid, void **iface) |
STDMETHOD() | Invoke (DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pdispparams, VARIANT *pvarResult, EXCEPINFO *pexcepinfo, UINT *puArgErr) |
STDMETHOD() | IsDirty () |
bool | isPropertyExposed (int index) |
Returns true if the property index is exposed to COM and should be saved/loaded. More... | |
STDMETHOD() | IsUpToDate () |
STDMETHOD() | Load (IStream *pStm) |
STDMETHOD() | Load (IPropertyBag *, IErrorLog *) |
STDMETHOD() | Load (IStorage *pStg) |
STDMETHOD() | Load (LPCOLESTR fileName, DWORD mode) |
STDMETHOD() | OnAmbientPropertyChange (DISPID) |
STDMETHOD() | OnDocWindowActivate (BOOL fActivate) |
STDMETHOD() | OnFrameWindowActivate (BOOL) |
STDMETHOD() | OnMnemonic (LPMSG) |
QAxServerBase (const QString &classname, IUnknown *outerUnknown) | |
Constructs a QAxServerBase object wrapping the QWidget classname into an ActiveX control. More... | |
QAxServerBase (QObject *o) | |
Constructs a QAxServerBase object wrapping o. More... | |
QObject * | qObject () const |
int | qt_metacall (QMetaObject::Call, int index, void **argv) |
Catches all signals emitted by the Qt widget and fires the respective COM event. More... | |
STDMETHOD() | QueryGetData (FORMATETC *) |
HRESULT WINAPI | QueryInterface (REFIID iid, void **iface) |
STDMETHOD() | ReactivateAndUndo () |
void | registerActiveObject (IUnknown *object) |
unsigned long WINAPI | Release () |
void | removeMenu () |
Remove the Win32 menubar. More... | |
void | reportError (int code, const QString &src, const QString &desc, const QString &context) |
STDMETHOD() | ResizeBorder (LPCRECT prcBorder, IOleInPlaceUIWindow *pUIWindow, BOOL fFrameWindow) |
void | revokeActiveObject () |
STDMETHOD() | Save (IStream *pStm, BOOL fClearDirty) |
STDMETHOD() | Save (IPropertyBag *, BOOL, BOOL) |
STDMETHOD() | Save (IStorage *pStg, BOOL fSameAsLoad) |
STDMETHOD() | Save (LPCOLESTR fileName, BOOL fRemember) |
STDMETHOD() | SaveCompleted (IStorage *pStgNew) |
STDMETHOD() | SaveCompleted (LPCOLESTR fileName) |
STDMETHOD() | SetAdvise (DWORD aspects, DWORD advf, IAdviseSink *pAdvSink) |
STDMETHOD() | SetClientSite (IOleClientSite *pClientSite) |
STDMETHOD() | SetColorScheme (LOGPALETTE *pLogPal) |
STDMETHOD() | SetData (FORMATETC *, STGMEDIUM *, BOOL) |
STDMETHOD() | SetExtent (DWORD dwDrawAspect, SIZEL *psizel) |
STDMETHOD() | SetHostNames (LPCOLESTR szContainerApp, LPCOLESTR szContainerObj) |
STDMETHOD() | SetMoniker (DWORD dwWhichMoniker, IMoniker *ppmk) |
STDMETHOD() | SetObjectRects (LPCRECT lprcPosRect, LPCRECT lprcClipRect) |
STDMETHOD() | TranslateAcceleratorA (MSG *pMsg) |
STDMETHOD() | TranslateAcceleratorW (MSG *pMsg) |
STDMETHOD() | UIDeactivate () |
STDMETHOD() | Unadvise (DWORD dwConnection) |
STDMETHOD() | Unfreeze (DWORD dwFreeze) |
STDMETHOD() | Update () |
~QAxServerBase () | |
Destroys the QAxServerBase object, releasing all allocated resources and interfaces. More... | |
Public Functions inherited from QObject | |
bool | blockSignals (bool b) |
If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). More... | |
const QObjectList & | children () const |
Returns a list of child objects. More... | |
bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
bool | disconnect (const QObject *receiver, const char *member=0) |
void | dumpObjectInfo () |
Dumps information about signal connections, etc. More... | |
void | dumpObjectTree () |
Dumps a tree of children to the debug output. More... | |
QList< QByteArray > | dynamicPropertyNames () const |
Returns the names of all properties that were dynamically added to the object using setProperty(). More... | |
virtual bool | event (QEvent *) |
This virtual function receives events to an object and should return true if the event e was recognized and processed. More... | |
template<typename T > | |
T | findChild (const QString &aName=QString()) const |
Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. More... | |
template<typename T > | |
QList< T > | findChildren (const QString &aName=QString()) const |
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. More... | |
template<typename T > | |
QList< T > | findChildren (const QRegExp &re) const |
bool | inherits (const char *classname) const |
Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false. More... | |
void | installEventFilter (QObject *) |
Installs an event filter filterObj on this object. More... | |
bool | isWidgetType () const |
Returns true if the object is a widget; otherwise returns false. More... | |
void | killTimer (int id) |
Kills the timer with timer identifier, id. More... | |
virtual const QMetaObject * | metaObject () const |
Returns a pointer to the meta-object of this object. More... | |
void | moveToThread (QThread *thread) |
Changes the thread affinity for this object and its children. More... | |
QString | objectName () const |
QObject * | parent () const |
Returns a pointer to the parent object. More... | |
QVariant | property (const char *name) const |
Returns the value of the object's name property. More... | |
Q_INVOKABLE | QObject (QObject *parent=0) |
Constructs an object with parent object parent. More... | |
void | removeEventFilter (QObject *) |
Removes an event filter object obj from this object. More... | |
void | setObjectName (const QString &name) |
void | setParent (QObject *) |
Makes the object a child of parent. More... | |
bool | setProperty (const char *name, const QVariant &value) |
Sets the value of the object's name property to value. More... | |
void | setUserData (uint id, QObjectUserData *data) |
bool | signalsBlocked () const |
Returns true if signals are blocked; otherwise returns false. More... | |
int | startTimer (int interval) |
Starts a timer and returns a timer identifier, or returns zero if it could not start a timer. More... | |
QThread * | thread () const |
Returns the thread in which the object lives. More... | |
QObjectUserData * | userData (uint id) const |
virtual | ~QObject () |
Destroys the object, deleting all its child objects. More... | |
Static Public Functions | |
static LRESULT QT_WIN_CALLBACK | ActiveXProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
Static Public Functions inherited from QObject | |
static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
Creates a connection of the given type from the signal in the sender object to the method in the receiver object. More... | |
static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
Disconnects signal in object sender from method in object receiver. More... | |
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
static uint | registerUserData () |
static QString | tr (const char *sourceText, const char *comment=0, int n=-1) |
static QString | trUtf8 (const char *sourceText, const char *comment=0, int n=-1) |
Private Functions | |
HRESULT | internalActivate () |
void | internalBind () |
Detects and initilaizes implementation of QAxBindable in objects. More... | |
void | internalConnect () |
Connects object signals to event dispatcher. More... | |
bool | internalCreate () |
Creates the QWidget for the classname passed to the c'tor. More... | |
void | resize (const QSize &newSize) |
Resizes the control, faking a QResizeEvent if required. More... | |
void | update () |
Updates the view, or asks the client site to do so. More... | |
void | updateGeometry () |
Updates the internal size values. More... | |
void | updateMask () |
Updates the mask of the widget parent. More... | |
Friends | |
class | QAxBindable |
class | QAxPropertyPage |
Additional Inherited Members | |
Public Slots inherited from QObject | |
void | deleteLater () |
Schedules this object for deletion. More... | |
Signals inherited from QObject | |
void | destroyed (QObject *=0) |
This signal is emitted immediately before the object obj is destroyed, and can not be blocked. More... | |
Static Public Variables inherited from QObject | |
static const QMetaObject | staticMetaObject |
This variable stores the meta-object for the class. More... | |
Protected Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *) |
This event handler can be reimplemented in a subclass to receive child events. More... | |
virtual void | connectNotify (const char *signal) |
This virtual function is called when something has been connected to signal in this object. More... | |
virtual void | customEvent (QEvent *) |
This event handler can be reimplemented in a subclass to receive custom events. More... | |
virtual void | disconnectNotify (const char *signal) |
This virtual function is called when something has been disconnected from signal in this object. More... | |
QObject (QObjectPrivate &dd, QObject *parent=0) | |
int | receivers (const char *signal) const |
Returns the number of receivers connected to the signal. More... | |
QObject * | sender () const |
Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns 0. More... | |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *) |
This event handler can be reimplemented in a subclass to receive timer events for the object. More... | |
Protected Variables inherited from QObject | |
QScopedPointer< QObjectData > | d_ptr |
Static Protected Variables inherited from QObject | |
static const QMetaObject | staticQtMetaObject |
Related Functions inherited from QObject | |
T | qFindChildqFindChildren (const QObject *obj, const QString &name)() |
QList< T > | qFindChildrenqFindChildren (const QObject *obj, const QString &name)() |
QList< T > | qFindChildrenqFindChildren (const QObject *obj, const QRegExp ®Exp)() |
T * | qobject_cast (QObject *object) |
QObjectList | |
void * | qt_find_obj_child (QObject *parent, const char *type, const QString &name) |
Returns a pointer to the object named name that inherits type and with a given parent. More... | |
Definition at line 122 of file qaxserverbase.cpp.
typedef QMap<QUuid,IConnectionPoint*> QAxServerBase::ConnectionPoints |
Definition at line 147 of file qaxserverbase.cpp.
typedef QMap<QUuid,IConnectionPoint*>::Iterator QAxServerBase::ConnectionPointsIterator |
Definition at line 148 of file qaxserverbase.cpp.
QAxServerBase::QAxServerBase | ( | const QString & | classname, |
IUnknown * | outerUnknown | ||
) |
Constructs a QAxServerBase object wrapping the QWidget classname into an ActiveX control.
The constructor is called by the QClassFactory object provided by the COM server for the respective CLSID.
Definition at line 1046 of file qaxserverbase.cpp.
QAxServerBase::QAxServerBase | ( | QObject * | o | ) |
Constructs a QAxServerBase object wrapping o.
Definition at line 1059 of file qaxserverbase.cpp.
QAxServerBase::~QAxServerBase | ( | ) |
Destroys the QAxServerBase object, releasing all allocated resources and interfaces.
Definition at line 1121 of file qaxserverbase.cpp.
|
static |
Definition at line 1385 of file qaxserverbase.cpp.
Referenced by create().
|
inline |
HRESULT WINAPI QAxServerBase::Advise | ( | IAdviseSink * | pAdvSink, |
DWORD * | pdwConnection | ||
) |
Definition at line 3773 of file qaxserverbase.cpp.
|
inlinevirtual |
HRESULT WINAPI QAxServerBase::Close | ( | DWORD | dwSaveOption | ) |
Definition at line 3785 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::ContextSensitiveHelp | ( | BOOL | fEnterMode | ) |
Definition at line 3433 of file qaxserverbase.cpp.
HWND QAxServerBase::create | ( | HWND | hWndParent, |
RECT & | rcPos | ||
) |
Creates the window hosting the QWidget.
Definition at line 1563 of file qaxserverbase.cpp.
Referenced by internalActivate().
void QAxServerBase::createMenu | ( | QMenuBar * | menuBar | ) |
Creates a Win32 menubar.
Definition at line 1651 of file qaxserverbase.cpp.
Referenced by eventFilter(), and internalActivate().
HMENU QAxServerBase::createPopup | ( | QMenu * | popup, |
HMENU | oldMenu = 0 |
||
) |
Definition at line 1608 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), and createMenu().
HRESULT WINAPI QAxServerBase::DAdvise | ( | FORMATETC * | pformatetc, |
DWORD | advf, | ||
IAdviseSink * | pAdvSink, | ||
DWORD * | pdwConnection | ||
) |
Definition at line 4230 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::DoVerb | ( | LONG | iVerb, |
LPMSG | lpmsg, | ||
IOleClientSite * | pActiveSite, | ||
LONG | lindex, | ||
HWND | hwndParent, | ||
LPCRECT | lprcPosRect | ||
) |
Definition at line 3923 of file qaxserverbase.cpp.
Referenced by ActiveXProc().
HRESULT WINAPI QAxServerBase::Draw | ( | DWORD | dwAspect, |
LONG | lIndex, | ||
void * | pvAspect, | ||
DVTARGETDEVICE * | ptd, | ||
HDC | hicTargetDevice, | ||
HDC | hdcDraw, | ||
LPCRECTL | lprcBounds, | ||
LPCRECTL | lprcWBounds, | ||
BOOL(__stdcall *pfnContinue)(ULONG_PTR) | , | ||
ULONG_PTR | dwContinue | ||
) |
Definition at line 3178 of file qaxserverbase.cpp.
Referenced by GetData().
HRESULT WINAPI QAxServerBase::DUnadvise | ( | DWORD | dwConnection | ) |
Definition at line 4249 of file qaxserverbase.cpp.
|
virtual |
Call IPropertyNotifySink of connected clients.
dispId specifies the ID of the property that changed.
Implements IAxServerBase.
Definition at line 2204 of file qaxserverbase.cpp.
|
virtual |
Call IPropertyNotifySink of connected clients.
dispId specifies the ID of the property that changed.
Implements IAxServerBase.
Definition at line 2156 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::EnableModeless | ( | BOOL | fEnable | ) |
Definition at line 3715 of file qaxserverbase.cpp.
void QAxServerBase::ensureMetaData | ( | ) |
Makes sure the type info is loaded.
Definition at line 1732 of file qaxserverbase.cpp.
Referenced by GetIDsOfNames(), GetTypeInfo(), Invoke(), and qt_metacall().
HRESULT WINAPI QAxServerBase::EnumAdvise | ( | IEnumSTATDATA ** | ppenumAdvise | ) |
Definition at line 3968 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::EnumConnectionPoints | ( | IEnumConnectionPoints ** | epoints | ) |
Definition at line 2724 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::EnumDAdvise | ( | IEnumSTATDATA ** | ppenumAdvise | ) |
Definition at line 4257 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::EnumFormatEtc | ( | DWORD | , |
IEnumFORMATETC ** | |||
) |
Definition at line 4297 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::EnumVerbs | ( | IEnumOLEVERB ** | ppEnumOleVerb | ) |
Definition at line 3976 of file qaxserverbase.cpp.
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Reimplemented from QObject.
Definition at line 4320 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::FindConnectionPoint | ( | REFIID | iid, |
IConnectionPoint ** | cpoint | ||
) |
Definition at line 2736 of file qaxserverbase.cpp.
Referenced by emitPropertyChanged(), emitRequestPropertyChange(), and qt_metacall().
HRESULT WINAPI QAxServerBase::Freeze | ( | DWORD | dwAspect, |
LONG | lindex, | ||
void * | pvAspect, | ||
DWORD * | pdwFreeze | ||
) |
Definition at line 3237 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::FreezeEvents | ( | BOOL | bFreeze | ) |
Definition at line 3300 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetAdvise | ( | DWORD * | aspects, |
DWORD * | advf, | ||
IAdviseSink ** | pAdvSink | ||
) |
Definition at line 3265 of file qaxserverbase.cpp.
Definition at line 4281 of file qaxserverbase.cpp.
|
inline |
Definition at line 301 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetClassInfo | ( | ITypeInfo ** | pptinfo | ) |
Definition at line 2248 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetClientSite | ( | IOleClientSite ** | ppClientSite | ) |
Definition at line 3986 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetClipboardData | ( | DWORD | dwReserved, |
IDataObject ** | ppDataObject | ||
) |
Definition at line 3999 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetColorSet | ( | DWORD | dwDrawAspect, |
LONG | lindex, | ||
void * | pvAspect, | ||
DVTARGETDEVICE * | ptd, | ||
HDC | hicTargetDev, | ||
LOGPALETTE ** | ppColorSet | ||
) |
Definition at line 3228 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetControlInfo | ( | LPCONTROLINFO | ) |
Definition at line 3292 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetCurFile | ( | LPOLESTR * | currentFile | ) |
Definition at line 3065 of file qaxserverbase.cpp.
Definition at line 4162 of file qaxserverbase.cpp.
Definition at line 4265 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetExtent | ( | DWORD | dwDrawAspect, |
SIZEL * | psizel | ||
) |
Definition at line 4007 of file qaxserverbase.cpp.
Referenced by GetExtent().
HRESULT WINAPI QAxServerBase::GetExtent | ( | DWORD | dwAspect, |
LONG | lindex, | ||
DVTARGETDEVICE * | ptd, | ||
LPSIZEL | lpsizel | ||
) |
Definition at line 3280 of file qaxserverbase.cpp.
Definition at line 2264 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetIDsOfNames | ( | REFIID | riid, |
LPOLESTR * | rgszNames, | ||
UINT | cNames, | ||
LCID | lcid, | ||
DISPID * | rgdispid | ||
) |
Definition at line 2312 of file qaxserverbase.cpp.
Referenced by emitPropertyChanged(), emitRequestPropertyChange(), and isPropertyExposed().
HRESULT WINAPI QAxServerBase::GetMiscStatus | ( | DWORD | dwAspect, |
DWORD * | pdwStatus | ||
) |
Definition at line 3765 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetMoniker | ( | DWORD | dwAssign, |
DWORD | dwWhichMoniker, | ||
IMoniker ** | ppmk | ||
) |
Definition at line 4022 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetSizeMax | ( | ULARGE_INTEGER * | pcbSize | ) |
Definition at line 2881 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetTypeInfo | ( | UINT | itinfo, |
LCID | lcid, | ||
ITypeInfo ** | pptinfo | ||
) |
Definition at line 2293 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetTypeInfoCount | ( | UINT * | pctinfo | ) |
Definition at line 2281 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetUserClassID | ( | CLSID * | pClsid | ) |
Definition at line 4030 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetUserType | ( | DWORD | dwFormOfType, |
LPOLESTR * | pszUserType | ||
) |
Definition at line 3739 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::GetWindow | ( | HWND * | pHwnd | ) |
Definition at line 3422 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::HandsOffStorage | ( | ) |
Definition at line 2966 of file qaxserverbase.cpp.
void QAxServerBase::init | ( | ) |
Initializes data members.
Definition at line 1079 of file qaxserverbase.cpp.
Referenced by QAxServerBase().
HRESULT WINAPI QAxServerBase::InitFromData | ( | IDataObject * | pDataObject, |
BOOL | fCreation, | ||
DWORD | dwReserved | ||
) |
Definition at line 4041 of file qaxserverbase.cpp.
STDMETHOD() QAxServerBase::InitNew | ( | VOID | ) |
Referenced by HandsOffStorage(), and Load().
HRESULT WINAPI QAxServerBase::InitNew | ( | IStorage * | pStg | ) |
Definition at line 2894 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::InPlaceDeactivate | ( | ) |
Definition at line 3446 of file qaxserverbase.cpp.
Referenced by Close().
|
private |
Definition at line 3819 of file qaxserverbase.cpp.
Referenced by DoVerb(), and eventFilter().
|
private |
Detects and initilaizes implementation of QAxBindable in objects.
Definition at line 1269 of file qaxserverbase.cpp.
Referenced by internalCreate(), and QAxServerBase().
|
private |
Connects object signals to event dispatcher.
Definition at line 1287 of file qaxserverbase.cpp.
Referenced by internalCreate(), and QAxServerBase().
|
private |
Creates the QWidget for the classname passed to the c'tor.
All signals of the widget class are connected to the internal event mapper. If the widget implements QAxBindable, stock events are also connected.
Definition at line 1309 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), Draw(), GetData(), and QAxServerBase().
HRESULT QAxServerBase::InternalQueryInterface | ( | REFIID | iid, |
void ** | iface | ||
) |
Definition at line 1200 of file qaxserverbase.cpp.
Referenced by QueryInterface().
HRESULT WINAPI QAxServerBase::Invoke | ( | DISPID | dispidMember, |
REFIID | riid, | ||
LCID | lcid, | ||
WORD | wFlags, | ||
DISPPARAMS * | pdispparams, | ||
VARIANT * | pvarResult, | ||
EXCEPINFO * | pexcepinfo, | ||
UINT * | puArgErr | ||
) |
Definition at line 2331 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::IsDirty | ( | ) |
Definition at line 2756 of file qaxserverbase.cpp.
bool QAxServerBase::isPropertyExposed | ( | int | index | ) |
Returns true if the property index is exposed to COM and should be saved/loaded.
Definition at line 1748 of file qaxserverbase.cpp.
Referenced by Load(), and Save().
HRESULT WINAPI QAxServerBase::IsUpToDate | ( | ) |
Definition at line 4049 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::Load | ( | IStream * | pStm | ) |
Definition at line 2761 of file qaxserverbase.cpp.
Referenced by Load().
HRESULT WINAPI QAxServerBase::Load | ( | IPropertyBag * | bag, |
IErrorLog * | |||
) |
Definition at line 2991 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::Load | ( | IStorage * | pStg | ) |
Definition at line 2908 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::Load | ( | LPCOLESTR | fileName, |
DWORD | mode | ||
) |
Definition at line 3086 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::OnAmbientPropertyChange | ( | DISPID | dispID | ) |
Definition at line 3322 of file qaxserverbase.cpp.
Referenced by internalActivate().
HRESULT WINAPI QAxServerBase::OnDocWindowActivate | ( | BOOL | fActivate | ) |
Definition at line 3705 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::OnFrameWindowActivate | ( | BOOL | fActivate | ) |
Definition at line 3694 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::OnMnemonic | ( | LPMSG | ) |
Definition at line 3314 of file qaxserverbase.cpp.
|
inlinevirtual |
int QAxServerBase::qt_metacall | ( | QMetaObject::Call | call, |
int | index, | ||
void ** | argv | ||
) |
Catches all signals emitted by the Qt widget and fires the respective COM event.
isignal is the Qt Meta Object index of the received signal, and _o the signal parameters.
Definition at line 1965 of file qaxserverbase.cpp.
Referenced by eventFilter().
Definition at line 4273 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::QueryInterface | ( | REFIID | iid, |
void ** | iface | ||
) |
Definition at line 1192 of file qaxserverbase.cpp.
Referenced by QClassFactory::CreateInstanceHelper(), and QAxFactory::createObjectWrapper().
HRESULT WINAPI QAxServerBase::ReactivateAndUndo | ( | ) |
Definition at line 3551 of file qaxserverbase.cpp.
void QAxServerBase::registerActiveObject | ( | IUnknown * | object | ) |
Definition at line 1170 of file qaxserverbase.cpp.
Referenced by QClassFactory::CreateInstanceHelper().
|
inline |
Definition at line 181 of file qaxserverbase.cpp.
void QAxServerBase::removeMenu | ( | ) |
Remove the Win32 menubar.
Definition at line 1712 of file qaxserverbase.cpp.
Referenced by eventFilter(), and UIDeactivate().
|
inlinevirtual |
Implements IAxServerBase.
Definition at line 214 of file qaxserverbase.cpp.
|
private |
Resizes the control, faking a QResizeEvent if required.
Definition at line 1798 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), GetData(), SetExtent(), and updateGeometry().
HRESULT WINAPI QAxServerBase::ResizeBorder | ( | LPCRECT | prcBorder, |
IOleInPlaceUIWindow * | pUIWindow, | ||
BOOL | fFrameWindow | ||
) |
Definition at line 3710 of file qaxserverbase.cpp.
void QAxServerBase::revokeActiveObject | ( | ) |
HRESULT WINAPI QAxServerBase::Save | ( | IStream * | pStm, |
BOOL | fClearDirty | ||
) |
Definition at line 2829 of file qaxserverbase.cpp.
Referenced by Save().
HRESULT WINAPI QAxServerBase::Save | ( | IPropertyBag * | bag, |
BOOL | clearDirty, | ||
BOOL | |||
) |
Definition at line 3025 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::Save | ( | IStorage * | pStg, |
BOOL | fSameAsLoad | ||
) |
Definition at line 2934 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::Save | ( | LPCOLESTR | fileName, |
BOOL | fRemember | ||
) |
Definition at line 3131 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::SaveCompleted | ( | IStorage * | pStgNew | ) |
Definition at line 2955 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::SaveCompleted | ( | LPCOLESTR | fileName | ) |
Definition at line 3056 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::SetAdvise | ( | DWORD | aspects, |
DWORD | advf, | ||
IAdviseSink * | pAdvSink | ||
) |
Definition at line 3253 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::SetClientSite | ( | IOleClientSite * | pClientSite | ) |
Definition at line 4057 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::SetColorScheme | ( | LOGPALETTE * | pLogPal | ) |
Definition at line 4078 of file qaxserverbase.cpp.
Definition at line 4289 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::SetExtent | ( | DWORD | dwDrawAspect, |
SIZEL * | psizel | ||
) |
Definition at line 4094 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::SetHostNames | ( | LPCOLESTR | szContainerApp, |
LPCOLESTR | szContainerObj | ||
) |
Definition at line 4121 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::SetMoniker | ( | DWORD | dwWhichMoniker, |
IMoniker * | ppmk | ||
) |
Definition at line 4129 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::SetObjectRects | ( | LPCRECT | lprcPosRect, |
LPCRECT | lprcClipRect | ||
) |
Definition at line 3520 of file qaxserverbase.cpp.
Definition at line 3689 of file qaxserverbase.cpp.
Definition at line 3560 of file qaxserverbase.cpp.
Referenced by TranslateAcceleratorA().
HRESULT WINAPI QAxServerBase::UIDeactivate | ( | ) |
Definition at line 3470 of file qaxserverbase.cpp.
Referenced by DoVerb(), and InPlaceDeactivate().
HRESULT WINAPI QAxServerBase::Unadvise | ( | DWORD | dwConnection | ) |
Definition at line 4137 of file qaxserverbase.cpp.
Referenced by DUnadvise().
HRESULT WINAPI QAxServerBase::Unfreeze | ( | DWORD | dwFreeze | ) |
Definition at line 3245 of file qaxserverbase.cpp.
HRESULT WINAPI QAxServerBase::Update | ( | ) |
Definition at line 4153 of file qaxserverbase.cpp.
|
private |
Updates the view, or asks the client site to do so.
Definition at line 1780 of file qaxserverbase.cpp.
Referenced by DoVerb().
|
private |
Updates the internal size values.
Definition at line 1825 of file qaxserverbase.cpp.
Referenced by eventFilter(), internalCreate(), Invoke(), and Load().
|
private |
Updates the mask of the widget parent.
Definition at line 1864 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), create(), eventFilter(), and Invoke().
|
friend |
Definition at line 356 of file qaxserverbase.cpp.
|
friend |
Definition at line 357 of file qaxserverbase.cpp.
Definition at line 386 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), createMenu(), and createPopup().
|
private |
Definition at line 406 of file qaxserverbase.cpp.
Referenced by Advise(), Close(), DAdvise(), Invoke(), Unadvise(), update(), and ~QAxServerBase().
|
private |
Definition at line 359 of file qaxserverbase.cpp.
Referenced by internalBind(), InternalQueryInterface(), and ~QAxServerBase().
|
private |
Definition at line 377 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), init(), and internalActivate().
|
private |
Definition at line 398 of file qaxserverbase.cpp.
Referenced by ensureMetaData(), EnumVerbs(), GetClassInfo(), GetGUID(), GetMiscStatus(), GetUserClassID(), GetUserType(), internalActivate(), internalConnect(), internalCreate(), InternalQueryInterface(), Load(), QAxServerBase(), qt_metacall(), registerActiveObject(), and Save().
|
private |
Definition at line 393 of file qaxserverbase.cpp.
Referenced by create(), init(), and ~QAxServerBase().
|
private |
Definition at line 399 of file qaxserverbase.cpp.
Referenced by GetCurFile(), Load(), Save(), and SaveCompleted().
Definition at line 389 of file qaxserverbase.cpp.
Referenced by ActiveXProc().
|
private |
Definition at line 370 of file qaxserverbase.cpp.
Referenced by emitPropertyChanged(), emitRequestPropertyChange(), HandsOffStorage(), init(), InitNew(), Invoke(), IsDirty(), and Save().
|
private |
Definition at line 390 of file qaxserverbase.cpp.
|
private |
Definition at line 378 of file qaxserverbase.cpp.
Referenced by FreezeEvents(), init(), and qt_metacall().
|
private |
Definition at line 371 of file qaxserverbase.cpp.
Referenced by eventFilter(), init(), and internalCreate().
|
private |
Definition at line 382 of file qaxserverbase.cpp.
Referenced by createMenu(), and removeMenu().
|
private |
Definition at line 383 of file qaxserverbase.cpp.
Referenced by createMenu(), and removeMenu().
|
private |
Definition at line 384 of file qaxserverbase.cpp.
Referenced by createMenu(), createPopup(), and removeMenu().
|
private |
Definition at line 376 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), init(), internalActivate(), OnAmbientPropertyChange(), and qt_metacall().
|
private |
Definition at line 401 of file qaxserverbase.cpp.
Referenced by Invoke().
|
private |
Definition at line 369 of file qaxserverbase.cpp.
Referenced by HandsOffStorage(), init(), and InitNew().
|
private |
Definition at line 373 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), Close(), init(), InPlaceDeactivate(), internalActivate(), and update().
|
private |
Definition at line 374 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), DoVerb(), eventFilter(), init(), internalActivate(), OnFrameWindowActivate(), TranslateAcceleratorW(), and UIDeactivate().
|
private |
Definition at line 367 of file qaxserverbase.cpp.
Referenced by create(), Draw(), EnableModeless(), GetData(), GetExtent(), GetUserType(), init(), internalActivate(), internalCreate(), InternalQueryInterface(), Invoke(), OnAmbientPropertyChange(), QAxServerBase(), resize(), SetExtent(), TranslateAcceleratorW(), updateGeometry(), and updateMask().
|
private |
Definition at line 412 of file qaxserverbase.cpp.
Referenced by GetExtent(), resize(), SetExtent(), and SetObjectRects().
|
private |
Definition at line 380 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), Close(), create(), createMenu(), DoVerb(), eventFilter(), GetWindow(), InPlaceDeactivate(), internalActivate(), OnFrameWindowActivate(), removeMenu(), resize(), SetObjectRects(), TranslateAcceleratorW(), update(), and updateMask().
|
private |
Definition at line 404 of file qaxserverbase.cpp.
Referenced by QueryInterface().
|
private |
Definition at line 405 of file qaxserverbase.cpp.
Referenced by Close(), GetAdvise(), init(), Invoke(), SetAdvise(), update(), and ~QAxServerBase().
|
private |
Definition at line 407 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), Close(), GetClientSite(), init(), internalActivate(), OnAmbientPropertyChange(), SetClientSite(), TranslateAcceleratorW(), and ~QAxServerBase().
|
private |
Definition at line 409 of file qaxserverbase.cpp.
Referenced by createMenu(), eventFilter(), GetData(), init(), internalActivate(), qt_metacall(), removeMenu(), SetClientSite(), UIDeactivate(), and ~QAxServerBase().
|
private |
Definition at line 408 of file qaxserverbase.cpp.
Referenced by Close(), eventFilter(), GetData(), init(), InPlaceDeactivate(), internalActivate(), Invoke(), SetClientSite(), UIDeactivate(), update(), and ~QAxServerBase().
|
private |
Definition at line 411 of file qaxserverbase.cpp.
Referenced by HandsOffStorage(), init(), InitNew(), SaveCompleted(), and ~QAxServerBase().
|
private |
Definition at line 410 of file qaxserverbase.cpp.
Referenced by ensureMetaData(), GetIDsOfNames(), GetTypeInfo(), init(), Invoke(), and ~QAxServerBase().
Definition at line 387 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), eventFilter(), internalActivate(), and UIDeactivate().
Definition at line 385 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), createPopup(), and removeMenu().
QObject* QAxServerBase::object |
Definition at line 364 of file qaxserverbase.cpp.
Referenced by createMenu(), qax_startServer(), qax_stopServer(), and VARIANTToQVariant().
|
private |
Definition at line 396 of file qaxserverbase.cpp.
Referenced by registerActiveObject(), and revokeActiveObject().
|
private |
Definition at line 368 of file qaxserverbase.cpp.
Referenced by init(), internalCreate(), and ~QAxServerBase().
|
private |
Definition at line 360 of file qaxserverbase.cpp.
Referenced by EnumConnectionPoints(), FindConnectionPoint(), init(), internalConnect(), and ~QAxServerBase().
union { ... } QAxServerBase::qt |
Referenced by ActiveXProc(), create(), createMenu(), Draw(), EnableModeless(), eventFilter(), GetCurFile(), GetData(), GetExtent(), GetSizeMax(), GetUserType(), init(), internalActivate(), internalBind(), internalConnect(), internalCreate(), Invoke(), Load(), OnAmbientPropertyChange(), QAxServerBase(), qt_metacall(), registerActiveObject(), resize(), Save(), SaveCompleted(), SetExtent(), SetObjectRects(), TranslateAcceleratorW(), updateGeometry(), updateMask(), and ~QAxServerBase().
|
private |
Definition at line 395 of file qaxserverbase.cpp.
|
private |
Definition at line 392 of file qaxserverbase.cpp.
Referenced by init(), and ~QAxServerBase().
|
private |
Definition at line 402 of file qaxserverbase.cpp.
Referenced by qt_metacall().
|
private |
Definition at line 388 of file qaxserverbase.cpp.
Referenced by eventFilter(), internalActivate(), qt_metacall(), and UIDeactivate().
|
private |
Definition at line 372 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), init(), and internalCreate().
Definition at line 366 of file qaxserverbase.cpp.
Referenced by eventFilter(), internalCreate(), Invoke(), isPropertyExposed(), OnAmbientPropertyChange(), QAxServerBase(), and ~QAxServerBase().
|
private |
Definition at line 375 of file qaxserverbase.cpp.
Referenced by init(), and OnFrameWindowActivate().
QWidget* QAxServerBase::widget |
Definition at line 363 of file qaxserverbase.cpp.
Referenced by ActiveXProc(), and internalActivate().