本文整理汇总了C++中KAction::setIcon方法的典型用法代码示例。如果您正苦于以下问题:C++ KAction::setIcon方法的具体用法?C++ KAction::setIcon怎么用?C++ KAction::setIcon使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类KAction
的用法示例。
在下文中一共展示了KAction::setIcon方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: setupActions
void MainWindow::setupActions()
{
KStandardAction::quit(KApplication::instance(), SLOT(quit()), actionCollection());
// commit
KAction *commitAction = actionCollection()->addAction("commit", ui->stageWidget, SLOT(commit()));
commitAction->setText(i18n("Commit"));
commitAction->setIcon(KIcon("git-commit"));
commitAction->setShortcut(Qt::CTRL + Qt::Key_Return);
KAction *stageFileAction = actionCollection()->addAction("file_stage", ui->stageWidget, SLOT(stageFile()));
stageFileAction->setText(i18n("Stage File to Commit"));
stageFileAction->setIcon(KIcon("git-file-stage"));
stageFileAction->setShortcut(Qt::CTRL + Qt::Key_S);
KAction *unstageFileAction = actionCollection()->addAction("file_unstage", ui->stageWidget, SLOT(unstageFile()));
unstageFileAction->setText(i18n("Unstage File from Commit"));
unstageFileAction->setIcon(KIcon("git-file-unstage"));
unstageFileAction->setShortcut(Qt::CTRL + Qt::Key_U);
// repository
KAction *openRepoAction = actionCollection()->addAction("repository_open", this, SLOT(open()));
openRepoAction->setText(i18n("Open repository"));
openRepoAction->setIcon(KIcon("git-repo-open"));
openRepoAction->setShortcut(Qt::CTRL + Qt::Key_O);
KAction *reloadRepoAction = actionCollection()->addAction("repository_reload", this, SLOT(reload()));
reloadRepoAction->setText(i18n("Reload repository"));
reloadRepoAction->setIcon(KIcon("git-repo-reload"));
reloadRepoAction->setShortcut(Qt::Key_F5);
}
示例2: initFrameManager
void ActionManagerImpl::initFrameManager(FrameManager* frameManager)
{
if (d->frameManager)
return;
d->frameManager = frameManager;
bool isRTL = QApplication::isRightToLeft();
KToolBarPopupAction* forward = new KToolBarPopupAction(KIcon(isRTL ? "go-previous" : "go-next"), i18nc("Go forward in browser history", "Forward"), this);
d->actionCollection->addAction("browser_forward", forward);
forward->setShortcuts(KShortcut(isRTL ? "Alt+Left" : "Alt+Right"));
connect(forward, SIGNAL(triggered()), frameManager, SLOT(slotBrowserForward()));
connect(forward->menu(), SIGNAL(aboutToShow()), frameManager, SLOT(slotBrowserForwardAboutToShow()));
KToolBarPopupAction* back = new KToolBarPopupAction(KIcon(isRTL ? "go-next" : "go-previous"), i18nc("Go back in browser history", "Back"), this);
d->actionCollection->addAction("browser_back", back);
back->setShortcuts(KShortcut(isRTL ? "Alt+Right" : "Alt+Left"));
connect(back, SIGNAL(triggered()), frameManager, SLOT(slotBrowserBack()));
connect(back->menu(), SIGNAL(aboutToShow()), frameManager, SLOT(slotBrowserBackAboutToShow()));
KAction *action = d->actionCollection->addAction("browser_reload");
action->setIcon(KIcon("view-refresh"));
action->setText(i18nc("Reload current page", "Reload"));
connect(action, SIGNAL(triggered(bool)), frameManager, SLOT(slotBrowserReload()));
action = d->actionCollection->addAction("browser_stop");
action->setIcon(KIcon("process-stop"));
action->setText(i18n("Stop"));
connect(action, SIGNAL(triggered(bool)), frameManager, SLOT(slotBrowserStop()));
}
示例3: setupActions
void SimonView::setupActions()
{
connectAction = new KAction(this);
connectAction->setText(i18n("Connect"));
connectAction->setCheckable(true);
connectAction->setIcon(KIcon("network-disconnect"));
connect(connectAction, SIGNAL(triggered(bool)),
this, SLOT(toggleConnection()));
actionCollection()->addAction("connect", connectAction);
this->trayManager->addAction("connect", connectAction);
activateAction = new KAction(this);
activateAction->setText(i18n("Activate"));
activateAction->setIcon(KIcon("media-playback-start"));
activateAction->setCheckable(true);
connect(activateAction, SIGNAL(triggered(bool)),
this, SLOT(toggleActivation()));
this->trayManager->addAction("activate", activateAction);
activateAction->setEnabled(false);
actionCollection()->addAction("activate", activateAction);
//must be set after addAction() because of the unique name set in addAction(name,...)
// deactivated because of KDE bug #307225
//activateAction->setGlobalShortcut(KShortcut(Qt::SHIFT + Qt::Key_Pause));
disconnectAction = new KAction(this);
disconnectAction->setText(i18n("Disconnect"));
disconnectAction->setIcon(KIcon("network-disconnect"));
connect(disconnectAction, SIGNAL(triggered(bool)),
control, SLOT(disconnectFromServer()));
KToolBarPopupAction* connectActivate = new KToolBarPopupAction(KIcon("network-disconnect"), i18n("Connect"), this);
connectActivate->setCheckable(true);
connectActivate->setShortcut(Qt::CTRL + Qt::Key_C);
actionCollection()->addAction("connectActivate", connectActivate);
connect(connectActivate, SIGNAL(triggered(bool)),
this, SLOT(toggleConnection()));
KAction* recompile = new KAction(this);
recompile->setEnabled(control->getStatus() != SimonControl::Disconnected);
recompile->setText(i18n("Synchronize"));
recompile->setIcon(KIcon("view-refresh"));
recompile->setShortcut(Qt::CTRL + Qt::Key_F5);
actionCollection()->addAction("compileModel", recompile);
connect(recompile, SIGNAL(triggered(bool)),
control, SLOT(compileModel()));
KAction* sendSampleShareAction = new KAction(this);
sendSampleShareAction->setText(i18n("Contribute samples"));
sendSampleShareAction->setIcon(KIcon("repository"));
actionCollection()->addAction("sampleShare", sendSampleShareAction);
connect(sendSampleShareAction, SIGNAL(triggered(bool)),this, SLOT(showSampleShare()));
actionCollection()->addAction(KStandardAction::Preferences, "configuration",
this, SLOT(showSystemDialog()));
KStandardAction::quit(this, SLOT(closeSimon()),
actionCollection());
}
示例4: setupActions
void soundKonverter::setupActions()
{
KStandardAction::quit( this, SLOT(close()), actionCollection() );
KStandardAction::preferences( this, SLOT(showConfigDialog()), actionCollection() );
KAction *logviewer = actionCollection()->addAction("logviewer");
logviewer->setText(i18n("View logs..."));
logviewer->setIcon(KIcon("view-list-text"));
connect( logviewer, SIGNAL(triggered()), this, SLOT(showLogViewer()) );
KAction *replaygainscanner = actionCollection()->addAction("replaygainscanner");
replaygainscanner->setText(i18n("Replay Gain tool..."));
replaygainscanner->setIcon(KIcon("soundkonverter-replaygain"));
connect( replaygainscanner, SIGNAL(triggered()), this, SLOT(showReplayGainScanner()) );
KAction *aboutplugins = actionCollection()->addAction("aboutplugins");
aboutplugins->setText(i18n("About plugins..."));
aboutplugins->setIcon(KIcon("preferences-plugin"));
connect( aboutplugins, SIGNAL(triggered()), this, SLOT(showAboutPlugins()) );
KAction *add_files = actionCollection()->addAction("add_files");
add_files->setText(i18n("Add files..."));
add_files->setIcon(KIcon("audio-x-generic"));
connect( add_files, SIGNAL(triggered()), m_view, SLOT(showFileDialog()) );
KAction *add_folder = actionCollection()->addAction("add_folder");
add_folder->setText(i18n("Add folder..."));
add_folder->setIcon(KIcon("folder"));
connect( add_folder, SIGNAL(triggered()), m_view, SLOT(showDirDialog()) );
KAction *add_audiocd = actionCollection()->addAction("add_audiocd");
add_audiocd->setText(i18n("Add CD tracks..."));
add_audiocd->setIcon(KIcon("media-optical-audio"));
connect( add_audiocd, SIGNAL(triggered()), m_view, SLOT(showCdDialog()) );
KAction *add_url = actionCollection()->addAction("add_url");
add_url->setText(i18n("Add url..."));
add_url->setIcon(KIcon("network-workgroup"));
connect( add_url, SIGNAL(triggered()), m_view, SLOT(showUrlDialog()) );
KAction *add_playlist = actionCollection()->addAction("add_playlist");
add_playlist->setText(i18n("Add playlist..."));
add_playlist->setIcon(KIcon("view-media-playlist"));
connect( add_playlist, SIGNAL(triggered()), m_view, SLOT(showPlaylistDialog()) );
KAction *load = actionCollection()->addAction("load");
load->setText(i18n("Load file list"));
load->setIcon(KIcon("document-open"));
connect( load, SIGNAL(triggered()), m_view, SLOT(loadFileList()) );
KAction *save = actionCollection()->addAction("save");
save->setText(i18n("Save file list"));
save->setIcon(KIcon("document-save"));
connect( save, SIGNAL(triggered()), m_view, SLOT(saveFileList()) );
actionCollection()->addAction("start", m_view->start());
actionCollection()->addAction("stop_menu", m_view->stopMenu());
}
示例5: initTabWidget
void ActionManagerImpl::initTabWidget(TabWidget* tabWidget)
{
if (d->tabWidget)
return;
else
d->tabWidget = tabWidget;
KActionCollection *coll = actionCollection();
KAction *action = coll->addAction("select_next_tab");
action->setText(i18n("Select Next Tab"));
connect(action, SIGNAL(triggered(bool)), d->tabWidget, SLOT(slotNextTab()));
action->setShortcuts(KShortcut( "Ctrl+Period" ));
action = coll->addAction("select_previous_tab");
action->setText(i18n("Select Previous Tab"));
connect(action, SIGNAL(triggered(bool)), d->tabWidget, SLOT(slotPreviousTab()));
action->setShortcuts(KShortcut( "Ctrl+Comma" ));
action = coll->addAction("tab_detach");
action->setIcon(KIcon("tab-detach"));
action->setText(i18n("Detach Tab"));
connect(action, SIGNAL(triggered(bool)), d->tabWidget, SLOT(slotDetachTab()));
action->setShortcut(QKeySequence(Qt::CTRL+Qt::SHIFT+Qt::Key_B));
action = coll->addAction("tab_copylinkaddress");
action->setText(i18n("Copy Link Address"));
connect(action, SIGNAL(triggered(bool)), d->tabWidget, SLOT(slotCopyLinkAddress()));
action = coll->addAction("tab_remove");
action->setIcon(KIcon("tab-close"));
action->setText(i18n("Close Tab"));
connect(action, SIGNAL(triggered(bool)), d->tabWidget, SLOT(slotCloseTab()));
action->setShortcuts(KStandardShortcut::close());
action = coll->addAction("inc_font_sizes");
action->setIcon(KIcon("format-font-size-more"));
action->setText(i18n("Enlarge Font"));
connect(action, SIGNAL(triggered(bool)), d->tabWidget, SLOT(slotFrameZoomIn()));
action->setShortcut( QKeySequence::ZoomIn );
action = coll->addAction("dec_font_sizes");
action->setIcon(KIcon("format-font-size-less"));
action->setText(i18n("Shrink Font"));
connect(action, SIGNAL(triggered(bool)), d->tabWidget, SLOT(slotFrameZoomOut()));
action->setShortcut( QKeySequence::ZoomOut );
QString actionname;
for (int i=1;i<10;i++) {
actionname.sprintf("activate_tab_%02d", i);
action = new KAction( i18n("Activate Tab %1", i),this );
action->setShortcut( QKeySequence( QString::fromLatin1( "Alt+%1" ).arg( i ) ) );
coll->addAction( actionname, action );
connect( action, SIGNAL(triggered(bool)), d->tabWidget, SLOT(slotActivateTab()) );
}
}
示例6: setupToolbar
void FileBrowserWidget::setupToolbar()
{
KActionCollection *coll = m_dirOperator->actionCollection();
m_toolbar->addAction(coll->action("back"));
m_toolbar->addAction(coll->action("forward"));
KAction *action = new KAction(this);
action->setIcon(SmallIcon("document-open"));
action->setText(i18n("Open selected"));
connect(action, SIGNAL(triggered()), this, SLOT(emitFileSelectedSignal()));
m_toolbar->addAction(action);
// section for settings menu
KActionMenu *optionsMenu = new KActionMenu(KIcon("configure"), i18n("Options"), this);
optionsMenu->setDelayed(false);
optionsMenu->addAction(m_dirOperator->actionCollection()->action("short view"));
optionsMenu->addAction(m_dirOperator->actionCollection()->action("detailed view"));
optionsMenu->addAction(m_dirOperator->actionCollection()->action("tree view"));
optionsMenu->addAction(m_dirOperator->actionCollection()->action("detailed tree view"));
optionsMenu->addSeparator();
optionsMenu->addAction(m_dirOperator->actionCollection()->action("show hidden"));
m_toolbar->addSeparator();
m_toolbar->addAction(optionsMenu);
}
示例7: cut
KAction *create(StandardAction id, const QObject *recvr, const char *slot, QObject *parent)
{
KAction *pAction = 0;
const Info* pInfo = infoPtr(id);
if (pInfo) {
pAction = new KAction(parent);
pAction->setObjectName(pInfo->psName);
KShortcut cut(pInfo->shortcut);
if (!cut.isEmpty())
pAction->setShortcut(cut);
pAction->setText(i18n(pInfo->psText));
pAction->setToolTip(i18n(pInfo->psToolTip));
pAction->setWhatsThis(i18n(pInfo->psWhatsThis));
if (pInfo->psIconName)
pAction->setIcon(KIcon(QLatin1String(pInfo->psIconName)));
}
if (recvr && slot)
QObject::connect(pAction, SIGNAL(triggered(bool)), recvr, slot);
if (pAction) {
KActionCollection *collection = qobject_cast<KActionCollection *>(parent);
if (collection)
collection->addAction(pAction->objectName(), pAction);
}
return pAction;
}
示例8: setupActions
void MainWindow::setupActions()
{
actQuit = KStandardAction::quit(this, SLOT(quit()), actionCollection());
KAction *a = NULL;
a = actionCollection()->addAction("minimizeRestore", this,
SLOT(minimizeRestore()));
a->setText(i18n("Minimize"));
a->setIcon(KIcon(""));
a->setShortcut(0);
/** Settings : ************************************************************/
// m_actShowToolbar = KStandardAction::showToolbar( this, SLOT(toggleToolBar()), actionCollection());
m_actShowStatusbar = KStandardAction::showStatusbar(this, SLOT(toggleStatusBar()), actionCollection());
// m_actShowToolbar->setCheckedState( KGuiItem(i18n("Hide &Toolbar")) );
(void) KStandardAction::keyBindings(this, SLOT(showShortcutsSettingsDialog()), actionCollection());
(void) KStandardAction::configureToolbars(this, SLOT(configureToolbars()), actionCollection());
//KAction *actCfgNotifs = KStandardAction::configureNotifications(this, SLOT(configureNotifications()), actionCollection() );
//actCfgNotifs->setEnabled(false); // Not yet implemented !
actAppConfig = KStandardAction::preferences(this, SLOT(showSettingsDialog()), actionCollection());
}
示例9: addEmbeddingService
QAction* PopupMenuGUIClient::addEmbeddingService( int idx, const QString &name, const KService::Ptr &service )
{
KAction *act = m_actionCollection.addAction( QByteArray::number( idx ) );
act->setText( name );
act->setIcon( KIcon(service->icon()) );
QObject::connect(act, SIGNAL(triggered(bool)), this, SLOT(slotOpenEmbedded()));
return act;
}
示例10: setupKAction
KAction* Player::setupKAction(const char *icon, QString text, QString help_text, const char *name) {
KAction* action = new KAction(this);
action->setIcon(KIcon(icon));
action->setText(text);
action->setHelpText(help_text);
actionCollection()->addAction(name, action);
return action;
}
示例11: setupActions
void KateViewManager::setupActions ()
{
KAction *a;
/**
* view splitting
*/
a = m_mainWindow->actionCollection()->addAction("view_split_vert");
a->setIcon( KIcon("view-split-left-right") );
a->setText( i18n("Split Ve&rtical") );
a->setShortcut( Qt::CTRL + Qt::SHIFT + Qt::Key_L );
connect(a, SIGNAL(triggered()), this, SLOT(slotSplitViewSpaceVert()));
a->setWhatsThis(i18n("Split the currently active view vertically into two views."));
a = m_mainWindow->actionCollection()->addAction("view_split_horiz");
a->setIcon( KIcon("view-split-top-bottom") );
a->setText( i18n("Split &Horizontal") );
a->setShortcut( Qt::CTRL + Qt::SHIFT + Qt::Key_T );
connect(a, SIGNAL(triggered()), this, SLOT(slotSplitViewSpaceHoriz()));
a->setWhatsThis(i18n("Split the currently active view horizontally into two views."));
m_closeView = m_mainWindow->actionCollection()->addAction("view_close_current_space");
m_closeView->setIcon( KIcon("view-close") );
m_closeView->setText( i18n("Cl&ose Current View") );
m_closeView->setShortcut( Qt::CTRL + Qt::SHIFT + Qt::Key_R );
connect(m_closeView, SIGNAL(triggered()), this, SLOT(slotCloseCurrentViewSpace()));
m_closeView->setWhatsThis(i18n("Close the currently active splitted view"));
goNext = m_mainWindow->actionCollection()->addAction( "go_next_split_view" );
goNext->setText( i18n("Next Split View") );
goNext->setShortcut( Qt::Key_F8 );
connect(goNext, SIGNAL(triggered()), this, SLOT(activateNextView()));
goNext->setWhatsThis(i18n("Make the next split view the active one."));
goPrev = m_mainWindow->actionCollection()->addAction( "go_prev_split_view" );
goPrev->setText( i18n("Previous Split View") );
goPrev->setShortcut( Qt::SHIFT + Qt::Key_F8 );
connect(goPrev, SIGNAL(triggered()), this, SLOT(activatePrevView()));
goPrev->setWhatsThis(i18n("Make the previous split view the active one."));
}
示例12: KXmlGuiWindow
MainWindow::MainWindow(QWidget *parent)
: KXmlGuiWindow(parent)
{
setWindowTitle(i18n("Silence"));
controller = Controller::create();
// ContentView
contentview = new ContentView;
setCentralWidget(contentview);
controller->setContentView(contentview);
nodepropertywidget = new NodePropertyWidget(i18n("Properties"), this);
nodepropertywidget->hide();
controller->setNodePropertyWidget(nodepropertywidget);
// the treeview on the left side
treeview = new TreeView(i18n("Nodes"), actionCollection(), this);
controller->setTreeView(treeview);
// search sidebar
searchnodesidebar = new SearchNodeSidebar(i18n("Search Nodes"), this);
controller->setSearchNodeSidebar(searchnodesidebar);
// navigation sidebar
navigationsidebar = new NavigationSidebar(i18n("Navigation"), this);
controller->setNavigationSidebar(navigationsidebar);
// information sidebar to show the meta-infos
infosidebar = new InfoSidebar(i18n("Info"), this);
controller->setInfoSidebar(infosidebar);
// docking the widgets
addDockWidget(Qt::RightDockWidgetArea, navigationsidebar);
addDockWidget(Qt::RightDockWidgetArea, infosidebar);
addDockWidget(Qt::LeftDockWidgetArea, treeview);
addDockWidget(Qt::LeftDockWidgetArea, treeview);
tabifyDockWidget(treeview, searchnodesidebar);
addDockWidget(Qt::LeftDockWidgetArea, nodepropertywidget);
statusbar = new SiStatusBar;
setStatusBar(statusbar);
controller->setStatusBar(statusbar);
controller->setActionCollection(actionCollection());
controller->getTextEdit()->setVisible(false);
controller->getRichTextEdit()->setVisible(false);
viewmenu = new ViewMenu(actionCollection());
KAction *action = actionCollection()->addAction("exit");
action->setText(i18n("&Exit"));
action->setIcon(KIcon("application-exit"));
connect(action, SIGNAL(triggered()), qApp, SLOT(quit()));
setupGUI(QSize(1100, 600), Keys | StatusBar | Save | Create);
}
示例13: setupActions
void KUI_project::setupActions()
{
KAction *action = new KAction(this);
action->setIcon(KIcon("edit-delete"));
action->setText(i18n("&Aim"));
collection->addAction("aim", action);
connect(action, SIGNAL(triggered(bool)), this, SLOT(aimSlot()));
action = new KAction(this);
action->setIcon(KIcon("media-record"));
action->setText(i18n("&Record"));
connect(action, SIGNAL(triggered(bool)), this, SLOT(recordSlot()));
collection->addAction("record", action);
action = new KAction(this);
action->setIcon(KIcon("media-playback-start"));
action->setText(i18n("&Play"));
connect(action, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)), this , SLOT(playSlot()));
collection->addAction("play",action);
action = new KAction(this);
action->setIcon(KIcon("media-playback-pause"));
action->setText(i18n("&Pause"));
connect(action, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)), this , SLOT(pauseSlot()));
collection->addAction("pause",action);
action = new KAction(this);
action->setIcon(KIcon("media-playback-stop"));
action->setText(i18n("&Stop"));
connect(action, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)), this , SLOT(stopSlot()));
collection->addAction("stop",action);
action = new KAction(this);
action->setIcon(KIcon("media-playback-start"));
action->setText(i18n("&Play"));
connect(action, SIGNAL(triggered(Qt::MouseButtons,Qt::KeyboardModifiers)), this , SLOT(playAfterPauseSlot()));
collection->addAction("playAfterPause",action);
action = new KAction(this);
action->setIcon(KIcon("list-add"));
action->setText(i18n("&Add"));
connect(action, SIGNAL(triggered(bool)), this, SLOT(addSlot()));
collection->addAction("add", action);
action = new KAction(this);
action->setIcon(KIcon("list-remove"));
action->setText(i18n("&Remove"));
connect(action, SIGNAL(triggered(bool)), this, SLOT(removeSlot()));
collection->addAction("remove", action);
}
示例14: KHTMLPart
KHTMLSideBar::KHTMLSideBar()
: KHTMLPart()
{
setStatusMessagesEnabled(false);
setMetaRefreshEnabled(true);
setJavaEnabled(false);
setPluginsEnabled(false);
setFormNotification(KHTMLPart::Only);
connect(this,
SIGNAL(formSubmitNotification(const char*,QString,QByteArray,QString,QString,QString)),
this,
SLOT(formProxy(const char*,QString,QByteArray,QString,QString,QString))
);
_linkMenu = new KMenu(widget());
KAction* openLinkAction = new KAction(i18n("&Open Link"), this);
_linkMenu->addAction(openLinkAction);
connect(openLinkAction, SIGNAL(triggered()), this, SLOT(loadPage()));
KAction* openWindowAction = new KAction(i18n("Open in New &Window"), this);
_linkMenu->addAction(openWindowAction);
connect(openWindowAction, SIGNAL(triggered()), this, SLOT(loadNewWindow()));
_menu = new KMenu(widget());
KAction* reloadAction = new KAction(i18n("&Reload"), this);
reloadAction->setIcon(KIcon("view-refresh"));
_menu->addAction(reloadAction);
connect(reloadAction, SIGNAL(triggered()), this, SIGNAL(reload()));
KAction* autoReloadAction = new KAction(i18n("Set &Automatic Reload"), this);
autoReloadAction->setIcon(KIcon("view-refresh"));
_menu->addAction(autoReloadAction);
connect(autoReloadAction, SIGNAL(triggered()), this, SIGNAL(setAutoReload()));
connect(this, SIGNAL(popupMenu(QString,QPoint)),
this, SLOT(showMenu(QString,QPoint)));
}
示例15: KAction
KAction *KNS3::standardAction(const QString &what,
const QObject *receiver,
const char *slot, KActionCollection *parent,
const char *name)
{
KAction *action = new KAction(what, parent);
parent->addAction(QString(name), action);
action->setIcon(KIcon("get-hot-new-stuff"));
QObject::connect(action, SIGNAL(triggered(bool)), receiver, slot);
return action;
}