diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:37:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:37:08 -0600 |
commit | c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (patch) | |
tree | 9a07481bb1245dac332e7db600c556e1db79ecf3 /kmymoney2/widgets/kaccounttemplateselector.cpp | |
parent | 28723595822268551d3e050c3a83bf6ca5e17dd5 (diff) | |
download | kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.tar.gz kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kmymoney2/widgets/kaccounttemplateselector.cpp')
-rw-r--r-- | kmymoney2/widgets/kaccounttemplateselector.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/widgets/kaccounttemplateselector.cpp b/kmymoney2/widgets/kaccounttemplateselector.cpp index 6e96b78..9b26503 100644 --- a/kmymoney2/widgets/kaccounttemplateselector.cpp +++ b/kmymoney2/widgets/kaccounttemplateselector.cpp @@ -204,8 +204,8 @@ void KAccountTemplateSelector::slotLoadTemplateList(void) TQString oCountry = KGlobal::locale()->twoAlphaToCountryName(exp.cap(2)); TQString oLang = KGlobal::locale()->twoAlphaToLanguageName(exp.cap(1)); d->countries.remove(country); - d->countries[TQString("%1 (%2)").tqarg(oCountry).tqarg(oLang)] = oName; - d->countries[TQString("%1 (%2)").tqarg(country).tqarg(lang)] = *it_d; + d->countries[TQString("%1 (%2)").arg(oCountry).arg(oLang)] = oName; + d->countries[TQString("%1 (%2)").arg(country).arg(lang)] = *it_d; } } else { d->countries[country] = *it_d; @@ -238,13 +238,13 @@ void KAccountTemplateSelector::slotLoadCountry(void) TQStringList::iterator it; for(it = d->dirlist.begin(); it != d->dirlist.end(); ++it) { TQStringList::iterator it_f; - TQDir dir(TQString("%1%2").tqarg(*it).tqarg(*(d->it_m))); + TQDir dir(TQString("%1%2").arg(*it).arg(*(d->it_m))); if(dir.exists()) { TQStringList files = dir.entryList("*", TQDir::Files); for(it_f = files.begin(); it_f != files.end(); ++it_f) { - MyMoneyTemplate templ(TQString("%1/%2").tqarg(dir.canonicalPath()).tqarg(*it_f)); - d->m_templates[TQString("%1").tqarg(d->id)] = templ; - new KListViewItem(parent, templ.title(), templ.shortDescription(), TQString("%1").tqarg(d->id)); + MyMoneyTemplate templ(TQString("%1/%2").arg(dir.canonicalPath()).arg(*it_f)); + d->m_templates[TQString("%1").arg(d->id)] = templ; + new KListViewItem(parent, templ.title(), templ.shortDescription(), TQString("%1").arg(d->id)); ++d->id; } } |