equal
deleted
inserted
replaced
35 HatButton(QWidget* parent); |
35 HatButton(QWidget* parent); |
36 int currentIndex(); |
36 int currentIndex(); |
37 QString currentHat() const; |
37 QString currentHat() const; |
38 |
38 |
39 private: |
39 private: |
40 QModelIndex m_hat; |
40 QModelIndex m_hat; |
41 HatModel * m_hatModel; |
41 HatModel * m_hatModel; |
42 |
42 |
43 signals: |
43 signals: |
44 void currentIndexChanged(int); |
44 void currentIndexChanged(int); |
45 void currentHatChanged(const QString &); |
45 void currentHatChanged(const QString &); |
46 |
46 |
47 public slots: |
47 public slots: |
48 void setCurrentIndex(int index); |
48 void setCurrentIndex(int index); |
49 void setCurrentHat(const QString & name); |
49 void setCurrentHat(const QString & name); |
50 |
50 |
51 private slots: |
51 private slots: |
52 void showPrompt(); |
52 void showPrompt(); |
53 }; |
53 }; |
54 |
54 |