- FEATURE: Folder scanning now works with CIFS and NFS mounted folders

This commit is contained in:
Christophe Dumez
2009-11-12 18:24:51 +00:00
parent a6f31c7950
commit daef9ece75
5 changed files with 197 additions and 41 deletions

View File

@@ -44,8 +44,7 @@ using namespace libtorrent;
class downloadThread;
class QTimer;
class QFileSystemWatcher;
class QMutex;
class FileSystemWatcher;
class FilterParserThread;
class bittorrent : public QObject {
@@ -53,8 +52,7 @@ class bittorrent : public QObject {
private:
session *s;
QPointer<QFileSystemWatcher> FSWatcher;
QMutex* FSMutex;
QPointer<FileSystemWatcher> FSWatcher;
QPointer<QTimer> timerAlerts;
QPointer<QTimer> BigRatioTimer;
bool DHTEnabled;
@@ -172,7 +170,7 @@ class bittorrent : public QObject {
void downloadFromURLList(const QStringList& urls);
protected slots:
void scanDirectory(QString);
void addTorrentsFromScanFolder(QStringList&);
void readAlerts();
void loadTrackerFile(QString hash);
void deleteBigRatios();