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

application_adaptor.cpp

/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -i adaptor.h -a application_adaptor -l QSpiAdaptor ../../xml/Application.xml
 *
 * qdbusxml2cpp is Copyright (C) 2011 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 "application_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 ApplicationAdaptor
 */

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

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

int ApplicationAdaptor::id() const
{
    // get the value of property Id
    return qvariant_cast< int >(parent()->property("Id"));
}

void ApplicationAdaptor::setId(int value)
{
    // set the value of property Id
    parent()->setProperty("Id", qVariantFromValue(value));
}

QString ApplicationAdaptor::toolkitName() const
{
    // get the value of property ToolkitName
    return qvariant_cast< QString >(parent()->property("ToolkitName"));
}

QString ApplicationAdaptor::version() const
{
    // get the value of property Version
    return qvariant_cast< QString >(parent()->property("Version"));
}

QString ApplicationAdaptor::GetApplicationBusAddress()
{
    // handle method call org.a11y.atspi.Application.GetApplicationBusAddress
    return parent()->GetApplicationBusAddress();
}

QString ApplicationAdaptor::GetLocale(uint lctype)
{
    // handle method call org.a11y.atspi.Application.GetLocale
    return parent()->GetLocale(lctype);
}


Generated by  Doxygen 1.6.0   Back to index