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
35 Q_OBJECT35 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
39public:40public:
40 static GlobalServicesScriptingInterface* getInstance();41 static GlobalServicesScriptingInterface* getInstance();
@@ -48,6 +49,9 @@ public slots: · 7 unmodified lines
48private slots:49private 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
52signals:56signals:
53 void connected();57 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