projects
/
mussa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
minor updates to mussa setup widget
[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