summaryrefslogtreecommitdiffstats
path: root/kdeprint/ppdscanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/ppdscanner.l')
-rw-r--r--kdeprint/ppdscanner.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/ppdscanner.l b/kdeprint/ppdscanner.l
index b71edcd89..851ee290e 100644
--- a/kdeprint/ppdscanner.l
+++ b/kdeprint/ppdscanner.l
@@ -20,7 +20,7 @@
#include <qstringlist.h>
#include <qiodevice.h>
-#define YYSTYPE QStringList
+#define YYSTYPE TQStringList
#include "ppdparser.cpp.h"
#define yylval kdeprint_ppdlval
@@ -97,7 +97,7 @@ L [[:alnum:]]
/**
* Value state
*/
-<value>\"[^\"]*\" { yylval = yytext; kdeprint_ppdscanner_lno += yylval[0].contains('\n'); QDEBUG1("Quoted value: %s",yytext); return QUOTED; }
+<value>\"[^\"]*\" { yylval = yytext; kdeprint_ppdscanner_lno += yylval[0].tqcontains('\n'); QDEBUG1("Quoted value: %s",yytext); return QUOTED; }
<value>{WORD} { yylval = yytext; QDEBUG1("String part: %s",yytext); return STRINGPART; }
<value>"/" { BEGIN(translation_2); return '/'; }
<value>"\n" { kdeprint_ppdscanner_lno++; BEGIN(INITIAL); }