Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/widgets/kmymoneywizard.cpp
Context not available. | |||||
43 | 43 | | |||
---|---|---|---|---|---|
44 | #include "kmymoneytitlelabel.h" | 44 | #include "kmymoneytitlelabel.h" | ||
45 | #include "kguiutils.h" | 45 | #include "kguiutils.h" | ||
46 | #include <icons/icons.h> | ||||
47 | | ||||
48 | using namespace Icons; | ||||
46 | 49 | | |||
47 | KMyMoneyWizardPagePrivate::KMyMoneyWizardPagePrivate(QObject* parent) : | 50 | KMyMoneyWizardPagePrivate::KMyMoneyWizardPagePrivate(QObject* parent) : | ||
48 | QObject(parent) | 51 | QObject(parent) | ||
Context not available. | |||||
130 | if (style()->styleHint(QStyle::SH_DialogButtonBox_ButtonsHaveIcons, 0, this)) { | 133 | if (style()->styleHint(QStyle::SH_DialogButtonBox_ButtonsHaveIcons, 0, this)) { | ||
131 | m_backButton->setIcon(KStandardGuiItem::back(KStandardGuiItem::UseRTL).icon()); | 134 | m_backButton->setIcon(KStandardGuiItem::back(KStandardGuiItem::UseRTL).icon()); | ||
132 | m_nextButton->setIcon(KStandardGuiItem::forward(KStandardGuiItem::UseRTL).icon()); | 135 | m_nextButton->setIcon(KStandardGuiItem::forward(KStandardGuiItem::UseRTL).icon()); | ||
133 | m_finishButton->setIcon(QIcon::fromTheme("dialog-ok-apply")); | 136 | m_finishButton->setIcon(QIcon::fromTheme(g_Icons[Icon::DialogOKApply])); | ||
134 | m_cancelButton->setIcon(QIcon::fromTheme("dialog-cancel")); | 137 | m_cancelButton->setIcon(QIcon::fromTheme(g_Icons[Icon::DialogCancel])); | ||
135 | m_helpButton->setIcon(QIcon::fromTheme("help-contents")); | 138 | m_helpButton->setIcon(QIcon::fromTheme(g_Icons[Icon::HelpContents])); | ||
136 | } | 139 | } | ||
137 | 140 | | |||
138 | // create button layout | 141 | // create button layout | ||
Context not available. |