kdecore Library API Documentation

KConfigSkeleton::ItemUInt64 Class Reference

Class for handling unsigned 64-bit integer preferences item. More...

#include <kconfigskeleton.h>

Inheritance diagram for KConfigSkeleton::ItemUInt64:

Inheritance graph
[legend]
Collaboration diagram for KConfigSkeleton::ItemUInt64:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ItemUInt64 (const QString &group, const QString &key, Q_UINT64 &reference, Q_UINT64 defaultValue=0)
void readConfig (KConfig *config)
void setProperty (const QVariant &p)
QVariant property () const
QVariant minValue () const
QVariant maxValue () const
void setMinValue (Q_UINT64)
void setMaxValue (Q_UINT64)

Detailed Description

Class for handling unsigned 64-bit integer preferences item.

Definition at line 601 of file kconfigskeleton.h.


Member Function Documentation

void KConfigSkeleton::ItemUInt64::readConfig KConfig config  )  [virtual]
 

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

value.

Implements KConfigSkeletonItem.

Definition at line 403 of file kconfigskeleton.cpp.

References KConfigSkeletonGenericItem< Q_UINT64 >::mDefault, KConfigSkeletonItem::mGroup, KConfigSkeletonItem::mKey, KConfigSkeletonGenericItem< Q_UINT64 >::mLoadedValue, KConfigSkeletonGenericItem< Q_UINT64 >::mReference, KConfigSkeletonItem::readImmutability(), KConfigBase::readUnsignedNum64Entry(), and KConfigBase::setGroup().

void KConfigSkeleton::ItemUInt64::setProperty const QVariant p  )  [virtual]
 

Set item to p.

Implements KConfigSkeletonItem.

Definition at line 416 of file kconfigskeleton.cpp.

References KConfigSkeletonGenericItem< Q_UINT64 >::mReference, and QVariant::toULongLong().

QVariant KConfigSkeleton::ItemUInt64::property  )  const [virtual]
 

Return item as property.

Implements KConfigSkeletonItem.

Definition at line 421 of file kconfigskeleton.cpp.

References KConfigSkeletonGenericItem< Q_UINT64 >::mReference.

QVariant KConfigSkeleton::ItemUInt64::minValue  )  const [virtual]
 

Return minimum value of item or invalid if not specified.

Reimplemented from KConfigSkeletonItem.

Definition at line 426 of file kconfigskeleton.cpp.

QVariant KConfigSkeleton::ItemUInt64::maxValue  )  const [virtual]
 

Return maximum value of item or invalid if not specified.

Reimplemented from KConfigSkeletonItem.

Definition at line 433 of file kconfigskeleton.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdecore Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 16 06:47:40 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003