QTfrontend/selectWeapon.h
changeset 1509 34f7dd4efe84
parent 1455 7d0a4ecd8210
child 2369 c3eb11f1ab3a
equal deleted inserted replaced
1508:ef093f31ced1 1509:34f7dd4efe84
    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;