equal
deleted
inserted
replaced
387 /*! |
387 /*! |
388 \fn void QAccessible::cleanup() |
388 \fn void QAccessible::cleanup() |
389 \internal |
389 \internal |
390 */ |
390 */ |
391 |
391 |
392 #if !defined(QT_NO_LIBRARY) && (!defined(QT_NO_SETTINGS) || !defined(Q_OS_WIN)) |
392 #ifndef QT_NO_LIBRARY |
393 Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader, |
393 Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader, |
394 (QAccessibleFactoryInterface_iid, QLatin1String("/accessible"))) |
394 (QAccessibleFactoryInterface_iid, QLatin1String("/accessible"))) |
395 #endif |
395 #endif |
396 |
396 |
397 Q_GLOBAL_STATIC(QList<QAccessible::InterfaceFactory>, qAccessibleFactories) |
397 Q_GLOBAL_STATIC(QList<QAccessible::InterfaceFactory>, qAccessibleFactories) |
530 InterfaceFactory factory = qAccessibleFactories()->at(i - 1); |
530 InterfaceFactory factory = qAccessibleFactories()->at(i - 1); |
531 iface = factory(cn, object); |
531 iface = factory(cn, object); |
532 if (iface) |
532 if (iface) |
533 return iface; |
533 return iface; |
534 } |
534 } |
535 #if !defined(QT_NO_LIBRARY) && (!defined(QT_NO_SETTINGS) || !defined(Q_OS_WIN)) |
535 #ifndef QT_NO_LIBRARY |
536 QAccessibleFactoryInterface *factory = qobject_cast<QAccessibleFactoryInterface*>(loader()->instance(cn)); |
536 QAccessibleFactoryInterface *factory = qobject_cast<QAccessibleFactoryInterface*>(loader()->instance(cn)); |
537 if (factory) { |
537 if (factory) { |
538 iface = factory->create(cn, object); |
538 iface = factory->create(cn, object); |
539 if (iface) |
539 if (iface) |
540 return iface; |
540 return iface; |