/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a powermanagementadaptor -i powerdevilcore.h -l PowerDevil::Core /builds/chakra/packages/core/powerdevil/src/powerdevil-5.17.3/daemon/org.kde.Solid.PowerManagement.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 "powermanagementadaptor.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 PowerManagementAdaptor
 */

PowerManagementAdaptor::PowerManagementAdaptor(PowerDevil::Core *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

uint PowerManagementAdaptor::backendCapabilities()
{
    // handle method call org.kde.Solid.PowerManagement.backendCapabilities
    return parent()->backendCapabilities();
}

qulonglong PowerManagementAdaptor::batteryRemainingTime()
{
    // handle method call org.kde.Solid.PowerManagement.batteryRemainingTime
    return parent()->batteryRemainingTime();
}

QString PowerManagementAdaptor::currentProfile()
{
    // handle method call org.kde.Solid.PowerManagement.currentProfile
    return parent()->currentProfile();
}

bool PowerManagementAdaptor::hasDualGpu()
{
    // handle method call org.kde.Solid.PowerManagement.hasDualGpu
    return parent()->hasDualGpu();
}

bool PowerManagementAdaptor::isActionSupported(const QString &in0)
{
    // handle method call org.kde.Solid.PowerManagement.isActionSupported
    return parent()->isActionSupported(in0);
}

bool PowerManagementAdaptor::isLidClosed()
{
    // handle method call org.kde.Solid.PowerManagement.isLidClosed
    return parent()->isLidClosed();
}

bool PowerManagementAdaptor::isLidPresent()
{
    // handle method call org.kde.Solid.PowerManagement.isLidPresent
    return parent()->isLidPresent();
}

void PowerManagementAdaptor::loadProfile(bool in0)
{
    // handle method call org.kde.Solid.PowerManagement.loadProfile
    parent()->loadProfile(in0);
}

void PowerManagementAdaptor::refreshStatus()
{
    // handle method call org.kde.Solid.PowerManagement.refreshStatus
    parent()->refreshStatus();
}

void PowerManagementAdaptor::reparseConfiguration()
{
    // handle method call org.kde.Solid.PowerManagement.reparseConfiguration
    parent()->reparseConfiguration();
}


#include "powermanagementadaptor.moc"
