Isis 3 Programmer Reference
GuiHelperAction.cpp
1 
6 /* SPDX-License-Identifier: CC0-1.0 */
7 #include "GuiHelperAction.h"
8 #include <iostream>
9 
10 namespace Isis {
11  GuiHelperAction::GuiHelperAction(QObject *parent, const QString &funct) : QAction(parent) {
12  p_funct = funct;
13  connect(this, SIGNAL(triggered(bool)), this, SLOT(retrigger()));
14  }
15 
16  GuiHelperAction::~GuiHelperAction() {};
17 
18  void GuiHelperAction::retrigger() {
19  emit trigger(p_funct);
20  }
21 
22 }
23 
24 
QObject
QAction
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16