Changeset View
Changeset View
Standalone View
Standalone View
src/MainWindow.cpp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | |||||
52 | #include "Session.h" | 52 | #include "Session.h" | ||
53 | #include "ViewContainer.h" | 53 | #include "ViewContainer.h" | ||
54 | #include "ViewManager.h" | 54 | #include "ViewManager.h" | ||
55 | #include "SessionManager.h" | 55 | #include "SessionManager.h" | ||
56 | #include "ProfileManager.h" | 56 | #include "ProfileManager.h" | ||
57 | #include "KonsoleSettings.h" | 57 | #include "KonsoleSettings.h" | ||
58 | #include "WindowSystemInfo.h" | 58 | #include "WindowSystemInfo.h" | ||
59 | #include "TerminalDisplay.h" | 59 | #include "TerminalDisplay.h" | ||
60 | #include "settings/FileLocationSettings.h" | | |||
61 | #include "settings/GeneralSettings.h" | 60 | #include "settings/GeneralSettings.h" | ||
62 | #include "settings/ProfileSettings.h" | 61 | #include "settings/ProfileSettings.h" | ||
63 | #include "settings/TabBarSettings.h" | 62 | #include "settings/TabBarSettings.h" | ||
64 | 63 | | |||
65 | using namespace Konsole; | 64 | using namespace Konsole; | ||
66 | 65 | | |||
67 | MainWindow::MainWindow() : | 66 | MainWindow::MainWindow() : | ||
68 | KXmlGuiWindow(), | 67 | KXmlGuiWindow(), | ||
▲ Show 20 Lines • Show All 672 Lines • ▼ Show 20 Line(s) | 739 | i18nc("@title Preferences page name", | |||
741 | "Profiles"), | 740 | "Profiles"), | ||
742 | QStringLiteral("configure")); | 741 | QStringLiteral("configure")); | ||
743 | 742 | | |||
744 | auto tabBarSettings = new TabBarSettings(settingsDialog); | 743 | auto tabBarSettings = new TabBarSettings(settingsDialog); | ||
745 | settingsDialog->addPage(tabBarSettings, | 744 | settingsDialog->addPage(tabBarSettings, | ||
746 | i18nc("@title Preferences page name", "TabBar"), | 745 | i18nc("@title Preferences page name", "TabBar"), | ||
747 | QStringLiteral("system-run")); | 746 | QStringLiteral("system-run")); | ||
748 | 747 | | |||
749 | auto fileLocationSettings = new FileLocationSettings(settingsDialog); | | |||
750 | settingsDialog->addPage(fileLocationSettings, | | |||
751 | i18nc("@title Preferences page name", "File Location"), | | |||
752 | QStringLiteral("configure")); | | |||
753 | | ||||
754 | if (showProfilePage) { | 748 | if (showProfilePage) { | ||
755 | settingsDialog->setCurrentPage(profilePage); | 749 | settingsDialog->setCurrentPage(profilePage); | ||
756 | } | 750 | } | ||
757 | 751 | | |||
758 | settingsDialog->show(); | 752 | settingsDialog->show(); | ||
759 | } | 753 | } | ||
760 | 754 | | |||
761 | void MainWindow::applyKonsoleSettings() | 755 | void MainWindow::applyKonsoleSettings() | ||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |