Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 91adc478 authored by Bernhard Beschow's avatar Bernhard Beschow

add some icons

parent a39516e9
......@@ -105,6 +105,7 @@ KateBuildView::KateBuildView(KTextEditor::Plugin *plugin, KTextEditor::MainWindo
QAction *a = actionCollection()->addAction(QStringLiteral("select_target"));
a->setText(i18n("Select Target..."));
a->setIcon(QIcon::fromTheme(QStringLiteral("select")));
connect(a, SIGNAL(triggered(bool)), this, SLOT(slotSelectTarget()));
a = actionCollection()->addAction(QStringLiteral("build_default_target"));
......@@ -117,15 +118,18 @@ KateBuildView::KateBuildView(KTextEditor::Plugin *plugin, KTextEditor::MainWindo
a = actionCollection()->addAction(QStringLiteral("stop"));
a->setText(i18n("Stop"));
a->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete")));
connect(a, SIGNAL(triggered(bool)), this, SLOT(slotStop()));
a = actionCollection()->addAction(QStringLiteral("goto_next"));
a->setText(i18n("Next Error"));
a->setIcon(QIcon::fromTheme(QStringLiteral("go-next")));
actionCollection()->setDefaultShortcut(a, Qt::SHIFT+Qt::ALT+Qt::Key_Right);
connect(a, SIGNAL(triggered(bool)), this, SLOT(slotNext()));
a = actionCollection()->addAction(QStringLiteral("goto_prev"));
a->setText(i18n("Previous Error"));
a->setIcon(QIcon::fromTheme(QStringLiteral("go-previous")));
actionCollection()->setDefaultShortcut(a, Qt::SHIFT+Qt::ALT+Qt::Key_Left);
connect(a, SIGNAL(triggered(bool)), this, SLOT(slotPrev()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment