summaryrefslogtreecommitdiffstats
path: root/src/javascriptInterface.h
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-21 11:47:21 +0100
committerJonathan Bauer2011-03-21 11:47:21 +0100
commite7329f1acbb02d6f4b1ab2be66282291bff60ccf (patch)
treedb88b2fea7c36081778fe34c10d1f2883a634824 /src/javascriptInterface.h
parentsmall steps towards const correctness... (diff)
downloadfbgui-e7329f1acbb02d6f4b1ab2be66282291bff60ccf.tar.gz
fbgui-e7329f1acbb02d6f4b1ab2be66282291bff60ccf.tar.xz
fbgui-e7329f1acbb02d6f4b1ab2be66282291bff60ccf.zip
minor code convention fixes
Diffstat (limited to 'src/javascriptInterface.h')
-rw-r--r--src/javascriptInterface.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/javascriptInterface.h b/src/javascriptInterface.h
deleted file mode 100644
index 20bd206..0000000
--- a/src/javascriptInterface.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-# 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:
- QWebFrame* _parent;
- QString _callBackOnDownloadsFinished;
-
-public:
- javascriptInterface(QWebFrame* parent);
- virtual ~javascriptInterface();
-
-signals:
- void requestFile(const QString& filename);
- void quitFbgui();
-
-public slots:
- void attachToDOM();
- void startDownload(const QString& filename);
- void setCallbackOnDlQueueFinished(QString& fctOnDownloadsFinished);
- void callbackOnDlQueueFinished();
- 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();
-};
-
-#endif // JAVASCRIPTINTERFACE_H_