/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.mauiman.Screen.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 "screenadaptor.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 ScreenAdaptor
 */

ScreenAdaptor::ScreenAdaptor(Screen *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

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

double ScreenAdaptor::scaleFactor() const
{
    // get the value of property scaleFactor
    return qvariant_cast< double >(parent()->property("scaleFactor"));
}

void ScreenAdaptor::setOrientation(uint orientation)
{
    // handle method call org.mauiman.Screen.setOrientation
    parent()->setOrientation(orientation);
}

void ScreenAdaptor::setScaleFactor(double scaleFactor)
{
    // handle method call org.mauiman.Screen.setScaleFactor
    parent()->setScaleFactor(scaleFactor);
}


#include "moc_screenadaptor.cpp"
