summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/reportstestcommon.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:17 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:17 -0600
commit1f9d00360b9018301630ce062d7dda0c6583edfb (patch)
tree1013b917f9a8ad41ed928d62250e9bfe1ed91414 /kmymoney2/reports/reportstestcommon.cpp
parent252fce5a2a5384702fbcc1c9987284d7bd2e6943 (diff)
downloadkmymoney-1f9d00360b9018301630ce062d7dda0c6583edfb.tar.gz
kmymoney-1f9d00360b9018301630ce062d7dda0c6583edfb.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 252fce5a2a5384702fbcc1c9987284d7bd2e6943.
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 44f90df..eac6193 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").arg((filenumber<10)?"0":"").arg(filenumber);
+ filename = TQString("report-%1%2.html").tqarg((filenumber<10)?"0":"").tqarg(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").arg((filenumber<10)?"0":"").arg(filenumber);
+ filename = TQString("report-%1%2.html").tqarg((filenumber<10)?"0":"").tqarg(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").arg((filenumber<10)?"0":"").arg(filenumber);
+ filename = TQString("report-%1%2.csv").tqarg((filenumber<10)?"0":"").tqarg(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").arg((filenumber<10)?"0":"").arg(filenumber);
+ filename = TQString("qreport-%1%2.csv").tqarg((filenumber<10)?"0":"").tqarg(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").arg(TQString::number(filenum).rightJustify(2, '0'));
+ filename = TQString("report-%1%2.xml").tqarg(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,]*)").arg(_search));
+ TQRegExp re(TQString("%1[<>/td]*([\\-.0-9,]*)").tqarg(_search));
re.search(_html);
TQString found = re.cap(1);
found.remove(',');