/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.mauiman.Background.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 "backgroundadaptor.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 BackgroundAdaptor
 */

BackgroundAdaptor::BackgroundAdaptor(Background *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

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

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

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

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

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

void BackgroundAdaptor::setDimWallpaper(bool dimsWallpaper)
{
    // handle method call org.mauiman.Background.setDimWallpaper
    parent()->setDimWallpaper(dimsWallpaper);
}

void BackgroundAdaptor::setFitWallpaper(bool fitWallpaper)
{
    // handle method call org.mauiman.Background.setFitWallpaper
    parent()->setFitWallpaper(fitWallpaper);
}

void BackgroundAdaptor::setShowWallpaper(bool showWallpaper)
{
    // handle method call org.mauiman.Background.setShowWallpaper
    parent()->setShowWallpaper(showWallpaper);
}

void BackgroundAdaptor::setSolidColor(const QString &solidColor)
{
    // handle method call org.mauiman.Background.setSolidColor
    parent()->setSolidColor(solidColor);
}

void BackgroundAdaptor::setWallpaperSource(const QString &wallpaperSource)
{
    // handle method call org.mauiman.Background.setWallpaperSource
    parent()->setWallpaperSource(wallpaperSource);
}


#include "moc_backgroundadaptor.cpp"
