History

expose discoverability changes to js

Stephen Birarda committed 11 years ago

Commit cd382ee1 parent 6d900d54 files · +34 −4Browse files

Showing the changes to interface/src/scripting/GlobalServicesScriptingInterface.h (1 of 4 files). Show all

Unified · Split

interface/src/scripting/GlobalServicesScriptingInterface.h+4−0
@@ -35,6 +35,7 @@ class GlobalServicesScriptingInterface : public QObject { · 34 unmodified lines
3535 Q_OBJECT
3636
3737 Q_PROPERTY(QString username READ getUsername)
38+ Q_PROPERTY(QString findableBy READ getFindableBy WRITE setFindableBy)
3839
3940 public:
4041 static GlobalServicesScriptingInterface* getInstance();
@@ -48,6 +49,9 @@ public slots: · 7 unmodified lines
4849 private slots:
4950 void loggedOut();
5051 void checkDownloadInfo();
52+
53+ QString getFindableBy() const;
54+ void setFindableBy(const QString& discoverabilityMode);
5155
5256 signals:
5357 void connected();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t