/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a orientationsensoradaptor -i orientation_sensor.h -l KWin::OrientationSensor /builds/chakra/packages/core/kwin/src/kwin-5.17.0/org.kde.kwin.OrientationSensor.xml
 *
 * qdbusxml2cpp is Copyright (C) 2019 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "orientationsensoradaptor.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 OrientationSensorAdaptor
 */

OrientationSensorAdaptor::OrientationSensorAdaptor(KWin::OrientationSensor *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

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

void OrientationSensorAdaptor::setUserEnabled(bool value)
{
    // set the value of property userEnabled
    parent()->setProperty("userEnabled", QVariant::fromValue(value));
}


#include "orientationsensoradaptor.moc"
