Qt:Документация 4.3.2/qaccessibleplugin

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] QAccessiblePlugin Class Reference
[модуль QtGui ]

The QAccessiblePlugin class provides an abstract base for accessibility plugins. More...

 #include <QAccessiblePlugin>

Inherits QObject and QAccessible.

[править] Открытые функции

  • 29 открытых функций унаследованных от QObject

[править] Дополнительные унаследованные члены

  • 1 свойство унаследованное от QObject
  • 1 открытый слот унаследованный от QObject
  • 1 сигнал унаследованный от QObject
  • 5 статических открытых члена унаследованных от QObject
  • 7 статических открытых члена унаследованных от QAccessible
  • 7 защищенных функций унаследованных от QObject

[править] Подробное описание

The QAccessiblePlugin class provides an abstract base for accessibility plugins.

Writing an accessibility plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys() and create(), and exporting the class with the Q_EXPORT_PLUGIN2() macro.

See also QAccessibleBridgePlugin and How to Create Qt Plugins.


[править] Описание функций-членов

[править]
QAccessiblePlugin::QAccessiblePlugin ( QObject * parent = 0 )

Constructs an accessibility plugin with the given parent. This is invoked automatically by the Q_EXPORT_PLUGIN2() macro.

[править]
QAccessiblePlugin::~QAccessiblePlugin ()

Destroys the accessibility plugin.

You never have to call this explicitly. Qt destroys a plugin automatically when it is no longer used.

[править]
QAccessibleInterface * QAccessiblePlugin::create ( const QString & key, QObject * object ) [pure virtual]

Creates and returns a QAccessibleInterface implementation for the class key and the object object. Keys are case sensitive.

See also keys().

[править]
QStringList QAccessiblePlugin::keys () const [pure virtual]

Returns the list of keys this plugin supports.

These keys must be the class names that this plugin provides an accessibility implementation for.

See also create().


Copyright © 2007 Trolltech Trademarks
Qt 4.3.2