Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/views/kinstitutionsview.cpp
Context not available. | |||||
37 | #include "models.h" | 37 | #include "models.h" | ||
---|---|---|---|---|---|
38 | #include "kmymoneyglobalsettings.h" | 38 | #include "kmymoneyglobalsettings.h" | ||
39 | #include "kmymoney.h" | 39 | #include "kmymoney.h" | ||
40 | #include <icons.h> | ||||
41 | | ||||
42 | using namespace Icons; | ||||
40 | 43 | | |||
41 | KInstitutionsView::KInstitutionsView(QWidget *parent) : | 44 | KInstitutionsView::KInstitutionsView(QWidget *parent) : | ||
42 | QWidget(parent), | 45 | QWidget(parent), | ||
Context not available. | |||||
45 | setupUi(this); | 48 | setupUi(this); | ||
46 | 49 | | |||
47 | // setup icons for collapse and expand button | 50 | // setup icons for collapse and expand button | ||
48 | KGuiItem collapseGuiItem("", | 51 | KGuiItem collapseGuiItem(QString(), | ||
49 | QIcon::fromTheme(QStringLiteral("zoom-out"), | 52 | QIcon::fromTheme(g_Icons[Icon::ListCollapse]), | ||
50 | QIcon::fromTheme(QStringLiteral("list-remove"))), | | |||
51 | QString(), | 53 | QString(), | ||
52 | QString()); | 54 | QString()); | ||
53 | KGuiItem expandGuiItem("", | 55 | KGuiItem expandGuiItem(QString(), | ||
54 | QIcon::fromTheme(QStringLiteral("zoom-in"), | 56 | QIcon::fromTheme(g_Icons[Icon::ListExpand]), | ||
55 | QIcon::fromTheme(QStringLiteral("list-add"))), | | |||
56 | QString(), | 57 | QString(), | ||
57 | QString()); | 58 | QString()); | ||
58 | KGuiItem::assign(m_collapseButton, collapseGuiItem); | 59 | KGuiItem::assign(m_collapseButton, collapseGuiItem); | ||
Context not available. |