summaryrefslogtreecommitdiffstats
path: root/src/javascriptInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/javascriptInterface.h')
-rw-r--r--src/javascriptInterface.h29
1 files changed, 18 insertions, 11 deletions
diff --git a/src/javascriptInterface.h b/src/javascriptInterface.h
index d23a6e0..6ee113b 100644
--- a/src/javascriptInterface.h
+++ b/src/javascriptInterface.h
@@ -1,19 +1,25 @@
/*
- * jsObject.h
- *
- * Created on: Feb 1, 2011
- * Author: niklas
- * The purpose of the jsObject class is to provide signals which will be emited in the javascript functions.
- * Those javascript functions are writen in a seperate file: jsFunktions.js
- */
+# 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_
#define JAVASCRIPTINTERFACE_H_
-
#include "fbgui.h"
-
class javascriptInterface : public QObject{
Q_OBJECT
private:
@@ -30,11 +36,12 @@ signals:
public slots:
void attachToDOM();
- QString getSysInfo(QString info);
void startDownload(QString filename);
- void updateProgressBar(QString current, int i);
void setCallbackOnDlQueueFinished(QString fctOnDownloadsFinished);
void callbackOnDlQueueFinished();
+ void updateProgressBar(QString current, int i);
+
+ QString getSysInfo(QString info);
void quit();
};