summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qglyphrun.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qglyphrun.h')
-rw-r--r--src/gui/text/qglyphrun.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/text/qglyphrun.h b/src/gui/text/qglyphrun.h
index da88bc72f9..81783a8653 100644
--- a/src/gui/text/qglyphrun.h
+++ b/src/gui/text/qglyphrun.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QGLYPHRUN_H
-#define QGLYPHRUN_H
+#ifndef QOpenGLYPHRUN_H
+#define QOpenGLYPHRUN_H
#include <QtCore/qsharedpointer.h>
#include <QtCore/qvector.h>
@@ -79,8 +79,10 @@ public:
void clear();
QGlyphRun &operator=(const QGlyphRun &other);
+
bool operator==(const QGlyphRun &other) const;
- bool operator!=(const QGlyphRun &other) const;
+ inline bool operator!=(const QGlyphRun &other) const
+ { return !operator==(other); }
void setOverline(bool overline);
bool overline() const;
@@ -113,4 +115,4 @@ QT_END_HEADER
#endif // QT_NO_RAWFONT
-#endif // QGLYPHS_H
+#endif // QOpenGLYPHS_H