• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.4 API Reference
  • KDE Home
  • Contact Us
 

KDECore

  • kdecore
  • config
kconfigbase.cpp
Go to the documentation of this file.
1 /*
2  This file is part of the KDE libraries
3  Copyright (c) 2006, 2007 Thomas Braxton <kde.braxton@gmail.com>
4  Copyright (c) 1999 Preston Brown <pbrown@kde.org>
5  Copyright (c) 1997-1999 Matthias Kalle Dalheimer <kalle@kde.org>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 */
22 
23 #include "kconfigbase.h"
24 
25 #include "kconfiggroup.h"
26 
27 #include <QtCore/QString>
28 
29 bool KConfigBase::hasGroup(const QString &group) const
30 {
31  return hasGroupImpl(group.toUtf8());
32 }
33 
34 bool KConfigBase::hasGroup(const char *group) const
35 {
36  return hasGroupImpl(QByteArray(group));
37 }
38 
39 bool KConfigBase::hasGroup(const QByteArray &group) const
40 {
41  return hasGroupImpl(group);
42 }
43 
44 KConfigGroup KConfigBase::group( const QByteArray &b)
45 {
46  return groupImpl(b);
47 }
48 
49 KConfigGroup KConfigBase::group( const QString &str)
50 {
51  return groupImpl(str.toUtf8());
52 }
53 
54 KConfigGroup KConfigBase::group( const char *str)
55 {
56  return groupImpl(QByteArray(str));
57 }
58 
59 const KConfigGroup KConfigBase::group( const QByteArray &b ) const
60 {
61  return groupImpl(b);
62 }
63 
64 const KConfigGroup KConfigBase::group( const QString &s ) const
65 {
66  return groupImpl(s.toUtf8());
67 }
68 
69 const KConfigGroup KConfigBase::group( const char *s ) const
70 {
71  return groupImpl(QByteArray(s));
72 }
73 
74 void KConfigBase::deleteGroup(const QByteArray &group, WriteConfigFlags flags)
75 {
76  deleteGroupImpl(group, flags);
77 }
78 
79 void KConfigBase::deleteGroup(const QString &group, WriteConfigFlags flags)
80 {
81  deleteGroupImpl(group.toUtf8(), flags);
82 }
83 
84 void KConfigBase::deleteGroup(const char *group, WriteConfigFlags flags)
85 {
86  deleteGroupImpl(QByteArray(group), flags);
87 }
88 
89 bool KConfigBase::isGroupImmutable(const QByteArray& aGroup) const
90 {
91  return isGroupImmutableImpl(aGroup);
92 }
93 
94 bool KConfigBase::isGroupImmutable(const QString& aGroup) const
95 {
96  return isGroupImmutableImpl(aGroup.toUtf8());
97 }
98 
99 
100 bool KConfigBase::isGroupImmutable(const char *aGroup) const
101 {
102  return isGroupImmutableImpl(QByteArray(aGroup));
103 }
104 
105 KConfigBase::~KConfigBase()
106 {}
107 
108 KConfigBase::KConfigBase()
109 {}
110 
111 void KConfigBase::virtual_hook(int , void *)
112 {}
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 20:17:59 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.10.4 API Reference

Skip menu "kdelibs-4.10.4 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal