Changeset View
Changeset View
Standalone View
Standalone View
src/editor/kmcomposerwin.cpp
Show First 20 Lines • Show All 1335 Lines • ▼ Show 20 Line(s) | 1106 | { | |||
---|---|---|---|---|---|
1336 | mComposerBase->attachmentController()->createActions(); | 1336 | mComposerBase->attachmentController()->createActions(); | ||
1337 | 1337 | | |||
1338 | setStandardToolBarMenuEnabled(true); | 1338 | setStandardToolBarMenuEnabled(true); | ||
1339 | 1339 | | |||
1340 | KStandardAction::keyBindings(this, &KMComposerWin::slotEditKeys, actionCollection()); | 1340 | KStandardAction::keyBindings(this, &KMComposerWin::slotEditKeys, actionCollection()); | ||
1341 | KStandardAction::configureToolbars(this, &KMComposerWin::slotEditToolbars, actionCollection()); | 1341 | KStandardAction::configureToolbars(this, &KMComposerWin::slotEditToolbars, actionCollection()); | ||
1342 | KStandardAction::preferences(kmkernel, &KMKernel::slotShowConfigurationDialog, actionCollection()); | 1342 | KStandardAction::preferences(kmkernel, &KMKernel::slotShowConfigurationDialog, actionCollection()); | ||
1343 | 1343 | | |||
1344 | action = new QAction(i18n("&Spellchecker..."), this); | 1344 | action = new QAction(QIcon::fromTheme(QStringLiteral("tools-check-spelling")), i18n("&Spellchecker..."), this); | ||
1345 | action->setIconText(i18n("Spellchecker")); | 1345 | action->setIconText(i18n("Spellchecker")); | ||
1346 | actionCollection()->addAction(QStringLiteral("setup_spellchecker"), action); | 1346 | actionCollection()->addAction(QStringLiteral("setup_spellchecker"), action); | ||
1347 | connect(action, &QAction::triggered, this, &KMComposerWin::slotSpellcheckConfig); | 1347 | connect(action, &QAction::triggered, this, &KMComposerWin::slotSpellcheckConfig); | ||
1348 | 1348 | | |||
1349 | mEncryptAction = new KToggleAction(QIcon::fromTheme(QStringLiteral("document-encrypt")), i18n("&Encrypt Message"), this); | 1349 | mEncryptAction = new KToggleAction(QIcon::fromTheme(QStringLiteral("document-encrypt")), i18n("&Encrypt Message"), this); | ||
1350 | mEncryptAction->setIconText(i18n("Encrypt")); | 1350 | mEncryptAction->setIconText(i18n("Encrypt")); | ||
1351 | actionCollection()->addAction(QStringLiteral("encrypt_message"), mEncryptAction); | 1351 | actionCollection()->addAction(QStringLiteral("encrypt_message"), mEncryptAction); | ||
1352 | mSignAction = new KToggleAction(QIcon::fromTheme(QStringLiteral("document-sign")), i18n("&Sign Message"), this); | 1352 | mSignAction = new KToggleAction(QIcon::fromTheme(QStringLiteral("document-sign")), i18n("&Sign Message"), this); | ||
▲ Show 20 Lines • Show All 2428 Lines • Show Last 20 Lines |