From 8d27345327ce6af67cb04cf552bcbb2a02f0bec5 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 30 May 2012 10:46:02 -0700 Subject: QCursor: Remove doc of obsolete functions These functions don't exist in QPA land. Change-Id: I50c0588cf03ed64878c8ed864dc18a7558b20156 Reviewed-by: Friedemann Kleint --- src/gui/kernel/qcursor.cpp | 31 ------------------------------- src/gui/kernel/qcursor.h | 6 ------ 2 files changed, 37 deletions(-) (limited to 'src') diff --git a/src/gui/kernel/qcursor.cpp b/src/gui/kernel/qcursor.cpp index 4798dc53a7..26a36a6289 100644 --- a/src/gui/kernel/qcursor.cpp +++ b/src/gui/kernel/qcursor.cpp @@ -152,37 +152,6 @@ QT_BEGIN_NAMESPACE \sa QWidget, {fowler}{GUI Design Handbook: Cursors} */ -/*! - \fn HCURSOR_or_HANDLE QCursor::handle() const - - Returns a platform-specific cursor handle. The \c - HCURSOR_or_HANDLE type is \c HCURSOR on Windows and Qt::HANDLE on X11 - and Mac OS X. On \l{Qt for Embedded Linux} it is an integer. - - \warning Using the value returned by this function is not - portable. -*/ - -/*! - \fn QCursor::QCursor(HCURSOR cursor) - - Constructs a Qt cursor from the given Windows \a cursor. - - \warning This function is only available on Windows. - - \sa handle() -*/ - -/*! - \fn QCursor::QCursor(Qt::HANDLE handle) - - Constructs a Qt cursor from the given \a handle. - - \warning This function is only available on X11. - - \sa handle() -*/ - /*! \fn QPoint QCursor::pos(const QScreen *screen) diff --git a/src/gui/kernel/qcursor.h b/src/gui/kernel/qcursor.h index 4820bcee9b..41dfd78836 100644 --- a/src/gui/kernel/qcursor.h +++ b/src/gui/kernel/qcursor.h @@ -108,12 +108,6 @@ public: inline static void setPos(const QPoint &p) { setPos(p.x(), p.y()); } inline static void setPos(QScreen *screen, const QPoint &p) { setPos(screen, p.x(), p.y()); } -#ifdef qdoc - HCURSOR_or_HANDLE handle() const; - QCursor(HCURSOR cursor); - QCursor(Qt::HANDLE cursor); -#endif - #ifndef qdoc int handle() const; #endif -- cgit v1.2.3