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 | 54 | QString getFindableBy() const; |
| 55 | 55 | void setFindableBy(const QString& discoverabilityMode); |
| 56 | + void discoverabilityModeChanged(Discoverability::Mode discoverabilityMode); | |
| 56 | 57 | |
| 57 | 58 | signals: |
| 58 | 59 | void connected(); |
| 59 | 60 | void disconnected(const QString& reason); |
| 60 | 61 | void myUsernameChanged(const QString& username); |
| 61 | 62 | void downloadInfoChanged(DownloadInfoResult info); |
| 63 | + void findableByChanged(const QString& discoverabilityMode); | |
| 62 | 64 | |
| 63 | 65 | private: |
| 64 | 66 | GlobalServicesScriptingInterface(); |
| 65 | 67 | ~GlobalServicesScriptingInterface(); |
| 66 | 68 | |
| 69 | + QString findableByString(Discoverability::Mode discoverabilityMode) const; | |
| 70 | + | |
| 67 | 71 | bool _downloading; |
| 68 | 72 | }; |
| 69 | 73 | |