From ef5831dd5c8811c94c9b1bc1377a90174d17c82c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:29:52 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/rip/k3bpatternparser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/rip/k3bpatternparser.cpp') diff --git a/src/rip/k3bpatternparser.cpp b/src/rip/k3bpatternparser.cpp index d83fe49..0ab14d8 100644 --- a/src/rip/k3bpatternparser.cpp +++ b/src/rip/k3bpatternparser.cpp @@ -119,7 +119,7 @@ TQString K3bPatternParser::parsePattern( const K3bCddbResultEntry& entry, s.replace( '*', '_' ); s.replace( '}', '*' ); // for conditional inclusion dir.append( s.isEmpty() - ? i18n("unknown") + TQString(" %1").tqarg(trackNumber) + ? i18n("unknown") + TQString(" %1").arg(trackNumber) : s ); break; case TITLE: @@ -128,7 +128,7 @@ TQString K3bPatternParser::parsePattern( const K3bCddbResultEntry& entry, s.replace( '*', '_' ); s.replace( '}', '*' ); dir.append( s.isEmpty() - ? i18n("Track %1").tqarg(trackNumber) + ? i18n("Track %1").arg(trackNumber) : s ); break; case NUMBER: @@ -171,7 +171,7 @@ TQString K3bPatternParser::parsePattern( const K3bCddbResultEntry& entry, dir.append( s ); // I think it makes more sense to allow empty comments break; case DATE: - dir.append( KGlobal::locale()->formatDate( TQDate::tqcurrentDate() ) ); + dir.append( KGlobal::locale()->formatDate( TQDate::currentDate() ) ); break; default: dir.append( pattern.mid(i, len) ); @@ -247,7 +247,7 @@ TQString K3bPatternParser::parsePattern( const K3bCddbResultEntry& entry, s = entry.cdExtInfo; break; case DATE: - s = KGlobal::locale()->formatDate( TQDate::tqcurrentDate() ); + s = KGlobal::locale()->formatDate( TQDate::currentDate() ); break; default: // we must never get here, break; // all choices should be covered -- cgit v1.2.3