diff options
author | Michael Zanetti <michael.zanetti@nokia.com> | 2011-08-24 14:09:22 +1000 |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-08-24 14:10:36 +1000 |
commit | 29ba8297443cf76d4f647bde329d62c2a567c709 (patch) | |
tree | 88875199053cd88b3b3521c829277f209e815159 /src/bluetooth/bluez/agent.cpp |
Initial commit.
From qt5connectivity.tar.gz, md5 317c149d6f8c07d09632353188582834
Diffstat (limited to 'src/bluetooth/bluez/agent.cpp')
-rw-r--r-- | src/bluetooth/bluez/agent.cpp | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/src/bluetooth/bluez/agent.cpp b/src/bluetooth/bluez/agent.cpp new file mode 100644 index 00000000..491bd1e9 --- /dev/null +++ b/src/bluetooth/bluez/agent.cpp @@ -0,0 +1,87 @@ +/* + * This file was generated by qdbusxml2cpp version 0.7 + * Command line was: qdbusxml2cpp -c OrgBluezAgentAdaptor -a agent_p.h:agent.cpp org.bluez.Agent.xml org.bluez.Agent + * + * qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). + * + * This is an auto-generated file. + * Do not edit! All changes made to it will be lost. + */ + +#include "agent_p.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 OrgBluezAgentAdaptor + */ + +OrgBluezAgentAdaptor::OrgBluezAgentAdaptor(QObject *parent) + : QDBusAbstractAdaptor(parent) +{ + // constructor + setAutoRelaySignals(true); +} + +OrgBluezAgentAdaptor::~OrgBluezAgentAdaptor() +{ + // destructor +} + +void OrgBluezAgentAdaptor::Authorize(const QDBusObjectPath &in0, const QString &in1) +{ + // handle method call org.bluez.Agent.Authorize + QMetaObject::invokeMethod(parent(), "Authorize", Q_ARG(QDBusObjectPath, in0), Q_ARG(QString, in1)); +} + +void OrgBluezAgentAdaptor::Cancel() +{ + // handle method call org.bluez.Agent.Cancel + QMetaObject::invokeMethod(parent(), "Cancel"); +} + +void OrgBluezAgentAdaptor::ConfirmModeChange(const QString &in0) +{ + // handle method call org.bluez.Agent.ConfirmModeChange + QMetaObject::invokeMethod(parent(), "ConfirmModeChange", Q_ARG(QString, in0)); +} + +void OrgBluezAgentAdaptor::DisplayPasskey(const QDBusObjectPath &in0, uint in1, uchar in2) +{ + // handle method call org.bluez.Agent.DisplayPasskey + QMetaObject::invokeMethod(parent(), "DisplayPasskey", Q_ARG(QDBusObjectPath, in0), Q_ARG(uint, in1), Q_ARG(uchar, in2)); +} + +void OrgBluezAgentAdaptor::Release() +{ + // handle method call org.bluez.Agent.Release + QMetaObject::invokeMethod(parent(), "Release"); +} + +void OrgBluezAgentAdaptor::RequestConfirmation(const QDBusObjectPath &in0, uint in1) +{ + // handle method call org.bluez.Agent.RequestConfirmation + QMetaObject::invokeMethod(parent(), "RequestConfirmation", Q_ARG(QDBusObjectPath, in0), Q_ARG(uint, in1)); +} + +uint OrgBluezAgentAdaptor::RequestPasskey(const QDBusObjectPath &in0) +{ + // handle method call org.bluez.Agent.RequestPasskey + uint out0; + QMetaObject::invokeMethod(parent(), "RequestPasskey", Q_RETURN_ARG(uint, out0), Q_ARG(QDBusObjectPath, in0)); + return out0; +} + +QString OrgBluezAgentAdaptor::RequestPinCode(const QDBusObjectPath &in0) +{ + // handle method call org.bluez.Agent.RequestPinCode + QString out0; + QMetaObject::invokeMethod(parent(), "RequestPinCode", Q_RETURN_ARG(QString, out0), Q_ARG(QDBusObjectPath, in0)); + return out0; +} + |