kdecore Library API Documentation

KConfigSkeleton::ItemUInt64 Class Reference

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

#include <kconfigskeleton.h>

List of all members.

Public Methods

 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 597 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 KConfigSkeleton::config(), 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 QVariant::toULongLong().

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

Return item as property.

Implements KConfigSkeletonItem.

Definition at line 421 of file kconfigskeleton.cpp.

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.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun May 16 22:01:27 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003