diff options
Diffstat (limited to 'kcachegrind/kcachegrind/utils.cpp')
| -rw-r--r-- | kcachegrind/kcachegrind/utils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kcachegrind/kcachegrind/utils.cpp b/kcachegrind/kcachegrind/utils.cpp index 0401a47e..65c7e347 100644 --- a/kcachegrind/kcachegrind/utils.cpp +++ b/kcachegrind/kcachegrind/utils.cpp @@ -29,7 +29,7 @@ #include <sys/mman.h> #endif -#include <qfile.h> +#include <tqfile.h> #include <errno.h> #include "utils.h" @@ -171,7 +171,7 @@ bool FixString::stripName(FixString& s) if (_len==0) return false; // first char has to be a letter or "_" - if (!QChar(*_str).isLetter() && (*_str != '_')) return false; + if (!TQChar(*_str).isLetter() && (*_str != '_')) return false; int newLen = 1; const char* newStr = _str; @@ -180,7 +180,7 @@ bool FixString::stripName(FixString& s) _len--; while(_len>0) { - if (!QChar(*_str).isLetterOrNumber() + if (!TQChar(*_str).isLetterOrNumber() && (*_str != '_')) break; newLen++; @@ -343,7 +343,7 @@ bool FixString::stripInt64(int64& v, bool stripSpaces) // class FixFile -FixFile::FixFile(QFile* file) +FixFile::FixFile(TQFile* file) { if (!file) { _len = 0; @@ -354,7 +354,7 @@ FixFile::FixFile(QFile* file) _filename = file->name(); if (!file->isOpen() && !file->open( IO_ReadOnly ) ) { - qWarning( "%s: %s", (const char*) QFile::encodeName(_filename), + qWarning( "%s: %s", (const char*) TQFile::encodeName(_filename), strerror( errno ) ); _len = 0; _currentLeft = 0; |
