From 03ac351f38316d8f923f3797aa7dd0deade7ed5d Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sun, 24 Apr 2011 21:36:26 +0200 Subject: url status handling, 5sec delay before closing gui when exiting with failure (not actually returning 1 atm), lots of formatting... --- src/javascriptinterface.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/javascriptinterface.h') diff --git a/src/javascriptinterface.h b/src/javascriptinterface.h index ce07d93..8826e46 100644 --- a/src/javascriptinterface.h +++ b/src/javascriptinterface.h @@ -1,18 +1,18 @@ /* - # Copyright (c) 2010,2011 - RZ Uni Freiburg - # Copyright (c) 2010,2011 - OpenSLX Project - # - # This program/file is free software distributed under the GPL version 2. - # See http://openslx.org/COPYING - # - # If you have any feedback please consult http://openslx.org/feedback and - # send your feedback to feedback@openslx.org - # - # General information about OpenSLX can be found under http://openslx.org - # - # - # Interface for javascript. - # + * Copyright (c) 2010,2011 - RZ Uni Freiburg + * Copyright (c) 2010,2011 - OpenSLX Project + * + * This program/file is free software distributed under the GPL version 2. + * See http://openslx.org/COPYING + * + * If you have any feedback please consult http://openslx.org/feedback and + * send your feedback to feedback@openslx.org + * + * General information about OpenSLX can be found under http://openslx.org + * + * + * Interface for javascript. + * */ #ifndef JAVASCRIPTINTERFACE_H_ @@ -34,7 +34,7 @@ private: // loads jQuery code void loadJQuery(); - signals: +signals: // request the file from download manager void requestFile(const QString& filename); // quit the application @@ -60,13 +60,13 @@ public slots: void callbackOnFinished(); // slots for information exchange with the download manager. - void updateProgressBar(const int& percent, const double& speed, - const QString& unit); + void updateProgressBar(const int& percent, const double& speed, const QString& unit); void downloadInfo(const QString& filename, const double& filesize); void notify(const QString& msg); - // test stuff + // functions to help test functionality void trigger(); + void alert(const QString& message); }; #endif // JAVASCRIPTINTERFACE_H_ -- cgit v1.2.3-55-g7522