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
#ifndef __SPOT_H__ #define __SPOT_H__ class Spot { private: QPoint distance; QPoint position; QImage image; QRect target; QRect source; public: Spot(); void setDistance(QPoint distance); QPoint getDistance(); void setPosition(QPoint position); QPoint getPosition(); QRect getTarget(); QRect getSource(); QImage getImage(); }; #endif