Mercurial > hg > svcore
comparison base/Clipboard.h @ 369:007b01b971a6
* function rename & notes
author | Chris Cannam |
---|---|
date | Mon, 04 Feb 2008 13:35:11 +0000 |
parents | 516819f2b97b |
children | e73a1a1e8f24 |
comparison
equal
deleted
inserted
replaced
368:bef4604d82fa | 369:007b01b971a6 |
---|---|
45 QString getLabel() const; | 45 QString getLabel() const; |
46 | 46 |
47 bool haveLevel() const; | 47 bool haveLevel() const; |
48 float getLevel() const; | 48 float getLevel() const; |
49 | 49 |
50 bool haveReferenceFrame() const; | 50 bool referenceFramesDiffer() const; |
51 long getReferenceFrame() const; | 51 long getReferenceFrame() const; |
52 void setReferenceFrame(long); | 52 void setReferenceFrame(long); |
53 | 53 |
54 private: | 54 private: |
55 bool m_haveFrame; | 55 bool m_haveFrame; |
60 size_t m_duration; | 60 size_t m_duration; |
61 bool m_haveLabel; | 61 bool m_haveLabel; |
62 QString m_label; | 62 QString m_label; |
63 bool m_haveLevel; | 63 bool m_haveLevel; |
64 float m_level; | 64 float m_level; |
65 bool m_haveReferenceFrame; | 65 bool m_referenceFramesDiffer; |
66 long m_referenceFrame; | 66 long m_referenceFrame; |
67 }; | 67 }; |
68 | 68 |
69 Clipboard(); | 69 Clipboard(); |
70 ~Clipboard(); | 70 ~Clipboard(); |
75 bool empty() const; | 75 bool empty() const; |
76 const PointList &getPoints() const; | 76 const PointList &getPoints() const; |
77 void setPoints(const PointList &points); | 77 void setPoints(const PointList &points); |
78 void addPoint(const Point &point); | 78 void addPoint(const Point &point); |
79 | 79 |
80 bool haveReferenceFrames() const; | 80 bool referenceFramesDiffer() const; |
81 | 81 |
82 protected: | 82 protected: |
83 PointList m_points; | 83 PointList m_points; |
84 }; | 84 }; |
85 | 85 |