History

First cut of a snapshot uploader

Will need to test end-to-end shortly, etc...

David Kelly committed 10 years ago

Commit c8f3a891 parent e0973f37 files · +126 −2Browse files

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

Unified · Split

interface/src/scripting/WindowScriptingInterface.h+2−0
@@ -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
59signals:60signals:
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
65private slots:67private 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);