diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-05-30 18:30:04 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-31 09:13:01 +0200 |
commit | 7a2f63feb637030dda8179f6447c9b5f32b6b90e (patch) | |
tree | 9ee7d6c1b60522e66aeb9ffd099b9e6807446e17 /src/gui | |
parent | e7f1106edb1ac37d92d7851c44cd8d99f68eaaf4 (diff) |
Remove QFont::handle
This function is unavailable in QPA land.
Change-Id: I43bb95d64e3abaa2fbcd8de07ca39c1d28f46f42
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/text/qfont.cpp | 7 | ||||
-rw-r--r-- | src/gui/text/qfont.h | 2 | ||||
-rw-r--r-- | src/gui/text/qfont_qpa.cpp | 5 |
3 files changed, 0 insertions, 14 deletions
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 @@ -533,13 +533,6 @@ QFontEngineData::~QFontEngineData() */ /*! - \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 Returns the handle to the primary FreeType face of the font. If font merging is not disabled a 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"); |