Plasma
DBusPlayerFactory Class Reference
A player factory that creates players based on a DBus service. More...
#include <playerfactory.h>
Inheritance diagram for DBusPlayerFactory:

Public Member Functions | |
| Player::Ptr | create (const QString &serviceName) |
| virtual Player::Ptr | create (const QVariantList &args=QVariantList())=0 |
| DBusPlayerFactory (QObject *parent=0) | |
| virtual bool | matches (const QString &serviceName)=0 |
Detailed Description
A player factory that creates players based on a DBus service.Definition at line 66 of file playerfactory.h.
Constructor & Destructor Documentation
| DBusPlayerFactory::DBusPlayerFactory | ( | QObject * | parent = 0 |
) |
Definition at line 15 of file playerfactory.cpp.
Member Function Documentation
| Player::Ptr DBusPlayerFactory::create | ( | const QString & | serviceName | ) |
Definition at line 21 of file playerfactory.cpp.
| virtual Player::Ptr DBusPlayerFactory::create | ( | const QVariantList & | args = QVariantList() |
) | [pure virtual] |
Create a player.
Returns 0 if a valid player could not be created.
Implements PlayerFactory.
Implemented in JukFactory, and MprisFactory.
| virtual bool DBusPlayerFactory::matches | ( | const QString & | serviceName | ) | [pure virtual] |
Whether the given dbus service name is a service for this player.
Implemented in JukFactory, and MprisFactory.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference