]>
cloud.milkyroute.net Git - dolphin.git/blob - src/settings/trash/trashsettingspage.cpp
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>
11 #include <QFormLayout>
13 TrashSettingsPage::TrashSettingsPage(QWidget
* parent
) :
14 SettingsPageBase(parent
)
16 QFormLayout
* topLayout
= new QFormLayout(this);
18 m_proxy
= new KCModuleProxy(QStringLiteral("kcmtrash"));
19 topLayout
->addRow(m_proxy
);
23 connect(m_proxy
, QOverload
<bool>::of(&KCModuleProxy::changed
), this, &TrashSettingsPage::changed
);
26 TrashSettingsPage::~TrashSettingsPage()
30 void TrashSettingsPage::applySettings()
35 void TrashSettingsPage::restoreDefaults()
40 void TrashSettingsPage::loadSettings()