#include "cameraconfig.h"
#include "videoplayer.h"
#include "viewfinder.h"
+#include "capability.h"
+#include "imageresolution.h"
+#include "videoresolution.h"
+#include "quirks.h"
#if defined(QT4)
#include <QDeclarativeEngine>
#elif defined(QT5)
qmlRegisterUncreatableType<WhiteBalance>(uri, MAJOR, MINOR, "WhiteBalance", QObject::tr("Cannot create separate instance of WhiteBalance"));
qmlRegisterUncreatableType<ColorTone>(uri, MAJOR, MINOR, "ColorTone", QObject::tr("Cannot create separate instance of ColorTone"));
qmlRegisterUncreatableType<Exposure>(uri, MAJOR, MINOR, "Exposure", QObject::tr("Cannot create separate instance of Exposure"));
- qmlRegisterUncreatableType<Aperture>(uri, MAJOR, MINOR, "Aperture", QObject::tr("Cannot create separate instance of Iso"));
+ qmlRegisterUncreatableType<Aperture>(uri, MAJOR, MINOR, "Aperture", QObject::tr("Cannot create separate instance of Aperture"));
qmlRegisterUncreatableType<Iso>(uri, MAJOR, MINOR, "Iso", QObject::tr("Cannot create separate instance of Iso"));
qmlRegisterUncreatableType<NoiseReduction>(uri, MAJOR, MINOR, "NoiseReduction", QObject::tr("Cannot create separate instance of NoiseReduction"));
qmlRegisterUncreatableType<FlickerReduction>(uri, MAJOR, MINOR, "FlickerReduction", QObject::tr("Cannot create separate instance of FlickerReduction"));
qmlRegisterType<VideoPlayer>("QtCameraExtras", MAJOR, MINOR, "VideoPlayer");
qmlRegisterType<Viewfinder>(uri, MAJOR, MINOR, "Viewfinder");
+ qmlRegisterType<Capability>();
+
+ qmlRegisterType<ImageResolution>(uri, MAJOR, MINOR, "ImageResolution");
+ qmlRegisterType<VideoResolution>(uri, MAJOR, MINOR, "VideoResolution");
+
+ qmlRegisterUncreatableType<Quirks>(uri, MAJOR, MINOR, "Quirks",
+ "Quirks can be obtained from Camera");
}
#if defined(QT4)