class KDEDesktopMimeType

#### PyKDE - Python Bindings for KDE

# class KDEDesktopMimeType |
Table of contents
Modules
tdeio Classes
All Classes

Module | tdeio
Class | KDEDesktopMimeType
Inherits | KMimeType

### enums

- ServiceType = {ST_MOUNT, ST_UNMOUNT, ST_USER_DEFINED }

### methods

- KDEDesktopMimeType (config)

  returns a KDEDesktopMimeType instance
  Argument | Type | Default
  --- | --- | ---
  config | KDesktopFile |

- KDEDesktopMimeType (_str, offset)

  returns a KDEDesktopMimeType instance
  Argument | Type | Default
  --- | --- | ---
  _str | TQDataStream |
  offset | int |

- builtinServices (_url)

  returns (TQValueList)
  static
  Argument | Type | Default
  --- | --- | ---
  _url | KURL |

- comment (_url, _is_local)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  _url | TQString |
  _is_local | bool |

- comment (_url, _is_local)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  _url | KURL |
  _is_local | bool |

- executeService (path, service)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  path | TQString |
  service | KDEDesktopMimeType.Service |

- executeService (urls, service)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  urls | KURL.List |
  service | KDEDesktopMimeType.Service |

- icon (_url, _is_local)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  _url | TQString |
  _is_local | bool |

- icon (_url, _is_local)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  _url | KURL |
  _is_local | bool |

- pixmap (_url, _group, _force_size = 0, _state = 0, _path = 0)

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  _url | KURL |
  _group | TDEIcon.Group |
  _force_size | int | 0
  _state | int | 0
  _path | TQString | 0

- pixmap (group, force_size, state, path)

  returns (TQPixmap)
  Argument | Type | Default
  --- | --- | ---
  group | TDEIcon.Group |
  force_size | int |
  state | int |
  path | TQString |

- run (_url, _is_local)

  returns (pid_t)
  static
  Argument | Type | Default
  --- | --- | ---
  _url | KURL |
  _is_local | bool |

- runApplication (_url, _serviceFile)

  returns (pid_t)
  static
  Argument | Type | Default
  --- | --- | ---
  _url | KURL |
  _serviceFile | TQString |

- runFSDevice (_url, cfg)

  returns (pid_t)
  static
  Argument | Type | Default
  --- | --- | ---
  _url | KURL |
  cfg | KSimpleConfig |

- runLink (_url, cfg)

  returns (pid_t)
  static
  Argument | Type | Default
  --- | --- | ---
  _url | KURL |
  cfg | KSimpleConfig |

- runMimeType (_url, cfg)

  returns (pid_t)
  static
  Argument | Type | Default
  --- | --- | ---
  _url | KURL |
  cfg | KSimpleConfig |

- userDefinedServices (path, bLocalFiles)

  returns (TQValueList)
  static
  Argument | Type | Default
  --- | --- | ---
  path | TQString |
  bLocalFiles | bool |

- userDefinedServices (path, config, bLocalFiles)

  returns (TQValueList)
  In versions KDE 3.4.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  path | TQString |
  config | TDEConfig |
  bLocalFiles | bool |

- userDefinedServices (path, config, bLocalFiles, file_list)

  returns (TQValueList)
  In versions KDE 3.5.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  path | TQString |
  config | TDEConfig |
  bLocalFiles | bool |
  file_list | KURL.List |