-
Notifications
You must be signed in to change notification settings - Fork 1
/
register.h
37 lines (34 loc) · 966 Bytes
/
register.h
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
33
34
35
36
37
#ifndef REGISTER_H
#define REGISTER_H
#include <QBitArray>
#include <QString>
#include <QDebug>
#include <inttypes.h>
#include <QObject>
class Register : public QObject, public QBitArray
{
Q_OBJECT
public:
Register();
Register(uint8_t);
Register(const QString&);
void setValue(const QString&);
void setValue(int);
QString toString();
uint64_t toInt();
public slots:
// void registerEdited(QString);
void regFEditedFromRegDockFreg_SLOT(QString);
void regEditedFromRegDock_SLOT(QString);
void cellChangedFromMemDock_SLOT(QString);
signals:
// void registerChanged(QString);
// void registerFChanged(QString);
void regEditedInternally_SIG(QString);
void regEditedFromRegDock_SIG(QString);
void regFEditedFromRegDockFreg_SIG(QString);
void regFEditedFromRegDockFlags_SIG(QString);
void cellChangedInternally_SIG(QString);
void cellChangedFromMemDock_SIG(QString);
};
#endif // REGISTER_H