Allow the user to disable filters from the side panel.

This commit is contained in:
sledgehammer999
2015-03-28 01:59:20 +02:00
parent ff1aaa8733
commit 9b0ea3a055
4 changed files with 87 additions and 24 deletions

View File

@@ -500,6 +500,9 @@ public:
void setTorImportLastContentDir(const QString &path);
QByteArray getTorImportGeometry() const;
void setTorImportGeometry(const QByteArray &geometry);
bool getStatusFilterState() const;
bool getLabelFilterState() const;
bool getTrackerFilterState() const;
int getTransSelFilter() const;
void setTransSelFilter(const int &index);
QByteArray getTransHeaderState() const;
@@ -528,6 +531,11 @@ public:
QList<QByteArray> getHostNameCookies(const QString &host_name) const;
QList<QNetworkCookie> getHostNameQNetworkCookies(const QString& host_name) const;
void setHostNameCookies(const QString &host_name, const QList<QByteArray> &cookies);
public slots:
void setStatusFilterState(bool checked);
void setLabelFilterState(bool checked);
void setTrackerFilterState(bool checked);
};
#endif // PREFERENCES_H