File indexing completed on 2024-05-19 05:38:00

0001 /*
0002     SPDX-FileCopyrightText: 2006-2007 Stephen Leaf <smileaf@gmail.com>
0003     SPDX-FileCopyrightText: 2008 Montel Laurent <montel@kde.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #pragma once
0009 
0010 #include <KQuickConfigModule>
0011 
0012 #include "autostartmodel.h"
0013 
0014 class Autostart : public KQuickConfigModule
0015 {
0016     Q_OBJECT
0017     Q_PROPERTY(AutostartModel *model READ model CONSTANT)
0018 
0019 public:
0020     explicit Autostart(QObject *parent, const KPluginMetaData &data);
0021     ~Autostart() override;
0022 
0023     void load() override;
0024     void save() override;
0025     void defaults() override;
0026 
0027     AutostartModel *model() const;
0028 
0029 private:
0030     AutostartModel *m_model;
0031 };