Remove QFont::handle
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Thu, 31 May 2012 01:30:04 +0000 (18:30 -0700)
committerQt by Nokia <qt-info@nokia.com>
Thu, 31 May 2012 07:13:01 +0000 (09:13 +0200)
This function is unavailable in QPA land.

Change-Id: I43bb95d64e3abaa2fbcd8de07ca39c1d28f46f42
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/gui/text/qfont.cpp
src/gui/text/qfont.h
src/gui/text/qfont_qpa.cpp

index 961ac8e..71c060e 100644 (file)
@@ -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
index 45186ce..5e2fd52 100644 (file)
@@ -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;
index 8422409..29e783b 100644 (file)
@@ -59,11 +59,6 @@ void QFont::cleanup()
   QFont member functions
  *****************************************************************************/
 
-Qt::HANDLE QFont::handle() const
-{
-    return 0;
-}
-
 QString QFont::rawName() const
 {
     return QLatin1String("unknown");