Implement file logger.

This commit is contained in:
sledgehammer999 2016-01-25 01:06:06 +02:00
parent 73832a5ed8
commit 1058572c8a
10 changed files with 566 additions and 6 deletions

View file

@ -56,6 +56,8 @@ typedef QtSingleCoreApplication BaseApplication;
class WebUI;
#endif
class FileLogger;
namespace BitTorrent
{
class TorrentHandle;
@ -83,6 +85,7 @@ protected:
#endif
private slots:
void configure();
void processMessage(const QString &message);
void torrentFinished(BitTorrent::TorrentHandle *const torrent);
void allTorrentsFinished();
@ -103,6 +106,9 @@ private:
QPointer<WebUI> m_webui;
#endif
// FileLog
QPointer<FileLogger> m_fileLogger;
QTranslator m_qtTranslator;
QTranslator m_translator;
QStringList m_paramsQueue;