summaryrefslogtreecommitdiffstats
path: root/src/javascriptinterface.h
diff options
context:
space:
mode:
authorJonathan Bauer2011-04-24 21:36:26 +0200
committerJonathan Bauer2011-04-24 21:36:26 +0200
commit03ac351f38316d8f923f3797aa7dd0deade7ed5d (patch)
treec01e300c7a92ce728df907fd85e1a514876b6037 /src/javascriptinterface.h
parentmore old tests... (diff)
downloadfbgui-03ac351f38316d8f923f3797aa7dd0deade7ed5d.tar.gz
fbgui-03ac351f38316d8f923f3797aa7dd0deade7ed5d.tar.xz
fbgui-03ac351f38316d8f923f3797aa7dd0deade7ed5d.zip
url status handling, 5sec delay before closing gui when exiting with failure (not actually returning 1 atm), lots of formatting...
Diffstat (limited to 'src/javascriptinterface.h')
-rw-r--r--src/javascriptinterface.h36
1 files changed, 18 insertions, 18 deletions
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_