class TDEDesktopFile

#### PyKDE - Python Bindings for KDE

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

Module | tdecore
Class | TDEDesktopFile
Inherits | TDEConfig

### methods

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

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

- TDEDesktopFile (a0)

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

- copyTo (file)

  returns (TDEDesktopFile)
  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)