summaryrefslogtreecommitdiffstats
path: root/dcop/dcopidl/scanner.ll
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-05 23:08:54 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-05 23:08:54 +0000
commitcb4a5d685bd5a3129e1edb8bac1ee6c41939fe7b (patch)
tree644ca9e861b7b57173400a73c340b886e934c7a0 /dcop/dcopidl/scanner.ll
parent229a34d015564ecd61be45648f15044ea3e4ec8a (diff)
downloadtdelibs-cb4a5d685bd5a3129e1edb8bac1ee6c41939fe7b.tar.gz
tdelibs-cb4a5d685bd5a3129e1edb8bac1ee6c41939fe7b.zip
TQt conversion was incomplete in the dcop/idl processors
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1159683 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcop/dcopidl/scanner.ll')
-rw-r--r--dcop/dcopidl/scanner.ll18
1 files changed, 9 insertions, 9 deletions
diff --git a/dcop/dcopidl/scanner.ll b/dcop/dcopidl/scanner.ll
index 767594ac6..63e8ca59c 100644
--- a/dcop/dcopidl/scanner.ll
+++ b/dcop/dcopidl/scanner.ll
@@ -26,7 +26,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <stdlib.h>
#include <ctype.h>
-class QString;
+class TQString;
#ifndef KDE_USE_FINAL
#include "yacc.cc.h"
@@ -168,10 +168,10 @@ Kidl_Identifier [_a-zA-Z][a-zA-Z0-9_]*
exit( 1 );
}
"#include"[ \t]*[<\"][^>"]*[>\"]\s*\n {
- QString s( yytext );
- int i = s.find(QRegExp("[\"<]"))+1;
- int j = s.find(QRegExp("[\">]"), i);
- yylval._str = new QString( s.mid( i, j - i ) );
+ TQString s( yytext );
+ int i = s.find(TQRegExp("[\"<]"))+1;
+ int j = s.find(TQRegExp("[\">]"), i);
+ yylval._str = new TQString( s.mid( i, j - i ) );
idl_line_no++;
return T_INCLUDE;
}
@@ -241,7 +241,7 @@ Q_OBJECT ;
"extern \"C\"" return T_EXTERN_C;
{Kidl_Identifier} {
- yylval._str = new QString( yytext );
+ yylval._str = new TQString( yytext );
return T_IDENTIFIER;
}
@@ -266,14 +266,14 @@ Q_OBJECT ;
return T_INTEGER_LITERAL;
}
{Char_Literal} {
- QCString s( yytext );
+ TQCString s( yytext );
s = s.mid( 1, s.length() - 2 );
yylval._char = translate_char( s );
return T_CHARACTER_LITERAL;
}
{String_Literal} {
- QString s( yytext );
- yylval._str = new QString( s.mid( 1, s.length() - 2 ) );
+ TQString s( yytext );
+ yylval._str = new TQString( s.mid( 1, s.length() - 2 ) );
return T_STRING_LITERAL;
}
. {