QTfrontend/ui/widget/weaponItem.cpp
changeset 6616 f77bb02b669f
parent 6060 fdfc01419815
child 6700 e04da46ee43c
equal deleted inserted replaced
6615:65602f1ef0f8 6616:f77bb02b669f
    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