FEATURE: Detect executable updates in order to advise the user to restart

This commit is contained in:
Christophe Dumez
2010-08-23 19:42:15 +00:00
parent a0ff0cdc7e
commit 431d2f082c
35 changed files with 1205 additions and 1008 deletions

View File

@@ -58,6 +58,7 @@ class createtorrent;
class downloadFromURL;
class HidableTabWidget;
class LineEdit;
class QFileSystemWatcher;
class GUI : public QMainWindow, private Ui::MainWindow{
Q_OBJECT
@@ -102,6 +103,7 @@ protected slots:
void on_actionLock_qBittorrent_triggered();
void defineUILockPassword();
bool unlockUI();
void notifyOfUpdate(QString);
// Keyboard shortcuts
void createKeyboardShortcuts();
void displayTransferTab() const;
@@ -135,6 +137,7 @@ protected:
void displaySearchTab(bool enable);
private:
QFileSystemWatcher *executable_watcher;
// Bittorrent
Bittorrent *BTSession;
QList<QPair<QTorrentHandle,QString> > unauthenticated_trackers; // Still needed?