forked from Qortal/Brooklyn
45 lines
899 B
C++
45 lines
899 B
C++
/*
|
|
"Desktop Icons Options" Tab for KDesktop configuration
|
|
|
|
SPDX-FileCopyrightText: 1996 Martin R. Jones
|
|
SPDX-FileCopyrightText: 1998, 2007 David Faure <faure@kde.org>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef __GLOBALPATHS_H
|
|
#define __GLOBALPATHS_H
|
|
|
|
#include <KCModule>
|
|
|
|
namespace Ui
|
|
{
|
|
class DesktopPathsView;
|
|
}
|
|
|
|
class KUrlRequester;
|
|
class DesktopPathsSettings;
|
|
class DesktopPathsData;
|
|
|
|
// The "Path" Tab contains :
|
|
// The paths for Desktop and Documents
|
|
|
|
class DesktopPathConfig : public KCModule
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
DesktopPathConfig(QWidget *parent, const QVariantList &args);
|
|
~DesktopPathConfig() override;
|
|
|
|
private Q_SLOTS:
|
|
void updateDefaultIndicator();
|
|
|
|
private:
|
|
void setDefaultIndicatorVisible(KUrlRequester *widget, const QVariant &defaultValue);
|
|
|
|
QScopedPointer<Ui::DesktopPathsView> m_ui;
|
|
DesktopPathsData *const m_data;
|
|
};
|
|
|
|
#endif
|