summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
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/fbgui.cpp
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/fbgui.cpp')
-rw-r--r--src/fbgui.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp
index bec4eb5..a48b069 100644
--- a/src/fbgui.cpp
+++ b/src/fbgui.cpp
@@ -1,7 +1,7 @@
#include "fbgui.h"
-#include "loggerEngine.h"
-#include "downloadManager.h"
-#include "javascriptInterface.h"
+#include "loggerengine.h"
+#include "downloadmanager.h"
+#include "javascriptinterface.h"
#include <iostream>
#include <QtWebKit>
@@ -20,7 +20,7 @@ fbgui::fbgui()
qxtLog->disableLoggerEngine("DEFAULT");
qxtLog->enableLogLevels(QxtLogger::DebugLevel);
if (debugMode == 0){
- qxtLog->addLoggerEngine("std_logger", new loggerEngine_std);
+ qxtLog->addLoggerEngine("std_logger", new LoggerEngine_std);
qxtLog->initLoggerEngine("std_logger");
qxtLog->setMinimumLevel("std_logger", QxtLogger::DebugLevel);
qxtLog->debug() << "Initializing fbgui...";
@@ -39,13 +39,13 @@ fbgui::fbgui()
setCentralWidget(_webView);
// initialize javascript interface
- javascriptInterface* jsi = new javascriptInterface(_webView->page()->mainFrame());
+ JavascriptInterface* jsi = new JavascriptInterface(_webView->page()->mainFrame());
QObject::connect(jsi, SIGNAL(quitFbgui()), this, SLOT(close()));
QObject::connect(_webView->page()->mainFrame(), SIGNAL(javaScriptWindowObjectCleared()),
jsi, SLOT(attachToDOM()));
// initialize download manager
- downloadManager* dm = new downloadManager();
+ DownloadManager* dm = new DownloadManager();
QObject::connect(dm, SIGNAL(downloadInfo(const QString&, const double&)),
jsi, SLOT(downloadInfo(const QString&, const double&)));
QObject::connect(dm, SIGNAL(notify(const QString&)),
@@ -69,7 +69,6 @@ void fbgui::createActions()
_quit->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_X));
this->addAction(_quit);
connect(_quit, SIGNAL(triggered()), this, SLOT(close()));
-
}
//-------------------------------------------------------------------------------------------
void fbgui::setupDebugSplit()
@@ -82,7 +81,7 @@ void fbgui::setupDebugSplit()
_debugConsole->setTextColor(Qt::cyan);
_debugConsole->insertPlainText("Debug console initialized.\n");
// enable custom logger engine
- qxtLog->addLoggerEngine("fb_logger", new loggerEngine_fb(_debugConsole));
+ qxtLog->addLoggerEngine("fb_logger", new LoggerEngine_fb(_debugConsole));
qxtLog->initLoggerEngine("fb_logger");
qxtLog->setMinimumLevel("fb_logger", QxtLogger::DebugLevel);
// display browser and debug in a splitter