Mercurial > hg > svcore
comparison base/Clipboard.h @ 928:6a94bb528e9d warnfix_no_size_t
Remove size_t's, fix compiler warnings
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 13:52:07 +0100 |
parents | afeb580b1b57 |
children | 31f01931b781 |
comparison
equal
deleted
inserted
replaced
917:49618f39ff09 | 928:6a94bb528e9d |
---|---|
25 class Point | 25 class Point |
26 { | 26 { |
27 public: | 27 public: |
28 Point(long frame, QString label); | 28 Point(long frame, QString label); |
29 Point(long frame, float value, QString label); | 29 Point(long frame, float value, QString label); |
30 Point(long frame, float value, size_t duration, QString label); | 30 Point(long frame, float value, int duration, QString label); |
31 Point(long frame, float value, size_t duration, float level, QString label); | 31 Point(long frame, float value, int duration, float level, QString label); |
32 Point(const Point &point); | 32 Point(const Point &point); |
33 Point &operator=(const Point &point); | 33 Point &operator=(const Point &point); |
34 | 34 |
35 bool haveFrame() const; | 35 bool haveFrame() const; |
36 long getFrame() const; | 36 long getFrame() const; |
39 bool haveValue() const; | 39 bool haveValue() const; |
40 float getValue() const; | 40 float getValue() const; |
41 Point withValue(float value) const; | 41 Point withValue(float value) const; |
42 | 42 |
43 bool haveDuration() const; | 43 bool haveDuration() const; |
44 size_t getDuration() const; | 44 int getDuration() const; |
45 Point withDuration(size_t duration) const; | 45 Point withDuration(int duration) const; |
46 | 46 |
47 bool haveLabel() const; | 47 bool haveLabel() const; |
48 QString getLabel() const; | 48 QString getLabel() const; |
49 Point withLabel(QString label) const; | 49 Point withLabel(QString label) const; |
50 | 50 |
62 bool m_haveFrame; | 62 bool m_haveFrame; |
63 long m_frame; | 63 long m_frame; |
64 bool m_haveValue; | 64 bool m_haveValue; |
65 float m_value; | 65 float m_value; |
66 bool m_haveDuration; | 66 bool m_haveDuration; |
67 size_t m_duration; | 67 int m_duration; |
68 bool m_haveLabel; | 68 bool m_haveLabel; |
69 QString m_label; | 69 QString m_label; |
70 bool m_haveLevel; | 70 bool m_haveLevel; |
71 float m_level; | 71 float m_level; |
72 bool m_haveReferenceFrame; | 72 bool m_haveReferenceFrame; |