/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.kde.ktimetracker.ktimetracker.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 "mainadaptor.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 MainAdaptor
 */

MainAdaptor::MainAdaptor(TimeTrackerWidget *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

QStringList MainAdaptor::activeTasks()
{
    // handle method call org.kde.ktimetracker.ktimetracker.activeTasks
    return parent()->activeTasks();
}

void MainAdaptor::addSubTask(const QString &taskName, const QString &taskId)
{
    // handle method call org.kde.ktimetracker.ktimetracker.addSubTask
    parent()->addSubTask(taskName, taskId);
}

void MainAdaptor::addTask(const QString &taskName)
{
    // handle method call org.kde.ktimetracker.ktimetracker.addTask
    parent()->addTask(taskName);
}

int MainAdaptor::bookTime(const QString &taskId, const QString &dateTime, int minutes)
{
    // handle method call org.kde.ktimetracker.ktimetracker.bookTime
    return parent()->bookTime(taskId, dateTime, minutes);
}

int MainAdaptor::changeTime(const QString &taskId, int minutes)
{
    // handle method call org.kde.ktimetracker.ktimetracker.changeTime
    return parent()->changeTime(taskId, minutes);
}

void MainAdaptor::deleteTask(const QString &taskId)
{
    // handle method call org.kde.ktimetracker.ktimetracker.deleteTask
    parent()->deleteTask(taskId);
}

QString MainAdaptor::error(int errorCode)
{
    // handle method call org.kde.ktimetracker.ktimetracker.error
    return parent()->error(errorCode);
}

QString MainAdaptor::exportCSVFile(const QString &filename, const QString &from, const QString &to, int type, bool decimalMinutes, bool allTasks, const QString &delimiter, const QString &quote)
{
    // handle method call org.kde.ktimetracker.ktimetracker.exportCSVFile
    return parent()->exportCSVFile(filename, from, to, type, decimalMinutes, allTasks, delimiter, quote);
}

void MainAdaptor::importPlannerFile(const QString &filename)
{
    // handle method call org.kde.ktimetracker.ktimetracker.importPlannerFile
    parent()->importPlannerFile(filename);
}

bool MainAdaptor::isActive(const QString &taskId)
{
    // handle method call org.kde.ktimetracker.ktimetracker.isActive
    return parent()->isActive(taskId);
}

bool MainAdaptor::isIdleDetectionPossible()
{
    // handle method call org.kde.ktimetracker.ktimetracker.isIdleDetectionPossible
    return parent()->isIdleDetectionPossible();
}

bool MainAdaptor::isTaskNameActive(const QString &taskName)
{
    // handle method call org.kde.ktimetracker.ktimetracker.isTaskNameActive
    return parent()->isTaskNameActive(taskName);
}

void MainAdaptor::newTask()
{
    // handle method call org.kde.ktimetracker.ktimetracker.newTask
    parent()->newTask();
}

void MainAdaptor::quit()
{
    // handle method call org.kde.ktimetracker.ktimetracker.quit
    parent()->quit();
}

void MainAdaptor::saveAll()
{
    // handle method call org.kde.ktimetracker.ktimetracker.saveAll
    parent()->saveAll();
}

void MainAdaptor::setPercentComplete(const QString &taskId, int perCent)
{
    // handle method call org.kde.ktimetracker.ktimetracker.setPercentComplete
    parent()->setPercentComplete(taskId, perCent);
}

void MainAdaptor::startNewSession()
{
    // handle method call org.kde.ktimetracker.ktimetracker.startNewSession
    parent()->startNewSession();
}

void MainAdaptor::startTimerFor(const QString &taskId)
{
    // handle method call org.kde.ktimetracker.ktimetracker.startTimerFor
    parent()->startTimerFor(taskId);
}

bool MainAdaptor::startTimerForTaskName(const QString &taskName)
{
    // handle method call org.kde.ktimetracker.ktimetracker.startTimerForTaskName
    return parent()->startTimerForTaskName(taskName);
}

void MainAdaptor::stopAllTimersDBUS()
{
    // handle method call org.kde.ktimetracker.ktimetracker.stopAllTimersDBUS
    parent()->stopAllTimersDBUS();
}

void MainAdaptor::stopTimerFor(const QString &taskId)
{
    // handle method call org.kde.ktimetracker.ktimetracker.stopTimerFor
    parent()->stopTimerFor(taskId);
}

bool MainAdaptor::stopTimerForTaskName(const QString &taskName)
{
    // handle method call org.kde.ktimetracker.ktimetracker.stopTimerForTaskName
    return parent()->stopTimerForTaskName(taskName);
}

QStringList MainAdaptor::taskIdsFromName(const QString &taskName)
{
    // handle method call org.kde.ktimetracker.ktimetracker.taskIdsFromName
    return parent()->taskIdsFromName(taskName);
}

QStringList MainAdaptor::tasks()
{
    // handle method call org.kde.ktimetracker.ktimetracker.tasks
    return parent()->tasks();
}

int MainAdaptor::totalMinutesForTaskId(const QString &taskId)
{
    // handle method call org.kde.ktimetracker.ktimetracker.totalMinutesForTaskId
    return parent()->totalMinutesForTaskId(taskId);
}

QString MainAdaptor::version()
{
    // handle method call org.kde.ktimetracker.ktimetracker.version
    return parent()->version();
}


#include "moc_mainadaptor.cpp"
