- FEATURE: Allow to customize folder scan interval

This commit is contained in:
Christophe Dumez
2008-05-18 08:40:39 +00:00
parent d26bebfbe2
commit fc931d8c88
7 changed files with 111 additions and 46 deletions

View File

@@ -69,6 +69,7 @@ class bittorrent : public QObject{
bool LSDEnabled;
FilterParserThread *filterParser;
QString filterPath;
int folderScanInterval; // in seconds
protected:
QString getSavePath(QString hash);
@@ -145,6 +146,7 @@ class bittorrent : public QObject{
void enableLSD(bool b);
bool enableDHT(bool b);
void reloadTorrent(const QTorrentHandle &h, bool full_alloc);
void setTimerScanInterval(int secs);
protected slots:
void scanDirectory();