[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KMediaplayer::Player without GUI/view
From:       Mirko Leschikar <m.leschikar () web ! de>
Date:       2003-06-20 18:21:15
[Download RAW message or body]

> The KMediaPlayer docs say
> "There are two servicetypes for Player: KMediaPlayer/Player and
> KMediaPlayer/Engine. KMediaPlayer/Player provides a widget (accessable
> through view as well as XML GUI KActions. KMediaPlayer/Engine omits the
> user interface facets, for those who wish to provide their own
> interface."
I had read this, but at that time didn' know where to set 
"KMediaPlayer/Engine". I feel ashamed :-).
Another problem occurs: 
 KService::Ptr kaboodle = KServiceTypeProfile::preferredService("audio/x-wav", 
"KMediaPlayer/Engine");
always returns 0.
When I' m using "KMediaPlayer/Player" it doesn't work either.
Only the use of "KParts/ReadOnlyPart" with "audio/x-wav" returns a service.

I looked into the directories $KDEDIR/share/services and 
$KDEDIR/share/servicetypes and the requested files kaboodle_component.desktop 
,kmediaplayer.desktop and kmediaplayerengine.desktop are there.

Any hints?

thanks Mirko



 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic