Refactor TorrentPersistentData

Conflicts:
	src/mainwindow.cpp
	src/mainwindow.h
	src/qtlibtorrent/qbtsession.cpp
	src/qtlibtorrent/qtorrenthandle.cpp
	src/transferlistwidget.cpp
	src/webui/btjson.cpp
This commit is contained in:
Ivan Sorokin
2014-11-02 16:52:26 +03:00
parent 70a114eb13
commit e3349092ad
10 changed files with 157 additions and 128 deletions

View File

@@ -36,6 +36,7 @@
#include <QPointer>
#include "ui_mainwindow.h"
#include "qtorrenthandle.h"
#include "torrentpersistentdata.h"
#include "statsdialog.h"
class QBtSession;
@@ -143,7 +144,6 @@ protected slots:
#if defined(Q_OS_WIN) || defined(Q_OS_MAC)
void handleUpdateCheckFinished(bool update_available, QString new_version, bool invokedByUser);
#endif
void savePersistentData();
protected:
void closeEvent(QCloseEvent *);
@@ -217,7 +217,7 @@ private:
bool has_python;
#endif
QMenu* toolbarMenu;
QTimer persistentDataSaver;
TorrentPersistentData persistentData;
private slots:
void on_actionSearch_engine_triggered();