# class ItemString

###

Module | kdecore
Namespace | KCoreConfigSkeleton
Class | ItemString
Inherits | KConfigSkeletonItem

Class for handling a string preferences item.

### enums

- Type { Normal, Password, Path }

enum details

### methods

- ItemString (_group, _key, reference, defaultValue, type)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  _group | QString |
  _key | QString |
  reference | QString |
  defaultValue | QString | QLatin1String("")
  type | KCoreConfigSkeleton::ItemString.Type | KCoreConfigSkeleton.ItemString.Normal

  KConfigSkeletonGenericItem.KConfigSkeletonGenericItem

  type - The type of string held by the item

- isEqual (p)

  returns bool

  Argument | Type | Default
  --- | --- | ---
  p | QVariant |

  KConfigSkeletonItem.isEqual(const QVariant &)

- property ( )

  returns QVariant

  KConfigSkeletonItem.property()

- readConfig (config)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  config | KConfig |

  KConfigSkeletonItem.readConfig(KConfig*)

- readDefault (a0)

  returns Nothing
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | KConfig |

- setDefault ( )

  returns Nothing
  before KDE 4.1.0 only

- setDefaultValue (a0)

  returns Nothing
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- setProperty (p)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  p | QVariant |

  KConfigSkeletonItem.setProperty(const QVariant&)

- setValue (a0)

  returns Nothing
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- swapDefault ( )

  returns Nothing
  before KDE 4.1.0 only

- value ( )

  returns QString
  before KDE 4.1.0 only

- writeConfig (config)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  config | KConfig |

  KConfigSkeletonItem.writeConfig(KConfig*)

### enums - detail

- Type { Normal, Password, Path }

  | Normal | - | - |
  | Password | - | - |
  | Path | - | - |