- Added a torrent addition dialog (Part 1: Still unperfect but working)

This commit is contained in:
Christophe Dumez 2006-10-23 21:42:37 +00:00
parent 14cd4de2c2
commit 52f1463cb9
7 changed files with 588 additions and 167 deletions

View file

@ -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