[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kfind
From: Alexander Neundorf <neundorf () kde ! org>
Date: 2005-02-05 22:45:03
Message-ID: 20050205224503.475B41D2C2 () office ! kde ! org
[Download RAW message or body]
CVS commit by neundorf:
-ContainsGlobs was completely unused, it appeared first in revision 1.19
Alex
M +4 -4 kquery.cpp 1.39
M +1 -1 kquery.h 1.19
--- kdebase/kfind/kquery.cpp #1.38:1.39
@@ -418,11 +418,11 @@ void KQuery::setRegExp(const QString &re
QRegExp sep(";");
QStringList strList=QStringList::split( sep, regexp, false);
- QRegExp globChars ("[\\*\\?\\[\\]]", TRUE, FALSE);
+// QRegExp globChars ("[\\*\\?\\[\\]]", TRUE, FALSE);
m_regexps.clear();
- m_regexpsContainsGlobs.clear();
- for ( QStringList::Iterator it = strList.begin(); it != strList.end(); ++it ) {
+// m_regexpsContainsGlobs.clear();
+ for ( QStringList::ConstIterator it = strList.begin(); it != strList.end(); ++it ) {
regExp = new QRegExp((*it),caseSensitive,true);
- m_regexpsContainsGlobs.append(regExp->pattern().contains(globChars));
+// m_regexpsContainsGlobs.append(regExp->pattern().contains(globChars));
m_regexps.append(regExp);
}
--- kdebase/kfind/kquery.h #1.18:1.19
@@ -88,5 +88,5 @@ class KQuery : public QObject
KProcess *processLocate;
QPtrList<QRegExp> m_regexps;// regexps for file name
- QValueList<bool> m_regexpsContainsGlobs;
+// QValueList<bool> m_regexpsContainsGlobs; // what should this be good for ? Alex
KIO::ListJob *job;
bool m_insideCheckEntries;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic