Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqnxcursor.cpp
Go to the documentation of this file.
1// Copyright (C) 2011 - 2012 Research In Motion
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qqnxcursor.h"
5
6#include <QtCore/QDebug>
7
9
10Q_LOGGING_CATEGORY(lcQpaQnx, "qt.qpa.qnx");
11
12QQnxCursor::QQnxCursor()
13{
14}
15
16#if !defined(QT_NO_CURSOR)
17void QQnxCursor::changeCursor(QCursor *windowCursor, QWindow *window)
18{
19 Q_UNUSED(windowCursor);
20 Q_UNUSED(window);
21}
22#endif
23
24void QQnxCursor::setPos(const QPoint &pos)
25{
26 qCDebug(lcQpaQnx) << "QQnxCursor::setPos -" << pos;
27 m_pos = pos;
28}
29
30QPoint QQnxCursor::pos() const
31{
32 qCDebug(lcQpaQnx) << "QQnxCursor::pos -" << m_pos;
33 return m_pos;
34}
35
36QT_END_NAMESPACE