And synchronize visibility settings between Interface and users.js.
Showing the changes to interface/src/scripting/GlobalServicesScriptingInterface.h (1 of 7 files). Show all
Unified · Split
| @@ -53,17 +53,21 @@ private slots: · 52 unmodified lines | |||
| 53 | 53 | ||
| 54 | QString getFindableBy() const; | 54 | QString getFindableBy() const; |
| 55 | void setFindableBy(const QString& discoverabilityMode); | 55 | void setFindableBy(const QString& discoverabilityMode); |
| 56 | void discoverabilityModeChanged(Discoverability::Mode discoverabilityMode); | ||
| 56 | 57 | ||
| 57 | signals: | 58 | signals: |
| 58 | void connected(); | 59 | void connected(); |
| 59 | void disconnected(const QString& reason); | 60 | void disconnected(const QString& reason); |
| 60 | void myUsernameChanged(const QString& username); | 61 | void myUsernameChanged(const QString& username); |
| 61 | void downloadInfoChanged(DownloadInfoResult info); | 62 | void downloadInfoChanged(DownloadInfoResult info); |
| 63 | void findableByChanged(const QString& discoverabilityMode); | ||
| 62 | 64 | ||
| 63 | private: | 65 | private: |
| 64 | GlobalServicesScriptingInterface(); | 66 | GlobalServicesScriptingInterface(); |
| 65 | ~GlobalServicesScriptingInterface(); | 67 | ~GlobalServicesScriptingInterface(); |
| 66 | 68 | ||
| 69 | QString findableByString(Discoverability::Mode discoverabilityMode) const; | ||
| 70 | |||
| 67 | bool _downloading; | 71 | bool _downloading; |
| 68 | }; | 72 | }; |
| 69 | 73 | ||