1 #include <QObject> 2 #include <QString> 3 4 class DBusControl : public QObject { 5 Q_OBJECT 6 7 public slots: version(void)8 QString version(void) { return "1.0.0"; } 9 }; 10