/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a guideadaptor -i ekos/guide/guide.h -l Ekos::Guide /chakra/desktop/kstars/src/kstars-3.5.0/kstars/org.kde.kstars.Ekos.Guide.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 "guideadaptor.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 GuideAdaptor
 */

GuideAdaptor::GuideAdaptor(Ekos::Guide *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

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

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

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

void GuideAdaptor::setCamera(const QString &value)
{
    // set the value of property camera
    parent()->setProperty("camera", QVariant::fromValue(value));
}

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

void GuideAdaptor::setExposure(double value)
{
    // set the value of property exposure
    parent()->setProperty("exposure", QVariant::fromValue(value));
}

QStringList GuideAdaptor::logText() const
{
    // get the value of property logText
    return qvariant_cast< QStringList >(parent()->property("logText"));
}

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

void GuideAdaptor::setSt4(const QString &value)
{
    // set the value of property st4
    parent()->setProperty("st4", QVariant::fromValue(value));
}

Ekos::GuideState GuideAdaptor::status() const
{
    // get the value of property status
    return qvariant_cast< Ekos::GuideState >(parent()->property("status"));
}

bool GuideAdaptor::abort()
{
    // handle method call org.kde.kstars.Ekos.Guide.abort
    return parent()->abort();
}

bool GuideAdaptor::calibrate()
{
    // handle method call org.kde.kstars.Ekos.Guide.calibrate
    return parent()->calibrate();
}

bool GuideAdaptor::capture()
{
    // handle method call org.kde.kstars.Ekos.Guide.capture
    return parent()->capture();
}

void GuideAdaptor::clearCalibration()
{
    // handle method call org.kde.kstars.Ekos.Guide.clearCalibration
    parent()->clearCalibration();
}

bool GuideAdaptor::connectGuider()
{
    // handle method call org.kde.kstars.Ekos.Guide.connectGuider
    return parent()->connectGuider();
}

bool GuideAdaptor::disconnectGuider()
{
    // handle method call org.kde.kstars.Ekos.Guide.disconnectGuider
    return parent()->disconnectGuider();
}

bool GuideAdaptor::dither()
{
    // handle method call org.kde.kstars.Ekos.Guide.dither
    return parent()->dither();
}

QStringList GuideAdaptor::getST4Devices()
{
    // handle method call org.kde.kstars.Ekos.Guide.getST4Devices
    return parent()->getST4Devices();
}

bool GuideAdaptor::guide()
{
    // handle method call org.kde.kstars.Ekos.Guide.guide
    return parent()->guide();
}

void GuideAdaptor::loop()
{
    // handle method call org.kde.kstars.Ekos.Guide.loop
    parent()->loop();
}

bool GuideAdaptor::resume()
{
    // handle method call org.kde.kstars.Ekos.Guide.resume
    return parent()->resume();
}

void GuideAdaptor::setCalibrationAutoSquareSize(bool enable)
{
    // handle method call org.kde.kstars.Ekos.Guide.setCalibrationAutoSquareSize
    parent()->setCalibrationAutoSquareSize(enable);
}

void GuideAdaptor::setCalibrationAutoStar(bool enable)
{
    // handle method call org.kde.kstars.Ekos.Guide.setCalibrationAutoStar
    parent()->setCalibrationAutoStar(enable);
}

void GuideAdaptor::setCalibrationPulseDuration(int pulseDuration)
{
    // handle method call org.kde.kstars.Ekos.Guide.setCalibrationPulseDuration
    parent()->setCalibrationPulseDuration(pulseDuration);
}

void GuideAdaptor::setCalibrationTwoAxis(bool enable)
{
    // handle method call org.kde.kstars.Ekos.Guide.setCalibrationTwoAxis
    parent()->setCalibrationTwoAxis(enable);
}

void GuideAdaptor::setDarkFrameEnabled(bool enable)
{
    // handle method call org.kde.kstars.Ekos.Guide.setDarkFrameEnabled
    parent()->setDarkFrameEnabled(enable);
}

void GuideAdaptor::setDitherSettings(bool enable, double value)
{
    // handle method call org.kde.kstars.Ekos.Guide.setDitherSettings
    parent()->setDitherSettings(enable, value);
}

void GuideAdaptor::setGuideAlgorithmIndex(int index)
{
    // handle method call org.kde.kstars.Ekos.Guide.setGuideAlgorithmIndex
    parent()->setGuideAlgorithmIndex(index);
}

void GuideAdaptor::setGuideBoxSizeIndex(int boxSizeIndex)
{
    // handle method call org.kde.kstars.Ekos.Guide.setGuideBoxSizeIndex
    parent()->setGuideBoxSizeIndex(boxSizeIndex);
}

bool GuideAdaptor::setGuiderType(int guideType)
{
    // handle method call org.kde.kstars.Ekos.Guide.setGuiderType
    return parent()->setGuiderType(guideType);
}

void GuideAdaptor::setImageFilter(const QString &value)
{
    // handle method call org.kde.kstars.Ekos.Guide.setImageFilter
    parent()->setImageFilter(value);
}

void GuideAdaptor::setSubFrameEnabled(bool enable)
{
    // handle method call org.kde.kstars.Ekos.Guide.setSubFrameEnabled
    parent()->setSubFrameEnabled(enable);
}

bool GuideAdaptor::suspend()
{
    // handle method call org.kde.kstars.Ekos.Guide.suspend
    return parent()->suspend();
}


#include "guideadaptor.moc"
