| 1 | /* |
|---|---|
| 2 | This file is part of the KDE libraries |
| 3 | SPDX-FileCopyrightText: 2006, 2007 Thomas Braxton <kde.braxton@gmail.com> |
| 4 | SPDX-FileCopyrightText: 1999 Preston Brown <pbrown@kde.org> |
| 5 | SPDX-FileCopyrightText: 1997-1999 Matthias Kalle Dalheimer <kalle@kde.org> |
| 6 | |
| 7 | SPDX-License-Identifier: LGPL-2.0-or-later |
| 8 | */ |
| 9 | |
| 10 | #include "kconfigbase.h" |
| 11 | |
| 12 | #include "kconfiggroup.h" |
| 13 | |
| 14 | #include <QString> |
| 15 | |
| 16 | bool KConfigBase::hasGroup(const QString &group) const |
| 17 | { |
| 18 | return hasGroupImpl(groupName: group); |
| 19 | } |
| 20 | |
| 21 | KConfigGroup KConfigBase::group(const QString &str) |
| 22 | { |
| 23 | return groupImpl(groupName: str); |
| 24 | } |
| 25 | |
| 26 | const KConfigGroup KConfigBase::group(const QString &s) const |
| 27 | { |
| 28 | return groupImpl(groupName: s); |
| 29 | } |
| 30 | |
| 31 | void KConfigBase::deleteGroup(const QString &group, WriteConfigFlags flags) |
| 32 | { |
| 33 | deleteGroupImpl(groupName: group, flags); |
| 34 | } |
| 35 | |
| 36 | bool KConfigBase::isGroupImmutable(const QString &aGroup) const |
| 37 | { |
| 38 | return isGroupImmutableImpl(groupName: aGroup); |
| 39 | } |
| 40 | |
| 41 | KConfigBase::~KConfigBase() |
| 42 | { |
| 43 | } |
| 44 | |
| 45 | KConfigBase::KConfigBase() |
| 46 | { |
| 47 | } |
| 48 | |
| 49 | void KConfigBase::virtual_hook(int, void *) |
| 50 | { |
| 51 | } |
| 52 |
