Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/kimportdlg.cpp
Context not available. | |||||
46 | #include <KSharedConfig> | 46 | #include <KSharedConfig> | ||
---|---|---|---|---|---|
47 | #include "mymoneyqifprofileeditor.h" | 47 | #include "mymoneyqifprofileeditor.h" | ||
48 | #include "mymoneyqifprofile.h" | 48 | #include "mymoneyqifprofile.h" | ||
49 | #include <icons/icons.h> | ||||
50 | | ||||
51 | using namespace Icons; | ||||
49 | 52 | | |||
50 | KImportDlg::KImportDlg(QWidget *parent) | 53 | KImportDlg::KImportDlg(QWidget *parent) | ||
51 | : KImportDlgDecl(parent) | 54 | : KImportDlgDecl(parent) | ||
Context not available. | |||||
58 | 61 | | |||
59 | // load button icons | 62 | // load button icons | ||
60 | KGuiItem okButtenItem(i18n("&Import"), | 63 | KGuiItem okButtenItem(i18n("&Import"), | ||
61 | QIcon::fromTheme(QStringLiteral("document-import"), | 64 | QIcon::fromTheme(g_Icons[Icon::DocumentImport]), | ||
62 | QIcon::fromTheme(QStringLiteral("format-indent-less"))), | | |||
63 | i18n("Start operation"), | 65 | i18n("Start operation"), | ||
64 | i18n("Use this to start the import operation")); | 66 | i18n("Use this to start the import operation")); | ||
65 | KGuiItem::assign(m_buttonBox->button(QDialogButtonBox::Ok), okButtenItem); | 67 | KGuiItem::assign(m_buttonBox->button(QDialogButtonBox::Ok), okButtenItem); | ||
66 | 68 | | |||
67 | KGuiItem browseButtenItem(i18n("&Browse..."), | 69 | KGuiItem browseButtenItem(i18n("&Browse..."), | ||
68 | QIcon::fromTheme("document-open"), | 70 | QIcon::fromTheme(g_Icons[Icon::DocumentOpen]), | ||
69 | i18n("Select filename"), | 71 | i18n("Select filename"), | ||
70 | i18n("Use this to select a filename to export to")); | 72 | i18n("Use this to select a filename to export to")); | ||
71 | KGuiItem::assign(m_qbuttonBrowse, browseButtenItem); | 73 | KGuiItem::assign(m_qbuttonBrowse, browseButtenItem); | ||
72 | 74 | | |||
73 | KGuiItem newButtenItem(i18nc("New profile", "&New..."), | 75 | KGuiItem newButtenItem(i18nc("New profile", "&New..."), | ||
74 | QIcon::fromTheme("document-new"), | 76 | QIcon::fromTheme(g_Icons[Icon::DocumentNew]), | ||
75 | i18n("Create a new profile"), | 77 | i18n("Create a new profile"), | ||
76 | i18n("Use this to open the profile editor")); | 78 | i18n("Use this to open the profile editor")); | ||
77 | KGuiItem::assign(m_profileEditorButton, newButtenItem); | 79 | KGuiItem::assign(m_profileEditorButton, newButtenItem); | ||
Context not available. |