equal
deleted
inserted
replaced
18 */ |
18 */ |
19 |
19 |
20 #include "weaponItem.h" |
20 #include "weaponItem.h" |
21 |
21 |
22 WeaponItem::WeaponItem(const QImage& im, const QImage& img, QWidget * parent) : |
22 WeaponItem::WeaponItem(const QImage& im, const QImage& img, QWidget * parent) : |
23 ItemNum(im, img, parent, 0) |
23 ItemNum(im, img, parent, 0) |
24 { |
24 { |
25 } |
25 } |
26 |
26 |
27 WeaponItem::~WeaponItem() |
27 WeaponItem::~WeaponItem() |
28 { |
28 { |
29 } |
29 } |
30 |
30 |
31 void WeaponItem::incItems() |
31 void WeaponItem::incItems() |
32 { |
32 { |
33 ++numItems; |
33 ++numItems; |
34 } |
34 } |
35 |
35 |
36 void WeaponItem::decItems() |
36 void WeaponItem::decItems() |
37 { |
37 { |
38 --numItems; |
38 --numItems; |
39 } |
39 } |
40 |
40 |