File indexing completed on 2024-05-12 05:35:39

0001 /*
0002     "Desktop Icons Options" Tab for KDesktop configuration
0003 
0004     SPDX-FileCopyrightText: 1996 Martin R. Jones
0005     SPDX-FileCopyrightText: 1998, 2007 David Faure <faure@kde.org>
0006 
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #pragma once
0011 
0012 #include <KQuickManagedConfigModule>
0013 
0014 // The "Path" Tab contains :
0015 // The paths for Desktop and Documents
0016 
0017 class DesktopPathsData;
0018 class DesktopPathsSettings;
0019 
0020 class DesktopPathConfig : public KQuickManagedConfigModule
0021 {
0022     Q_OBJECT
0023 
0024     Q_PROPERTY(QObject *settings READ settings CONSTANT)
0025 
0026 public:
0027     DesktopPathConfig(QObject *parent, const KPluginMetaData &metaData);
0028     ~DesktopPathConfig() override;
0029 
0030     QObject *settings() const;
0031 
0032     bool isDefaults() const override;
0033 
0034 private:
0035     DesktopPathsData *const m_data;
0036 };