1234567891011121314151617181920212223242526272829 |
- #ifndef BLOCKDATA_H
- #define BLOCKDATA_H
-
- #include "block.h"
-
- #include <QObject>
- #include <QByteArray>
-
- class Blockdata : public QObject
- {
- Q_OBJECT
- public:
- explicit Blockdata(QObject *parent = 0);
-
- public:
- QList<Block> *blocks = NULL;
- void addBlock(uint16_t);
- void addBlock(Block);
- QByteArray serialize();
- void copyFrom(Blockdata*);
- Blockdata* copy();
- bool equals(Blockdata *);
-
- signals:
-
- public slots:
- };
-
- #endif // BLOCKDATA_H
|