#### PyKDE - Python Bindings for KDE

# kdecore Globals

Table of contents
Modules
kdecore Classes
All Classes

### global methods

- BarIcon (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ())

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  size | int | 0
  state | int | KIcon .DefaultState
  instance | KInstance | KGlobal .instance ()

- BarIcon (name, instance)

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  instance | KInstance |

- BarIconSet (name, size = 0, instance = KGlobal .instance ())

  returns (QIconSet)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  size | int | 0
  instance | KInstance | KGlobal .instance ()

- DesktopIcon (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ())

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  size | int | 0
  state | int | KIcon .DefaultState
  instance | KInstance | KGlobal .instance ()

- DesktopIcon (name, instance)

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  instance | KInstance |

- DesktopIconSet (name, size = 0, instance = KGlobal .instance ())

  returns (QIconSet)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  size | int | 0
  instance | KInstance | KGlobal .instance ()

- IconSize (group, instance = KGlobal .instance ())

  returns (int)

  Argument | Type | Default
  --- | --- | ---
  group | KIcon.Group |
  instance | KInstance | KGlobal .instance ()

- MainBarIcon (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ())

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  size | int | 0
  state | int | KIcon .DefaultState
  instance | KInstance | KGlobal .instance ()

- MainBarIcon (name, instance)

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  instance | KInstance |

- MainBarIconSet (name, size = 0, instance = KGlobal .instance ())

  returns (QIconSet)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  size | int | 0
  instance | KInstance | KGlobal .instance ()

- SmallIcon (name, size = 0, state = KIcon .DefaultState, instance = KGlobal .instance ())

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  size | int | 0
  state | int | KIcon .DefaultState
  instance | KInstance | KGlobal .instance ()

- SmallIcon (name, instance)

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  instance | KInstance |

- SmallIconSet (name, size = 0, instance = KGlobal .instance ())

  returns (QIconSet)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  size | int | 0
  instance | KInstance | KGlobal .instance ()

- UserIcon (name, state = KIcon .DefaultState, instance = KGlobal .instance ())

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  state | int | KIcon .DefaultState
  instance | KInstance | KGlobal .instance ()

- UserIcon (name, instance)

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  instance | KInstance |

- UserIconSet (name, instance = KGlobal .instance ())

  returns (QIconSet)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  instance | KInstance | KGlobal .instance ()

- checkAccess (pathname, mode)

  Not Implemented

- i18n (text)

  returns (QString)

  Argument | Type | Default
  --- | --- | ---
  text | char |

- i18n (comment, text)

  returns (QString)

  Argument | Type | Default
  --- | --- | ---
  comment | char |
  text | char |

- i18n (singular, plural, n)

  returns (QString)

  Argument | Type | Default
  --- | --- | ---
  singular | char |
  plural | char |
  n | ulong |

- kasciistricmp (str1, str2)

  returns (int)
  In versions KDE 3.4.0 and above only

  Argument | Type | Default
  --- | --- | ---
  str1 | char |
  str2 | char |

- testKEntryMap (dict)

  returns (QMap<KEntryKey,KEntry),

  Argument | Type | Default
  --- | --- | ---
  dict | KEntryMap |

- urlcmp (_url1, _url2)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  _url1 | QString |
  _url2 | QString |

- urlcmp (_url1, _url2, _ignore_trailing, _ignore_ref)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  _url1 | QString |
  _url2 | QString |
  _ignore_trailing | bool |
  _ignore_ref | bool |