┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/filenamesearchprotocol.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-10-08 20:07:13 +0000
committerPeter Penz <[email protected]>2010-10-08 20:07:13 +0000
commit396706a741c3bb43be2aac6f77cc8e6412c6187c (patch)
tree00de332242a53af636064b80d41f87a8695f4fe6 /src/search/filenamesearchprotocol.h
parenteade3a4a3de22afe5498618799307000e3445c84 (diff)
Allow to use wildcards when searching filenames or simple text files with the filenamesearchprotocol.
svn path=/trunk/KDE/kdebase/apps/; revision=1183944
Diffstat (limited to 'src/search/filenamesearchprotocol.h')
-rw-r--r--src/search/filenamesearchprotocol.h3
1 files changed, 2 insertions, 1 deletions
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 <kio/slavebase.h>
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