summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qcursor_s60.cpp
blob: 0670b6f4fe5e2217ac2155002bea158e1cebd367 (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
/****************************************************************************
**
** 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

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