summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/bluez/obex_agent.cpp
diff options
context:
space:
mode:
authorMichael Zanetti <michael.zanetti@nokia.com>2011-08-24 14:09:22 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-08-24 14:10:36 +1000
commit29ba8297443cf76d4f647bde329d62c2a567c709 (patch)
tree88875199053cd88b3b3521c829277f209e815159 /src/bluetooth/bluez/obex_agent.cpp
Initial commit.
From qt5connectivity.tar.gz, md5 317c149d6f8c07d09632353188582834
Diffstat (limited to 'src/bluetooth/bluez/obex_agent.cpp')
-rw-r--r--src/bluetooth/bluez/obex_agent.cpp67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/bluetooth/bluez/obex_agent.cpp b/src/bluetooth/bluez/obex_agent.cpp
new file mode 100644
index 00000000..c4895065
--- /dev/null
+++ b/src/bluetooth/bluez/obex_agent.cpp
@@ -0,0 +1,67 @@
+/*
+ * This file was generated by qdbusxml2cpp version 0.7
+ * Command line was: qdbusxml2cpp -a obex_agent_p.h:obex_agent.cpp org.openobex.agent.xml
+ *
+ * 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 "obex_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 AgentAdaptor
+ */
+
+AgentAdaptor::AgentAdaptor(QObject *parent)
+ : QDBusAbstractAdaptor(parent)
+{
+ // constructor
+ setAutoRelaySignals(true);
+}
+
+AgentAdaptor::~AgentAdaptor()
+{
+ // destructor
+}
+
+void AgentAdaptor::Complete(const QDBusObjectPath &in0)
+{
+ // handle method call org.openobex.Agent.Complete
+ QMetaObject::invokeMethod(parent(), "Complete", Q_ARG(QDBusObjectPath, in0));
+}
+
+void AgentAdaptor::Error(const QDBusObjectPath &in0, const QString &in1)
+{
+ // handle method call org.openobex.Agent.Error
+ QMetaObject::invokeMethod(parent(), "Error", Q_ARG(QDBusObjectPath, in0), Q_ARG(QString, in1));
+}
+
+void AgentAdaptor::Progress(const QDBusObjectPath &in0, qulonglong in1)
+{
+ // handle method call org.openobex.Agent.Progress
+ QMetaObject::invokeMethod(parent(), "Progress", Q_ARG(QDBusObjectPath, in0), Q_ARG(qulonglong, in1));
+}
+
+void AgentAdaptor::Release()
+{
+ // handle method call org.openobex.Agent.Release
+ QMetaObject::invokeMethod(parent(), "Release");
+}
+
+QString AgentAdaptor::Request(const QDBusObjectPath &in0)
+{
+ // handle method call org.openobex.Agent.Request
+ QString out0;
+ QMetaObject::invokeMethod(parent(), "Request", Q_RETURN_ARG(QString, out0), Q_ARG(QDBusObjectPath, in0));
+ return out0;
+}
+