From b167b4174e835ccdc728e10bc85dd900d7777acc Mon Sep 17 00:00:00 2001 From: dzmat Date: Sun, 29 Jan 2017 15:17:55 +0700 Subject: [PATCH] reduce methods accessibility from public to private --- src/base/bittorrent/private/filterparserthread.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/base/bittorrent/private/filterparserthread.h b/src/base/bittorrent/private/filterparserthread.h index ed2bd13cf..eb06e6706 100644 --- a/src/base/bittorrent/private/filterparserthread.h +++ b/src/base/bittorrent/private/filterparserthread.h @@ -49,11 +49,6 @@ class FilterParserThread : public QThread public: FilterParserThread(libtorrent::session *s, QObject *parent = 0); ~FilterParserThread(); - - int parseDATFilterFile(QString filePath, libtorrent::ip_filter &filter); - int parseP2PFilterFile(QString filePath, libtorrent::ip_filter &filter); - int getlineInStream(QDataStream &stream, std::string &name, char delim); - int parseP2BFilterFile(QString filePath, libtorrent::ip_filter &filter); void processFilterFile(QString filePath); signals: @@ -65,6 +60,11 @@ protected: void run(); private: + int parseDATFilterFile(QString filePath, libtorrent::ip_filter &filter); + int parseP2PFilterFile(QString filePath, libtorrent::ip_filter &filter); + int getlineInStream(QDataStream &stream, std::string &name, char delim); + int parseP2BFilterFile(QString filePath, libtorrent::ip_filter &filter); + libtorrent::session *m_session; bool m_abort; QString m_filePath;