delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / workspace / plasma / dataengines / nowplaying / playerinterface / playerfactory.cpp
blob2eb238bb18a398c53cee4603fc69018719c0df55
1 #include "playerfactory.h"
3 PlayerFactory::PlayerFactory(QObject* parent)
4 : QObject(parent)
6 setObjectName("PlayerFactory");
9 PollingPlayerFactory::PollingPlayerFactory(QObject* parent)
10 : PlayerFactory(parent)
12 setObjectName("PollingPlayerFactory");
15 DBusPlayerFactory::DBusPlayerFactory(QObject* parent)
16 : PlayerFactory(parent)
18 setObjectName("DBusPlayerFactory");
21 Player::Ptr DBusPlayerFactory::create(const QString& serviceName)
23 return create(QVariantList() << QVariant(serviceName));
26 #include "playerfactory.moc"