From 7a2f63feb637030dda8179f6447c9b5f32b6b90e Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 30 May 2012 18:30:04 -0700 Subject: Remove QFont::handle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This function is unavailable in QPA land. Change-Id: I43bb95d64e3abaa2fbcd8de07ca39c1d28f46f42 Reviewed-by: Jørgen Lind --- src/gui/text/qfont.cpp | 7 ------- src/gui/text/qfont.h | 2 -- src/gui/text/qfont_qpa.cpp | 5 ----- 3 files changed, 14 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3