/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -a plasmamediaplayeradaptor -i mediaplayer.h -l MediaPlayer /usr/src/ports/kdeplasma-addons/kdeplasma-addons-4.14.3-3.x86_64/src/kdeplasma-addons-4.14.3/applets/mediaplayer/org.kde.PlasmaMediaPlayer.xml
 *
 * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "plasmamediaplayeradaptor.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 PlasmaMediaPlayerAdaptor
 */

PlasmaMediaPlayerAdaptor::PlasmaMediaPlayerAdaptor(MediaPlayer *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

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

void PlasmaMediaPlayerAdaptor::setControlsVisible(bool value)
{
    // set the value of property ControlsVisible
    parent()->setProperty("ControlsVisible", QVariant::fromValue(value));
}

void PlasmaMediaPlayerAdaptor::Lower()
{
    // handle method call org.kde.PlasmaMediaPlayer.Lower
    parent()->Lower();
}

void PlasmaMediaPlayerAdaptor::OpenUrl(const QString &path)
{
    // handle method call org.kde.PlasmaMediaPlayer.OpenUrl
    parent()->OpenUrl(path);
}

void PlasmaMediaPlayerAdaptor::Raise()
{
    // handle method call org.kde.PlasmaMediaPlayer.Raise
    parent()->Raise();
}

void PlasmaMediaPlayerAdaptor::RaiseLower()
{
    // handle method call org.kde.PlasmaMediaPlayer.RaiseLower
    parent()->RaiseLower();
}

void PlasmaMediaPlayerAdaptor::ShowOpenFileDialog()
{
    // handle method call org.kde.PlasmaMediaPlayer.ShowOpenFileDialog
    parent()->ShowOpenFileDialog();
}

void PlasmaMediaPlayerAdaptor::ToggleControlsVisibility()
{
    // handle method call org.kde.PlasmaMediaPlayer.ToggleControlsVisibility
    parent()->ToggleControlsVisibility();
}


#include "plasmamediaplayeradaptor.moc"
