|
|
KDE Desktop File Management.
See also: KConfigBase, KConfig
|
Construct a KDesktopFile object and make it either read-write or read-only.
Parameters:
~ |
[virtual]
Destructor.
Write back any dirty configuration entries.
bool |
[static]
Check to see whether this is a desktop file.
The check is performed looking at the file extension (the file is not opened). Currently, valid extensions are ".kdelnk" and ".desktop".
Returns: true
if the file appears to be a desktop file.
QString |
[const]
Retrieve the value of the "Type=" entry.
QString |
[const]
Retrieve the value of the "Icon=" entry.
QString |
[const]
Retrieve the value of the "Name=" entry.
QString |
[const]
Retrieve the value of the "Comment=" entry.
QString |
[const]
Retrieve the value of the "Path=" entry.
QString |
[const]
Retrieve the value of the "Dev=" entry.
QString |
[const]
Retrieve the value of the "URL=" entry.
QStringList |
[const]
Returns a list of the "Actions=" entries.
void |
Sets the desktop action group.
bool |
[const]
Returns if
the action group exists.
bool |
[const]
Check to see if there is a "Type=Link" entry.
The link points to the "URL=" entry.
bool |
[const]
Check to see if there is an entry "Type=Application".
bool |
[const]
Check to see if there is an entry "Type=MimeType".
bool |
[const]
Check to see if there is an entry "Type=FSDev".
bool |
[const]
Check to see if the TryExec field contains a binary which is found on the local system.
QString |
[const]
Returns: The filename as passed to the constructor.
QString |
[const]
Returns: The resource type as passed to the constructor.
QStringList |
[const]