diff options
Diffstat (limited to 'examples/servicefw/provider/impl/org.maemo.textprocessor/textprocessorinterfaceadaptor.cpp')
-rw-r--r-- | examples/servicefw/provider/impl/org.maemo.textprocessor/textprocessorinterfaceadaptor.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/examples/servicefw/provider/impl/org.maemo.textprocessor/textprocessorinterfaceadaptor.cpp b/examples/servicefw/provider/impl/org.maemo.textprocessor/textprocessorinterfaceadaptor.cpp new file mode 100644 index 00000000..dc3253a1 --- /dev/null +++ b/examples/servicefw/provider/impl/org.maemo.textprocessor/textprocessorinterfaceadaptor.cpp @@ -0,0 +1,43 @@ +/* + * This file was generated by qdbusxml2cpp version 0.7 + * Command line was: qdbusxml2cpp -c TextProcessorInterfaceAdaptor -a textprocessorinterfaceadaptor com.nokia.TextProcessorInterface.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 "textprocessorinterfaceadaptor.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 TextProcessorInterfaceAdaptor + */ + +TextProcessorInterfaceAdaptor::TextProcessorInterfaceAdaptor(QObject *parent) + : QDBusAbstractAdaptor(parent) +{ + // constructor + setAutoRelaySignals(true); +} + +TextProcessorInterfaceAdaptor::~TextProcessorInterfaceAdaptor() +{ + // destructor +} + +QString TextProcessorInterfaceAdaptor::reverse(const QString &message) +{ + // handle method call com.nokia.TextProcessorInterface.reverse + QString out0; + QMetaObject::invokeMethod(parent(), "reverse", Q_RETURN_ARG(QString, out0), Q_ARG(QString, message)); + return out0; +} + |