Logo Search packages:      
Sourcecode: qt-at-spi version File versions  Download package

action_adaptor.cpp

/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -i adaptor.h -a action_adaptor -l QSpiAdaptor ../../xml/Action.xml
 *
 * qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "action_adaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

/*
 * Implementation of adaptor class ActionAdaptor
 */

ActionAdaptor::ActionAdaptor(QSpiAdaptor *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

ActionAdaptor::~ActionAdaptor()
{
    // destructor
}

int ActionAdaptor::nActions() const
{
    // get the value of property NActions
    return qvariant_cast< int >(parent()->property("NActions"));
}

bool ActionAdaptor::DoAction(int index)
{
    // handle method call org.a11y.atspi.Action.DoAction
    return parent()->DoAction(index);
}

QSpiActionArray ActionAdaptor::GetActions()
{
    // handle method call org.a11y.atspi.Action.GetActions
    return parent()->GetActions();
}

QString ActionAdaptor::GetDescription(int index)
{
    // handle method call org.a11y.atspi.Action.GetDescription
    return parent()->GetDescription(index);
}

QString ActionAdaptor::GetKeyBinding(int index)
{
    // handle method call org.a11y.atspi.Action.GetKeyBinding
    return parent()->GetKeyBinding(index);
}

QString ActionAdaptor::GetName(int index)
{
    // handle method call org.a11y.atspi.Action.GetName
    return parent()->GetName(index);
}


Generated by  Doxygen 1.6.0   Back to index