diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-03-17 09:54:21 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-03-18 12:45:32 +0100 |
commit | eeae53f59df4d79d0399c2217a165ff2fab754db (patch) | |
tree | 768c8b3c67ed80698dcb4e66285ad673e9d3fb0f /kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp | |
parent | a6454b1658d325d6ff2d6ba6c349b772148798e0 (diff) | |
download | kmymoney-eeae53f59df4d79d0399c2217a165ff2fab754db.tar.gz kmymoney-eeae53f59df4d79d0399c2217a165ff2fab754db.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>
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp | 8 |
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; } |