#### PyKDE - Python Bindings for KDE

# tdecore Globals |
Table of contents
Modules
tdecore Classes
All Classes

### global methods

- BarIcon (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ())

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  size | int | 0
  state | int | TDEIcon .DefaultState
  instance | TDEInstance | TDEGlobal .instance ()

- BarIcon (name, instance)

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  instance | TDEInstance |

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

  returns (TQIconSet)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  size | int | 0
  instance | TDEInstance | TDEGlobal .instance ()

- DesktopIcon (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ())

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  size | int | 0
  state | int | TDEIcon .DefaultState
  instance | TDEInstance | TDEGlobal .instance ()

- DesktopIcon (name, instance)

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  instance | TDEInstance |

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

  returns (TQIconSet)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  size | int | 0
  instance | TDEInstance | TDEGlobal .instance ()

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

  returns (int)
  Argument | Type | Default
  --- | --- | ---
  group | TDEIcon.Group |
  instance | TDEInstance | TDEGlobal .instance ()

- MainBarIcon (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ())

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  size | int | 0
  state | int | TDEIcon .DefaultState
  instance | TDEInstance | TDEGlobal .instance ()

- MainBarIcon (name, instance)

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  instance | TDEInstance |

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

  returns (TQIconSet)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  size | int | 0
  instance | TDEInstance | TDEGlobal .instance ()

- SmallIcon (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ())

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  size | int | 0
  state | int | TDEIcon .DefaultState
  instance | TDEInstance | TDEGlobal .instance ()

- SmallIcon (name, instance)

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  instance | TDEInstance |

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

  returns (TQIconSet)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  size | int | 0
  instance | TDEInstance | TDEGlobal .instance ()

- UserIcon (name, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ())

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  state | int | TDEIcon .DefaultState
  instance | TDEInstance | TDEGlobal .instance ()

- UserIcon (name, instance)

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  instance | TDEInstance |

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

  returns (TQIconSet)
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  instance | TDEInstance | TDEGlobal .instance ()

- checkAccess (pathname, mode)

  Not Implemented

- i18n (text)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  text | char |

- i18n (comment, text)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  comment | char |
  text | char |

- i18n (singular, plural, n)

  returns (TQString)
  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 (TQMap
  Argument | Type | Default
  --- | --- | ---
  dict | KEntryMap |

- urlcmp (_url1, _url2)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  _url1 | TQString |
  _url2 | TQString |

- urlcmp (_url1, _url2, _ignore_trailing, _ignore_ref)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  _url1 | TQString |
  _url2 | TQString |
  _ignore_trailing | bool |
  _ignore_ref | bool |