summaryrefslogtreecommitdiffstats
path: root/src/moc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/moc
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
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 9ddce077f..a917b03e3 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 cb2651b4d..149489d07 100644
--- a/src/moc/moc_lex.cpp
+++ b/src/moc/moc_lex.cpp
@@ -1883,7 +1883,7 @@ YY_RULE_SETUP
#line 265 "moc.l"
{
X;
- yylval.string = qstrdup(yytext);
+ yylval.string = tqstrdup(yytext);
return IDENTIFIER;
}
YY_BREAK
@@ -1892,7 +1892,7 @@ YY_RULE_SETUP
#line 271 "moc.l"
{
X;
- yylval.string = qstrdup(yytext);
+ yylval.string = tqstrdup(yytext);
return IDENTIFIER;
}
YY_BREAK
@@ -1917,7 +1917,7 @@ YY_RULE_SETUP
#line 281 "moc.l"
{
X;
- yylval.string = qstrdup( yytext + 1 );
+ yylval.string = tqstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}
@@ -1988,7 +1988,7 @@ YY_RULE_SETUP
#line 318 "moc.l"
{
X;
- yylval.string = qstrdup( yytext + 1 );
+ yylval.string = tqstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}