diff options
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp b/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp index 6324d4c..d4de685 100644 --- a/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp +++ b/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp @@ -920,7 +920,7 @@ const MyMoneyMoney MyMoneyDatabaseMgr::balance(const TQString& id, const TQDate& MyMoneyAccount acc; TQMap<TQString, MyMoneyAccount> accountList = m_sql->fetchAccounts(/*TQString(id)*/); //TQMap<TQString, MyMoneyAccount>::const_iterator accpos = accountList.find(id); - if (date_ != TQDate()) qDebug ("request balance for %s at %s", id.data(), TQString(date_.toString(Qt::ISODate)).latin1()); + if (date_ != TQDate()) tqDebug ("request balance for %s at %s", id.data(), TQString(date_.toString(Qt::ISODate)).latin1()); // if(!date_.isValid() && MyMoneyFile::instance()->account(id).accountType() != MyMoneyAccount::Stock) { // if(accountList.find(id) != accountList.end()) // return accountList[id].balance(); @@ -980,7 +980,7 @@ const MyMoneyMoney MyMoneyDatabaseMgr::balance(const TQString& id, const TQDate& //FIXME: if(m_balanceCache[id].valid == true) //FIXME: result = m_balanceCache[id].balance; //FIXME: else -//FIXME: qDebug("Cache mishit should never happen at this point"); +//FIXME: tqDebug("Cache mishit should never happen at this point"); return result; } @@ -1216,10 +1216,10 @@ const TQValueList<MyMoneySchedule> MyMoneyDatabaseMgr::scheduleList(const TQStri TQMap<TQString, MyMoneySchedule>::ConstIterator pos; TQValueList<MyMoneySchedule> list; - // qDebug("scheduleList()"); + // tqDebug("scheduleList()"); for(pos = scheduleList.begin(); pos != scheduleList.end(); ++pos) { - // qDebug(" '%s'", (*pos).id().data()); + // tqDebug(" '%s'", (*pos).id().data()); if(type != MyMoneySchedule::TYPE_ANY) { if(type != (*pos).type()) { @@ -1283,7 +1283,7 @@ const TQValueList<MyMoneySchedule> MyMoneyDatabaseMgr::scheduleList(const TQStri */ } - // qDebug("Adding '%s'", (*pos).name().latin1()); + // tqDebug("Adding '%s'", (*pos).name().latin1()); list << *pos; } return list; @@ -1295,7 +1295,7 @@ const TQValueList<MyMoneySchedule> MyMoneyDatabaseMgr::scheduleListEx( int sched TQDate startDate, const TQStringList& accounts) const { -// qDebug("scheduleListEx"); +// tqDebug("scheduleListEx"); TQMap<TQString, MyMoneySchedule> scheduleList = m_sql->fetchSchedules(); TQMap<TQString, MyMoneySchedule>::ConstIterator pos; TQValueList<MyMoneySchedule> list; @@ -1329,7 +1329,7 @@ const TQValueList<MyMoneySchedule> MyMoneyDatabaseMgr::scheduleListEx( int sched continue; } -// qDebug("\tAdding '%s'", (*pos).name().latin1()); +// tqDebug("\tAdding '%s'", (*pos).name().latin1()); list << *pos; } @@ -1581,7 +1581,7 @@ bool MyMoneyDatabaseMgr::isReferenced(const MyMoneyObject& obj, const MyMoneyFil //TQMap <TQString, MyMoneyTransaction> transactionList = m_sql->fetchTransactions(f); //rc = (transactionList.end() != std::find_if(transactionList.begin(), transactionList.end(), isReferencedHelper(id))); //if (rc != m_sql->isReferencedByTransaction(obj.id())) - // qDebug ("Transaction match inconsistency."); + // tqDebug ("Transaction match inconsistency."); rc = m_sql->isReferencedByTransaction(obj.id()); } } |