Commit 9170d1e4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add settings for loading external references

parent 3d5671dd
......@@ -35,26 +35,7 @@ KCMAkregatorSecurityConfig::KCMAkregatorSecurityConfig(QWidget *parent, const QV
about->addAuthor(i18n("Laurent Montel"), QString(), QStringLiteral("montel@kde.org"));
setAboutData(about);
}
void KCMAkregatorSecurityConfig::slotConfigChanged()
{
Q_EMIT changed(true);
}
void KCMAkregatorSecurityConfig::save()
{
// TODO
}
void KCMAkregatorSecurityConfig::load()
{
// TODO
}
void KCMAkregatorSecurityConfig::defaults()
{
// TODO
addConfig(Settings::self(), m_widget);
}
#include "akregator_config_security.moc"
......@@ -16,11 +16,6 @@ class KCMAkregatorSecurityConfig : public KCModule
Q_OBJECT
public:
explicit KCMAkregatorSecurityConfig(QWidget *parent, const QVariantList &args);
void load() override;
void save() override;
void defaults() override;
private Q_SLOTS:
void slotConfigChanged();
private:
QWidget *const m_widget;
......
......@@ -12,7 +12,7 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QCheckBox" name="loadExternalReferences">
<widget class="QCheckBox" name="kcfg_LoadExternalReferences">
<property name="text">
<string>Allow feed to load external references from internet.</string>
</property>
......
......@@ -54,6 +54,9 @@
<entry name="CheckPhishingUrl" type="Bool">
<default>false</default>
</entry>
<entry name="LoadExternalReferences" type="Bool">
<default>true</default>
</entry>
</group>
<group name="Appearance">
<entry key="Standard Font" type="String" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment