File indexing completed on 2025-02-02 05:24:55

0001 /*
0002  *  SPDX-FileCopyrightText: 2023 Oliver Beard <olib141@outlook.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 #pragma once
0008 
0009 #include <KConfigGroup>
0010 #include <QVersionNumber>
0011 #include <kdedmodule.h>
0012 
0013 class PlasmaWelcomeDaemon : public KDEDModule
0014 {
0015     Q_OBJECT
0016 
0017 public:
0018     PlasmaWelcomeDaemon(QObject *parent, const QList<QVariant> &);
0019 
0020 private:
0021     bool isSignificantUpgrade() const;
0022     void launch(const QStringList &args);
0023 
0024     KConfigGroup m_config;
0025     const QVersionNumber m_currentVersion;
0026     const QVersionNumber m_previousVersion;
0027 };