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

EkosAdaptor::EkosAdaptor(Ekos::Manager *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

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

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

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

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

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

void EkosAdaptor::connectDevices()
{
    // handle method call org.kde.kstars.Ekos.connectDevices
    parent()->connectDevices();
}

void EkosAdaptor::disconnectDevices()
{
    // handle method call org.kde.kstars.Ekos.disconnectDevices
    parent()->disconnectDevices();
}

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

void EkosAdaptor::setEkosLiveConfig(bool onlineService, bool rememberCredentials, bool autoConnect)
{
    // handle method call org.kde.kstars.Ekos.setEkosLiveConfig
    parent()->setEkosLiveConfig(onlineService, rememberCredentials, autoConnect);
}

void EkosAdaptor::setEkosLiveConnected(bool enabled)
{
    // handle method call org.kde.kstars.Ekos.setEkosLiveConnected
    parent()->setEkosLiveConnected(enabled);
}

void EkosAdaptor::setEkosLiveUser(const QString &username, const QString &password)
{
    // handle method call org.kde.kstars.Ekos.setEkosLiveUser
    parent()->setEkosLiveUser(username, password);
}

void EkosAdaptor::setEkosLoggingEnabled(const QString &name, bool enabled)
{
    // handle method call org.kde.kstars.Ekos.setEkosLoggingEnabled
    parent()->setEkosLoggingEnabled(name, enabled);
}

bool EkosAdaptor::setProfile(const QString &profileName)
{
    // handle method call org.kde.kstars.Ekos.setProfile
    return parent()->setProfile(profileName);
}

void EkosAdaptor::start()
{
    // handle method call org.kde.kstars.Ekos.start
    parent()->start();
}

void EkosAdaptor::stop()
{
    // handle method call org.kde.kstars.Ekos.stop
    parent()->stop();
}


#include "ekosadaptor.moc"
