shift-shell/initialstart/initialstartutil.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
459 B
C
Raw Normal View History

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