FEATURE: Added button to password-lock the UI

This commit is contained in:
Christophe Dumez
2010-08-19 16:30:13 +00:00
parent e7e5a2b4e9
commit ee01c2c745
40 changed files with 3819 additions and 2173 deletions

View File

@@ -98,6 +98,9 @@ protected slots:
void handleDownloadFromUrlFailure(QString, QString) const;
void createSystrayDelayed();
void tab_changed(int);
void on_actionLock_qBittorrent_triggered();
void defineUILockPassword();
bool unlockUI();
// Keyboard shortcuts
void createKeyboardShortcuts();
void displayTransferTab() const;
@@ -151,6 +154,7 @@ private:
PropertiesWidget *properties;
bool displaySpeedInTitle;
bool force_exit;
bool ui_locked;
// Keyboard shortcuts
QShortcut *switchSearchShortcut;
QShortcut *switchSearchShortcut2;