/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a knotesadaptor -i apps/knotesapp.h -l KNotesApp /builds/chakra/packages/desktop/knotes/src/knotes-19.08.3/src/apps/org.kde.KNotes.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 "knotesadaptor.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 KNotesAdaptor
 */

KNotesAdaptor::KNotesAdaptor(KNotesApp *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

void KNotesAdaptor::hideAllNotes()
{
    // handle method call org.kde.KNotes.hideAllNotes
    parent()->hideAllNotes();
}

void KNotesAdaptor::hideNote(qlonglong noteId)
{
    // handle method call org.kde.KNotes.hideNote
    parent()->hideNote(noteId);
}

QString KNotesAdaptor::name(qlonglong noteId)
{
    // handle method call org.kde.KNotes.name
    return parent()->name(noteId);
}

void KNotesAdaptor::newNote(const QString &name, const QString &text)
{
    // handle method call org.kde.KNotes.newNote
    parent()->newNote(name, text);
}

void KNotesAdaptor::showAllNotes()
{
    // handle method call org.kde.KNotes.showAllNotes
    parent()->showAllNotes();
}

void KNotesAdaptor::showNote(qlonglong noteId)
{
    // handle method call org.kde.KNotes.showNote
    parent()->showNote(noteId);
}

QString KNotesAdaptor::text(qlonglong noteId)
{
    // handle method call org.kde.KNotes.text
    return parent()->text(noteId);
}


#include "knotesadaptor.moc"
