/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a statusnotifieritemadaptor -i kstatusnotifieritemdbus_p.h -l KStatusNotifierItemDBus /build/knotifications/src/knotifications-5.97.0/src/org.kde.StatusNotifierItem.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 "statusnotifieritemadaptor.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 StatusNotifierItemAdaptor
 */

StatusNotifierItemAdaptor::StatusNotifierItemAdaptor(KStatusNotifierItemDBus *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

QString StatusNotifierItemAdaptor::attentionIconName() const
{
    // get the value of property AttentionIconName
    return qvariant_cast< QString >(parent()->property("AttentionIconName"));
}

KDbusImageVector StatusNotifierItemAdaptor::attentionIconPixmap() const
{
    // get the value of property AttentionIconPixmap
    return qvariant_cast< KDbusImageVector >(parent()->property("AttentionIconPixmap"));
}

QString StatusNotifierItemAdaptor::attentionMovieName() const
{
    // get the value of property AttentionMovieName
    return qvariant_cast< QString >(parent()->property("AttentionMovieName"));
}

QString StatusNotifierItemAdaptor::category() const
{
    // get the value of property Category
    return qvariant_cast< QString >(parent()->property("Category"));
}

QString StatusNotifierItemAdaptor::iconName() const
{
    // get the value of property IconName
    return qvariant_cast< QString >(parent()->property("IconName"));
}

KDbusImageVector StatusNotifierItemAdaptor::iconPixmap() const
{
    // get the value of property IconPixmap
    return qvariant_cast< KDbusImageVector >(parent()->property("IconPixmap"));
}

QString StatusNotifierItemAdaptor::iconThemePath() const
{
    // get the value of property IconThemePath
    return qvariant_cast< QString >(parent()->property("IconThemePath"));
}

QString StatusNotifierItemAdaptor::id() const
{
    // get the value of property Id
    return qvariant_cast< QString >(parent()->property("Id"));
}

bool StatusNotifierItemAdaptor::itemIsMenu() const
{
    // get the value of property ItemIsMenu
    return qvariant_cast< bool >(parent()->property("ItemIsMenu"));
}

QDBusObjectPath StatusNotifierItemAdaptor::menu() const
{
    // get the value of property Menu
    return qvariant_cast< QDBusObjectPath >(parent()->property("Menu"));
}

QString StatusNotifierItemAdaptor::overlayIconName() const
{
    // get the value of property OverlayIconName
    return qvariant_cast< QString >(parent()->property("OverlayIconName"));
}

KDbusImageVector StatusNotifierItemAdaptor::overlayIconPixmap() const
{
    // get the value of property OverlayIconPixmap
    return qvariant_cast< KDbusImageVector >(parent()->property("OverlayIconPixmap"));
}

QString StatusNotifierItemAdaptor::status() const
{
    // get the value of property Status
    return qvariant_cast< QString >(parent()->property("Status"));
}

QString StatusNotifierItemAdaptor::title() const
{
    // get the value of property Title
    return qvariant_cast< QString >(parent()->property("Title"));
}

KDbusToolTipStruct StatusNotifierItemAdaptor::toolTip() const
{
    // get the value of property ToolTip
    return qvariant_cast< KDbusToolTipStruct >(parent()->property("ToolTip"));
}

int StatusNotifierItemAdaptor::windowId() const
{
    // get the value of property WindowId
    return qvariant_cast< int >(parent()->property("WindowId"));
}

void StatusNotifierItemAdaptor::Activate(int x, int y)
{
    // handle method call org.kde.StatusNotifierItem.Activate
    parent()->Activate(x, y);
}

void StatusNotifierItemAdaptor::ContextMenu(int x, int y)
{
    // handle method call org.kde.StatusNotifierItem.ContextMenu
    parent()->ContextMenu(x, y);
}

void StatusNotifierItemAdaptor::ProvideXdgActivationToken(const QString &token)
{
    // handle method call org.kde.StatusNotifierItem.ProvideXdgActivationToken
    parent()->ProvideXdgActivationToken(token);
}

void StatusNotifierItemAdaptor::Scroll(int delta, const QString &orientation)
{
    // handle method call org.kde.StatusNotifierItem.Scroll
    parent()->Scroll(delta, orientation);
}

void StatusNotifierItemAdaptor::SecondaryActivate(int x, int y)
{
    // handle method call org.kde.StatusNotifierItem.SecondaryActivate
    parent()->SecondaryActivate(x, y);
}


#include "statusnotifieritemadaptor.moc"
