QRawFont: add missed operator !=
Merge-request: 1343 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> (cherry picked from commit 32603c5e40948491f0644d0d17a7e8bbff8d3e0c) Change-Id: I76bc558a30a61c6eabec960eb206076eb443344f Reviewed-on: http://codereview.qt.nokia.com/4142 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
This commit is contained in:
parent
c048e2350b
commit
16eac5565f
@ -283,6 +283,12 @@ bool QRawFont::operator==(const QRawFont &other) const
|
||||
return d->fontEngine == other.d->fontEngine;
|
||||
}
|
||||
|
||||
/*!
|
||||
\fn bool QRawFont::operator!=(const QRawFont &other) const
|
||||
|
||||
Returns true if this QRawFont is not equal to \a other. Otherwise, returns false.
|
||||
*/
|
||||
|
||||
/*!
|
||||
Returns the ascent of this QRawFont in pixel units.
|
||||
|
||||
|
@ -81,7 +81,10 @@ public:
|
||||
bool isValid() const;
|
||||
|
||||
QRawFont &operator=(const QRawFont &other);
|
||||
|
||||
bool operator==(const QRawFont &other) const;
|
||||
inline bool operator!=(const QRawFont &other) const
|
||||
{ return !operator==(other); }
|
||||
|
||||
QString familyName() const;
|
||||
QString styleName() const;
|
||||
|
Loading…
Reference in New Issue
Block a user