From cb4a5d685bd5a3129e1edb8bac1ee6c41939fe7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 5 Aug 2010 23:08:54 +0000 Subject: 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 --- dcop/dcopidl/scanner.ll | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'dcop/dcopidl') 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 #include -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; } . { -- cgit v1.2.1