diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:59:52 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:59:52 -0600 |
commit | 7ea89afa119615e547323a7a482ea7fef8e67029 (patch) | |
tree | 7b28540e70b4be9a779347f70486d4937258a875 /kregexpeditor/qregexpparser.y | |
parent | bcc684e28ad6f9ebeeae5d334a4dc297cef3e816 (diff) | |
download | tdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.tar.gz tdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kregexpeditor/qregexpparser.y')
-rw-r--r-- | kregexpeditor/qregexpparser.y | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kregexpeditor/qregexpparser.y b/kregexpeditor/qregexpparser.y index 75eeaa2..080dc2c 100644 --- a/kregexpeditor/qregexpparser.y +++ b/kregexpeditor/qregexpparser.y @@ -155,7 +155,7 @@ atom : TOK_LeftParen expression TOK_RightParent { | TOK_Carat { $<regexp>$ = new PositionRegExp( false, PositionRegExp::BEGLINE ); } | TOK_Dot { $<regexp>$ = new DotRegExp( false ); } | TOK_BackRef { - QString match = TQString(TQString::fromLocal8Bit("\\%1")).tqarg( $<backRef>1 ); + QString match = TQString(TQString::fromLocal8Bit("\\%1")).arg( $<backRef>1 ); $<regexp>$ = new TextRegExp( false, match ); KMessageBox::information(0,i18n("<qt>Back reference regular expressions are not supported.<p>" "<tt>\\1</tt>, <tt>\\2</tt>, ... are <i>back references</i>, meaning they refer to " @@ -165,7 +165,7 @@ atom : TOK_LeftParen expression TOK_RightParent { "just a workaround to ensure that the application handles the regexp at all. " "Therefore, as soon as you edit the regular expression in the graphical area, " "the back reference will be replaced by matching the text <b>%2</b> literally.") - .tqarg( match ).tqarg( match ), + .arg( match ).arg( match ), i18n("Back reference regular expressions not supported"), QString::fromLocal8Bit("backReferenceNotSupported") ); } @@ -177,9 +177,9 @@ char : TOK_Char { if ( $<ch>1 == '{' || $<ch>1 == '}' || $<ch>1 == '[' || $<ch>1 == ']' || $<ch>1 == '\\' ) { yyerror( "illigal character - needs escaping" ); } - $<regexp>$ = new TextRegExp( false, TQString(TQString::fromLocal8Bit("%1")).tqarg($<ch>1)); + $<regexp>$ = new TextRegExp( false, TQString(TQString::fromLocal8Bit("%1")).arg($<ch>1)); } - | TOK_EscapeChar { $<regexp>$ = new TextRegExp( false, TQString(TQString::fromLocal8Bit("%1")).tqarg($<ch>1)); } + | TOK_EscapeChar { $<regexp>$ = new TextRegExp( false, TQString(TQString::fromLocal8Bit("%1")).arg($<ch>1)); } ; %% |