summaryrefslogtreecommitdiffstats
path: root/ksirc/ksparser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /ksirc/ksparser.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'ksirc/ksparser.cpp')
-rw-r--r--ksirc/ksparser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/ksparser.cpp b/ksirc/ksparser.cpp
index 100fc4c4..e2ebf903 100644
--- a/ksirc/ksparser.cpp
+++ b/ksirc/ksparser.cpp
@@ -63,12 +63,12 @@ TQString KSParser::parse( const TQString &message )
TQString at;
TQColor c = ircColor(fg);
if ( c.isValid() ) {
- at += TQString( "color=\"%1\" " ).arg( c.name() );
+ at += TQString( "color=\"%1\" " ).tqarg( c.name() );
}
c = ircColor(bg);
if ( c.isValid() ) {
- at += TQString( "bgcolor=\"%1\" " ).arg( c.name() );
+ at += TQString( "bgcolor=\"%1\" " ).tqarg( c.name() );
}
if(at.length() > 0){
res += pushTag( "font", at );
@@ -108,13 +108,13 @@ TQString KSParser::parse( const TQString &message )
res += toggleTag( "u" );
break;
case 'n':
- res += toggleTag( "font", TQString( "color=\"%1\"" ).arg( ksopts->nickForeground.name() ) );
+ res += toggleTag( "font", TQString( "color=\"%1\"" ).tqarg( ksopts->nickForeground.name() ) );
break;
case 'o':
- res += pushTag( "font", TQString( "color=\"%1\"" ).arg( ksopts->msgContainNick.name() ) );
+ res += pushTag( "font", TQString( "color=\"%1\"" ).tqarg( ksopts->msgContainNick.name() ) );
break;
case '#':
- res += pushTag( "font", TQString( "color=\"#%1\"" ).arg( message.mid(i, 6) ));
+ res += pushTag( "font", TQString( "color=\"#%1\"" ).tqarg( message.mid(i, 6) ));
i+=6;
break;
case '~':