summaryrefslogtreecommitdiffstats
path: root/tdecore/kstringhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kstringhandler.cpp')
-rw-r--r--tdecore/kstringhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/kstringhandler.cpp b/tdecore/kstringhandler.cpp
index 5f73c6f7e..e6fef9350 100644
--- a/tdecore/kstringhandler.cpp
+++ b/tdecore/kstringhandler.cpp
@@ -419,8 +419,8 @@ bool KStringHandler::matchFileName( const TQString& filename, const TQString& pa
return false;
// Patterns like "Makefile*"
- if ( pattern[ pattern_len - 1 ] == (QChar)'*' && len + 1 >= pattern_len ) {
- if ( pattern[ 0 ] == (QChar)'*' )
+ if ( pattern[ pattern_len - 1 ] == (TQChar)'*' && len + 1 >= pattern_len ) {
+ if ( pattern[ 0 ] == (TQChar)'*' )
{
return filename.find(pattern.mid(1, pattern_len - 2)) != -1;
}
@@ -434,7 +434,7 @@ bool KStringHandler::matchFileName( const TQString& filename, const TQString& pa
}
// Patterns like "*~", "*.extension"
- if ( pattern[ 0 ] == (QChar)'*' && len + 1 >= pattern_len )
+ if ( pattern[ 0 ] == (TQChar)'*' && len + 1 >= pattern_len )
{
const TQChar *c1 = pattern.unicode() + pattern_len - 1;
const TQChar *c2 = filename.unicode() + len - 1;