3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-07 14:54:17 +00:00
Brooklyn/plasma/applets/kimpanel/plugin/screen.h
Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

25 lines
478 B
C++

/*
SPDX-FileCopyrightText: 2014 Weng Xuetian <wengxt@gmail.com>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#ifndef SCREEN_H
#define SCREEN_H
#include <QObject>
#include <QRect>
class Screen : public QObject
{
Q_OBJECT
public:
Screen(QObject *parent = nullptr);
~Screen() override;
Q_INVOKABLE QRect geometryForPoint(int x, int y);
Q_INVOKABLE qreal devicePixelRatioForPoint(int x, int y);
};
#endif