diff options
| author | Jonathan Bauer | 2011-03-21 10:51:51 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-21 10:51:51 +0100 |
| commit | 635b5c64f3107d4c01ae314fb75e02c571b51c54 (patch) | |
| tree | 4d2a3a679a569f9133ca8d3d5f5159b393accde3 /src/javascriptInterface.h | |
| parent | debug modes. -D now needs an arg: 0 for regular terminal output, 1 for debug ... (diff) | |
| download | fbgui-635b5c64f3107d4c01ae314fb75e02c571b51c54.tar.gz fbgui-635b5c64f3107d4c01ae314fb75e02c571b51c54.tar.xz fbgui-635b5c64f3107d4c01ae314fb75e02c571b51c54.zip | |
transformed c syntax comments to c++ convention...
Diffstat (limited to 'src/javascriptInterface.h')
| -rw-r--r-- | src/javascriptInterface.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/javascriptInterface.h b/src/javascriptInterface.h index 5c6f1cf..a139780 100644 --- a/src/javascriptInterface.h +++ b/src/javascriptInterface.h @@ -20,7 +20,8 @@ #include "fbgui.h" -class javascriptInterface : public QObject{ +class javascriptInterface : public QObject +{ Q_OBJECT private: QWebFrame* _parent; @@ -39,11 +40,11 @@ public slots: void startDownload(QString filename); void setCallbackOnDlQueueFinished(QString fctOnDownloadsFinished); void callbackOnDlQueueFinished(); - void updateProgressBar(int percent, double speed, QString unit); - void downloadInfo(QString filename, double filesize); - void notify(QString msg); - QString getSysInfo(QString info); + void updateProgressBar(const int& percent, const double& speed, const QString& unit); + void downloadInfo(const QString& filename, const double& filesize); + void notify(const QString& msg); + QString getSysInfo(const QString& info); void quit(); }; -#endif /* JAVASCRIPTINTERFACE_H_ */ +#endif // JAVASCRIPTINTERFACE_H_ |
