summaryrefslogtreecommitdiffstats
path: root/src/moc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /src/moc
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz
qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip
Rename additional global TQt functions
Diffstat (limited to 'src/moc')
-rw-r--r--src/moc/moc.l8
-rw-r--r--src/moc/moc_lex.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/moc/moc.l b/src/moc/moc.l
index f032fd0..f49af5e 100644
--- a/src/moc/moc.l
+++ b/src/moc/moc.l
@@ -264,13 +264,13 @@ STRING {ALMOSTSTRING}\"
<QT_DEF>[_a-zA-Z][_a-zA-Z0-9]* {
X;
- yylval.string = qstrdup(yytext);
+ yylval.string = tqstrdup(yytext);
return IDENTIFIER;
}
<IN_PROPERTY>[_a-zA-Z][_a-zA-Z0-9]* {
X;
- yylval.string = qstrdup(yytext);
+ yylval.string = tqstrdup(yytext);
return IDENTIFIER;
}
@@ -280,7 +280,7 @@ STRING {ALMOSTSTRING}\"
<IN_CLASSINFO>{ALMOSTSTRING} {
X;
- yylval.string = qstrdup( yytext + 1 );
+ yylval.string = tqstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}
@@ -317,7 +317,7 @@ STRING {ALMOSTSTRING}\"
<QT_DEF>{ALMOSTSTRING} {
X;
- yylval.string = qstrdup( yytext + 1 );
+ yylval.string = tqstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}
diff --git a/src/moc/moc_lex.cpp b/src/moc/moc_lex.cpp
index bef27ad..1786cbb 100644
--- a/src/moc/moc_lex.cpp
+++ b/src/moc/moc_lex.cpp
@@ -1827,7 +1827,7 @@ YY_RULE_SETUP
#line 262 "moc.l"
{
X;
- yylval.string = qstrdup(yytext);
+ yylval.string = tqstrdup(yytext);
return IDENTIFIER;
}
YY_BREAK
@@ -1836,7 +1836,7 @@ YY_RULE_SETUP
#line 268 "moc.l"
{
X;
- yylval.string = qstrdup(yytext);
+ yylval.string = tqstrdup(yytext);
return IDENTIFIER;
}
YY_BREAK
@@ -1861,7 +1861,7 @@ YY_RULE_SETUP
#line 278 "moc.l"
{
X;
- yylval.string = qstrdup( yytext + 1 );
+ yylval.string = tqstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}
@@ -1932,7 +1932,7 @@ YY_RULE_SETUP
#line 315 "moc.l"
{
X;
- yylval.string = qstrdup( yytext + 1 );
+ yylval.string = tqstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}