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

KDECore

  • 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
27class KCoreConfigSkeleton::Private
28{
29public:
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
51class KConfigSkeletonItemPrivate
52{
53public:
54 KConfigSkeletonItemPrivate()
55 : mIsImmutable(true)
56 {}
57 bool mIsImmutable;
58
59 QString mLabel;
60 QString mToolTip;
61 QString mWhatsThis;
62};
63
64#endif
KConfigSkeletonItemPrivate
Definition: kcoreconfigskeleton_p.h:52
KConfigSkeletonItemPrivate::mWhatsThis
QString mWhatsThis
The What's This text for this item.
Definition: kcoreconfigskeleton_p.h:61
KConfigSkeletonItemPrivate::mIsImmutable
bool mIsImmutable
Indicates this item is immutable.
Definition: kcoreconfigskeleton_p.h:57
KConfigSkeletonItemPrivate::mToolTip
QString mToolTip
The ToolTip text for this item.
Definition: kcoreconfigskeleton_p.h:60
KConfigSkeletonItemPrivate::KConfigSkeletonItemPrivate
KConfigSkeletonItemPrivate()
Definition: kcoreconfigskeleton_p.h:54
KConfigSkeletonItemPrivate::mLabel
QString mLabel
The label for this item.
Definition: kcoreconfigskeleton_p.h:59
KCoreConfigSkeleton::Private
Definition: kcoreconfigskeleton_p.h:28
KCoreConfigSkeleton::Private::Private
Private()
Definition: kcoreconfigskeleton_p.h:30
KCoreConfigSkeleton::Private::mConfig
KSharedConfig::Ptr mConfig
Definition: kcoreconfigskeleton_p.h:43
KCoreConfigSkeleton::Private::mCurrentGroup
QString mCurrentGroup
Definition: kcoreconfigskeleton_p.h:41
KCoreConfigSkeleton::Private::mItemDict
KConfigSkeletonItem::Dict mItemDict
Definition: kcoreconfigskeleton_p.h:46
KCoreConfigSkeleton::Private::mUseDefaults
bool mUseDefaults
Definition: kcoreconfigskeleton_p.h:48
KCoreConfigSkeleton::Private::~Private
~Private()
Definition: kcoreconfigskeleton_p.h:33
KCoreConfigSkeleton::Private::mItems
KConfigSkeletonItem::List mItems
Definition: kcoreconfigskeleton_p.h:45
KSharedPtr< KSharedConfig >
QHash< QString, KConfigSkeletonItem * >
QList< KConfigSkeletonItem * >
QString
kcoreconfigskeleton.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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.14.38 API Reference

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