44 #ifndef QT_NO_ACCESSIBILITY 52 #include <private/qfactoryloader_p.h> 483 #ifndef QT_NO_LIBRARY 497 qAccessibleFactories()->clear();
562 if (qAccessibleFactories()->contains(factory))
564 qAccessibleFactories()->append(factory);
572 qAccessibleFactories()->removeAll(factory);
624 accessibility_active =
true;
632 for (
int i = qAccessibleFactories()->count(); i > 0; --i) {
634 iface = factory(cn,
object);
638 #ifndef QT_NO_LIBRARY 641 iface = factory->
create(cn,
object);
652 else if (
object ==
qApp)
The QVariant class acts like a union for the most common Qt data types.
T qobject_cast(QObject *object)
static void removeFactory(InterfaceFactory)
Removes factory from the list of installed InterfaceFactories.
#define QT_END_NAMESPACE
This macro expands to.
The QAccessibleApplication class implements the QAccessibleInterface for QApplication.
QPointer< QWidget > widget
void qAddPostRoutine(QtCleanUpFunction p)
static bool accessibility_active
virtual QAccessibleInterface * create(const QString &key, QObject *object)=0
QAccessible2Interface * cast_helper(QAccessible2::InterfaceType)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
static RootObjectHandler installRootObjectHandler(RootObjectHandler)
Installs the given handler as the function to be used by setRootObject(), and returns the previously ...
virtual QVariant virtual_hook(const QVariant &data)
The QObject class is the base class of all Qt objects.
void(* RootObjectHandler)(QObject *)
A function pointer type.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QVariant invokeMethod(Method method, int child=0, const QVariantList ¶ms=QVariantList())
Invokes a method on child with the given parameters params and returns the result of the operation as...
Method
This enum describes the possible types of methods that can be invoked on an accessible object...
#define Q_GLOBAL_STATIC(TYPE, NAME)
Declares a global static variable with the given type and name.
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
void(* UpdateHandler)(QObject *, int who, Event reason)
A function pointer type.
QAccessibleInterface *(* InterfaceFactory)(const QString &key, QObject *)
This is a typedef for a pointer to a function with the following signature:
static void installFactory(InterfaceFactory)
Installs the InterfaceFactory factory.
static bool isActive()
Returns true if an accessibility implementation has been requested during the runtime of the applicat...
static QAccessibleInterface * queryAccessibleInterface(QObject *)
If a QAccessibleInterface implementation exists for the given object, this function returns a pointer...
The QAccessibleInterface class defines an interface that exposes information about accessible objects...
static void qAccessibleCleanup()
#define QAccessibleFactoryInterface_iid
static UpdateHandler installUpdateHandler(UpdateHandler)
Installs the given handler as the function to be used by updateAccessibility(), and returns the previ...
QImageIOHandler * handler
static UpdateHandler updateHandler
#define Q_GLOBAL_STATIC_WITH_ARGS(TYPE, NAME, ARGS)
Declares a global static variable with the specified type and name.
static RootObjectHandler rootObjectHandler
The QList class is a template class that provides lists.