summaryrefslogtreecommitdiffstats
path: root/libksieve/parser
diff options
context:
space:
mode:
Diffstat (limited to 'libksieve/parser')
-rw-r--r--libksieve/parser/lexer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libksieve/parser/lexer.cpp b/libksieve/parser/lexer.cpp
index a38c61021..3bc75c96e 100644
--- a/libksieve/parser/lexer.cpp
+++ b/libksieve/parser/lexer.cpp
@@ -40,7 +40,7 @@
#include <tqstring.h>
#include <tqstringlist.h>
-#include <tqtextcodec.h>
+#include <textcodec.h>
#include <memory> // std::auto_ptr
@@ -476,9 +476,9 @@ namespace KSieve {
const int identifierLength = mState.cursor - identifierStart;
- // Can use the fast tqfromLatin1 here, since identifiers are always
+ // Can use the fast fromLatin1 here, since identifiers are always
// in the us-ascii subset:
- result += TQString::tqfromLatin1( identifierStart, identifierLength );
+ result += TQString::fromLatin1( identifierStart, identifierLength );
if ( atEnd() || isDelim( *mState.cursor ) )
return true;