/* * This file was generated by qdbusxml2cpp version 0.7 * Command line was: qdbusxml2cpp -c FmRxProxy -p fmrxproxy.cpp -a fmrxproxyadaptor.cpp /home/javier/maemo/fm/h/fmrxd-0.1/fmrxd.xml * * qdbusxml2cpp is Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). * * This is an auto-generated file. * This file may have been hand-edited. Look for HAND-EDIT comments * before re-generating it. */ #ifndef FMRXPROXYADAPTOR_CPP_1325275015 #define FMRXPROXYADAPTOR_CPP_1325275015 #include #include #include #include #include #include #include #include #include #include /* * Adaptor class for interface com.javispedro.fmrxd */ class FmRxProxy: public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "com.javispedro.fmrxd") Q_CLASSINFO("D-Bus Introspection", "" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "") public: FmRxProxy(QObject *parent); virtual ~FmRxProxy(); public: // PROPERTIES public Q_SLOTS: // METHODS int Connect(); void SearchBackward(); void SearchForward(); void Tune(double frequency); Q_SIGNALS: // SIGNALS void PiReceived(ushort pi); void PsReceived(const QString &ps); void RtReceived(const QString &rt); void Stopped(); void Tuned(double frequency); }; #endif /* * Implementation of adaptor class FmRxProxy */ FmRxProxy::FmRxProxy(QObject *parent) : QDBusAbstractAdaptor(parent) { // constructor setAutoRelaySignals(true); } FmRxProxy::~FmRxProxy() { // destructor } int FmRxProxy::Connect() { // handle method call com.javispedro.fmrxd.Connect int pipe; QMetaObject::invokeMethod(parent(), "Connect", Q_RETURN_ARG(int, pipe)); return pipe; } void FmRxProxy::SearchBackward() { // handle method call com.javispedro.fmrxd.SearchBackward QMetaObject::invokeMethod(parent(), "SearchBackward"); } void FmRxProxy::SearchForward() { // handle method call com.javispedro.fmrxd.SearchForward QMetaObject::invokeMethod(parent(), "SearchForward"); } void FmRxProxy::Tune(double frequency) { // handle method call com.javispedro.fmrxd.Tune QMetaObject::invokeMethod(parent(), "Tune", Q_ARG(double, frequency)); }