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 | 35 | Q_OBJECT |
| 36 | 36 | |
| 37 | 37 | Q_PROPERTY(QString username READ getUsername) |
| 38 | + Q_PROPERTY(QString findableBy READ getFindableBy WRITE setFindableBy) | |
| 38 | 39 | |
| 39 | 40 | public: |
| 40 | 41 | static GlobalServicesScriptingInterface* getInstance(); |
| @@ -48,6 +49,9 @@ public slots: · 7 unmodified lines | ||
| 48 | 49 | private slots: |
| 49 | 50 | void loggedOut(); |
| 50 | 51 | void checkDownloadInfo(); |
| 52 | + | |
| 53 | + QString getFindableBy() const; | |
| 54 | + void setFindableBy(const QString& discoverabilityMode); | |
| 51 | 55 | |
| 52 | 56 | signals: |
| 53 | 57 | void connected(); |