/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -a tracklistadaptor -c TrackListAdaptor -i dbus/tracklistdbushandler.h -l TrackListDBusHandler /usr/src/ports/kdeplasma-addons/kdeplasma-addons-4.14.3-3.x86_64/src/kdeplasma-addons-4.14.3/applets/mediaplayer/dbus/org.freedesktop.MediaPlayer.tracklist.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 "tracklistadaptor.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 TrackListAdaptor
 */

TrackListAdaptor::TrackListAdaptor(TrackListDBusHandler *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

int TrackListAdaptor::AddTrack(const QString &in0, bool in1)
{
    // handle method call org.freedesktop.MediaPlayer.AddTrack
    return parent()->AddTrack(in0, in1);
}

void TrackListAdaptor::DelTrack(int in0)
{
    // handle method call org.freedesktop.MediaPlayer.DelTrack
    parent()->DelTrack(in0);
}

int TrackListAdaptor::GetCurrentTrack()
{
    // handle method call org.freedesktop.MediaPlayer.GetCurrentTrack
    return parent()->GetCurrentTrack();
}

int TrackListAdaptor::GetLength()
{
    // handle method call org.freedesktop.MediaPlayer.GetLength
    return parent()->GetLength();
}

QVariantMap TrackListAdaptor::GetMetadata(int in0)
{
    // handle method call org.freedesktop.MediaPlayer.GetMetadata
    return parent()->GetMetadata(in0);
}

void TrackListAdaptor::SetLoop(bool in0)
{
    // handle method call org.freedesktop.MediaPlayer.SetLoop
    parent()->SetLoop(in0);
}

void TrackListAdaptor::SetRandom(bool in0)
{
    // handle method call org.freedesktop.MediaPlayer.SetRandom
    parent()->SetRandom(in0);
}


#include "tracklistadaptor.moc"
