KIO
kdesktopfileactions.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KDESKTOPFILEACTIONS_H
00021 #define KDESKTOPFILEACTIONS_H
00022
00023 #include <kserviceaction.h>
00024 #include <kio/kio_export.h>
00025 #include <kurl.h>
00026 class KDesktopFile;
00027 class KService;
00028
00032 namespace KDesktopFileActions
00033 {
00039 KIO_EXPORT QList<KServiceAction> builtinServices( const KUrl& url );
00040
00051 KIO_EXPORT QList<KServiceAction> userDefinedServices( const QString& path, bool bLocalFiles );
00052
00058 KIO_EXPORT QList<KServiceAction> userDefinedServices( const QString& path, const KDesktopFile& desktopFile, bool bLocalFiles, const KUrl::List & file_list = KUrl::List());
00059
00074 KIO_EXPORT QList<KServiceAction> userDefinedServices( const KService& service, bool bLocalFiles, const KUrl::List & file_list = KUrl::List() );
00075
00081 KIO_EXPORT void executeService( const KUrl::List& urls, const KServiceAction& service );
00082
00094 KIO_EXPORT bool run( const KUrl& _url, bool _is_local );
00095 }
00096
00097 #endif