diff -r f0769402350c -r 18bb6d1fc9d9 QTfrontend/ui/widget/hatbutton.h --- a/QTfrontend/ui/widget/hatbutton.h Mon Dec 02 17:13:22 2013 +0100 +++ b/QTfrontend/ui/widget/hatbutton.h Mon Dec 02 23:20:07 2013 +0400 @@ -35,6 +35,7 @@ HatButton(QWidget* parent); int currentIndex(); QString currentHat() const; + void setModel(HatModel * model); private: QModelIndex m_hat;