summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoaprintersupport.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-05-11 17:57:24 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-06-04 01:46:27 +0200
commit7f179eff61826323afea474b8ecd1a04f0a41e32 (patch)
treea0b32c05171d45b5957f09034e3b6220894e1f8b /src/plugins/platforms/cocoa/qcocoaprintersupport.h
parent6a3c6f939f29c83d53d2da0c3f53b814bdd02358 (diff)
Move macOS print support from platform plugin into QtPrintSupport
Task-number: QTBUG-83256 Change-Id: I29044b6c3f952c259f501f94a175c8ef2cbaae55 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaprintersupport.h')
-rw-r--r--src/plugins/platforms/cocoa/qcocoaprintersupport.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoaprintersupport.h b/src/plugins/platforms/cocoa/qcocoaprintersupport.h
deleted file mode 100644
index b1a9541c03..0000000000
--- a/src/plugins/platforms/cocoa/qcocoaprintersupport.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtPrintSupport module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 3 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL3 included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 3 requirements
-** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 2.0 or (at your option) the GNU General
-** Public license version 3 or any later version approved by the KDE Free
-** Qt Foundation. The licenses are as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-** https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QCOCOAPRINTERSUPPORT_H
-#define QCOCOAPRINTERSUPPORT_H
-
-#include <qpa/qplatformprintersupport.h>
-#ifndef QT_NO_PRINTER
-
-QT_BEGIN_NAMESPACE
-
-class QCocoaPrinterSupport : public QPlatformPrinterSupport
-{
-public:
- QCocoaPrinterSupport();
- ~QCocoaPrinterSupport();
-
- QPrintEngine *createNativePrintEngine(QPrinter::PrinterMode printerMode, const QString &deviceId = QString()) override;
- QPaintEngine *createPaintEngine(QPrintEngine *, QPrinter::PrinterMode printerMode) override;
-
- QPrintDevice createPrintDevice(const QString &id) override;
- QStringList availablePrintDeviceIds() const override;
- QString defaultPrintDeviceId() const override;
-};
-
-QT_END_NAMESPACE
-
-#endif // QT_NO_PRINTER
-#endif // QCOCOAPRINTERSUPPORT_H