diff options
| author | Niklas Goby | 2011-03-23 12:18:01 +0100 |
|---|---|---|
| committer | Niklas Goby | 2011-03-23 12:18:01 +0100 |
| commit | 06de7af9a08a7182e4ea253370d7ec377f0e5a18 (patch) | |
| tree | d84b35a776166ea7df1715baeb26ba472955f1a3 /src/fbgui.h | |
| parent | some tries with the qrc and jquery delivery (diff) | |
| parent | trigger file path definable (diff) | |
| download | fbgui-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.h | 9 |
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 |
