Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/settings/ksettingskmymoney.cpp
Show All 26 Lines | |||||
27 | #include "ksettingsregister.h" | 27 | #include "ksettingsregister.h" | ||
28 | #include "ksettingsgpg.h" | 28 | #include "ksettingsgpg.h" | ||
29 | #include "ksettingscolors.h" | 29 | #include "ksettingscolors.h" | ||
30 | #include "ksettingsfonts.h" | 30 | #include "ksettingsfonts.h" | ||
31 | #include "ksettingsicons.h" | 31 | #include "ksettingsicons.h" | ||
32 | #include "ksettingsschedules.h" | 32 | #include "ksettingsschedules.h" | ||
33 | #include "ksettingsonlinequotes.h" | 33 | #include "ksettingsonlinequotes.h" | ||
34 | #include "ksettingshome.h" | 34 | #include "ksettingshome.h" | ||
35 | #include "ksettingsforecast.h" | | |||
36 | #include "ksettingsreports.h" | 35 | #include "ksettingsreports.h" | ||
37 | #include "ksettingsplugins.h" | 36 | #include "ksettingsplugins.h" | ||
38 | 37 | | |||
39 | #include "icons.h" | 38 | #include "icons.h" | ||
40 | 39 | | |||
41 | using namespace Icons; | 40 | using namespace Icons; | ||
42 | 41 | | |||
43 | KSettingsKMyMoney::KSettingsKMyMoney(QWidget *parent, const QString &name, KCoreConfigSkeleton *config) | 42 | KSettingsKMyMoney::KSettingsKMyMoney(QWidget *parent, const QString &name, KCoreConfigSkeleton *config) | ||
44 | : KConfigDialog(parent, name, config) | 43 | : KConfigDialog(parent, name, config) | ||
45 | { | 44 | { | ||
46 | // create the pages ... | 45 | // create the pages ... | ||
47 | const auto generalPage = new KSettingsGeneral(); | 46 | const auto generalPage = new KSettingsGeneral(); | ||
48 | const auto registerPage = new KSettingsRegister(); | 47 | const auto registerPage = new KSettingsRegister(); | ||
49 | const auto homePage = new KSettingsHome(); | 48 | const auto homePage = new KSettingsHome(); | ||
50 | const auto schedulesPage = new KSettingsSchedules(); | 49 | const auto schedulesPage = new KSettingsSchedules(); | ||
51 | const auto encryptionPage = new KSettingsGpg(); | 50 | const auto encryptionPage = new KSettingsGpg(); | ||
52 | const auto colorsPage = new KSettingsColors(); | 51 | const auto colorsPage = new KSettingsColors(); | ||
53 | const auto fontsPage = new KSettingsFonts(); | 52 | const auto fontsPage = new KSettingsFonts(); | ||
54 | const auto iconsPage = new KSettingsIcons(); | 53 | const auto iconsPage = new KSettingsIcons(); | ||
55 | const auto onlineQuotesPage = new KSettingsOnlineQuotes(); | 54 | const auto onlineQuotesPage = new KSettingsOnlineQuotes(); | ||
56 | const auto forecastPage = new KSettingsForecast(); | | |||
57 | const auto reportsPage = new KSettingsReports(); | 55 | const auto reportsPage = new KSettingsReports(); | ||
58 | const auto pluginsPage = new KSettingsPlugins(); | 56 | const auto pluginsPage = new KSettingsPlugins(); | ||
59 | 57 | | |||
60 | addPage(generalPage, i18nc("General settings", "General"), Icons::get(Icon::SystemRun).name()); | 58 | addPage(generalPage, i18nc("General settings", "General"), Icons::get(Icon::SystemRun).name()); | ||
61 | addPage(homePage, i18n("Home"), Icons::get(Icon::ViewHome).name()); | 59 | addPage(homePage, i18n("Home"), Icons::get(Icon::ViewHome).name()); | ||
62 | addPage(registerPage, i18nc("Ledger view settings", "Ledger"), Icons::get(Icon::ViewFinancialList).name()); | 60 | addPage(registerPage, i18nc("Ledger view settings", "Ledger"), Icons::get(Icon::ViewFinancialList).name()); | ||
63 | addPage(schedulesPage, i18n("Scheduled transactions"), Icons::get(Icon::ViewSchedules).name()); | 61 | addPage(schedulesPage, i18n("Scheduled transactions"), Icons::get(Icon::ViewSchedules).name()); | ||
64 | addPage(onlineQuotesPage, i18n("Online Quotes"), Icons::get(Icon::PreferencesNetwork).name()); | 62 | addPage(onlineQuotesPage, i18n("Online Quotes"), Icons::get(Icon::PreferencesNetwork).name()); | ||
65 | addPage(reportsPage, i18nc("Report settings", "Reports"), Icons::get(Icon::ViewReports).name()); | 63 | addPage(reportsPage, i18nc("Report settings", "Reports"), Icons::get(Icon::ViewReports).name()); | ||
66 | addPage(forecastPage, i18nc("Forecast settings", "Forecast"), Icons::get(Icon::ViewForecast).name()); | | |||
67 | addPage(encryptionPage, i18n("Encryption"), Icons::get(Icon::Kgpg).name()); | 64 | addPage(encryptionPage, i18n("Encryption"), Icons::get(Icon::Kgpg).name()); | ||
68 | addPage(colorsPage, i18n("Colors"), Icons::get(Icon::PreferencesColor).name()); | 65 | addPage(colorsPage, i18n("Colors"), Icons::get(Icon::PreferencesColor).name()); | ||
69 | addPage(fontsPage, i18n("Fonts"), Icons::get(Icon::PreferencesFont).name()); | 66 | addPage(fontsPage, i18n("Fonts"), Icons::get(Icon::PreferencesFont).name()); | ||
70 | addPage(iconsPage, i18n("Icons"), Icons::get(Icon::PreferencesIcon).name()); | 67 | addPage(iconsPage, i18n("Icons"), Icons::get(Icon::PreferencesIcon).name()); | ||
71 | addPage(pluginsPage, i18n("Plugins"), Icons::get(Icon::NetworkDisconect).name(), QString(), false); | 68 | addPage(pluginsPage, i18n("Plugins"), Icons::get(Icon::NetworkDisconect).name(), QString(), false); | ||
72 | 69 | | |||
73 | setHelp("details.settings", "kmymoney"); | 70 | setHelp("details.settings", "kmymoney"); | ||
74 | 71 | | |||
Show All 18 Lines |