/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.kde.kwin.ColorCorrect.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 "colorcorrectadaptor.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 ColorCorrectAdaptor
 */

ColorCorrectAdaptor::ColorCorrectAdaptor(KWin::NightColorDBusInterface *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

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

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

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

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

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

qulonglong ColorCorrectAdaptor::previousTransitionDateTime() const
{
    // get the value of property previousTransitionDateTime
    return qvariant_cast< qulonglong >(parent()->property("previousTransitionDateTime"));
}

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

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

qulonglong ColorCorrectAdaptor::scheduledTransitionDateTime() const
{
    // get the value of property scheduledTransitionDateTime
    return qvariant_cast< qulonglong >(parent()->property("scheduledTransitionDateTime"));
}

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

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

uint ColorCorrectAdaptor::inhibit()
{
    // handle method call org.kde.kwin.ColorCorrect.inhibit
    return parent()->inhibit();
}

void ColorCorrectAdaptor::nightColorAutoLocationUpdate(double in0, double in1)
{
    // handle method call org.kde.kwin.ColorCorrect.nightColorAutoLocationUpdate
    parent()->nightColorAutoLocationUpdate(in0, in1);
}

void ColorCorrectAdaptor::preview(uint temperature)
{
    // handle method call org.kde.kwin.ColorCorrect.preview
    parent()->preview(temperature);
}

void ColorCorrectAdaptor::stopPreview()
{
    // handle method call org.kde.kwin.ColorCorrect.stopPreview
    parent()->stopPreview();
}

void ColorCorrectAdaptor::uninhibit(uint cookie)
{
    // handle method call org.kde.kwin.ColorCorrect.uninhibit
    parent()->uninhibit(cookie);
}


#include "moc_colorcorrectadaptor.cpp"
