1 /*
2     "Desktop Icons Options" Tab for KDesktop configuration
3 
4     SPDX-FileCopyrightText: 1996 Martin R. Jones
5     SPDX-FileCopyrightText: 1998, 2007 David Faure <faure@kde.org>
6 
7     SPDX-License-Identifier: GPL-2.0-or-later
8 */
9 
10 #ifndef __GLOBALPATHS_H
11 #define __GLOBALPATHS_H
12 
13 #include <KCModule>
14 
15 namespace Ui
16 {
17 class DesktopPathsView;
18 }
19 
20 class KUrlRequester;
21 class DesktopPathsSettings;
22 class DesktopPathsData;
23 
24 // The "Path" Tab contains :
25 // The paths for Desktop and Documents
26 
27 class DesktopPathConfig : public KCModule
28 {
29     Q_OBJECT
30 public:
31     DesktopPathConfig(QWidget *parent, const QVariantList &args);
32     ~DesktopPathConfig() override;
33 
34 private Q_SLOTS:
35     void updateDefaultIndicator();
36 
37 private:
38     void setDefaultIndicatorVisible(KUrlRequester *widget, const QVariant &defaultValue);
39 
40     QScopedPointer<Ui::DesktopPathsView> m_ui;
41     DesktopPathsData *m_data;
42 };
43 
44 #endif
45