Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-16 09:05:14

0001 // Copyright (C) 2024 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 
0004 #ifndef QPDFOUTPUTINTENT_H
0005 #define QPDFOUTPUTINTENT_H
0006 
0007 #include <QtGui/qtguiglobal.h>
0008 
0009 #ifndef QT_NO_PDF
0010 
0011 #include <QtCore/qshareddata.h>
0012 
0013 QT_BEGIN_NAMESPACE
0014 
0015 class QString;
0016 class QUrl;
0017 class QColorSpace;
0018 
0019 class QPdfOutputIntentPrivate;
0020 QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(QPdfOutputIntentPrivate, Q_GUI_EXPORT)
0021 
0022 class Q_GUI_EXPORT QPdfOutputIntent
0023 {
0024 public:
0025     QPdfOutputIntent();
0026     QPdfOutputIntent(const QPdfOutputIntent &other);
0027     QPdfOutputIntent(QPdfOutputIntent &&other) noexcept = default;
0028     QPdfOutputIntent &operator=(const QPdfOutputIntent &other);
0029     QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QPdfOutputIntent)
0030     ~QPdfOutputIntent();
0031 
0032     void swap(QPdfOutputIntent &other) noexcept { d.swap(other.d); }
0033 
0034     QString outputConditionIdentifier() const;
0035     void setOutputConditionIdentifier(const QString &identifier);
0036 
0037     QString outputCondition() const;
0038     void setOutputCondition(const QString &condition);
0039 
0040     QUrl registryName() const;
0041     void setRegistryName(const QUrl &name);
0042 
0043     QColorSpace outputProfile() const;
0044     void setOutputProfile(const QColorSpace &profile);
0045 
0046 private:
0047     QExplicitlySharedDataPointer<QPdfOutputIntentPrivate> d;
0048 };
0049 
0050 Q_DECLARE_SHARED(QPdfOutputIntent)
0051 
0052 QT_END_NAMESPACE
0053 
0054 #endif // QT_NO_PDF
0055 
0056 #endif // QPDFOUTPUTINTENT_H