diff options
author | Jonathan Bauer | 2011-03-30 13:36:18 +0200 |
---|---|---|
committer | Jonathan Bauer | 2011-03-30 13:36:18 +0200 |
commit | 290e5744564e52fec51a5f0a41d56aea20c94a81 (patch) | |
tree | decf63d58590ecffc1994c0923039cd3b5ab9ee9 /src | |
parent | missing file (diff) | |
download | fbgui-290e5744564e52fec51a5f0a41d56aea20c94a81.tar.gz fbgui-290e5744564e52fec51a5f0a41d56aea20c94a81.tar.xz fbgui-290e5744564e52fec51a5f0a41d56aea20c94a81.zip |
javascript interfaces header comments
Diffstat (limited to 'src')
-rw-r--r-- | src/javascriptinterface.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/javascriptinterface.h b/src/javascriptinterface.h index 6606441..65a29a9 100644 --- a/src/javascriptinterface.h +++ b/src/javascriptinterface.h @@ -38,18 +38,23 @@ signals: void quitFbgui(); public slots: + // make sure the interface stays attached on webpage reload void attachToDOM(); + + // Slots for calling from the webpage void getSession(const QString& session); + const QString getSysInfo(const QString& info); void startDownload(const QString& filename); void setCallbackOnFinished(const QString& function); + void quit(); + + // Slots for information exchange with the download manager. void callbackOnFinished(); void updateProgressBar(const int& percent, const double& speed, const QString& unit); void downloadInfo(const QString& filename, const double& filesize); void notify(const QString& msg); - const QString getSysInfo(const QString& info); - void quit(); - // testing watcher of fbgui. + // test stuff void trigger(); }; |