1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 20:44:15 +00:00

Code cleanup in torrent addition dialog

Magnet link related fixes to torrent addition dialog
This commit is contained in:
Christophe Dumez 2010-07-19 17:29:48 +00:00
parent 214bb13843
commit bcdf4e42fa
2 changed files with 569 additions and 574 deletions

File diff suppressed because it is too large Load Diff

View File

@ -70,6 +70,7 @@ public:
void showLoad(QString filePath, QString from_url=QString::null); void showLoad(QString filePath, QString from_url=QString::null);
QString getCurrentTruncatedSavePath(QString* root_folder_or_file_name = 0) const; QString getCurrentTruncatedSavePath(QString* root_folder_or_file_name = 0) const;
QString getTruncatedSavePath(QString save_path, QString* root_folder_or_file_name = 0) const; QString getTruncatedSavePath(QString save_path, QString* root_folder_or_file_name = 0) const;
bool allFiltered() const;
public slots: public slots:
void displayContentListMenu(const QPoint&); void displayContentListMenu(const QPoint&);
@ -77,13 +78,12 @@ public slots:
void updateDiskSpaceLabels(); void updateDiskSpaceLabels();
void on_browseButton_clicked(); void on_browseButton_clicked();
void on_CancelButton_clicked(); void on_CancelButton_clicked();
bool allFiltered() const;
void savePiecesPriorities(); void savePiecesPriorities();
void on_OkButton_clicked(); void on_OkButton_clicked();
void renameTorrentNameInModel(QString file_path); void renameTorrentNameInModel(QString file_path);
void hideTorrentContent(); void hideTorrentContent();
void saveTruncatedPathHistory(); void saveTruncatedPathHistory();
QStringList getSavePathHistory() const; void loadSavePathHistory();
void updateLabelInSavePath(QString label); void updateLabelInSavePath(QString label);
void updateSavePathCurrentText(QString path); void updateSavePathCurrentText(QString path);
void resetComboLabelIndex(QString text); void resetComboLabelIndex(QString text);