Changeset View
Changeset View
Standalone View
Standalone View
src/core/kconfig.cpp
Show First 20 Lines • Show All 841 Lines • ▼ Show 20 Line(s) | |||||
842 | } | 842 | } | ||
843 | 843 | | |||
844 | bool KConfig::isGroupImmutableImpl(const QByteArray &aGroup) const | 844 | bool KConfig::isGroupImmutableImpl(const QByteArray &aGroup) const | ||
845 | { | 845 | { | ||
846 | Q_D(const KConfig); | 846 | Q_D(const KConfig); | ||
847 | return isImmutable() || d->entryMap.getEntryOption(aGroup, nullptr, nullptr, KEntryMap::EntryImmutable); | 847 | return isImmutable() || d->entryMap.getEntryOption(aGroup, nullptr, nullptr, KEntryMap::EntryImmutable); | ||
848 | } | 848 | } | ||
849 | 849 | | |||
850 | #ifndef KDE_NO_DEPRECATED | 850 | #if KCONFIGCORE_BUILD_DEPRECATED_SINCE(4, 0) | ||
851 | void KConfig::setForceGlobal(bool b) | 851 | void KConfig::setForceGlobal(bool b) | ||
852 | { | 852 | { | ||
853 | Q_D(KConfig); | 853 | Q_D(KConfig); | ||
854 | d->bForceGlobal = b; | 854 | d->bForceGlobal = b; | ||
855 | } | 855 | } | ||
856 | #endif | 856 | #endif | ||
857 | 857 | | |||
858 | #ifndef KDE_NO_DEPRECATED | 858 | #if KCONFIGCORE_BUILD_DEPRECATED_SINCE(4, 0) | ||
859 | bool KConfig::forceGlobal() const | 859 | bool KConfig::forceGlobal() const | ||
860 | { | 860 | { | ||
861 | Q_D(const KConfig); | 861 | Q_D(const KConfig); | ||
862 | return d->bForceGlobal; | 862 | return d->bForceGlobal; | ||
863 | } | 863 | } | ||
864 | #endif | 864 | #endif | ||
865 | 865 | | |||
866 | KConfigGroup KConfig::groupImpl(const QByteArray &group) | 866 | KConfigGroup KConfig::groupImpl(const QByteArray &group) | ||
▲ Show 20 Lines • Show All 155 Lines • Show Last 20 Lines |