Kimono.KRun.SetPreferredService C# (CSharp) Method

SetPreferredService() public method

Set the preferred service for opening this URL, after its mimetype will have been found by KRun. IMPORTANT: the service is only used if its configuration says it can handle this mimetype. This is used for instance for the X-KDE-LastOpenedWith key, for the recent documents list. name="desktopEntryName" the desktopEntryName of the service, e.g. "kate".
public SetPreferredService ( string desktopEntryName ) : void
desktopEntryName string
return void
        public void SetPreferredService(string desktopEntryName)
        {
            interceptor.Invoke("setPreferredService$", "setPreferredService(const QString&)", typeof(void), typeof(string), desktopEntryName);
        }