Update mussa to build on ubuntu 10.04 with qt 4.6.2 +boost 1.40.0.1
[mussa.git] / qui / IntAction.hpp
1 #ifndef _INT_ACTION_H
2 #define _INT_ACTION_H
3
4 #include <QAction>
5 #include <QString>
6
7 class IntAction : public QAction
8 {
9   Q_OBJECT
10
11 public:
12   IntAction(const QString &text, int value, QObject*parent=0);
13
14   int value() const { return val; }
15
16 public slots:
17   void triggerWithValue();
18
19 signals:
20   void triggered(int);
21
22 private:
23   int val;
24 };
25 #endif
26