|
|
Implements a generic runner, i.e. the 'exec' functionality of KDE It can execute any desktop entry, as well as any file, using default binding (service) or another bound service.
|
Parameters:
_mode | is the st_mode field of <tt>struct stat</tt>. If you dont know this set it to 0. |
_is_local_file | if this * parameter is set to false, then '_url' is examnined to find out * whether it is a local URL or not. This flag is just used to * improve speed, since the function KURL::isLocalFile is a bit slow. |
bool |
[const]
By default auto deletion is on.
bool |
[static]
Opens a list of URLs with a certain service.
Parameters:
_urls | the list of URLs, can be empty (app launched without argument) |
bool |
[static]
Opens a list of URLs with.
Parameters:
_exec | is the name of the executable, for example "/usr/bin/netscape". |
_name | is the logical name of the application, for example "Netscape 4.06". |
_icon | is the icon which should be used by the application. |
_miniicon | is the icon which should be used by the application. |
void |
[protected virtual]
Called if the mimetype has been detected. The function checks whether the document and appends the gzip protocol to the URL. Otherwise runURL is called to finish the job.
bool |
[protected]
Used to indicate that the next action is to scan the file. This action is invoked from slotTimeout.
bool |
[protected]
USed to indicate that the next action is to initialize. This action is invoked from slotTimeout
bool |
[protected static]
Open the given URL. This function is used after the mime type is found out. It will search for all services which can handle the mime type and call run afterwards.
bool |
[protected static]
Runs a shell command.
_cmd must be a quoted shell command. You must not append "&" to it, since the function will do that for you. An example is "<tt>greet 'Hello Torben'</tt>".
void |
[protected static]
Quotes a string for the shell
Generated by: dfaure@faure on Sun Mar 26 14:24:43 2000, using kdoc 2.0a35. |