• QSpiDBusCache
  • QSpiDBusCache Class

    This class is responsible for the AT-SPI cache interface. More...

    Header: #include <QSpiDBusCache>
    Inherits:

    Public Functions

    QSpiDBusCache(QDBusConnection c, QObject * parent = 0)
    void emitAddAccessible(const QSpiAccessibleCacheItem & item)
    void emitRemoveAccessible(const QSpiObjectReference & item)

    Public Slots

    QSpiAccessibleCacheArray GetItems()

    Signals

    void AddAccessible(const QSpiAccessibleCacheItem & nodeAdded)
    void RemoveAccessible(const QSpiObjectReference & nodeRemoved)

    Detailed Description

    This class is responsible for the AT-SPI cache interface.

    The idea behind the cache is that starting an application would result in many dbus calls. The way GTK/Gail/ATK work is that they create accessibles for all objects on startup. In order to avoid querying all the objects individually via DBus they get sent by using the GetItems call of the cache.

    Additionally the AddAccessible and RemoveAccessible signals are responsible for adding/removing objects from the cache.

    Currently the Qt bridge chooses to ignore these.

    Member Function Documentation

    QSpiDBusCache::QSpiDBusCache(QDBusConnection c, QObject * parent = 0)

    [signal] void QSpiDBusCache::AddAccessible(const QSpiAccessibleCacheItem & nodeAdded)

    [slot] QSpiAccessibleCacheArray QSpiDBusCache::GetItems()

    [signal] void QSpiDBusCache::RemoveAccessible(const QSpiObjectReference & nodeRemoved)

    void QSpiDBusCache::emitAddAccessible(const QSpiAccessibleCacheItem & item)

    void QSpiDBusCache::emitRemoveAccessible(const QSpiObjectReference & item)