kdesktopfile.h
bool hasApplicationType() const
Checks whether there is an entry "Type=Application".
Definition kdesktopfile.cpp:257
static bool isDesktopFile(const TQString &path)
Checks whether this is really a desktop file.
Definition kdesktopfile.cpp:113
TQString readGenericName() const
Returns the value of the "GenericName=" entry.
Definition kdesktopfile.cpp:191
bool hasDeviceType() const
Checks whether there is an entry "Type=FSDev".
Definition kdesktopfile.cpp:267
KDesktopFile(const TQString &fileName, bool readOnly=false, const char *resType="apps")
Constructs a KDesktopFile object and make it either read-write or read-only.
Definition kdesktopfile.cpp:43
bool hasActionGroup(const TQString &group) const
Returns true if the action group exists, false otherwise.
Definition kdesktopfile.cpp:247
TQString readComment() const
Returns the value of the "Comment=" entry.
Definition kdesktopfile.cpp:186
TQString readDocPath() const
Returns the value of the "X-DocPath=" entry.
Definition kdesktopfile.cpp:365
TQStringList readActions() const
Returns a list of the "Actions=" entries.
Definition kdesktopfile.cpp:237
bool hasMimeTypeType() const
Checks whether there is an entry "Type=MimeType".
Definition kdesktopfile.cpp:262
bool tryExec() const
Checks whether the TryExec field contains a binary which is found on the local system.
Definition kdesktopfile.cpp:273
TQStringList sortOrder() const
Returns the entry of the "SortOrder=" entry.
Definition kdesktopfile.cpp:357
static TQString locateLocal(const TQString &path)
Returns the location where changes for the .desktop file path should be written to.
Definition kdesktopfile.cpp:61
static bool isAuthorizedDesktopFile(const TQString &path)
Checks whether the user is authorized to run this desktop file.
Definition kdesktopfile.cpp:125
void setActionGroup(const TQString &group)
Sets the desktop action group.
Definition kdesktopfile.cpp:242
TQString group() const
Returns the name of the group in which we are searching for keys and from which we are retrieving ent...
Definition tdeconfigbase.cpp:100
TDEConfig(const TQString &fileName=TQString::null, bool bReadOnly=false, bool bUseKDEGlobals=true, const char *resType="config")
Constructs a TDEConfig object.
Definition tdeconfig.cpp:44
TDEConfig * copyTo(const TQString &file, TDEConfig *config=0) const
Copies all entries from this config object to a new config object that will save itself to file.
Definition tdeconfig.cpp:303
Trinity API Reference