equal
deleted
inserted
replaced
31 class SelWeaponItem : public QWidget |
31 class SelWeaponItem : public QWidget |
32 { |
32 { |
33 Q_OBJECT |
33 Q_OBJECT |
34 |
34 |
35 public: |
35 public: |
36 SelWeaponItem(bool allowInfinite, int iconNum, int wNum, QImage image, QWidget* parent=0); |
36 SelWeaponItem(bool allowInfinite, int iconNum, int wNum, QImage image, QImage imagegrey, QWidget* parent=0); |
37 |
37 |
38 unsigned char getItemsNum() const; |
38 unsigned char getItemsNum() const; |
39 void setItemsNum(const unsigned char num); |
39 void setItemsNum(const unsigned char num); |
|
40 void setEnabled(bool value); |
40 |
41 |
41 private: |
42 private: |
42 WeaponItem* item; |
43 WeaponItem* item; |
43 }; |
44 }; |
44 |
45 |