blob: 74635f0ab24879d75fde9f80ed93c655e122a367 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
//=========================================================
// MusE
// Linux Music Editor
// $Id: action.h,v 1.1.1.1.2.1 2008/01/19 13:33:46 wschweer Exp $
// (C) Copyright 2001 Werner Schweer (ws@seh.de)
//=========================================================
#ifndef __ACTION_H__
#define __ACTION_H__
#include <Qt3Support>
//---------------------------------------------------------
// Action
//---------------------------------------------------------
class Action : public Q3Action {
Q_OBJECT
int _id;
public:
Action(QObject* parent, int i, const char* name = 0, bool toggle = false)
: Q3Action(parent, name, toggle) {
_id = i;
}
void setId(int i) { _id = i; }
int id() const { return _id; }
};
#endif
|