Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/views/kcategoriesview.cpp
Context not available. | |||||
45 | #include "kmymoneyglobalsettings.h" | 45 | #include "kmymoneyglobalsettings.h" | ||
---|---|---|---|---|---|
46 | #include "kmymoney.h" | 46 | #include "kmymoney.h" | ||
47 | #include "models.h" | 47 | #include "models.h" | ||
48 | #include <icons.h> | ||||
49 | | ||||
50 | using namespace Icons; | ||||
48 | 51 | | |||
49 | KCategoriesView::KCategoriesView(QWidget *parent) : | 52 | KCategoriesView::KCategoriesView(QWidget *parent) : | ||
50 | QWidget(parent), | 53 | QWidget(parent), | ||
Context not available. | |||||
54 | setupUi(this); | 57 | setupUi(this); | ||
55 | 58 | | |||
56 | // setup icons for collapse and expand button | 59 | // setup icons for collapse and expand button | ||
57 | KGuiItem collapseGuiItem("", | 60 | KGuiItem collapseGuiItem(QString(), | ||
58 | QIcon::fromTheme(QStringLiteral("zoom-out"), | 61 | QIcon::fromTheme(g_Icons[Icon::ListCollapse]), | ||
59 | QIcon::fromTheme(QStringLiteral("list-remove"))), | | |||
60 | QString(), | 62 | QString(), | ||
61 | QString()); | 63 | QString()); | ||
62 | KGuiItem expandGuiItem("", | 64 | KGuiItem expandGuiItem(QString(), | ||
63 | QIcon::fromTheme(QStringLiteral("zoom-in"), | 65 | QIcon::fromTheme(g_Icons[Icon::ListExpand]), | ||
64 | QIcon::fromTheme(QStringLiteral("list-add"))), | | |||
65 | QString(), | 66 | QString(), | ||
66 | QString()); | 67 | QString()); | ||
67 | KGuiItem::assign(m_collapseButton, collapseGuiItem); | 68 | KGuiItem::assign(m_collapseButton, collapseGuiItem); | ||
Context not available. |