equal
deleted
inserted
replaced
1 #ifndef HEDGEHOGEDIT_H |
|
2 #define HEDGEHOGEDIT_H |
|
3 |
|
4 #include <QtGui/QFrame> |
|
5 |
|
6 namespace Ui { |
|
7 class HedgehogEdit; |
|
8 } |
|
9 |
|
10 class HedgehogEdit : public QFrame { |
|
11 Q_OBJECT |
|
12 public: |
|
13 HedgehogEdit(QWidget *parent = 0); |
|
14 ~HedgehogEdit(); |
|
15 |
|
16 void setHedgehog(quint32 level = 0, quint32 health = 100, const QString & name = QString()); |
|
17 void setHat(const QString & name); |
|
18 void setCoordinates(int x, int y); |
|
19 |
|
20 protected: |
|
21 void changeEvent(QEvent *e); |
|
22 |
|
23 private: |
|
24 Ui::HedgehogEdit *m_ui; |
|
25 }; |
|
26 |
|
27 #endif // HEDGEHOGEDIT_H |
|