Update mussa to build on ubuntu 10.04 with qt 4.6.2 +boost 1.40.0.1
[mussa.git] / qui / IntAction.cpp
1 #include "qui/IntAction.hpp"
2
3 #include <iostream>
4 using namespace std;
5
6 IntAction::IntAction(const QString &text, int value, QObject*parent)
7   : QAction(text, parent),
8     val(value)
9 {
10   connect(this, SIGNAL(triggered()), this, SLOT(triggerWithValue()));
11 }
12
13 void IntAction::triggerWithValue()
14 {
15   emit triggered(val);
16 }