From e910cdf8909542895102e8dd459ef2c871abc371 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sun, 6 Mar 2011 14:16:02 +0100 Subject: misc --- src/JSObject.cpp | 1 - src/JSObject.h | 8 +------- src/fbbrowser.cpp | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/JSObject.cpp b/src/JSObject.cpp index 5f9c4ab..2775359 100644 --- a/src/JSObject.cpp +++ b/src/JSObject.cpp @@ -6,7 +6,6 @@ */ #include "JSObject.h" -#include //------------------------------------------------------------------------------------------------------- JSObject::JSObject(QWebFrame *parent) { diff --git a/src/JSObject.h b/src/JSObject.h index 427aae8..d9a15a2 100644 --- a/src/JSObject.h +++ b/src/JSObject.h @@ -11,7 +11,6 @@ #define JSOBJECT_H_ #include "fbbrowser.h" -#include typedef enum { @@ -53,7 +52,7 @@ signals: void signalQuitAll(); /* // should be the last signal to be emited. - // Will close the browser and continues the boot sequenze + // Will close the browser and continues the boot sequence void closeBrowser(); // will start the download of all needed files for the following boot sequence void startDownload(QString filename); @@ -72,11 +71,6 @@ signals: // starts the slot which is responsible for extracting the hard drive devices of the machine // the array of hard rive devices will be the parameter of a javascript function which will present it on the // webpag void getHardDrives(); - - // for testing - void showTime(); - void showDate(); - void showHelloWorld(); */ public slots: diff --git a/src/fbbrowser.cpp b/src/fbbrowser.cpp index f797785..6833119 100644 --- a/src/fbbrowser.cpp +++ b/src/fbbrowser.cpp @@ -76,7 +76,6 @@ fbbrowser::fbbrowser(const QUrl & url) // Enable Javascript through JSObject. qwf = view->page()->mainFrame(); jso = new JSObject(qwf); - //jso->setParent(qwf); QObject::connect(qwf, SIGNAL(javaScriptWindowObjectCleared()), jso, SLOT(attachToDOM())); QObject::connect(jso, SIGNAL(getMAC()), this, SLOT(getMAC())); -- cgit v1.2.3-55-g7522