QmlJS: Remove ComponentVersion::major/minor.

They are unusable on linux as there are commonly-included macros
of the same name.
This commit is contained in:
Christian Kamm
2010-11-12 14:15:21 +01:00
parent 5723a73ba5
commit 657dee02e0
3 changed files with 7 additions and 14 deletions

View File

@@ -46,13 +46,6 @@ public:
ComponentVersion(int major, int minor);
~ComponentVersion();
int major() const
{ return _major; }
int minor() const
{ return _minor; }
// something in the GNU headers introduces the major() and minor() defines,
// use these two to disambiguate when necessary
int majorVersion() const
{ return _major; }
int minorVersion() const