mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06:00
Allow to use regular expression to filter torrent content
PR #20944. Closes #19934.
This commit is contained in:
committed by
GitHub
parent
d71086e400
commit
9894f654cf
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Bittorrent Client using Qt and libtorrent.
|
||||
* Copyright (C) 2022 Vladimir Golovnev <glassez@yandex.ru>
|
||||
* Copyright (C) 2022-2024 Vladimir Golovnev <glassez@yandex.ru>
|
||||
* Copyright (C) 2014 Ivan Sorokin <vanyacpp@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
#include "base/bittorrent/downloadpriority.h"
|
||||
#include "base/pathfwd.h"
|
||||
#include "filterpatternformat.h"
|
||||
|
||||
class QShortcut;
|
||||
|
||||
@@ -92,7 +93,7 @@ public:
|
||||
int getFileIndex(const QModelIndex &index) const;
|
||||
Path getItemPath(const QModelIndex &index) const;
|
||||
|
||||
void setFilterPattern(const QString &patternText);
|
||||
void setFilterPattern(const QString &patternText, FilterPatternFormat format = FilterPatternFormat::Wildcards);
|
||||
|
||||
void checkAll();
|
||||
void checkNone();
|
||||
|
||||
Reference in New Issue
Block a user