Changeset View
Changeset View
Standalone View
Standalone View
src/MainWindow.cpp
Show First 20 Lines • Show All 757 Lines • ▼ Show 20 Line(s) | 750 | { | |||
---|---|---|---|---|---|
758 | 758 | | |||
759 | const QString generalPageName = i18nc("@title Preferences page name", "General"); | 759 | const QString generalPageName = i18nc("@title Preferences page name", "General"); | ||
760 | auto *generalPage = new KPageWidgetItem(new GeneralSettings(confDialog), generalPageName); | 760 | auto *generalPage = new KPageWidgetItem(new GeneralSettings(confDialog), generalPageName); | ||
761 | generalPage->setIcon(QIcon::fromTheme(QStringLiteral("utilities-terminal"))); | 761 | generalPage->setIcon(QIcon::fromTheme(QStringLiteral("utilities-terminal"))); | ||
762 | confDialog->addPage(generalPage, true); | 762 | confDialog->addPage(generalPage, true); | ||
763 | 763 | | |||
764 | const QString profilePageName = i18nc("@title Preferences page name", "Profiles"); | 764 | const QString profilePageName = i18nc("@title Preferences page name", "Profiles"); | ||
765 | auto profilePage = new KPageWidgetItem(new ProfileSettings(confDialog), profilePageName); | 765 | auto profilePage = new KPageWidgetItem(new ProfileSettings(confDialog), profilePageName); | ||
766 | profilePage->setIcon(QIcon::fromTheme(QStringLiteral("configure"))); | 766 | profilePage->setIcon(QIcon::fromTheme(QStringLiteral("preferences-system-profiles"))); | ||
767 | confDialog->addPage(profilePage, true); | 767 | confDialog->addPage(profilePage, true); | ||
768 | 768 | | |||
769 | const QString tabBarPageName = i18nc("@title Preferences page name", "Tab Bar"); | 769 | const QString tabBarPageName = i18nc("@title Preferences page name", "Tab Bar"); | ||
770 | auto tabBarPage = new KPageWidgetItem(new TabBarSettings(confDialog), tabBarPageName); | 770 | auto tabBarPage = new KPageWidgetItem(new TabBarSettings(confDialog), tabBarPageName); | ||
771 | tabBarPage->setIcon(QIcon::fromTheme(QStringLiteral("system-run"))); | 771 | tabBarPage->setIcon(QIcon::fromTheme(QStringLiteral("system-run"))); | ||
772 | confDialog->addPage(tabBarPage, true); | 772 | confDialog->addPage(tabBarPage, true); | ||
773 | 773 | | |||
774 | const QString temporaryFilesPageName = i18nc("@title Preferences page name", "Temporary Files"); | 774 | const QString temporaryFilesPageName = i18nc("@title Preferences page name", "Temporary Files"); | ||
775 | auto temporaryFilesPage = new KPageWidgetItem(new TemporaryFilesSettings(confDialog), temporaryFilesPageName); | 775 | auto temporaryFilesPage = new KPageWidgetItem(new TemporaryFilesSettings(confDialog), temporaryFilesPageName); | ||
776 | temporaryFilesPage->setIcon(QIcon::fromTheme(QStringLiteral("inode-directory"))); | 776 | temporaryFilesPage->setIcon(QIcon::fromTheme(QStringLiteral("folder-temp"))); | ||
GB_2: While at it, maybe also make this `folder-temp`. | |||||
777 | confDialog->addPage(temporaryFilesPage, true); | 777 | confDialog->addPage(temporaryFilesPage, true); | ||
778 | 778 | | |||
779 | if (showProfilePage) { | 779 | if (showProfilePage) { | ||
780 | confDialog->setCurrentPage(profilePage); | 780 | confDialog->setCurrentPage(profilePage); | ||
781 | } | 781 | } | ||
782 | 782 | | |||
783 | confDialog->show(); | 783 | confDialog->show(); | ||
784 | } | 784 | } | ||
▲ Show 20 Lines • Show All 142 Lines • Show Last 20 Lines |
While at it, maybe also make this folder-temp.