QTfrontend/ui/widget/hatbutton.h
changeset 9738 18bb6d1fc9d9
parent 9080 9b42757d7e71
child 9998 736015b847e3
equal deleted inserted replaced
9737:f0769402350c 9738:18bb6d1fc9d9
    33 
    33 
    34     public:
    34     public:
    35         HatButton(QWidget* parent);
    35         HatButton(QWidget* parent);
    36         int currentIndex();
    36         int currentIndex();
    37         QString currentHat() const;
    37         QString currentHat() const;
       
    38         void setModel(HatModel * model);
    38 
    39 
    39     private:
    40     private:
    40         QModelIndex m_hat;
    41         QModelIndex m_hat;
    41         HatModel * m_hatModel;
    42         HatModel * m_hatModel;
    42 
    43