Qt 4.8
|
#include "qaxbindable.h"
#include "qaxfactory.h"
#include <qapplication.h>
#include <qdatetime.h>
#include <qdir.h>
#include <qmap.h>
#include <qmenubar.h>
#include <qmetaobject.h>
#include <qsettings.h>
#include <qvariant.h>
#include <qtextstream.h>
#include <qt_windows.h>
#include <olectl.h>
Go to the source code of this file.
Macros | |
#define | Q_REQUIRED_RPCNDR_H_VERSION 475 |
#define | STRIPCB(x) x = x.mid(1, x.length()-2) |
Functions | |
static QByteArray | addDefaultArguments (const QByteArray &prototype, int numDefArgs) |
static HRESULT | classIDL (QObject *o, const QMetaObject *mo, const QString &className, bool isBindable, QTextStream &out) |
static QByteArray | convertTypes (const QByteArray &qtype, bool *ok) |
HRESULT __stdcall | DumpIDL (const QString &outfile, const QString &ver) |
static bool | ignore (const char *test, const char *const *table) |
bool | ignoreProps (const char *test) |
bool | ignoreSlots (const char *test) |
static QByteArray | prototype (const QList< QByteArray > ¶meterTypes, const QList< QByteArray > ¶meterNames, bool *ok) |
QString | qax_clean_type (const QString &type, const QMetaObject *mo) |
QAxFactory * | qax_instantiate () |
void | qax_shutDown () |
void | qAxCleanup () |
QAxFactory * | qAxFactory () |
QString | qAxInit () |
unsigned long | qAxLock () |
unsigned long | qAxLockCount () |
unsigned long | qAxUnlock () |
static QByteArray | renameOverloads (const QByteArray &name) |
static QByteArray | replaceKeyword (const QByteArray &name) |
HRESULT | UpdateRegistry (BOOL bRegister) |
Variables | |
CLSID | CLSID_QPoint |
CLSID | CLSID_QRect |
CLSID | CLSID_QSize |
static QList< QByteArray > | enums |
static QList< QByteArray > | enumValues |
static const char *const | ignore_props [] |
static const char *const | ignore_slots [] |
static int | initCount = 0 |
static const char *const | keyword_map [][2] |
static QMap< QByteArray, int > | mapping |
bool | qax_disable_inplaceframe |
static QAxFactory * | qax_factory = 0 |
bool | qax_ownQApp |
HANDLE | qAxInstance = 0 |
bool | qAxIsServer = false |
wchar_t | qAxModuleFilename [MAX_PATH] |
static unsigned long | qAxModuleRef = 0 |
static CRITICAL_SECTION | qAxModuleSection |
bool | qAxOutProcServer = false |
ITypeLib * | qAxTypeLibrary = 0 |
static QList< QByteArray > | subtypes |
static const char *const | type_map [][2] |
#define Q_REQUIRED_RPCNDR_H_VERSION 475 |
Definition at line 61 of file qaxserver.cpp.
#define STRIPCB | ( | x | ) | x = x.mid(1, x.length()-2) |
Definition at line 683 of file qaxserver.cpp.
Referenced by classIDL(), and DumpIDL().
|
static |
Definition at line 727 of file qaxserver.cpp.
Referenced by classIDL().
|
static |
Definition at line 749 of file qaxserver.cpp.
|
static |
Definition at line 494 of file qaxserver.cpp.
Referenced by classIDL(), and prototype().
Definition at line 1062 of file qaxserver.cpp.
Referenced by classIDL(), and WinMain().
|
static |
Definition at line 660 of file qaxserver.cpp.
Referenced by QGridLayoutRowData::calculateGeometries(), QGridLayoutRowData::dump(), QMainWindow::event(), ignoreProps(), ignoreSlots(), QTextEngine::itemize(), QDeclarativeTextInput::keyPressEvent(), QGridLayoutRowData::reset(), QWSCalibratedMouseHandler::sendFiltered(), QNetworkSessionPrivate::setALREnabled(), QScriptDebuggerBackend::setIgnoreExceptions(), QDeclarativeConnections::setIgnoreUnknownSignals(), QTextControl::setIgnoreUnusedNavigationEvents(), QBoxLayoutPrivate::setupGeom(), QGridLayoutRowData::stealBox(), QTextControl::toHtml(), QGridLayoutRowData::totalBox(), and QNetworkSessionPrivateImpl::~QNetworkSessionPrivateImpl().
bool ignoreProps | ( | const char * | test | ) |
Definition at line 678 of file qaxserver.cpp.
Referenced by classIDL(), QAxServerBase::isPropertyExposed(), and QAxServerBase::removeMenu().
bool ignoreSlots | ( | const char * | test | ) |
Definition at line 673 of file qaxserver.cpp.
Referenced by classIDL(), and QAxServerBase::removeMenu().
|
static |
Definition at line 685 of file qaxserver.cpp.
Referenced by MetaObjectGenerator::addSetterSlot(), MetaObjectGenerator::addSignal(), MetaObjectGenerator::addSlot(), QScriptObjectSnapshot::capture(), classIDL(), QScriptEnginePrivate::create(), MetaObjectGenerator::createPrototype(), QScriptEngine::fromScriptValue(), QScriptEnginePrivate::get(), QAxServerBase::Invoke(), MetaObjectGenerator::metaObject(), namedPrototype(), QScriptEngine::newFunction(), MetaObjectGenerator::paramList(), QDBusMetaObjectGenerator::parseMethods(), QDBusMetaObjectGenerator::parseSignals(), QScriptEnginePrivate::pushContext(), qax_generateDocumentation(), qScriptRegisterMetaType(), qScriptRegisterSequenceMetaType(), qt_add_qmlxmlhttprequest(), MetaObjectGenerator::readEventInterface(), MetaObjectGenerator::readFuncsInfo(), QScriptEnginePrivate::setDefaultPrototype(), QGL2PaintEngineEx::state(), QVGPaintEngine::state(), and QAxMetaObject::~QAxMetaObject().
QString qax_clean_type | ( | const QString & | type, |
const QMetaObject * | mo | ||
) |
Definition at line 191 of file qaxserver.cpp.
Referenced by classIDL(), and convertTypes().
QAxFactory* qax_instantiate | ( | ) |
Referenced by qAxFactory().
void qax_shutDown | ( | ) |
void qAxCleanup | ( | ) |
Definition at line 139 of file qaxserver.cpp.
Referenced by DllMain(), and WinMain().
QAxFactory* qAxFactory | ( | ) |
Definition at line 81 of file qaxserver.cpp.
Referenced by classIDL(), convertTypes(), QClassFactory::CreateInstance(), QClassFactory::CreateInstanceHelper(), QClassFactory::CreateInstanceLic(), DumpIDL(), QAxServerBase::ensureMetaData(), QAxServerBase::EnumVerbs(), QAxServerBase::GetClassID(), QAxServerBase::GetClassInfo(), QAxServerBase::GetGUID(), QClassFactory::GetLicInfo(), QAxServerBase::GetMiscStatus(), QAxServerBase::GetUserClassID(), QAxServerBase::internalConnect(), QAxServerBase::internalCreate(), QAxServerBase::InternalQueryInterface(), qax_create_object_wrapper(), qax_startServer(), qax_stopServer(), QClassFactory::QClassFactory(), QAxServerBase::qt_metacall(), QVariantToVARIANT(), QAxFactory::registerActiveObject(), QAxServerBase::registerActiveObject(), QClassFactory::RequestLicKey(), and UpdateRegistry().
QString qAxInit | ( | ) |
Definition at line 111 of file qaxserver.cpp.
Referenced by DllMain(), UpdateRegistry(), and WinMain().
unsigned long qAxLock | ( | ) |
Definition at line 158 of file qaxserver.cpp.
Referenced by QAxServerBase::init(), and QClassFactory::LockServer().
unsigned long qAxLockCount | ( | ) |
unsigned long qAxUnlock | ( | ) |
Definition at line 166 of file qaxserver.cpp.
Referenced by QClassFactory::LockServer(), and QAxServerBase::~QAxServerBase().
|
static |
Definition at line 579 of file qaxserver.cpp.
Referenced by classIDL().
|
static |
HRESULT UpdateRegistry | ( | BOOL | bRegister | ) |
Definition at line 208 of file qaxserver.cpp.
Referenced by WinMain().
CLSID CLSID_QPoint |
Referenced by DumpIDL(), QVariantToVARIANT(), and VARIANTToQVariant().
CLSID CLSID_QRect |
Referenced by DumpIDL(), QVariantToVARIANT(), and VARIANTToQVariant().
CLSID CLSID_QSize |
Referenced by DumpIDL(), QVariantToVARIANT(), and VARIANTToQVariant().
|
static |
Definition at line 443 of file qaxserver.cpp.
Referenced by QPatternist::yyparse().
|
static |
Definition at line 444 of file qaxserver.cpp.
|
static |
Definition at line 596 of file qaxserver.cpp.
Referenced by ignoreProps().
|
static |
Definition at line 638 of file qaxserver.cpp.
Referenced by ignoreSlots().
|
static |
Definition at line 109 of file qaxserver.cpp.
Referenced by qAxCleanup(), qAxInit(), and qAxUnlock().
|
static |
Definition at line 529 of file qaxserver.cpp.
Referenced by replaceKeyword().
|
static |
Definition at line 577 of file qaxserver.cpp.
Referenced by fontFile(), QFSFileEnginePrivate::map(), mapToLowerCase(), qt_mac_to_pascal_string(), and QFSFileEnginePrivate::unmap().
bool qax_disable_inplaceframe |
Definition at line 3814 of file qaxserverbase.cpp.
Referenced by QAxServerBase::internalActivate(), and qAxLockCount().
|
static |
Definition at line 71 of file qaxserver.cpp.
Referenced by qAxCleanup(), and qAxFactory().
bool qax_ownQApp |
Definition at line 50 of file qaxserverdll.cpp.
Referenced by qAxFactory().
HANDLE qAxInstance = 0 |
Definition at line 65 of file qaxserver.cpp.
Referenced by QAxServerBase::create(), DllMain(), and WinMain().
bool qAxIsServer = false |
Definition at line 64 of file qaxserver.cpp.
Referenced by DllMain(), DumpIDL(), QAxFactory::hasStockEvents(), QAxFactory::isServer(), qax_startServer(), qax_stopServer(), and UpdateRegistry().
wchar_t qAxModuleFilename[MAX_PATH] |
Definition at line 67 of file qaxserver.cpp.
Referenced by DllMain(), DumpIDL(), qAxInit(), QAxFactory::registerActiveObject(), QAxFactory::serverDirPath(), QAxFactory::serverFilePath(), UpdateRegistry(), QAxFactory::validateLicenseKey(), and WinMain().
|
static |
Definition at line 101 of file qaxserver.cpp.
Referenced by qAxLock(), qAxLockCount(), and qAxUnlock().
|
static |
Definition at line 102 of file qaxserver.cpp.
Referenced by qAxCleanup(), qAxInit(), qAxLock(), and qAxUnlock().
bool qAxOutProcServer = false |
Definition at line 68 of file qaxserver.cpp.
Referenced by QClassFactory::CreateInstanceHelper(), QAxServerBase::registerActiveObject(), QAxServerBase::TranslateAcceleratorW(), and WinMain().
ITypeLib* qAxTypeLibrary = 0 |
Definition at line 66 of file qaxserver.cpp.
Referenced by QAxServerBase::ensureMetaData(), QAxServerBase::GetClassInfo(), QAxServerBase::GetIDsOfNames(), QAxServerBase::GetTypeInfo(), QAxServerBase::GetTypeInfoCount(), qAxCleanup(), qAxInit(), QAxServerBase::qt_metacall(), QVariantToVARIANT(), and UpdateRegistry().
|
static |
Definition at line 445 of file qaxserver.cpp.
|
static |
Definition at line 447 of file qaxserver.cpp.
Referenced by convertTypes().