Warning, file /plasma/milou/lib/mousehelper.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * SPDX-FileCopyrightText: 2017 Peifeng Yu <aetf@unlimitedcodeworks.xyz> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 * 0006 */ 0007 0008 #include "mousehelper.h" 0009 0010 #include <QCursor> 0011 0012 using namespace Milou; 0013 0014 MouseHelper::MouseHelper(QObject *parent) 0015 : QObject(parent) 0016 { 0017 } 0018 0019 MouseHelper::~MouseHelper() 0020 { 0021 } 0022 0023 QPointF MouseHelper::globalMousePosition() const 0024 { 0025 return QCursor::pos(); 0026 }