summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-24 13:16:10 +0100
committerJonathan Bauer2011-03-24 13:16:10 +0100
commit5837038258182c58b9491c19b0bd3770ffde70ea (patch)
tree291fcdad176db3ca13f877c56c524a3464250cce /src/fbgui.cpp
parentstuff (diff)
downloadfbgui-5837038258182c58b9491c19b0bd3770ffde70ea.tar.gz
fbgui-5837038258182c58b9491c19b0bd3770ffde70ea.tar.xz
fbgui-5837038258182c58b9491c19b0bd3770ffde70ea.zip
comments..
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp
index b56b585..0840d54 100644
--- a/src/fbgui.cpp
+++ b/src/fbgui.cpp
@@ -21,7 +21,6 @@ int debugMode = -1;
//-------------------------------------------------------------------------------------------
fbgui::fbgui()
{
-
// test for libsys function
SysInfoLibsysfs* sil = new SysInfoLibsysfs();
sil->getInfoAboutNetworkInterface();
@@ -81,6 +80,8 @@ void fbgui::createActions()
connect(_quit, SIGNAL(triggered()), this, SLOT(close()));
}
//-------------------------------------------------------------------------------------------
+// File system watching
+//-------------------------------------------------------------------------------------------
void fbgui::watchForTrigger()
{
// check if the directory to fileToTriggerURL exists
@@ -130,6 +131,8 @@ void fbgui::checkForTrigger(const QString& dirname)
qxtLog->debug() << "[watcher] weird file!";
}
//-------------------------------------------------------------------------------------------
+// preparing URL loading
+//-------------------------------------------------------------------------------------------
void fbgui::loadURL(){
// load if host is valid
if (checkHost()){
@@ -187,6 +190,8 @@ QByteArray fbgui::generatePOSTData(){
return postData;
}
//-------------------------------------------------------------------------------------------
+// setup debug console widget
+//-------------------------------------------------------------------------------------------
void fbgui::setupDebugSplit()
{
_debugConsole = new QTextEdit(this);