summaryrefslogtreecommitdiffstats
path: root/src/fbgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fbgui.h')
-rw-r--r--src/fbgui.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/fbgui.h b/src/fbgui.h
index f310127..ca5420d 100644
--- a/src/fbgui.h
+++ b/src/fbgui.h
@@ -29,10 +29,12 @@
#define DEFAULT_CONFIG_PATH "/etc/fbgui.conf"
#define DEFAULT_UPDATE_INTERVAL 1;
+
+/* global settings */
extern QString binPath;
extern QString downloadPath;
extern QUrl baseURL;
-extern bool debug;
+extern int debugMode;
extern int updateInterval;
class fbgui : public QMainWindow
@@ -43,14 +45,18 @@ public:
fbgui();
private:
+ /* setup procedures */
void setupDebugSplit();
void createActions();
void checkHost() const;
- QSplitter* _splitter;
+ /* widgets constituing the gui */
QWebView* _webView;
+ QSplitter* _splitter;
QTextEdit* _debugConsole;
+ /* action list */
+ QAction* _quit;
QAction* _toggleDebug;
private slots: