Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
15
16#if !defined(QT_NO_CURSOR)
18{
19 Q_UNUSED(windowCursor);
21}
22#endif
23
25{
26 qCDebug(lcQpaQnx) << "QQnxCursor::setPos -" << pos;
27 m_pos = pos;
28}
29
31{
32 qCDebug(lcQpaQnx) << "QQnxCursor::pos -" << m_pos;
33 return m_pos;
34}
35
The QCursor class provides a mouse cursor with an arbitrary shape.
Definition qcursor.h:45
\inmodule QtCore\reentrant
Definition qpoint.h:25
void setPos(const QPoint &pos) override
QPoint pos() const override
void changeCursor(QCursor *windowCursor, QWindow *window) override
This method is called by Qt whenever the cursor graphic should be changed.
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
#define Q_LOGGING_CATEGORY(name,...)
#define qCDebug(category,...)
#define Q_UNUSED(x)
aWidget window() -> setWindowTitle("New Window Title")
[2]