|
|
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<Service> builtinServices ( const KURL& _url )
| 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<Service> userDefinedServices ( const KURL& _url )
| userDefinedServices |
[static]
Returns: a list of services defined by the user as possible actions on the given .desktop file.
void executeService ( const QString& _url, KDEDesktopMimeType::Service& _service )
| executeService |
[static]
Parameters:
_url | is the URL of the desktop entry. The URL must be local, otherwise nothing will happen. |
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 Tue Feb 27 12:46:56 2001, using kdoc 2.0a50. |