#### PyKDE - Python Bindings for KDE

# class KDesktopFile |
Table of contents
Modules
tdecore Classes
All Classes

Module | tdecore
Class | KDesktopFile
Inherits | TDEConfig

### methods

- KDesktopFile (fileName, readOnly = 0, resType = "apps")

  returns a KDesktopFile instance
  Argument | Type | Default
  --- | --- | ---
  fileName | TQString |
  readOnly | bool | 0
  resType | char | "apps"

- KDesktopFile (a0)

  returns a KDesktopFile instance
  Argument | Type | Default
  --- | --- | ---
  a0 | KDesktopFile |

- copyTo (file)

  returns (KDesktopFile)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  file | TQString |

- fileName ()

  returns (TQString)

- filename ()

  returns (TQString)

- hasActionGroup (group)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  group | TQString |

- hasApplicationType ()

  returns (bool)

- hasDeviceType ()

  returns (bool)

- hasLinkType ()

  returns (bool)

- hasMimeTypeType ()

  returns (bool)

- isAuthorizedDesktopFile (path)

  returns (bool)
  In versions KDE 3.1.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- isDesktopFile (path)

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

- locateLocal (path)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- readActions ()

  returns (TQStringList)

- readComment ()

  returns (TQString)

- readDevice ()

  returns (TQString)

- readDocPath ()

  returns (TQString)
  In versions KDE 3.1.0 and above only

- readGenericName ()

  returns (TQString)

- readIcon ()

  returns (TQString)

- readName ()

  returns (TQString)

- readPath ()

  returns (TQString)

- readType ()

  returns (TQString)

- readURL ()

  returns (TQString)

- resource ()

  returns (TQString)

- setActionGroup (group)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  group | TQString |

- sortOrder ()

  returns (TQStringList)

- tryExec ()

  returns (bool)