From f9a9d3f59ec01bfc6ac037e801c0decece9596cc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 11 Oct 2014 17:19:24 -0500 Subject: Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications --- lib/interfaces/kdevplugin.h | 2 +- lib/interfaces/kdevplugincontroller.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/interfaces') diff --git a/lib/interfaces/kdevplugin.h b/lib/interfaces/kdevplugin.h index 31cc5550..5bdcaaf6 100644 --- a/lib/interfaces/kdevplugin.h +++ b/lib/interfaces/kdevplugin.h @@ -158,7 +158,7 @@ public: /**Queries for the plugin which supports given service type (such plugins are called extensions in KDevelop). All already loaded plugins will be queried and the first loaded one to support - the service type will be returned. Any plugin can be an extension, only "ServiceTypes=..." + the service type will be returned. Any plugin can be an extension, only "X-TDE-ServiceTypes=..." entry is required in .desktop file for that plugin. Template argument is used as a type to cast the result to. This is done because extension diff --git a/lib/interfaces/kdevplugincontroller.h b/lib/interfaces/kdevplugincontroller.h index 05ee050b..d72563d5 100644 --- a/lib/interfaces/kdevplugincontroller.h +++ b/lib/interfaces/kdevplugincontroller.h @@ -64,7 +64,7 @@ public: /**Queries for the plugin which supports given service type. All already loaded plugins will be queried and the first one to support the service type - will be returned. Any plugin can be an extension, only "ServiceTypes=..." entry is + will be returned. Any plugin can be an extension, only "X-TDE-ServiceTypes=..." entry is required in .desktop file for that plugin. @param serviceType The service type of an extension (like "TDevelop/SourceFormatter") @param constraint The constraint which is applied when quering for the service. This -- cgit v1.2.3