mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Added a torrent addition dialog (Part 1: Still unperfect but working)
This commit is contained in:
parent
14cd4de2c2
commit
52f1463cb9
7 changed files with 588 additions and 167 deletions
|
@ -138,7 +138,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
|||
// Torrent actions
|
||||
void showProperties(const QModelIndex &index);
|
||||
void propertiesSelection();
|
||||
void addTorrents(const QStringList& pathsList, bool fromScanDir = false, const QString& from_url = QString());
|
||||
void addTorrent(const QString& path, bool fromScanDir = false, const QString& from_url = QString());
|
||||
void pauseAll();
|
||||
void startAll();
|
||||
void pauseSelection();
|
||||
|
@ -152,7 +152,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
|||
void scanDirectory();
|
||||
void setGlobalRatio(float ratio);
|
||||
void configureSession();
|
||||
void ProcessParams(const QStringList& params);
|
||||
void processParams(const QStringList& params);
|
||||
void addUnauthenticatedTracker(QPair<torrent_handle,std::string> tracker);
|
||||
void processDownloadedFile(QString url, QString file_path, int return_code, QString errorBuffer);
|
||||
void downloadFromURLList(const QStringList& url_list);
|
||||
|
@ -196,7 +196,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
|||
QByteArray getNovaChangelog(const QString& novaPath) const;
|
||||
void updateNova() const;
|
||||
bool isFilePreviewPossible(const torrent_handle& h) const;
|
||||
|
||||
QString getSavePath(QString fileName);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue