summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcursor_s60.cpp
blob: 4d3f067380bb7e55bbac0dad2c9f421870e85a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the $MODULE$ of the Qt Toolkit.
**
** $TROLLTECH_DUAL_EMBEDDED_LICENSE$
**
****************************************************************************/

#include <private/qcursor_p.h>
#include <qcursor.h>
#include <qt_s60_p.h>

#ifdef QT_NO_CURSOR
QT_BEGIN_NAMESPACE

QPoint QCursor::pos()
{
    return S60->lastCursorPos;
}

void QCursor::setPos(int x, int y)
{
    S60->lastCursorPos = QPoint(x, y);
}

QT_END_NAMESPACE
#endif // QT_NO_CURSOR