summaryrefslogtreecommitdiffstats
path: root/src/printsupport
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport')
-rw-r--r--src/printsupport/kernel/qplatformprintplugin.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/printsupport/kernel/qplatformprintplugin.h b/src/printsupport/kernel/qplatformprintplugin.h
index 597a5f4fcf..d7abfb65f8 100644
--- a/src/printsupport/kernel/qplatformprintplugin.h
+++ b/src/printsupport/kernel/qplatformprintplugin.h
@@ -61,24 +61,15 @@ QT_BEGIN_NAMESPACE
class QPlatformPrinterSupport;
-struct QPlatformPrinterSupportFactoryInterface : public QFactoryInterface
-{
- virtual QPlatformPrinterSupport *create(const QString &key) = 0;
-};
-
#define QPlatformPrinterSupportFactoryInterface_iid "org.qt-project.QPlatformPrinterSupportFactoryInterface"
-Q_DECLARE_INTERFACE(QPlatformPrinterSupportFactoryInterface, QPlatformPrinterSupportFactoryInterface_iid)
-
-class Q_PRINTSUPPORT_EXPORT QPlatformPrinterSupportPlugin : public QObject, public QPlatformPrinterSupportFactoryInterface
+class Q_PRINTSUPPORT_EXPORT QPlatformPrinterSupportPlugin : public QObject
{
Q_OBJECT
- Q_INTERFACES(QPlatformPrinterSupportFactoryInterface:QFactoryInterface)
public:
explicit QPlatformPrinterSupportPlugin(QObject *parent = 0);
~QPlatformPrinterSupportPlugin();
- virtual QStringList keys() const = 0;
virtual QPlatformPrinterSupport *create(const QString &key) = 0;
static QPlatformPrinterSupport *get();