summaryrefslogtreecommitdiffstats
path: root/tdeprint/ppdparser.y
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-25 12:03:00 +0900
committerMichele Calgaro <[email protected]>2023-09-25 12:29:31 +0900
commit4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch)
tree6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdeprint/ppdparser.y
parent066f257eadc5866386c2cfbdba1a93105cff67ae (diff)
downloadtdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz
tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeprint/ppdparser.y')
-rw-r--r--tdeprint/ppdparser.y14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeprint/ppdparser.y b/tdeprint/ppdparser.y
index f750d9316..99677e65f 100644
--- a/tdeprint/ppdparser.y
+++ b/tdeprint/ppdparser.y
@@ -74,7 +74,7 @@ imgarea: IMGAREA OPTION ':' QUOTED { builder->putImageableArea
| IMGAREA OPTION '/' TRANSLATION ':' QUOTED { builder->putImageableArea($2[0], $6[0]); }
;
-openui: OPENUI OPTION ':' string { builder->openUi($2[0], QString::null, $4[0]); }
+openui: OPENUI OPTION ':' string { builder->openUi($2[0], TQString::null, $4[0]); }
| OPENUI OPTION '/' TRANSLATION ':' string { builder->openUi($2[0], $4[0], $6[0]); }
;
@@ -82,7 +82,7 @@ endui: CLOSEUI ':' string { builder->endUi($3[0]); }
| CLOSEUI string { builder->endUi($2[0]); }
;
-opengroup: OPENGROUP ':' string { builder->openGroup($3.join(" "), QString::null); }
+opengroup: OPENGROUP ':' string { builder->openGroup($3.join(" "), TQString::null); }
| OPENGROUP ':' string '/' TRANSLATION { builder->openGroup($3.join(" "), $5[0]); }
;
@@ -91,15 +91,15 @@ endgroup: CLOSEGROUP ':' string { builder->endGroup($3.join("
;
constraint: CONSTRAINT ':' KEYWORD OPTION KEYWORD OPTION { builder->putConstraint($3[0], $5[0], $4[0], $6[0]); }
- | CONSTRAINT ':' KEYWORD OPTION KEYWORD { builder->putConstraint($3[0], $5[0], $4[0], QString::null); }
- | CONSTRAINT ':' KEYWORD KEYWORD OPTION { builder->putConstraint($3[0], $4[0], QString::null, $5[0]); }
- | CONSTRAINT ':' KEYWORD KEYWORD { builder->putConstraint($3[0], $4[0], QString::null, QString::null); }
+ | CONSTRAINT ':' KEYWORD OPTION KEYWORD { builder->putConstraint($3[0], $5[0], $4[0], TQString::null); }
+ | CONSTRAINT ':' KEYWORD KEYWORD OPTION { builder->putConstraint($3[0], $4[0], TQString::null, $5[0]); }
+ | CONSTRAINT ':' KEYWORD KEYWORD { builder->putConstraint($3[0], $4[0], TQString::null, TQString::null); }
;
ppdelement: KEYWORD ':' value { builder->putStatement2($1[0], $3[0]); }
- | KEYWORD OPTION ':' value { builder->putStatement($1[0], $2[0], QString::null, $4); }
+ | KEYWORD OPTION ':' value { builder->putStatement($1[0], $2[0], TQString::null, $4); }
| KEYWORD OPTION '/' TRANSLATION ':' value { builder->putStatement($1[0], $2[0], $4[0], $6); }
- | KEYWORD OPTION '/' ':' value { builder->putStatement($1[0], $2[0], QString::null, $4); }
+ | KEYWORD OPTION '/' ':' value { builder->putStatement($1[0], $2[0], TQString::null, $4); }
| DEFAULT ':' string { builder->putDefault($1[0], $3[0]); }
| DEFAULT ':' string '/' TRANSLATION { builder->putDefault($1[0], $3[0]); }
| openui