43 #ifndef QT_NO_WIN_ACTIVEQT 104 : typelib(libid), app(appid)
300 return licenseKey == classKey;
483 :
QObject(parent), wrapper(0), cookie(0)
495 RevokeActiveObject(
cookie, 0);
631 #endif // QT_NO_WIN_ACTIVEQT static QString fromWCharArray(const wchar_t *, int size=-1)
Returns a copy of the string, where the encoding of string depends on the size of wchar...
virtual QUuid typeLibID() const
Reimplement this function to return the ActiveX server's type library identifier. ...
#define QT_END_NAMESPACE
This macro expands to.
QAxFactory * qAxFactory()
The QSettings class provides persistent platform-independent application settings.
The QAxFactory class defines a factory for the creation of COM components.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
static QString serverDirPath()
Returns the directory that contains the server binary.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
bool exists() const
Returns true if the file specified by fileName() exists; otherwise returns false. ...
virtual QString exposeToSuperClass(const QString &key) const
Reimplement this function to return the name of the super class of key up to which methods and proper...
static QString serverFilePath()
Returns the file path of the server binary.
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual ~QAxFactory()
Destroys the QAxFactory object.
QString left(int n) const Q_REQUIRED_RESULT
Returns a substring that contains the n leftmost characters of the string.
virtual bool hasStockEvents(const QString &key) const
Reimplement this function to return true if the ActiveX control key should support the standard Activ...
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
wchar_t qAxModuleFilename[MAX_PATH]
virtual QUuid appID() const
Reimplement this function to return the ActiveX server's application identifier.
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
virtual QUuid interfaceID(const QString &key) const
Reimplement this function to return the interface identifier for each key returned by the featureList...
virtual bool createObjectWrapper(QObject *object, IDispatch **wrapper)
Reimplement this function to provide the COM object for object in wrapper.
static bool registerActiveObject(QObject *object)
Registers the QObject object with COM as a running object, and returns true if the registration succe...
virtual bool stayTopLevel(const QString &key) const
Reimplement this function to return true if the ActiveX control key should be a top level window...
virtual QUuid eventsID(const QString &key) const
Reimplement this function to return the identifier of the event interface for each key returned by th...
QAxFactory(const QUuid &libId, const QUuid &appId)
Constructs a QAxFactory object that returns libid and appid in the implementation of the respective i...
virtual bool isService() const
Reimplement this function to return true if the server is running as a persistent service (e...
static bool isServer()
Returns true if the application has been started (by COM) as an ActiveX server, otherwise returns fal...
virtual void unregisterClass(const QString &key, QSettings *) const
Unregisters any additional values for the class key from the system registry using the settings objec...
virtual bool validateLicenseKey(const QString &key, const QString &licenseKey) const
Reimplement this function to return true if licenseKey is a valid license for the class key...
ActiveObject(QObject *parent, QAxFactory *factory)
int lastIndexOf(QChar c, int from=-1, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
QObject * parent() const
Returns a pointer to the parent object.
QString toLower() const Q_REQUIRED_RESULT
Returns a lowercase copy of the string.
Q_CORE_EXPORT int qstricmp(const char *, const char *)
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string ends with s; otherwise returns false.
The QFileInfo class provides system-independent file information.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
QString absolutePath() const
Returns a file's path absolute path.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
virtual const QMetaObject * metaObject() const
Returns a pointer to the meta-object of this object.
The QUuid class stores a Universally Unique Identifier (UUID).
virtual QUuid classID(const QString &key) const
Reimplement this function to return the class identifier for each key returned by the featureList() i...
virtual void registerClass(const QString &key, QSettings *) const
Registers additional values for the class key in the system registry using the settings object...