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

KDECore

  • sources
  • kde-4.14
  • kdelibs
  • kdecore
  • config
kcoreconfigskeleton_p.h
Go to the documentation of this file.
1 /*
2  This file is part of KOrganizer.
3  Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org>
4  Copyright (c) 2003 Waldo Bastian <bastian@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 
22 #ifndef KCORECONFIGSKELETON_P_H
23 #define KCORECONFIGSKELETON_P_H
24 
25 #include "kcoreconfigskeleton.h"
26 
27 class KCoreConfigSkeleton::Private
28 {
29 public:
30  Private()
31  : mCurrentGroup( QLatin1String("No Group") ), mUseDefaults( false )
32  {}
33  ~Private()
34  {
35  KConfigSkeletonItem::List::ConstIterator it;
36  for( it = mItems.constBegin(); it != mItems.constEnd(); ++it )
37  {
38  delete *it;
39  }
40  }
41  QString mCurrentGroup;
42 
43  KSharedConfig::Ptr mConfig; // pointer to KConfig object
44 
45  KConfigSkeletonItem::List mItems;
46  KConfigSkeletonItem::Dict mItemDict;
47 
48  bool mUseDefaults;
49 };
50 
51 class KConfigSkeletonItemPrivate
52 {
53 public:
54  KConfigSkeletonItemPrivate()
55  : mIsImmutable(true)
56  {}
57  bool mIsImmutable;
58 
59  QString mLabel;
60  QString mToolTip;
61  QString mWhatsThis;
62 };
63 
64 #endif
KSharedPtr< KSharedConfig >
KConfigSkeletonItemPrivate
Definition: kcoreconfigskeleton_p.h:51
KCoreConfigSkeleton::Private::mUseDefaults
bool mUseDefaults
Definition: kcoreconfigskeleton_p.h:48
KConfigSkeletonItemPrivate::mLabel
QString mLabel
The label for this item.
Definition: kcoreconfigskeleton_p.h:59
KConfigSkeletonItemPrivate::mIsImmutable
bool mIsImmutable
Indicates this item is immutable.
Definition: kcoreconfigskeleton_p.h:57
KCoreConfigSkeleton::Private::mConfig
KSharedConfig::Ptr mConfig
Definition: kcoreconfigskeleton_p.h:43
KCoreConfigSkeleton::Private::mItems
KConfigSkeletonItem::List mItems
Definition: kcoreconfigskeleton_p.h:45
KCoreConfigSkeleton::Private::mCurrentGroup
QString mCurrentGroup
Definition: kcoreconfigskeleton_p.h:41
KConfigSkeletonItemPrivate::mToolTip
QString mToolTip
The ToolTip text for this item.
Definition: kcoreconfigskeleton_p.h:60
QHash< QString, KConfigSkeletonItem * >
KCoreConfigSkeleton::Private::~Private
~Private()
Definition: kcoreconfigskeleton_p.h:33
KCoreConfigSkeleton::Private::Private
Private()
Definition: kcoreconfigskeleton_p.h:30
QString
QList< KConfigSkeletonItem * >
KConfigSkeletonItemPrivate::KConfigSkeletonItemPrivate
KConfigSkeletonItemPrivate()
Definition: kcoreconfigskeleton_p.h:54
kcoreconfigskeleton.h
KCoreConfigSkeleton::Private
Definition: kcoreconfigskeleton_p.h:27
KCoreConfigSkeleton::Private::mItemDict
KConfigSkeletonItem::Dict mItemDict
Definition: kcoreconfigskeleton_p.h:46
QLatin1String
QList< KConfigSkeletonItem * >::ConstIterator
typedef ConstIterator
QList::constEnd
const_iterator constEnd() const
QList::constBegin
const_iterator constBegin() const
KConfigSkeletonItemPrivate::mWhatsThis
QString mWhatsThis
The What's This text for this item.
Definition: kcoreconfigskeleton_p.h:61
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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

Search



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