diff options
Diffstat (limited to 'kmymoney2/views/kgloballedgerview.cpp')
-rw-r--r-- | kmymoney2/views/kgloballedgerview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp index e82459a..6806ea7 100644 --- a/kmymoney2/views/kgloballedgerview.cpp +++ b/kmymoney2/views/kgloballedgerview.cpp @@ -847,7 +847,7 @@ void KGlobalLedgerView::loadAccounts(void) try { d->m_precision = MyMoneyMoney::denomToPrec(m_account.fraction()); } catch(MyMoneyException *e) { - qDebug("Security %s for account %s not found", m_account.currencyId().data(), m_account.name().data()); + tqDebug("Security %s for account %s not found", m_account.currencyId().data(), m_account.name().data()); delete e; d->m_precision = 2; } @@ -956,7 +956,7 @@ bool KGlobalLedgerView::slotSelectAccount(const TQString& id, const TQString& tr m_newAccountLoaded = true; slotLoadView(); } catch(MyMoneyException* e) { - qDebug("Unable to retrieve account %s", id.data()); + tqDebug("Unable to retrieve account %s", id.data()); delete e; rc = false; } @@ -1207,17 +1207,17 @@ bool KGlobalLedgerView::focusNextPrevChild(bool next) { bool rc = false; - // qDebug("KGlobalLedgerView::focusNextPrevChild(editmode=%s)", m_inEditMode ? "true" : "false"); + // tqDebug("KGlobalLedgerView::focusNextPrevChild(editmode=%s)", m_inEditMode ? "true" : "false"); if(m_inEditMode) { TQWidget *w = 0; TQWidget *currentWidget; w = tqApp->focusWidget(); while(w && m_tabOrderWidgets.find(w) == -1) { - // qDebug("'%s' not in list, use parent", w->className()); + // tqDebug("'%s' not in list, use parent", w->className()); w = w->parentWidget(); } - // if(w) qDebug("tab order is at '%s'", w->className()); + // if(w) tqDebug("tab order is at '%s'", w->className()); currentWidget = m_tabOrderWidgets.current(); w = next ? m_tabOrderWidgets.next() : m_tabOrderWidgets.prev(); @@ -1229,7 +1229,7 @@ bool KGlobalLedgerView::focusNextPrevChild(bool next) if(w != currentWidget && ((w->focusPolicy() & TQ_TabFocus) == TQ_TabFocus) && w->isVisible() && w->isEnabled()) { - // qDebug("Selecting '%s' as focus", w->className()); + // tqDebug("Selecting '%s' as focus", w->className()); w->setFocus(); rc = true; break; @@ -1270,14 +1270,14 @@ bool KGlobalLedgerView::eventFilter(TQObject* o, TQEvent* e) if(e->type() == TQEvent::KeyPress) { TQKeyEvent *k = TQT_TQKEYEVENT(e); if(m_inEditMode) { - // qDebug("object = %s, key = %d", o->className(), k->key()); + // tqDebug("object = %s, key = %d", o->className(), k->key()); if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_register)) { // we hide all key press events from the register // while editing a transaction rc = true; } } else { - // qDebug("object = %s, key = %d", o->className(), k->key()); + // tqDebug("object = %s, key = %d", o->className(), k->key()); if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_register)) { if((k->state() & TQt::KeyButtonMask) == 0) { switch(k->key()) { @@ -1333,7 +1333,7 @@ void KGlobalLedgerView::slotSortOptions(void) MyMoneyFile::instance()->modifyAccount(m_account); ft.commit(); } catch(MyMoneyException* e) { - qDebug("Unable to update sort order for account '%s': %s", m_account.name().latin1(), e->what().latin1()); + tqDebug("Unable to update sort order for account '%s': %s", m_account.name().latin1(), e->what().latin1()); delete e; } } |