class KDEDesktopMimeType

#### PyKDE - Python Bindings for KDE

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

Module | kio
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 | QDataStream |
  offset | int |

- builtinServices (_url)

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

- builtinServices (a0)

  returns (DMTService)
  In versions less than KDE 3.3.0 only
  static
  Argument | Type | Default
  --- | --- | ---
  a0 | KURL |

- comment (_url, _is_local)

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

- comment (_url, _is_local)

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

- executeService (_path, _service)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  _path | QString |
  _service | KDEDesktopMimeType.Service |

- executeService (urls, service)

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

- icon (_url, _is_local)

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

- icon (_url, _is_local)

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

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

  returns (QPixmap)
  Argument | Type | Default
  --- | --- | ---
  _url | KURL |
  _group | KIcon.Group |
  _force_size | int | 0
  _state | int | 0
  _path | QString | 0

- pixmap (a, b, c, d)

  returns (QPixmap)
  Argument | Type | Default
  --- | --- | ---
  a | KIcon.Group |
  b | int |
  c | int |
  d | QString |

- 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 | QString |

- 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 (QValueList)
  static
  Argument | Type | Default
  --- | --- | ---
  path | QString |
  bLocalFiles | bool |

- userDefinedServices (a0, a1)

  returns (DMTService)
  In versions less than KDE 3.3.0 only
  static
  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  a1 | bool |