No Description

blockdata.h 493B

1234567891011121314151617181920212223242526272829
  1. #ifndef BLOCKDATA_H
  2. #define BLOCKDATA_H
  3. #include "block.h"
  4. #include <QObject>
  5. #include <QByteArray>
  6. class Blockdata : public QObject
  7. {
  8. Q_OBJECT
  9. public:
  10. explicit Blockdata(QObject *parent = 0);
  11. public:
  12. QList<Block> *blocks = NULL;
  13. void addBlock(uint16_t);
  14. void addBlock(Block);
  15. QByteArray serialize();
  16. void copyFrom(Blockdata*);
  17. Blockdata* copy();
  18. bool equals(Blockdata *);
  19. signals:
  20. public slots:
  21. };
  22. #endif // BLOCKDATA_H