Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/views/kforecastview.cpp
Context not available. | |||||
44 | #include "pivotgrid.h" | 44 | #include "pivotgrid.h" | ||
---|---|---|---|---|---|
45 | #include "fixedcolumntreeview.h" | 45 | #include "fixedcolumntreeview.h" | ||
46 | #include "kreportchartview.h" | 46 | #include "kreportchartview.h" | ||
47 | #include <icons.h> | ||||
47 | 48 | | |||
48 | using namespace reports; | 49 | using namespace reports; | ||
50 | using namespace Icons; | ||||
49 | 51 | | |||
50 | KForecastView::KForecastView(QWidget *parent) : | 52 | KForecastView::KForecastView(QWidget *parent) : | ||
51 | QWidget(parent), | 53 | QWidget(parent), | ||
Context not available. | |||||
68 | KConfigGroup grp = config->group("Last Use Settings"); | 70 | KConfigGroup grp = config->group("Last Use Settings"); | ||
69 | m_tab->setCurrentIndex(grp.readEntry("KForecastView_LastType", 0)); | 71 | m_tab->setCurrentIndex(grp.readEntry("KForecastView_LastType", 0)); | ||
70 | 72 | | |||
71 | m_forecastButton->setIcon(QIcon::fromTheme(QStringLiteral("view-financial-forecast"), | 73 | m_forecastButton->setIcon(QIcon::fromTheme(g_Icons[Icon::ViewForecast])); | ||
72 | QIcon::fromTheme(QStringLiteral("forecast")))); | | |||
73 | 74 | | |||
74 | connect(m_tab, SIGNAL(currentChanged(int)), this, SLOT(slotTabChanged(int))); | 75 | connect(m_tab, SIGNAL(currentChanged(int)), this, SLOT(slotTabChanged(int))); | ||
75 | 76 | | |||
Context not available. |