KCoreConfigSkeleton::ItemPathList

KCoreConfigSkeleton::ItemPathList Class Reference

#include <kcoreconfigskeleton.h>

Inheritance diagram for KCoreConfigSkeleton::ItemPathList:

Public Member Functions

 ItemPathList (const QString &_group, const QString &_key, QStringList &reference, const QStringList &defaultValue=QStringList())
 
void readConfig (KConfig *config) override
 
void writeConfig (KConfig *config) override
 
- Public Member Functions inherited from KCoreConfigSkeleton::ItemStringList
 ItemStringList (const QString &_group, const QString &_key, QStringList &reference, const QStringList &defaultValue=QStringList())
 
bool isEqual (const QVariant &p) const override
 
QVariant property () const override
 
void setProperty (const QVariant &p) override
 

Detailed Description

Class for handling a path list preferences item.

Definition at line 1056 of file kcoreconfigskeleton.h.

Constructor & Destructor Documentation

KCoreConfigSkeleton::ItemPathList::ItemPathList ( const QString _group,
const QString _key,
QStringList reference,
const QStringList defaultValue = QStringList() 
)

Definition at line 1007 of file kcoreconfigskeleton.cpp.

Member Function Documentation

void KCoreConfigSkeleton::ItemPathList::readConfig ( KConfig config)
overridevirtual

This function is called by KCoreConfigSkeleton to read the value for this setting from a config file.

Reimplemented from KCoreConfigSkeleton::ItemStringList.

Definition at line 1014 of file kcoreconfigskeleton.cpp.

void KCoreConfigSkeleton::ItemPathList::writeConfig ( KConfig config)
overridevirtual

This function is called by KCoreConfigSkeleton to write the value of this setting to a config file.

Make sure to pass writeFlags() to every call of writeEntry() and revertToDefault().

Implements KConfigSkeletonItem.

Definition at line 1027 of file kcoreconfigskeleton.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jul 8 2020 22:46:43 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.