mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 19:38:48 +03:00
25 lines
501 B
C++
25 lines
501 B
C++
// SPDX-FileCopyrightText: 2021 Nheko Contributors
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QPalette>
|
|
|
|
class Nheko : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
Q_PROPERTY(QPalette colors READ colors NOTIFY colorsChanged)
|
|
Q_PROPERTY(QPalette inactiveColors READ inactiveColors NOTIFY colorsChanged)
|
|
|
|
public:
|
|
Nheko();
|
|
|
|
QPalette colors() const;
|
|
QPalette inactiveColors() const;
|
|
|
|
signals:
|
|
void colorsChanged();
|
|
};
|