Без опису

123456789101112131415161718192021222324252627282930313233
  1. #ifndef RACER_H
  2. #define RACER_H
  3. #include <QWidget>
  4. #include <string>
  5. using namespace std;
  6. ///
  7. /// Class that has the attributes of the racecar such as:
  8. /// * Y Coordinate
  9. /// * Name
  10. /// * Setters and Getters
  11. ///
  12. class Car : public QWidget
  13. {
  14. Q_OBJECT
  15. public:
  16. explicit Car(QWidget *parent = 0);
  17. int y_car;
  18. string name;
  19. void setCar(string);
  20. string getCar();
  21. void setYCar(int);
  22. int getYCar();
  23. signals:
  24. public slots:
  25. };
  26. #endif // RACER_H