projects
/
mussa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move alphabet type into SeqString
[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
}