diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
commit | 4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch) | |
tree | b0a7cd1c184f0003c0292eb416ed27f674f9cc43 /cervisia/dirignorelist.cpp | |
parent | 1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff) | |
download | tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/dirignorelist.cpp')
-rw-r--r-- | cervisia/dirignorelist.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cervisia/dirignorelist.cpp b/cervisia/dirignorelist.cpp index d6ffcf2d..d6c91a36 100644 --- a/cervisia/dirignorelist.cpp +++ b/cervisia/dirignorelist.cpp @@ -19,18 +19,18 @@ #include "dirignorelist.h" using namespace Cervisia; -#include <qfileinfo.h> +#include <tqfileinfo.h> -DirIgnoreList::DirIgnoreList(const QString& path) +DirIgnoreList::DirIgnoreList(const TQString& path) { addEntriesFromFile(path + "/.cvsignore"); } -void DirIgnoreList::addEntry(const QString& entry) +void DirIgnoreList::addEntry(const TQString& entry) { - if (entry != QChar('!')) + if (entry != TQChar('!')) { m_stringMatcher.add(entry); } @@ -41,7 +41,7 @@ void DirIgnoreList::addEntry(const QString& entry) } -bool DirIgnoreList::matches(const QFileInfo* fi) const +bool DirIgnoreList::matches(const TQFileInfo* fi) const { return m_stringMatcher.match(fi->fileName()); } |