PlayerGlobalInfo.h 557 B

1234567891011121314151617181920212223242526272829
  1. #ifndef PLAYERGLOBALINFO_H
  2. #define PLAYERGLOBALINFO_H
  3. // #include <vector>
  4. #include <QByteArray>
  5. #include <QImage>
  6. struct Image_QImage
  7. {
  8. QImage image;
  9. int width;
  10. int height;
  11. Image_QImage();
  12. ~Image_QImage() {}
  13. /* 移动构造函数 */
  14. Image_QImage(Image_QImage&& other);
  15. /* 拷贝构造函数 */
  16. Image_QImage(const Image_QImage& other);
  17. /* 重载= */
  18. Image_QImage& operator=(const Image_QImage& other);
  19. /* 移动幅值函数 */
  20. void moveFrom(Image_QImage& other);
  21. };
  22. #endif /* PLAYERGLOBALINFO_H */