diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2011-09-02 13:58:35 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2011-09-02 14:31:11 +0200 |
commit | 16eac5565f3d44071acac9569c8fe523d2f7b226 (patch) | |
tree | d22084543f24978412434e60c5d18d78098dea3d /src/gui/text/qrawfont.h | |
parent | c048e2350b790758759995983d84a4fbd7e6db7d (diff) |
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>
Diffstat (limited to 'src/gui/text/qrawfont.h')
-rw-r--r-- | src/gui/text/qrawfont.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/text/qrawfont.h b/src/gui/text/qrawfont.h index f7d7494f0b..e257c3d5cd 100644 --- a/src/gui/text/qrawfont.h +++ b/src/gui/text/qrawfont.h @@ -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; |