diff options
Diffstat (limited to 'kmymoney2/reports')
-rw-r--r-- | kmymoney2/reports/objectinfotable.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/reports/pivottable.cpp | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/reports/objectinfotable.cpp b/kmymoney2/reports/objectinfotable.cpp index f99c115..ef4af13 100644 --- a/kmymoney2/reports/objectinfotable.cpp +++ b/kmymoney2/reports/objectinfotable.cpp @@ -357,7 +357,7 @@ MyMoneyMoney ObjectInfoTable::investmentBalance(const MyMoneyAccount& acc) val = val.convert(acc.fraction()); value += val; } catch(MyMoneyException* e) { - qWarning("%s", (TQString("cannot convert stock balance of %1 to base currency: %2").arg(stock.name(), e->what())).data()); + tqWarning("%s", (TQString("cannot convert stock balance of %1 to base currency: %2").arg(stock.name(), e->what())).data()); delete e; } } diff --git a/kmymoney2/reports/pivottable.cpp b/kmymoney2/reports/pivottable.cpp index b75ffb9..7846d93 100644 --- a/kmymoney2/reports/pivottable.cpp +++ b/kmymoney2/reports/pivottable.cpp @@ -72,7 +72,7 @@ Debug::Debug( const TQString& _name ): m_methodName( _name ), m_enabled( m_sEnab if (m_enabled) { - qDebug( "%s%s(): ENTER", m_sTabs.latin1(), m_methodName.latin1() ); + tqDebug( "%s%s(): ENTER", m_sTabs.latin1(), m_methodName.latin1() ); m_sTabs.append("--"); } } @@ -82,7 +82,7 @@ Debug::~Debug() if ( m_enabled ) { m_sTabs.remove(0,2); - qDebug( "%s%s(): EXIT", m_sTabs.latin1(), m_methodName.latin1() ); + tqDebug( "%s%s(): EXIT", m_sTabs.latin1(), m_methodName.latin1() ); if (m_methodName == m_sEnableKey) m_enabled = false; @@ -92,7 +92,7 @@ Debug::~Debug() void Debug::output( const TQString& _text ) { if ( m_enabled ) - qDebug( "%s%s(): %s", m_sTabs.latin1(), m_methodName.latin1(), _text.latin1() ); + tqDebug( "%s%s(): %s", m_sTabs.latin1(), m_methodName.latin1(), _text.latin1() ); } PivotTable::PivotTable( const MyMoneyReport& _config_f ): @@ -190,7 +190,7 @@ void PivotTable::init(void) try { transactions = file->transactionList(m_config_f); } catch(MyMoneyException *e) { - qDebug("ERR: %s thrown in %s(%ld)", e->what().data(), e->file().data(), e->line()); + tqDebug("ERR: %s thrown in %s(%ld)", e->what().data(), e->file().data(), e->line()); throw e; } DEBUG_OUTPUT(TQString("Found %1 matching transactions").arg(transactions.count())); @@ -332,7 +332,7 @@ void PivotTable::init(void) if(value != MyMoneyMoney::autoCalc) { value = value * reverse; } else { - qDebug("PivotTable::PivotTable(): This must not happen"); + tqDebug("PivotTable::PivotTable(): This must not happen"); value = MyMoneyMoney(); // keep it 0 so far } @@ -761,7 +761,7 @@ void PivotTable::calculateRunningSums( void ) MyMoneyMoney PivotTable::cellBalance(const TQString& outergroup, const ReportAccount& _row, unsigned _column, bool budget) { if(m_runningSumsCalculated) { - qDebug("You must not call PivotTable::cellBalance() after calling PivotTable::calculateRunningSums()"); + tqDebug("You must not call PivotTable::cellBalance() after calling PivotTable::calculateRunningSums()"); throw new MYMONEYEXCEPTION(TQString("You must not call PivotTable::cellBalance() after calling PivotTable::calculateRunningSums()")); } |