diff options
| -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(); }; |
