shift-shell/components/mobileshell/components/direction.h
2023-11-02 11:08:17 +00:00

20 lines
324 B
C++

/*
* SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <QObject>
#include <qqmlregistration.h>
class Direction : public QObject
{
Q_OBJECT
QML_ELEMENT
public:
enum Type { None = 0, Up, Down, Left, Right };
Q_ENUM(Type)
};