1 /* 2 * SPDX-FileCopyrightText: 2009 Shaun Reich <shaun.reich@kdemail.net> 3 * 4 * SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 #ifndef TRASHSETTINGSPAGE_H 7 #define TRASHSETTINGSPAGE_H 8 9 #include "settings/settingspagebase.h" 10 11 class KCModuleProxy; 12 13 /** 14 * @brief Tab page for the 'Trash' settings of the Dolphin settings dialog, it uses the KCM. 15 */ 16 class TrashSettingsPage : public SettingsPageBase 17 { 18 Q_OBJECT 19 20 public: 21 explicit TrashSettingsPage(QWidget* parent); 22 ~TrashSettingsPage() override; 23 24 /** @see SettingsPageBase::applySettings() */ 25 void applySettings() override; 26 27 /** @see SettingsPageBase::restoreDefaults() */ 28 void restoreDefaults() override; 29 30 private: 31 void loadSettings(); 32 KCModuleProxy *m_proxy; 33 }; 34 35 #endif 36