#ifndef FOO_H #define FOO_H #include #include class CFoo : public QObject { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "net.company.object") Q_PROPERTY(QString stringproperty READ stringproperty) Q_PROPERTY(QDBusObjectPath objectProperty READ objectProperty) Q_PROPERTY(QList objectpropertyList READ objectpropertyList) public: CFoo(QObject *parent = 0); signals: public slots: }; #endif // FOO_H