summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-03-17 09:54:21 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-03-20 18:50:15 +0100
commita553069ad068dcab541282df24dbe12591153af8 (patch)
tree6e0b3fc71e22d976fe434da0deab1a1fe0117476 /kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp
parentfebacdee5bf580932e1937f656b475762b48acd6 (diff)
downloadkmymoney-a553069ad068dcab541282df24dbe12591153af8.tar.gz
kmymoney-a553069ad068dcab541282df24dbe12591153af8.zip
Replace the use of the old API TQString::data().
The definition of -UTQT_NO_COMPAT is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit eeae53f59df4d79d0399c2217a165ff2fab754db)
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp')
-rw-r--r--kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp b/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp
index 92db207..869e2e4 100644
--- a/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp
+++ b/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp
@@ -874,7 +874,7 @@ const MyMoneyMoney MyMoneySeqAccessMgr::balance(const TQString& id, const TQDate
{
MyMoneyMoney result(0);
MyMoneyAccount acc;
- // if (date != TQDate()) tqDebug ("request balance for %s at %s", id.data(), date.toString(Qt::ISODate).latin1());
+ // if (date != TQDate()) tqDebug(TQString("request balance for %1 at %2").arg(id).arg(date.toString(Qt::ISODate)));
if(!date.isValid() && account(id).accountType() != MyMoneyAccount::Stock) {
if(m_accountList.find(id) != m_accountList.end())
return m_accountList[id].balance();
@@ -1252,7 +1252,7 @@ const TQValueList<MyMoneySchedule> MyMoneySeqAccessMgr::scheduleList(
// tqDebug("scheduleList()");
for(pos = m_scheduleList.begin(); pos != m_scheduleList.end(); ++pos) {
- // tqDebug(" '%s'", qPrintable((*pos).id()));
+ // tqDebug(TQString(" '%1'").arg(qPrintable((*pos).id())));
if(type != MyMoneySchedule::TYPE_ANY) {
if(type != (*pos).type()) {
@@ -1309,7 +1309,7 @@ const TQValueList<MyMoneySchedule> MyMoneySeqAccessMgr::scheduleList(
continue;
}
- // tqDebug("Adding '%s'", (*pos).name().latin1());
+ // tqDebug(TQString("Adding '%1'").arg((*pos).name()));
list << *pos;
}
return list;
@@ -1378,7 +1378,7 @@ const TQValueList<MyMoneySchedule> MyMoneySeqAccessMgr::scheduleListEx(int sched
continue;
}
-// tqDebug("\tAdding '%s'", (*pos).name().latin1());
+// tqDebug(TQString("\tAdding '%1'").arg((*pos).name()));
list << *pos;
}