summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/reportstestcommon.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:01 -0600
commit252fce5a2a5384702fbcc1c9987284d7bd2e6943 (patch)
treed5768ff1e9065f29bec60c94d31880b38b4e82f2 /kmymoney2/reports/reportstestcommon.cpp
parent69ef6c4beaa37474a2170d0bfe842de647f53102 (diff)
downloadkmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.tar.gz
kmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmymoney2/reports/reportstestcommon.cpp')
-rw-r--r--kmymoney2/reports/reportstestcommon.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/reports/reportstestcommon.cpp b/kmymoney2/reports/reportstestcommon.cpp
index eac6193..44f90df 100644
--- a/kmymoney2/reports/reportstestcommon.cpp
+++ b/kmymoney2/reports/reportstestcommon.cpp
@@ -319,7 +319,7 @@ void writeTabletoHTML( const PivotTable& table, const TQString& _filename )
TQString filename = _filename;
if ( filename.isEmpty() )
{
- filename = TQString("report-%1%2.html").tqarg((filenumber<10)?"0":"").tqarg(filenumber);
+ filename = TQString("report-%1%2.html").arg((filenumber<10)?"0":"").arg(filenumber);
++filenumber;
}
@@ -336,7 +336,7 @@ void writeTabletoHTML( const QueryTable& table, const TQString& _filename )
TQString filename = _filename;
if ( filename.isEmpty() )
{
- filename = TQString("report-%1%2.html").tqarg((filenumber<10)?"0":"").tqarg(filenumber);
+ filename = TQString("report-%1%2.html").arg((filenumber<10)?"0":"").arg(filenumber);
++filenumber;
}
@@ -352,7 +352,7 @@ void writeTabletoCSV( const PivotTable& table, const TQString& _filename )
TQString filename = _filename;
if ( filename.isEmpty() )
{
- filename = TQString("report-%1%2.csv").tqarg((filenumber<10)?"0":"").tqarg(filenumber);
+ filename = TQString("report-%1%2.csv").arg((filenumber<10)?"0":"").arg(filenumber);
++filenumber;
}
@@ -369,7 +369,7 @@ void writeTabletoCSV( const QueryTable& table, const TQString& _filename )
TQString filename = _filename;
if ( filename.isEmpty() )
{
- filename = TQString("qreport-%1%2.csv").tqarg((filenumber<10)?"0":"").tqarg(filenumber);
+ filename = TQString("qreport-%1%2.csv").arg((filenumber<10)?"0":"").arg(filenumber);
++filenumber;
}
@@ -385,7 +385,7 @@ void writeRCFtoXML( const MyMoneyReport& filter, const TQString& _filename )
static unsigned filenum = 1;
TQString filename = _filename;
if ( filename.isEmpty() ) {
- filename = TQString("report-%1%2.xml").tqarg(TQString::number(filenum).rightJustify(2, '0'));
+ filename = TQString("report-%1%2.xml").arg(TQString::number(filenum).rightJustify(2, '0'));
++filenum;
}
@@ -481,7 +481,7 @@ void XMLandback( MyMoneyReport& filter )
MyMoneyMoney searchHTML(const TQString& _html, const TQString& _search)
{
- TQRegExp re(TQString("%1[<>/td]*([\\-.0-9,]*)").tqarg(_search));
+ TQRegExp re(TQString("%1[<>/td]*([\\-.0-9,]*)").arg(_search));
re.search(_html);
TQString found = re.cap(1);
found.remove(',');