51 str text; |
51 str text; |
52 float alpha; |
52 float alpha; |
53 QDateTime expiry; |
53 QDateTime expiry; |
54 }; |
54 }; |
55 |
55 |
56 typedef List<Line>::it it; |
|
57 typedef List<Line>::c_it c_it; |
|
58 |
|
59 explicit MessageManager (QObject* parent = 0); |
56 explicit MessageManager (QObject* parent = 0); |
60 void addLine (str line); |
57 void addLine (str line); |
61 c_it begin() const; |
58 const List<Line>& getLines() const; |
62 c_it end() const; |
|
63 |
|
64 MessageManager& operator<< (str line); |
|
65 |
59 |
66 private: |
60 private: |
67 List<Line> m_lines; |
61 List<Line> m_lines; |
68 QTimer* m_ticker; |
62 QTimer* m_ticker; |
69 |
63 |