From eeae53f59df4d79d0399c2217a165ff2fab754db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 17 Mar 2022 09:54:21 +0100 Subject: Replace the use of the old API TQString::data(). The definition of -UTQT_NO_COMPAT is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp') 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 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 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 MyMoneySeqAccessMgr::scheduleListEx(int sched continue; } -// tqDebug("\tAdding '%s'", (*pos).name().latin1()); +// tqDebug(TQString("\tAdding '%1'").arg((*pos).name())); list << *pos; } -- cgit v1.2.1