Warning, file /plasma/plasma-workspace/kcms/autostart/autostart.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 #include "autostart.h"
0009 
0010 #include <KPluginFactory>
0011 
0012 K_PLUGIN_CLASS_WITH_JSON(Autostart, "kcm_autostart.json")
0013 
0014 Autostart::Autostart(QObject *parent, const KPluginMetaData &data, const QVariantList &)
0015     : KQuickAddons::ConfigModule(parent, data)
0016     , m_model(new AutostartModel(this))
0017 {
0018     setButtons(Help);
0019 
0020     qmlRegisterUncreatableType<AutostartModel>("org.kde.plasma.kcm.autostart", 1, 0, "AutostartModel", QStringLiteral("Only for enums"));
0021 }
0022 
0023 Autostart::~Autostart()
0024 {
0025 }
0026 
0027 AutostartModel *Autostart::model() const
0028 {
0029     return m_model;
0030 }
0031 
0032 void Autostart::load()
0033 {
0034     m_model->load();
0035 }
0036 
0037 void Autostart::defaults()
0038 {
0039 }
0040 
0041 void Autostart::save()
0042 {
0043 }
0044 
0045 #include "autostart.moc"