KDE 4.5 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

ItemInt Class Reference

from PyKDE4.kdecore import *

Inherits: KConfigSkeletonItem
Namespace: KCoreConfigSkeleton

Detailed Description

Class for handling a 32-bit integer preferences item.


Methods

 __init__ (self, QString _group, QString _key, int reference, int defaultValue=0)
bool isEqual (self, QVariant p)
QVariant maxValue (self)
QVariant minValue (self)
QVariant property (self)
 readConfig (self, KConfig config)
 readDefault (self, KConfig config)
 setDefault (self)
 setDefaultValue (self, int v)
 setMaxValue (self, int a0)
 setMinValue (self, int a0)
 setProperty (self, QVariant p)
 setValue (self, int v)
 swapDefault (self)
int value (self)
 writeConfig (self, KConfig config)

Method Documentation

__init__ (  self,
QString  _group,
QString  _key,
int  reference,
int  defaultValue=0
)

KConfigSkeletonGenericItem.KConfigSkeletonGenericItem

bool isEqual (  self,
QVariant  p
)

KConfigSkeletonItem.isEqual(const QVariant &) const

QVariant maxValue (   self )

Get the maximum value this is allowed to be stored in this item

QVariant minValue (   self )

Get the minimum value that is allowed to be stored in this item

QVariant property (   self )

KConfigSkeletonItem.property()

readConfig (  self,
KConfig  config
)

KConfigSkeletonItem.readConfig(KConfig*)

readDefault (  self,
KConfig  config
)
setDefault (   self )
setDefaultValue (  self,
int  v
)
setMaxValue (  self,
int  a0
)

Set the maximum value for the item @sa maxValue

setMinValue (  self,
int  a0
)

Set the minimum value for the item @sa minValue()

setProperty (  self,
QVariant  p
)

KConfigSkeletonItem.setProperty(const QVariant&)

setValue (  self,
int  v
)
swapDefault (   self )
int value (   self )
writeConfig (  self,
KConfig  config
)
  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal