]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/exportmenu.hpp
license: remove FSF postal address from boiler plate license text
[pulseview.git] / pv / widgets / exportmenu.hpp
index 7cd44070e0dbd44602c10179e89969d28f66e71d..3416c7b3b5411917613620b63265ddb62cddab09 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef PULSEVIEW_PV_WIDGETS_EXPORTMENU_H
-#define PULSEVIEW_PV_WIDGETS_EXPORTMENU_H
+#ifndef PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP
+#define PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP
 
 #include <memory>
 
@@ -40,7 +39,7 @@ class ExportMenu : public QMenu
 
 public:
        ExportMenu(QWidget *parent, std::shared_ptr<sigrok::Context> context,
-               QAction *open_action = nullptr);
+               std::vector<QAction *>open_actions = std::vector<QAction *>());
 
 private Q_SLOTS:
        void on_action(QObject *action);
@@ -56,4 +55,4 @@ private:
 } // widgets
 } // pv
 
-#endif // PULSEVIEW_PV_WIDGETS_EXPORTMENU_H
+#endif // PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP