|
|
@ -103,19 +103,45 @@ private slots: |
|
|
|
void on_addWatchedFolderButton_clicked(); |
|
|
|
void on_addWatchedFolderButton_clicked(); |
|
|
|
void on_editWatchedFolderButton_clicked(); |
|
|
|
void on_editWatchedFolderButton_clicked(); |
|
|
|
void on_removeWatchedFolderButton_clicked(); |
|
|
|
void on_removeWatchedFolderButton_clicked(); |
|
|
|
void on_registerDNSBtn_clicked(); |
|
|
|
|
|
|
|
void setLocale(const QString &localeStr); |
|
|
|
void setLocale(const QString &localeStr); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef DISABLE_WEBUI |
|
|
|
void webUIHttpsCertChanged(const Path &path); |
|
|
|
void webUIHttpsCertChanged(const Path &path); |
|
|
|
void webUIHttpsKeyChanged(const Path &path); |
|
|
|
void webUIHttpsKeyChanged(const Path &path); |
|
|
|
|
|
|
|
void on_registerDNSBtn_clicked(); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
void showEvent(QShowEvent *e) override; |
|
|
|
void showEvent(QShowEvent *e) override; |
|
|
|
|
|
|
|
|
|
|
|
// Methods
|
|
|
|
// Methods
|
|
|
|
void saveOptions(); |
|
|
|
void saveOptions() const; |
|
|
|
void loadOptions(); |
|
|
|
|
|
|
|
void initializeLanguageCombo(); |
|
|
|
void loadBehaviorTabOptions(); |
|
|
|
|
|
|
|
void saveBehaviorTabOptions() const; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void loadDownloadsTabOptions(); |
|
|
|
|
|
|
|
void saveDownloadsTabOptions() const; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void loadConnectionTabOptions(); |
|
|
|
|
|
|
|
void saveConnectionTabOptions() const; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void loadSpeedTabOptions(); |
|
|
|
|
|
|
|
void saveSpeedTabOptions() const; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void loadBittorrentTabOptions(); |
|
|
|
|
|
|
|
void saveBittorrentTabOptions() const; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void loadRSSTabOptions(); |
|
|
|
|
|
|
|
void saveRSSTabOptions() const; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef DISABLE_WEBUI |
|
|
|
|
|
|
|
void loadWebUITabOptions(); |
|
|
|
|
|
|
|
void saveWebUITabOptions() const; |
|
|
|
|
|
|
|
#endif // DISABLE_WEBUI
|
|
|
|
|
|
|
|
|
|
|
|
// General options
|
|
|
|
// General options
|
|
|
|
|
|
|
|
void initializeLanguageCombo(); |
|
|
|
QString getLocale() const; |
|
|
|
QString getLocale() const; |
|
|
|
bool startMinimized() const; |
|
|
|
bool startMinimized() const; |
|
|
|
bool isSplashScreenDisabled() const; |
|
|
|
bool isSplashScreenDisabled() const; |
|
|
@ -158,11 +184,13 @@ private: |
|
|
|
int getMaxActiveUploads() const; |
|
|
|
int getMaxActiveUploads() const; |
|
|
|
int getMaxActiveTorrents() const; |
|
|
|
int getMaxActiveTorrents() const; |
|
|
|
// WebUI
|
|
|
|
// WebUI
|
|
|
|
|
|
|
|
#ifndef DISABLE_WEBUI |
|
|
|
bool isWebUiEnabled() const; |
|
|
|
bool isWebUiEnabled() const; |
|
|
|
QString webUiUsername() const; |
|
|
|
QString webUiUsername() const; |
|
|
|
QString webUiPassword() const; |
|
|
|
QString webUiPassword() const; |
|
|
|
bool webUIAuthenticationOk(); |
|
|
|
bool webUIAuthenticationOk(); |
|
|
|
bool isAlternativeWebUIPathValid(); |
|
|
|
bool isAlternativeWebUIPathValid(); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
bool schedTimesOk(); |
|
|
|
bool schedTimesOk(); |
|
|
|
|
|
|
|
|
|
|
|