diff options
Diffstat (limited to 'kmymoney2/mymoney/mymoneyaccount.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneyaccount.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/mymoney/mymoneyaccount.cpp b/kmymoney2/mymoney/mymoneyaccount.cpp index 3b48602..aaa4372 100644 --- a/kmymoney2/mymoney/mymoneyaccount.cpp +++ b/kmymoney2/mymoney/mymoneyaccount.cpp @@ -66,7 +66,7 @@ MyMoneyAccount::MyMoneyAccount(const TQDomElement& node) : setName(node.attribute("name")); - // tqDebug("Reading information for account %s", acc.name().data()); + // tqDebug(TQString("Reading information for account %1").arg(acc.name())); setParentAccountId(TQStringEmpty(node.attribute("parentaccount"))); setLastModified(stringToDate(TQStringEmpty(node.attribute("lastmodified")))); @@ -97,7 +97,7 @@ MyMoneyAccount::MyMoneyAccount(const TQDomElement& node) : if(bOK) { setAccountType(static_cast<MyMoneyAccount::accountTypeE>(type)); } else { - tqWarning("XMLREADER: Account %s had invalid or no account type information.", name().data()); + tqWarning(TQString("XMLREADER: Account %1 had invalid or no account type information.").arg(name())); } if(node.hasAttribute("openingbalance")) { @@ -109,7 +109,7 @@ MyMoneyAccount::MyMoneyAccount(const TQDomElement& node) : setDescription(node.attribute("description")); m_id = TQStringEmpty(node.attribute("id")); - // tqDebug("Account %s has id of %s, type of %d, parent is %s.", acc.name().data(), id.data(), type, acc.parentAccountId().data()); + // tqDebug(TQString("Account %1 has id of %2, type of %3, parent is %4.").arg(acc.name()).arg(id).arg(type).arg(acc.parentAccountId())); // Process any Sub-Account information found inside the account entry. m_accountList.clear(); |