summaryrefslogtreecommitdiffstats
path: root/src/fbgui.h
diff options
context:
space:
mode:
authorNiklas Goby2011-03-23 12:18:01 +0100
committerNiklas Goby2011-03-23 12:18:01 +0100
commit06de7af9a08a7182e4ea253370d7ec377f0e5a18 (patch)
treed84b35a776166ea7df1715baeb26ba472955f1a3 /src/fbgui.h
parentsome tries with the qrc and jquery delivery (diff)
parenttrigger file path definable (diff)
downloadfbgui-06de7af9a08a7182e4ea253370d7ec377f0e5a18.tar.gz
fbgui-06de7af9a08a7182e4ea253370d7ec377f0e5a18.tar.xz
fbgui-06de7af9a08a7182e4ea253370d7ec377f0e5a18.zip
Merge branch 'master' of git.openslx.org:lsfks/master-teamprojekt/fbgui
Diffstat (limited to 'src/fbgui.h')
-rw-r--r--src/fbgui.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/fbgui.h b/src/fbgui.h
index 52f244f..0e660a5 100644
--- a/src/fbgui.h
+++ b/src/fbgui.h
@@ -28,9 +28,11 @@
#define DEFAULT_DOWNLOAD_DIR "/tmp/fbgui/downloads"
#define DEFAULT_CONFIG_PATH "/etc/fbgui.conf"
#define DEFAULT_UPDATE_INTERVAL 1;
+#define DEFAULT_FILE_TRIGGER "/tmp/trigger_fbgui"
// Global settings
+extern QString fileToTriggerURL;
extern QString sessionID;
extern QString binPath;
extern QString downloadPath;
@@ -63,14 +65,15 @@ private:
QAction* _toggleDebug;
//
- QFileSystemWatcher* _fileSystemWatcher;
+ QNetworkAccessManager *mgr;
+ QNetworkReply *rep;
+ QFileSystemWatcher* _watcher;
private slots:
// slots for processing actions
void toggleDebug();
- void ipReceived(const QString& name);
-
+ void netAccessible(const QString& name);
};
#endif // FBGUI_H