/* * SPDX-FileCopyrightText: 2009 Shaun Reich * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "trashsettingspage.h" #include #include #include TrashSettingsPage::TrashSettingsPage(QWidget *parent) : SettingsPageBase(parent) { QFormLayout *topLayout = new QFormLayout(this); m_proxy = new KCModuleProxy(KPluginMetaData(QStringLiteral("kcm_trash"))); topLayout->addRow(m_proxy); loadSettings(); connect(m_proxy, &KCModuleProxy::changed, this, &TrashSettingsPage::changed); } TrashSettingsPage::~TrashSettingsPage() { } void TrashSettingsPage::applySettings() { m_proxy->save(); } void TrashSettingsPage::restoreDefaults() { m_proxy->defaults(); } void TrashSettingsPage::loadSettings() { m_proxy->load(); } #include "moc_trashsettingspage.cpp"