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/ignorelistbase.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/ignorelistbase.cpp')
-rw-r--r-- | cervisia/ignorelistbase.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cervisia/ignorelistbase.cpp b/cervisia/ignorelistbase.cpp index 27b3d159..74036d25 100644 --- a/cervisia/ignorelistbase.cpp +++ b/cervisia/ignorelistbase.cpp @@ -19,28 +19,28 @@ #include "ignorelistbase.h" using namespace Cervisia; -#include <qfile.h> -#include <qstringlist.h> -#include <qtextstream.h> +#include <tqfile.h> +#include <tqstringlist.h> +#include <tqtextstream.h> -void IgnoreListBase::addEntriesFromString(const QString& str) +void IgnoreListBase::addEntriesFromString(const TQString& str) { - QStringList entries = QStringList::split(' ', str); - for( QStringList::iterator it = entries.begin(); it != entries.end(); ++it ) + TQStringList entries = TQStringList::split(' ', str); + for( TQStringList::iterator it = entries.begin(); it != entries.end(); ++it ) { addEntry(*it); } } -void IgnoreListBase::addEntriesFromFile(const QString& name) +void IgnoreListBase::addEntriesFromFile(const TQString& name) { - QFile file(name); + TQFile file(name); if( file.open(IO_ReadOnly) ) { - QTextStream stream(&file); + TQTextStream stream(&file); while( !stream.eof() ) { addEntriesFromString(stream.readLine()); |