mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 14:43:09 +00:00
According to flame graph testing with qmlprofiler, this caused quite some overhead in QML.
18 lines
278 B
C++
18 lines
278 B
C++
/*
|
|
* SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
|
|
class Direction : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
enum Type { None = 0, Up, Down, Left, Right };
|
|
Q_ENUM(Type)
|
|
};
|