summaryrefslogtreecommitdiffstats
path: root/ksirc/ksparser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /ksirc/ksparser.cpp
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
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 e2ebf903..100fc4c4 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\" " ).tqarg( c.name() );
+ at += TQString( "color=\"%1\" " ).arg( c.name() );
}
c = ircColor(bg);
if ( c.isValid() ) {
- at += TQString( "bgcolor=\"%1\" " ).tqarg( c.name() );
+ at += TQString( "bgcolor=\"%1\" " ).arg( 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\"" ).tqarg( ksopts->nickForeground.name() ) );
+ res += toggleTag( "font", TQString( "color=\"%1\"" ).arg( ksopts->nickForeground.name() ) );
break;
case 'o':
- res += pushTag( "font", TQString( "color=\"%1\"" ).tqarg( ksopts->msgContainNick.name() ) );
+ res += pushTag( "font", TQString( "color=\"%1\"" ).arg( ksopts->msgContainNick.name() ) );
break;
case '#':
- res += pushTag( "font", TQString( "color=\"#%1\"" ).tqarg( message.mid(i, 6) ));
+ res += pushTag( "font", TQString( "color=\"#%1\"" ).arg( message.mid(i, 6) ));
i+=6;
break;
case '~':