summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-10 16:08:12 +0100
committerJonathan Bauer2011-03-10 16:08:12 +0100
commit88a8b6e735b111c937d056c3c944b1444d5660f5 (patch)
treead6d1db3cc62bbb99965ab995e946040ce0df56c /src/fbgui.cpp
parentcallback function when download queue is empty (diff)
downloadfbgui-88a8b6e735b111c937d056c3c944b1444d5660f5.tar.gz
fbgui-88a8b6e735b111c937d056c3c944b1444d5660f5.tar.xz
fbgui-88a8b6e735b111c937d056c3c944b1444d5660f5.zip
test function that returns a json, use: fbgui.getNames()
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp
index dc1891c..7fc93c8 100644
--- a/src/fbgui.cpp
+++ b/src/fbgui.cpp
@@ -1,5 +1,5 @@
#include "fbgui.h"
-#include "DownloadManager.h"
+#include "downloadManager.h"
#include "javascriptInterface.h"
#include <iostream>
@@ -29,7 +29,7 @@ fbgui::fbgui()
QObject::connect(webView->page()->mainFrame(), SIGNAL(javaScriptWindowObjectCleared()),
jsi, SLOT(attachToDOM()));
/* Init Download Manager */
- DownloadManager* dm = new DownloadManager();
+ downloadManager* dm = new downloadManager();
QObject::connect(jsi, SIGNAL(requestFile(QString&)), dm, SLOT(downloadFile(QString&)));
QObject::connect(dm, SIGNAL(updateProgress(QString, int)), jsi, SLOT(updateProgressBar(QString, int)));
QObject::connect(dm, SIGNAL(downloadQueueEmpty()), jsi, SLOT(callbackOnDlQueueFinished()));