MauiKit Controls

android/windowhelper.cpp
1/*
2 * Copyright (C) 2021 CutefishOS Team.
3 *
4 * Author: cutefish <cutefishos@foxmail.com>
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#include "windowhelper.h"
21
22#include <QGuiApplication>
23#include <QCursor>
24#include <QDebug>
25
26
27WindowHelper::WindowHelper(QObject *parent)
28 : QObject(parent)
29{
30}
31
32void WindowHelper::startSystemMove(QWindow *w)
33{
34 doStartSystemMoveResize(w, 16);
35}
36
37void WindowHelper::startSystemResize(QWindow *w, Qt::Edges edges)
38{
39 doStartSystemMoveResize(w, edges);
40}
41
42void WindowHelper::minimizeWindow(QWindow *w)
43{
44 qWarning() << "not implement";
45}
46
47void WindowHelper::doStartSystemMoveResize(QWindow *w, int edges)
48{
49 qWarning() << "not implement";
50}
typedef Edges
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:56:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.