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

List:       kde-multimedia
Subject:    Introducing KMediaPlayer
From:       Neil Stevens <neil () qualityassistant ! com>
Date:       2002-04-04 23:08:18
[Download RAW message or body]

Here's my current version of KMediaPlayer. Needing only some header 
comments for documentation, it seems more or less complete to me, so I put 
it forward for consideration and comment.

The namespace has three classes, two of them being interfaces for reuse:

KMediaPlayer::Engine is a simple QObject that provides the basic media 
player operations.  I give this the servicetype KMediaPlayer/Engine.

KMediaPlayer::Player is a KParts::ReadOnlyPart that is supposed to give UI 
to KMediaPlayer::Engine, going as far as to provide a pointer to an 
Engine.  I give it the servietype KMediaPlayer/Player, derived from the 
KParts::ReadOnlyPart.

KMediaPlayer::View is an abstract QWidget that you're supposed to get from 
a Player.  It provides a mechanism for controlling which, if any, control 
buttons are shown in the UI.

Having written no KParts code in the past, I welcome any and all criticism 
of this interface.
-- 
Neil Stevens - neil@qualityassistant.com
"I always cheer up immensely if an attack is particularly wounding
because I think, well, if they attack one personally, it means they
have not a single political argument left." - Margaret Thatcher

["kmediaplayer.tar.bz2" (application/x-tbz)]
_______________________________________________
kde-multimedia mailing list
kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia

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

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