Remove QPlatformCursorPrivate
It was unused. Change-Id: I890fe2512355a691d693a26b599797a7dc7b06e2 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>bb10
parent
ce7df6ac7d
commit
a23b71d2d0
|
|
@ -49,16 +49,6 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QList<QPlatformCursor *> QPlatformCursorPrivate::getInstances()
|
||||
{
|
||||
QList<QPlatformCursor *> result;
|
||||
for (const QScreen *screen : qAsConst(QGuiApplicationPrivate::screen_list)) {
|
||||
if (QPlatformCursor *cursor = screen->handle()->cursor())
|
||||
result.push_back(cursor);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/*!
|
||||
\class QPlatformCursor
|
||||
\since 5.0
|
||||
|
|
|
|||
|
|
@ -76,13 +76,6 @@ private:
|
|||
QPoint hot;
|
||||
};
|
||||
|
||||
class QPlatformCursor;
|
||||
|
||||
class Q_GUI_EXPORT QPlatformCursorPrivate {
|
||||
public:
|
||||
static QList<QPlatformCursor *> getInstances();
|
||||
};
|
||||
|
||||
class Q_GUI_EXPORT QPlatformCursor : public QObject {
|
||||
public:
|
||||
QPlatformCursor();
|
||||
|
|
@ -96,7 +89,6 @@ public:
|
|||
virtual void setPos(const QPoint &pos);
|
||||
|
||||
private:
|
||||
Q_DECLARE_PRIVATE(QPlatformCursor)
|
||||
friend void qt_qpa_set_cursor(QWidget * w, bool force);
|
||||
friend class QApplicationPrivate;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue