/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.mauiman.Accessibility.xml
 *
 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "accessibilityadaptor.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 AccessibilityAdaptor
 */

AccessibilityAdaptor::AccessibilityAdaptor(Accessibility *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

bool AccessibilityAdaptor::playSounds() const
{
    // get the value of property playSounds
    return qvariant_cast< bool >(parent()->property("playSounds"));
}

uint AccessibilityAdaptor::scrollBarPolicy() const
{
    // get the value of property scrollBarPolicy
    return qvariant_cast< uint >(parent()->property("scrollBarPolicy"));
}

bool AccessibilityAdaptor::singleClick() const
{
    // get the value of property singleClick
    return qvariant_cast< bool >(parent()->property("singleClick"));
}

void AccessibilityAdaptor::setPlaySounds(bool playSounds)
{
    // handle method call org.mauiman.Accessibility.setPlaySounds
    parent()->setPlaySounds(playSounds);
}

void AccessibilityAdaptor::setScrollBarPolicy(uint scrollBarPolicy)
{
    // handle method call org.mauiman.Accessibility.setScrollBarPolicy
    parent()->setScrollBarPolicy(scrollBarPolicy);
}

void AccessibilityAdaptor::setSingleClick(bool singleClick)
{
    // handle method call org.mauiman.Accessibility.setSingleClick
    parent()->setSingleClick(singleClick);
}


#include "moc_accessibilityadaptor.cpp"
