summaryrefslogtreecommitdiffstats
path: root/src/fbgui.h
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-23 14:44:38 +0100
committerJonathan Bauer2011-03-23 14:44:38 +0100
commit0d2b58428d7488ba35598c46647eecda0f7f1c41 (patch)
tree89d2add8ac29429d41e3aaa79a25efaa44224bdd /src/fbgui.h
parentMerge branch 'master' of git.openslx.org:lsfks/master-teamprojekt/fbgui (diff)
downloadfbgui-0d2b58428d7488ba35598c46647eecda0f7f1c41.tar.gz
fbgui-0d2b58428d7488ba35598c46647eecda0f7f1c41.tar.xz
fbgui-0d2b58428d7488ba35598c46647eecda0f7f1c41.zip
file/dir checks for the file triggering
Diffstat (limited to 'src/fbgui.h')
-rw-r--r--src/fbgui.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/fbgui.h b/src/fbgui.h
index 0e660a5..03c1789 100644
--- a/src/fbgui.h
+++ b/src/fbgui.h
@@ -28,7 +28,7 @@
#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"
+#define DEFAULT_FILE_TRIGGER "/tmp/fbgui/trigger"
// Global settings
@@ -52,7 +52,7 @@ private:
void setupDebugSplit();
void createActions();
bool checkHost() const;
- void watchDHCP();
+ void watchFileTrigger();
// widgets constituing the gui
@@ -65,15 +65,12 @@ private:
QAction* _toggleDebug;
//
- QNetworkAccessManager *mgr;
- QNetworkReply *rep;
QFileSystemWatcher* _watcher;
private slots:
// slots for processing actions
void toggleDebug();
-
- void netAccessible(const QString& name);
+ void checkForTrigger(const QString& dirname);
};
#endif // FBGUI_H