Apparently I lost a } in a Mac OS X specific section of the code. Sowwy. Fixed.
[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 }