summaryrefslogtreecommitdiffstats
path: root/kmymoney2/kmymoney2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/kmymoney2.cpp')
-rw-r--r--kmymoney2/kmymoney2.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/kmymoney2.cpp b/kmymoney2/kmymoney2.cpp
index 01dbc2c..d90f46c 100644
--- a/kmymoney2/kmymoney2.cpp
+++ b/kmymoney2/kmymoney2.cpp
@@ -503,7 +503,7 @@ void KMyMoney2App::dumpActions(void) const
TDEActionPtrList list = actionCollection()->actions();
TDEActionPtrList::const_iterator it;
for(it = list.begin(); it != list.end(); ++it) {
- std::cout << (*it)->name() << ": " << (*it)->text() << std::endl;
+ std::cout << (*it)->name() << ": " << (*it)->text().local8Bit() << std::endl;
}
}
@@ -855,7 +855,7 @@ KURL KMyMoney2App::selectFile(const TQString& title, const TQString& _path, cons
if(path.isEmpty())
path = TDEGlobalSettings::documentPath();
- KFileDialog* dialog = new KFileDialog(path, mask, this, title, true);
+ KFileDialog* dialog = new KFileDialog(path, mask, this, title.utf8(), true);
dialog->setMode(mode);
if(dialog->exec() == TQDialog::Accepted) {
@@ -873,7 +873,7 @@ void KMyMoney2App::slotFileOpen(void)
KFileDialog* dialog = new KFileDialog(TDEGlobalSettings::documentPath(),
i18n("%1|KMyMoney files\n%2|All files (*.*)").arg("*.kmy *.xml").arg("*"),
- this, i18n("Open File..."), true);
+ this, i18n("Open File...").utf8(), true);
dialog->setMode(KFile::File | KFile::ExistingOnly);
if(dialog->exec() == TQDialog::Accepted) {
@@ -1621,7 +1621,7 @@ void KMyMoney2App::slotGncImport(void)
KFileDialog* dialog = new KFileDialog(TDEGlobalSettings::documentPath(),
i18n("%1|Gnucash files\n%2|All files (*.*)").arg("*").arg("*"),
- this, i18n("Import Gnucash file..."), true);
+ this, i18n("Import Gnucash file...").utf8(), true);
dialog->setMode(KFile::File | KFile::ExistingOnly);
if(dialog->exec() == TQDialog::Accepted) {
@@ -1664,7 +1664,7 @@ void KMyMoney2App::slotStatementImport(void)
KFileDialog* dialog = new KFileDialog(TDEGlobalSettings::documentPath(),
i18n("%1|XML files\n%2|All files (*.*)").arg("*.xml").arg("*.*"),
- this, i18n("Import XML Statement..."), true);
+ this, i18n("Import XML Statement...").utf8(), true);
dialog->setMode(KFile::File | KFile::ExistingOnly);
if(dialog->exec() == TQDialog::Accepted)