From 88a8b6e735b111c937d056c3c944b1444d5660f5 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 10 Mar 2011 16:08:12 +0100 Subject: test function that returns a json, use: fbgui.getNames() --- src/fbgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fbgui.cpp') 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 @@ -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())); -- cgit v1.2.3-55-g7522