Will need to test end-to-end shortly, etc...
Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 7 files). Show all
Unified · Split
| @@ -55,12 +55,14 @@ public slots: · 54 unmodified lines | |||
| 55 | QScriptValue save(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); | 55 | QScriptValue save(const QString& title = "", const QString& directory = "", const QString& nameFilter = ""); |
| 56 | void copyToClipboard(const QString& text); | 56 | void copyToClipboard(const QString& text); |
| 57 | void takeSnapshot(bool notify); | 57 | void takeSnapshot(bool notify); |
| 58 | void shareSnapshot(const QString& path); | ||
| 58 | 59 | ||
| 59 | signals: | 60 | signals: |
| 60 | void domainChanged(const QString& domainHostname); | 61 | void domainChanged(const QString& domainHostname); |
| 61 | void svoImportRequested(const QString& url); | 62 | void svoImportRequested(const QString& url); |
| 62 | void domainConnectionRefused(const QString& reasonMessage, int reasonCode); | 63 | void domainConnectionRefused(const QString& reasonMessage, int reasonCode); |
| 63 | void snapshotTaken(const QString& path, bool notify); | 64 | void snapshotTaken(const QString& path, bool notify); |
| 65 | void snapshotShared(bool success); | ||
| 64 | 66 | ||
| 65 | private slots: | 67 | private slots: |
| 66 | WebWindowClass* doCreateWebWindow(const QString& title, const QString& url, int width, int height); | 68 | WebWindowClass* doCreateWebWindow(const QString& title, const QString& url, int width, int height); |