|
|
enum ServiceType { ST_MOUNT, ST_UNMOUNT, ST_USER_DEFINED } | ServiceType |
Service (struct) | Service |
Structure representing a service, in the list of services returned by builtinServices and userDefinedServices
KDEDesktopMimeType ( KDesktopFile *config)
| KDEDesktopMimeType |
KDEDesktopMimeType ( QDataStream& _str, int offset )
| KDEDesktopMimeType |
QString icon ( const QString& _url, bool _is_local )
| icon |
[const virtual]
Reimplemented from KMimeType.
QString icon ( const KURL& _url, bool _is_local )
| icon |
[const virtual]
Reimplemented from KMimeType.
QPixmap pixmap ( const KURL& _url, int _group, int _force_size = 0,
int _state = 0, QString * _path = 0L )
| pixmap |
[const virtual]
Reimplemented from KMimeType.
QString comment ( const QString& _url, bool _is_local )
| comment |
[const virtual]
Reimplemented from KMimeType.
QString comment ( const KURL& _url, bool _is_local )
| comment |
[const virtual]
Reimplemented from KMimeType.
QValueList | builtinServices |
[static]
Returns: a list of services for the given .desktop file that are handled by kio itself. Namely mount/unmount for FSDevice files.
QValueList | userDefinedServices |
[static]
Parameters:
path | the path to the desktop file describing the services |
bLocalFiles | true if those services are to be applied to local files only (if false, services that don't have %u or %U in the Exec line won't be taken into account). |
Returns: a list of services defined by the user as possible actions on the given .desktop file.
QValueList | userDefinedServices |
[static]
void executeService ( const QString& _path, KDEDesktopMimeType::Service& _service )
| executeService |
[static]
Parameters:
_path | is the path of the desktop entry. |
void executeService ( const KURL::List& urls, KDEDesktopMimeType::Service& service )
| executeService |
[static]
Execute service
on the list of urls
pid_t run ( const KURL& _url, bool _is_local )
| run |
[static]
Invokes the default action for the desktop entry. If the desktop entry is not local, then only false is returned. Otherwise we would create a security problem. Only types Link and Mimetype could be followed.
Returns: true on success and false on failure.
See also: runURL
QPixmap pixmap (int a, int b, int c, QString *d)
| pixmap |
[protected const virtual]
Reimplemented from KMimeType.
pid_t runFSDevice ( const KURL& _url, const KSimpleConfig &cfg )
| runFSDevice |
[protected static]
pid_t runApplication ( const KURL& _url, const QString & _serviceFile )
| runApplication |
[protected static]
pid_t runLink ( const KURL& _url, const KSimpleConfig &cfg )
| runLink |
[protected static]
pid_t runMimeType ( const KURL& _url, const KSimpleConfig &cfg )
| runMimeType |
[protected static]
Generated by: dfaure on kde.faure.org on Thu Jan 17 22:16:53 2002, using kdoc 2.0a53. |