shift-shell/initialstart/initialstartutil.h
2024-02-16 13:38:23 +01:00

24 lines
471 B
C++

// SPDX-FileCopyrightText: 2023 Devin Lin <devin@kde.org>
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <KOSRelease>
#include <QObject>
#include <qqmlintegration.h>
class InitialStartUtil : public QObject
{
Q_OBJECT
QML_ELEMENT
QML_SINGLETON
Q_PROPERTY(QString distroName READ distroName CONSTANT);
public:
InitialStartUtil(QObject *parent = nullptr);
QString distroName() const;
private:
KOSRelease m_osrelease;
};