mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
reduce methods accessibility from public to private
This commit is contained in:
parent
3b3de81cb7
commit
b167b4174e
1 changed files with 5 additions and 5 deletions
|
@ -49,11 +49,6 @@ class FilterParserThread : public QThread
|
||||||
public:
|
public:
|
||||||
FilterParserThread(libtorrent::session *s, QObject *parent = 0);
|
FilterParserThread(libtorrent::session *s, QObject *parent = 0);
|
||||||
~FilterParserThread();
|
~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);
|
void processFilterFile(QString filePath);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
@ -65,6 +60,11 @@ protected:
|
||||||
void run();
|
void run();
|
||||||
|
|
||||||
private:
|
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;
|
libtorrent::session *m_session;
|
||||||
bool m_abort;
|
bool m_abort;
|
||||||
QString m_filePath;
|
QString m_filePath;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue