mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:06:51 +00:00

Add files generated by qdbusXML2cpp and DCONG2cpp Log: Add files generated by qdbusXML2cpp and DCONG2cpp
156 lines
4.7 KiB
C++
156 lines
4.7 KiB
C++
/*
|
|
* This file was generated by qdbusxml2cpp version 0.8
|
|
* Command line was: qdbusxml2cpp ./dde-dock/frame/dbusinterface/xml/org.kde.StatusNotifierItem.xml -a ./dde-dock/toolGenerate/qdbusxml2cpp/org.kde.StatusNotifierItemAdaptor -i ./dde-dock/toolGenerate/qdbusxml2cpp/org.kde.StatusNotifierItem.h
|
|
*
|
|
* qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
|
|
*
|
|
* This is an auto-generated file.
|
|
* Do not edit! All changes made to it will be lost.
|
|
*/
|
|
|
|
#include "./dde-dock/toolGenerate/qdbusxml2cpp/org.kde.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(QObject *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"));
|
|
}
|
|
|
|
DBusImageList StatusNotifierItemAdaptor::attentionIconPixmap() const
|
|
{
|
|
// get the value of property AttentionIconPixmap
|
|
return qvariant_cast< DBusImageList >(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"));
|
|
}
|
|
|
|
DBusImageList StatusNotifierItemAdaptor::iconPixmap() const
|
|
{
|
|
// get the value of property IconPixmap
|
|
return qvariant_cast< DBusImageList >(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"));
|
|
}
|
|
|
|
DBusImageList StatusNotifierItemAdaptor::overlayIconPixmap() const
|
|
{
|
|
// get the value of property OverlayIconPixmap
|
|
return qvariant_cast< DBusImageList >(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"));
|
|
}
|
|
|
|
DBusToolTip StatusNotifierItemAdaptor::toolTip() const
|
|
{
|
|
// get the value of property ToolTip
|
|
return qvariant_cast< DBusToolTip >(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
|
|
QMetaObject::invokeMethod(parent(), "Activate", Q_ARG(int, x), Q_ARG(int, y));
|
|
}
|
|
|
|
void StatusNotifierItemAdaptor::ContextMenu(int x, int y)
|
|
{
|
|
// handle method call org.kde.StatusNotifierItem.ContextMenu
|
|
QMetaObject::invokeMethod(parent(), "ContextMenu", Q_ARG(int, x), Q_ARG(int, y));
|
|
}
|
|
|
|
void StatusNotifierItemAdaptor::Scroll(int delta, const QString &orientation)
|
|
{
|
|
// handle method call org.kde.StatusNotifierItem.Scroll
|
|
QMetaObject::invokeMethod(parent(), "Scroll", Q_ARG(int, delta), Q_ARG(QString, orientation));
|
|
}
|
|
|
|
void StatusNotifierItemAdaptor::SecondaryActivate(int x, int y)
|
|
{
|
|
// handle method call org.kde.StatusNotifierItem.SecondaryActivate
|
|
QMetaObject::invokeMethod(parent(), "SecondaryActivate", Q_ARG(int, x), Q_ARG(int, y));
|
|
}
|
|
|