Changeset View
Changeset View
Standalone View
Standalone View
mainWindow/kpMainWindow_Settings.cpp
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 62 | d->actionFullScreen = KStandardAction::fullScreen (this, SLOT (slotFullScreen()), | |||
---|---|---|---|---|---|
63 | this/*window*/, ac); | 63 | this/*window*/, ac); | ||
64 | 64 | | |||
65 | 65 | | |||
66 | d->actionShowPath = ac->add<KToggleAction> ("settings_show_path"); | 66 | d->actionShowPath = ac->add<KToggleAction> ("settings_show_path"); | ||
67 | d->actionShowPath->setText (i18n ("Show &Path")); | 67 | d->actionShowPath->setText (i18n ("Show &Path")); | ||
68 | connect (d->actionShowPath, &QAction::triggered, this, &kpMainWindow::slotShowPathToggled); | 68 | connect (d->actionShowPath, &QAction::triggered, this, &kpMainWindow::slotShowPathToggled); | ||
69 | slotEnableSettingsShowPath (); | 69 | slotEnableSettingsShowPath (); | ||
70 | 70 | | |||
71 | KToggleAction *action = ac->add<KToggleAction>("settings_draw_antialiased"); | 71 | auto *action = ac->add<KToggleAction>("settings_draw_antialiased"); | ||
72 | action->setText(i18n("Draw Anti-Aliased")); | 72 | action->setText(i18n("Draw Anti-Aliased")); | ||
73 | action->setChecked(kpToolEnvironment::drawAntiAliased); | 73 | action->setChecked(kpToolEnvironment::drawAntiAliased); | ||
74 | connect (action, &KToggleAction::triggered, this, &kpMainWindow::slotDrawAntiAliasedToggled); | 74 | connect (action, &KToggleAction::triggered, this, &kpMainWindow::slotDrawAntiAliasedToggled); | ||
75 | 75 | | |||
76 | d->actionKeyBindings = KStandardAction::keyBindings (this, SLOT (slotKeyBindings()), ac); | 76 | d->actionKeyBindings = KStandardAction::keyBindings (this, SLOT (slotKeyBindings()), ac); | ||
77 | 77 | | |||
78 | KStandardAction::configureToolbars(this, SLOT(configureToolbars()), actionCollection()); | 78 | KStandardAction::configureToolbars(this, SLOT(configureToolbars()), actionCollection()); | ||
79 | 79 | | |||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |