mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 06:13:09 +00:00
24 lines
471 B
C++
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;
|
|
};
|