From c9d040c1f5b0ee0ddd37e924576ec3bbd990f2ed Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sun, 27 May 2012 03:40:00 +0200 Subject: Don't inherit from QFactoryInterface for image plugins QFactoryInterface is obsolete now that we have the new plugins loading mechanism, where we can get the keys out of the plugin without having to load it. Remove it from QImageIOHandlerFactoryInterface as a first step of getting completely rid of it. Change-Id: I856b149dd20131e1cdcdcb271c1a355c9e0da6ab Reviewed-by: Thiago Macieira --- src/plugins/imageformats/jpeg/main.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins/imageformats/jpeg/main.h') diff --git a/src/plugins/imageformats/jpeg/main.h b/src/plugins/imageformats/jpeg/main.h index 8606eabdd9..99379a72d4 100644 --- a/src/plugins/imageformats/jpeg/main.h +++ b/src/plugins/imageformats/jpeg/main.h @@ -55,7 +55,6 @@ class QJpegPlugin : public QImageIOPlugin Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QImageIOHandlerFactoryInterface" FILE "jpeg.json") public: - QStringList keys() const; Capabilities capabilities(QIODevice *device, const QByteArray &format) const; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const; }; -- cgit v1.2.3