]>
cloud.milkyroute.net Git - dolphin.git/blob - src/settings/trash/trashsettingspage.cpp
734762adac4b026859c715fe3c7efb68b2d4de71
2 * SPDX-FileCopyrightText: 2009 Shaun Reich <shaun.reich@kdemail.net>
4 * SPDX-License-Identifier: GPL-2.0-or-later
7 #include "trashsettingspage.h"
9 #include <KCModuleProxy>
10 #include <KPluginMetaData>
12 #include <QFormLayout>
14 TrashSettingsPage::TrashSettingsPage(QWidget
* parent
) :
15 SettingsPageBase(parent
)
17 QFormLayout
* topLayout
= new QFormLayout(this);
19 m_proxy
= new KCModuleProxy(KPluginMetaData(QStringLiteral("kcm_trash")));
20 topLayout
->addRow(m_proxy
);
24 connect(m_proxy
, &KCModuleProxy::changed
, this, &TrashSettingsPage::changed
);
27 TrashSettingsPage::~TrashSettingsPage()
31 void TrashSettingsPage::applySettings()
36 void TrashSettingsPage::restoreDefaults()
41 void TrashSettingsPage::loadSettings()