@@ -97,17 +97,17 @@ Version::Version(const mu::String& versionStr)
97
97
setSuffix (versionStr.right (versionStr.size () - versionStr.indexOf (SUFFIX_DELIMITER) - 1 ));
98
98
}
99
99
100
- int Version::major () const
100
+ int Version::majorVersion () const
101
101
{
102
102
return m_major;
103
103
}
104
104
105
- int Version::minor () const
105
+ int Version::minorVersion () const
106
106
{
107
107
return m_minor;
108
108
}
109
109
110
- int Version::patch () const
110
+ int Version::patchVersion () const
111
111
{
112
112
return m_patch;
113
113
}
@@ -148,15 +148,15 @@ mu::String Version::toString()
148
148
149
149
bool Version::operator <(const Version& other) const
150
150
{
151
- if (m_major > other.major ()) {
151
+ if (m_major > other.majorVersion ()) {
152
152
return false ;
153
- } else if (m_major == other.major ()) {
154
- if (m_minor > other.minor ()) {
153
+ } else if (m_major == other.majorVersion ()) {
154
+ if (m_minor > other.minorVersion ()) {
155
155
return false ;
156
- } else if (m_minor == other.minor ()) {
157
- if (m_patch > other.patch ()) {
156
+ } else if (m_minor == other.minorVersion ()) {
157
+ if (m_patch > other.patchVersion ()) {
158
158
return false ;
159
- } else if (m_patch == other.patch ()) {
159
+ } else if (m_patch == other.patchVersion ()) {
160
160
if (m_suffix.isEmpty ()) {
161
161
return false ;
162
162
}
@@ -203,9 +203,9 @@ bool Version::operator <(const Version& other) const
203
203
204
204
bool Version::operator ==(const Version& other) const
205
205
{
206
- return m_major == other.major ()
207
- && m_minor == other.minor ()
208
- && m_patch == other.patch ()
206
+ return m_major == other.majorVersion ()
207
+ && m_minor == other.minorVersion ()
208
+ && m_patch == other.patchVersion ()
209
209
&& m_suffix == other.suffix ()
210
210
&& m_suffixVersion == other.suffixVersion ();
211
211
}
0 commit comments