From 396706a741c3bb43be2aac6f77cc8e6412c6187c Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 8 Oct 2010 20:07:13 +0000 Subject: Allow to use wildcards when searching filenames or simple text files with the filenamesearchprotocol. svn path=/trunk/KDE/kdebase/apps/; revision=1183944 --- src/search/filenamesearchprotocol.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/search/filenamesearchprotocol.h') diff --git a/src/search/filenamesearchprotocol.h b/src/search/filenamesearchprotocol.h index 70d3e631c..1a2b8ad68 100644 --- a/src/search/filenamesearchprotocol.h +++ b/src/search/filenamesearchprotocol.h @@ -23,6 +23,7 @@ #include class KUrl; +class QRegExp; /** * @brief Lists files where the filename matches do a given query. @@ -49,7 +50,7 @@ private: bool containsPattern(const KUrl& fileName) const; bool m_checkContent; - QString m_searchPattern; + QRegExp* m_regExp; }; #endif -- cgit v1.3.1