Showing the changes to interface/src/scripting/GlobalServicesScriptingInterface.h (1 of 4 files). Show all
Unified · Split
| @@ -35,6 +35,7 @@ class GlobalServicesScriptingInterface : public QObject { · 34 unmodified lines | |||
| 35 | Q_OBJECT | 35 | Q_OBJECT |
| 36 | 36 | ||
| 37 | Q_PROPERTY(QString username READ getUsername) | 37 | Q_PROPERTY(QString username READ getUsername) |
| 38 | Q_PROPERTY(QString findableBy READ getFindableBy WRITE setFindableBy) | ||
| 38 | 39 | ||
| 39 | public: | 40 | public: |
| 40 | static GlobalServicesScriptingInterface* getInstance(); | 41 | static GlobalServicesScriptingInterface* getInstance(); |
| @@ -48,6 +49,9 @@ public slots: · 7 unmodified lines | |||
| 48 | private slots: | 49 | private slots: |
| 49 | void loggedOut(); | 50 | void loggedOut(); |
| 50 | void checkDownloadInfo(); | 51 | void checkDownloadInfo(); |
| 52 | |||
| 53 | QString getFindableBy() const; | ||
| 54 | void setFindableBy(const QString& discoverabilityMode); | ||
| 51 | 55 | ||
| 52 | signals: | 56 | signals: |
| 53 | void connected(); | 57 | void connected(); |