summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qfont.h')
-rw-r--r--src/gui/text/qfont.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/text/qfont.h b/src/gui/text/qfont.h
index a207a1d60e..7fbaf24861 100644
--- a/src/gui/text/qfont.h
+++ b/src/gui/text/qfont.h
@@ -242,9 +242,11 @@ public:
{ qSwap(d, other.d); qSwap(resolve_mask, other.resolve_mask); return *this; }
#endif
+#if QT_DEPRECATED_SINCE(5, 3)
// needed for X11
- void setRawName(const QString &);
- QString rawName() const;
+ QT_DEPRECATED void setRawName(const QString &);
+ QT_DEPRECATED QString rawName() const;
+#endif
QString key() const;