Removed QMediaServiceProvider parameter from media objects constructors.
QMediaServiceProvider should be removed from the public API, to provide media objects with a custom media service. A protected QMediaPlayer/QCamera/QRadioTuner/etc constructor with QMediaService* parameter is a cleaner and more flexible solution. Change-Id: I335cce4bbebe0e548c3df338f206e7be7c93c3dd Reviewed-by: Michael Goddard <michael.goddard@nokia.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
adb2bd2cd4
commit
a78a95ccd4
@@ -56,7 +56,6 @@
|
||||
#include <qcamerafocus.h>
|
||||
#include <qcameraimageprocessing.h>
|
||||
|
||||
#include <qmediaserviceprovider.h>
|
||||
#include <qmediaenumdebug.h>
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
@@ -144,7 +143,7 @@ public:
|
||||
};
|
||||
Q_DECLARE_FLAGS(LockTypes, LockType)
|
||||
|
||||
QCamera(QObject *parent = 0, QMediaServiceProvider *provider = QMediaServiceProvider::defaultServiceProvider());
|
||||
QCamera(QObject *parent = 0);
|
||||
QCamera(const QByteArray& device, QObject *parent = 0);
|
||||
~QCamera();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user