diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp index 961ac8e64c..71c060ebdb 100644 --- a/src/gui/text/qfont.cpp +++ b/src/gui/text/qfont.cpp @@ -532,13 +532,6 @@ QFontEngineData::~QFontEngineData() \sa Weight */ -/*! - \fn Qt::HANDLE QFont::handle() const - - Returns the window system handle to the font, for low-level - access. Using this function is \e not portable. -*/ - /*! \fn FT_Face QFont::freetypeFace() const diff --git a/src/gui/text/qfont.h b/src/gui/text/qfont.h index 45186cecc6..5e2fd5227b 100644 --- a/src/gui/text/qfont.h +++ b/src/gui/text/qfont.h @@ -241,8 +241,6 @@ public: { qSwap(d, other.d); qSwap(resolve_mask, other.resolve_mask); return *this; } #endif - Qt::HANDLE handle() const; - // needed for X11 void setRawName(const QString &); QString rawName() const; diff --git a/src/gui/text/qfont_qpa.cpp b/src/gui/text/qfont_qpa.cpp index 8422409cb3..29e783b741 100644 --- a/src/gui/text/qfont_qpa.cpp +++ b/src/gui/text/qfont_qpa.cpp @@ -59,11 +59,6 @@ void QFont::cleanup() QFont member functions *****************************************************************************/ -Qt::HANDLE QFont::handle() const -{ - return 0; -} - QString QFont::rawName() const { return QLatin1String("unknown");