/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a knotesadaptor -i knotes_part.h -l KNotesPart /build/knotes/src/knotes-22.08.3/src/kontactplugin/org.kde.kontact.KNotes.xml
 *
 * qdbusxml2cpp is Copyright (C) 2020 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(KNotesPart *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

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

void KNotesAdaptor::killNote(qlonglong name, bool force)
{
    // handle method call org.kde.kontact.KNotes.killNote
    parent()->killNote(name, force);
}

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

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

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

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

QStringList KNotesAdaptor::notesList()
{
    // handle method call org.kde.kontact.KNotes.notesList
    return parent()->notesList();
}

void KNotesAdaptor::setName(qlonglong noteId, const QString &newText)
{
    // handle method call org.kde.kontact.KNotes.setName
    parent()->setName(noteId, newText);
}

void KNotesAdaptor::setText(qlonglong noteId, const QString &newText)
{
    // handle method call org.kde.kontact.KNotes.setText
    parent()->setText(noteId, newText);
}

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

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


#include "knotesadaptor.moc"
