diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-03-16 11:26:24 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-03-16 11:49:53 +0100 |
commit | 0f9e8f15e6ed95c225fe3b6f9aaa22288987c9a2 (patch) | |
tree | 0dfdcdb32abc0d7548dd33a271a75a7106417b4c | |
parent | 83adde7eeab94c2e6d6a756cf268a6c664cfb309 (diff) |
Fixup copyright headers and includes
From API review.
Task-number: QTBUG-81853
Change-Id: Ib208a342edcaa9c48dde80ef02bc6f85e35d8029
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r-- | src/pdf/api/qpdfbookmarkmodel.h | 4 | ||||
-rw-r--r-- | src/pdf/api/qpdfdocument.h | 11 | ||||
-rw-r--r-- | src/pdf/api/qpdfdocument_p.h | 10 | ||||
-rw-r--r-- | src/pdf/api/qpdfnamespace.h | 3 | ||||
-rw-r--r-- | src/pdf/api/qpdfpagenavigation.h | 3 | ||||
-rw-r--r-- | src/pdf/api/qpdfpagerenderer.h | 8 | ||||
-rw-r--r-- | src/pdf/api/qpdfsearchmodel.h | 6 | ||||
-rw-r--r-- | src/pdf/api/qpdfsearchresult.h | 3 | ||||
-rw-r--r-- | src/pdf/api/qpdfselection.h | 9 | ||||
-rw-r--r-- | src/pdf/api/qtpdfglobal.h | 2 | ||||
-rw-r--r-- | src/pdf/jsbridge.cpp | 2 | ||||
-rw-r--r-- | src/pdf/qpdfbookmarkmodel.cpp | 2 | ||||
-rw-r--r-- | src/pdf/qpdfdocument.cpp | 2 |
13 files changed, 35 insertions, 30 deletions
diff --git a/src/pdf/api/qpdfbookmarkmodel.h b/src/pdf/api/qpdfbookmarkmodel.h index 503a29100..8e06a1547 100644 --- a/src/pdf/api/qpdfbookmarkmodel.h +++ b/src/pdf/api/qpdfbookmarkmodel.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtPDF module of the Qt Toolkit. @@ -38,7 +38,7 @@ #define QPDFBOOKMARKMODEL_H #include <QtPdf/qtpdfglobal.h> -#include <QAbstractItemModel> +#include <QtCore/qabstractitemmodel.h> QT_BEGIN_NAMESPACE diff --git a/src/pdf/api/qpdfdocument.h b/src/pdf/api/qpdfdocument.h index 027cdeb47..f80a7832b 100644 --- a/src/pdf/api/qpdfdocument.h +++ b/src/pdf/api/qpdfdocument.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtPDF module of the Qt Toolkit. @@ -38,10 +38,11 @@ #define QPDFDOCUMENT_H #include <QtPdf/qtpdfglobal.h> -#include <QImage> -#include <QObject> -#include <QtPdf/QPdfDocumentRenderOptions> -#include "qpdfselection.h" + +#include <QtCore/qobject.h> +#include <QtGui/qimage.h> +#include <QtPdf/qpdfdocumentrenderoptions.h> +#include <QtPdf/qpdfselection.h> QT_BEGIN_NAMESPACE diff --git a/src/pdf/api/qpdfdocument_p.h b/src/pdf/api/qpdfdocument_p.h index 2dcb70407..b69b6f19e 100644 --- a/src/pdf/api/qpdfdocument_p.h +++ b/src/pdf/api/qpdfdocument_p.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtPDF module of the Qt Toolkit. @@ -53,10 +53,10 @@ #include "third_party/pdfium/public/fpdfview.h" #include "third_party/pdfium/public/fpdf_dataavail.h" -#include <qbuffer.h> -#include <qmutex.h> -#include <qnetworkreply.h> -#include <qpointer.h> +#include <QtCore/qbuffer.h> +#include <QtCore/qmutex.h> +#include <QtCore/qpointer.h> +#include <QtNetwork/qnetworkreply.h> QT_BEGIN_NAMESPACE diff --git a/src/pdf/api/qpdfnamespace.h b/src/pdf/api/qpdfnamespace.h index c8fd8a580..e76d0abd9 100644 --- a/src/pdf/api/qpdfnamespace.h +++ b/src/pdf/api/qpdfnamespace.h @@ -1,6 +1,7 @@ /**************************************************************************** ** ** Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias König <tobias.koenig@kdab.com> +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtPDF module of the Qt Toolkit. @@ -37,7 +38,7 @@ #ifndef QPDFNAMESPACE_H #define QPDFNAMESPACE_H -#include <QObject> +#include <QtCore/qobject.h> QT_BEGIN_NAMESPACE diff --git a/src/pdf/api/qpdfpagenavigation.h b/src/pdf/api/qpdfpagenavigation.h index 8da809646..0f416bf77 100644 --- a/src/pdf/api/qpdfpagenavigation.h +++ b/src/pdf/api/qpdfpagenavigation.h @@ -1,6 +1,7 @@ /**************************************************************************** ** ** Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias König <tobias.koenig@kdab.com> +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtPDF module of the Qt Toolkit. @@ -38,7 +39,7 @@ #define QPDFPAGENAVIGATION_H #include <QtPdf/qtpdfglobal.h> -#include <QObject> +#include <QtCore/qobject.h> QT_BEGIN_NAMESPACE diff --git a/src/pdf/api/qpdfpagerenderer.h b/src/pdf/api/qpdfpagerenderer.h index de6704480..21f270bd4 100644 --- a/src/pdf/api/qpdfpagerenderer.h +++ b/src/pdf/api/qpdfpagerenderer.h @@ -1,6 +1,7 @@ /**************************************************************************** ** ** Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias König <tobias.koenig@kdab.com> +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtPDF module of the Qt Toolkit. @@ -38,9 +39,10 @@ #define QPDFPAGERENDERER_H #include <QtPdf/qtpdfglobal.h> -#include <QObject> -#include <QtPdf/QPdfDocumentRenderOptions> -#include <QSize> + +#include <QtCore/qobject.h> +#include <QtCore/qsize.h> +#include <QtPdf/qpdfdocumentrenderoptions.h> QT_BEGIN_NAMESPACE diff --git a/src/pdf/api/qpdfsearchmodel.h b/src/pdf/api/qpdfsearchmodel.h index f1593b64b..eb0fb831f 100644 --- a/src/pdf/api/qpdfsearchmodel.h +++ b/src/pdf/api/qpdfsearchmodel.h @@ -37,11 +37,11 @@ #ifndef QPDFSEARCHMODEL_H #define QPDFSEARCHMODEL_H -#include "qtpdfglobal.h" -#include "qpdfdocument.h" -#include "qpdfsearchresult.h" +#include <QtPdf/qtpdfglobal.h> #include <QtCore/qabstractitemmodel.h> +#include <QtPdf/qpdfdocument.h> +#include <QtPdf/qpdfsearchresult.h> QT_BEGIN_NAMESPACE diff --git a/src/pdf/api/qpdfsearchresult.h b/src/pdf/api/qpdfsearchresult.h index 84a2f2343..2dfca2dc4 100644 --- a/src/pdf/api/qpdfsearchresult.h +++ b/src/pdf/api/qpdfsearchresult.h @@ -37,11 +37,10 @@ #ifndef QPDFSEARCHRESULT_H #define QPDFSEARCHRESULT_H -#include "qpdfdestination.h" - #include <QtCore/qdebug.h> #include <QtCore/qrect.h> #include <QtCore/qvector.h> +#include <QtPdf/qpdfdestination.h> QT_BEGIN_NAMESPACE diff --git a/src/pdf/api/qpdfselection.h b/src/pdf/api/qpdfselection.h index 900b203cf..a5e9280dc 100644 --- a/src/pdf/api/qpdfselection.h +++ b/src/pdf/api/qpdfselection.h @@ -38,10 +38,11 @@ #define QPDFSELECTION_H #include <QtPdf/qtpdfglobal.h> -#include <QClipboard> -#include <QExplicitlySharedDataPointer> -#include <QObject> -#include <QPolygonF> + +#include <QtCore/qobject.h> +#include <QtCore/qshareddata.h> +#include <QtGui/qclipboard.h> +#include <QtGui/qpolygon.h> QT_BEGIN_NAMESPACE diff --git a/src/pdf/api/qtpdfglobal.h b/src/pdf/api/qtpdfglobal.h index 34cfc46d9..223ec4bcb 100644 --- a/src/pdf/api/qtpdfglobal.h +++ b/src/pdf/api/qtpdfglobal.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtPDF module of the Qt Toolkit. diff --git a/src/pdf/jsbridge.cpp b/src/pdf/jsbridge.cpp index 95b813929..33d3b2465 100644 --- a/src/pdf/jsbridge.cpp +++ b/src/pdf/jsbridge.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtPDF module of the Qt Toolkit. diff --git a/src/pdf/qpdfbookmarkmodel.cpp b/src/pdf/qpdfbookmarkmodel.cpp index e648657ba..c9c365568 100644 --- a/src/pdf/qpdfbookmarkmodel.cpp +++ b/src/pdf/qpdfbookmarkmodel.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtPDF module of the Qt Toolkit. diff --git a/src/pdf/qpdfdocument.cpp b/src/pdf/qpdfdocument.cpp index d56edf4e9..89b27da8b 100644 --- a/src/pdf/qpdfdocument.cpp +++ b/src/pdf/qpdfdocument.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtPDF module of the Qt Toolkit. |