summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets')
-rw-r--r--kmymoney2/widgets/kaccounttemplateselector.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccountcombo.cpp2
-rw-r--r--kmymoney2/widgets/register.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/widgets/kaccounttemplateselector.cpp b/kmymoney2/widgets/kaccounttemplateselector.cpp
index 257494e..710cb62 100644
--- a/kmymoney2/widgets/kaccounttemplateselector.cpp
+++ b/kmymoney2/widgets/kaccounttemplateselector.cpp
@@ -188,7 +188,7 @@ void KAccountTemplateSelector::slotLoadTemplateList(void)
TQStringList::iterator it;
for(it = d->dirlist.begin(); it != d->dirlist.end(); ++it) {
TQDir dir(*it);
- // tqDebug("Reading dir '%s' with %d entries", (*it).data(), dir.count());
+ // tqDebug(TQSttring("Reading dir '%1' with %2 entries").arg(*it).arg(dir.count()));
dirs = dir.entryList("*", TQDir::Dirs);
TQStringList::iterator it_d;
for(it_d= dirs.begin(); it_d != dirs.end(); ++it_d) {
@@ -218,7 +218,7 @@ void KAccountTemplateSelector::slotLoadTemplateList(void)
TQString country = TDEGlobal::locale()->twoAlphaToCountryName((*it_d).upper());
d->countries[country] = *it_d;
} else {
- tqDebug("'%s/%s' not scanned", (*it).data(), (*it_d).data());
+ tqDebug(TQString("'%1/%2' not scanned").arg(*it).arg(*it_d));
}
}
}
diff --git a/kmymoney2/widgets/kmymoneyaccountcombo.cpp b/kmymoney2/widgets/kmymoneyaccountcombo.cpp
index 37dbc76..dc7c283 100644
--- a/kmymoney2/widgets/kmymoneyaccountcombo.cpp
+++ b/kmymoney2/widgets/kmymoneyaccountcombo.cpp
@@ -90,7 +90,7 @@ void KMyMoneyAccountCombo::setSelected(const TQString& id)
MyMoneyAccount acc = MyMoneyFile::instance()->account(id);
setSelected(acc);
} catch(MyMoneyException *e) {
- tqDebug("Account '%s' not found in %s(%d)", id.data(), __FILE__, __LINE__);
+ tqDebug(TQString("Account '%1' not found in %2(%3)").arg(id).arg(__FILE__).arg(__LINE__));
delete e;
}
} else {
diff --git a/kmymoney2/widgets/register.cpp b/kmymoney2/widgets/register.cpp
index afdf61a..5952227 100644
--- a/kmymoney2/widgets/register.cpp
+++ b/kmymoney2/widgets/register.cpp
@@ -637,7 +637,7 @@ void Register::dropEvent(TQDropEvent* event)
tqDebug("Drop was ok");
KURL::List urls;
KURLDrag::decode(event, urls);
- tqDebug("List is '%s'", urls.toStringList().join(";").data());
+ tqDebug(TQString("List is '%s'").arg(urls.toStringList().join(";")));
event->accept();
}
}
@@ -671,7 +671,7 @@ void Register::slotAutoColumnSizing(int section)
}
size += TQString("%1").arg((columnWidth(i) * 100) / w);
}
- tqDebug("size = %s", size.data());
+ tqDebug(TQString("size = %1").arg(size));
m_account.setValue("kmm-ledger-column-width", size);
}
#endif