closes: #1374 . Use SPDX short-form identifiers instead of lengthy copyright header to document per-file license and copyright. This commit updates all files under src/ directory where applicable as well as org.flameshot.Flameshot.metainfo.xml.
29 lines
596 B
C++
29 lines
596 B
C++
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
// SPDX-FileCopyrightText: 2021 Yuriy Puchkov <yuriy.puchkov@namecheap.com>
|
|
//
|
|
// Created by yuriypuchkov on 09.02.2021.
|
|
|
|
#ifndef FLAMESHOT_QGUIAPPCURRENTSCREEN_H
|
|
#define FLAMESHOT_QGUIAPPCURRENTSCREEN_H
|
|
|
|
#include <QPoint>
|
|
|
|
class QScreen;
|
|
|
|
class QGuiAppCurrentScreen
|
|
{
|
|
public:
|
|
explicit QGuiAppCurrentScreen();
|
|
QScreen* currentScreen();
|
|
QScreen* currentScreen(const QPoint& pos);
|
|
|
|
private:
|
|
QScreen* screenAt(const QPoint& pos);
|
|
|
|
// class members
|
|
private:
|
|
QScreen* m_currentScreen;
|
|
};
|
|
|
|
#endif // FLAMESHOT_QGUIAPPCURRENTSCREEN_H
|