summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/pivottable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/reports/pivottable.cpp')
-rw-r--r--kmymoney2/reports/pivottable.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/reports/pivottable.cpp b/kmymoney2/reports/pivottable.cpp
index a85b44f..6035d20 100644
--- a/kmymoney2/reports/pivottable.cpp
+++ b/kmymoney2/reports/pivottable.cpp
@@ -76,7 +76,7 @@ Debug::Debug( const TQString& _name ): m_methodName( _name ), m_enabled( m_sEnab
if (m_enabled)
{
- tqDebug( "%s%s(): ENTER", m_sTabs.latin1(), m_methodName.latin1() );
+ tqDebug(TQString("%1%2(): ENTER").arg(m_sTabs).arg(m_methodName));
m_sTabs.append("--");
}
}
@@ -86,7 +86,7 @@ Debug::~Debug()
if ( m_enabled )
{
m_sTabs.remove(0,2);
- tqDebug( "%s%s(): EXIT", m_sTabs.latin1(), m_methodName.latin1() );
+ tqDebug(TQString("%1%2(): EXIT").arg(m_sTabs).arg(m_methodName));
if (m_methodName == m_sEnableKey)
m_enabled = false;
@@ -96,7 +96,7 @@ Debug::~Debug()
void Debug::output( const TQString& _text )
{
if ( m_enabled )
- tqDebug( "%s%s(): %s", m_sTabs.latin1(), m_methodName.latin1(), _text.latin1() );
+ tqDebug(TQString("%1%2(): %3").arg(m_sTabs).arg(m_methodName).arg(_text));
}
PivotTable::PivotTable( const MyMoneyReport& _config_f ):
@@ -194,7 +194,7 @@ void PivotTable::init(void)
try {
transactions = file->transactionList(m_config_f);
} catch(MyMoneyException *e) {
- tqDebug("ERR: %s thrown in %s(%ld)", e->what().data(), e->file().data(), e->line());
+ tqDebug(TQString("ERR: %1 thrown in %2(%s)").arg(e->what()).arg(e->file()).arg(e->line()));
throw e;
}
DEBUG_OUTPUT(TQString("Found %1 matching transactions").arg(transactions.count()));