equal
deleted
inserted
replaced
51 QStringList getWeaponNames() const; |
51 QStringList getWeaponNames() const; |
52 |
52 |
53 public slots: |
53 public slots: |
54 void setDefault(); |
54 void setDefault(); |
55 void setWeapons(const QString& ammo); |
55 void setWeapons(const QString& ammo); |
56 void setWeaponsName(const QString& name, bool editMode); |
56 void setWeaponsName(const QString& name); |
57 void deleteWeaponsName(); |
57 void deleteWeaponsName(); |
58 void save(); |
58 void save(); |
59 |
59 |
60 signals: |
60 signals: |
61 void weaponsChanged(); |
61 void weaponsChanged(); |
62 void weaponsDeleted(); |
62 void weaponsDeleted(); |
63 |
63 |
64 private: |
64 private: |
65 QString currentState; |
|
66 QString curWeaponsName; |
65 QString curWeaponsName; |
67 |
66 |
68 QLineEdit* m_name; |
67 QLineEdit* m_name; |
69 |
68 |
70 QSettings* wconf; |
69 QSettings* wconf; |