equal
deleted
inserted
replaced
134 QString SelWeaponWidget::getWeaponsString() const |
134 QString SelWeaponWidget::getWeaponsString() const |
135 { |
135 { |
136 return currentState; |
136 return currentState; |
137 } |
137 } |
138 |
138 |
|
139 QString SelWeaponWidget::getWeaponsString(const QString& name) const |
|
140 { |
|
141 return wconf->value(name).toString(); |
|
142 } |
|
143 |
139 void SelWeaponWidget::setWeaponsName(const QString& name) |
144 void SelWeaponWidget::setWeaponsName(const QString& name) |
140 { |
145 { |
141 if(name!="" && wconf->contains(name)) { |
146 if(name!="" && wconf->contains(name)) { |
142 setWeapons(wconf->value(name).toString()); |
147 setWeapons(wconf->value(name).toString()); |
143 } |
148 } |