1#
2#    Copyright 2015 Kai Pastor
3#
4#    This file is part of OpenOrienteering.
5#
6#    OpenOrienteering is free software: you can redistribute it and/or modify
7#    it under the terms of the GNU General Public License as published by
8#    the Free Software Foundation, either version 3 of the License, or
9#    (at your option) any later version.
10#
11#    OpenOrienteering is distributed in the hope that it will be useful,
12#    but WITHOUT ANY WARRANTY; without even the implied warranty of
13#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14#    GNU General Public License for more details.
15#
16#    You should have received a copy of the GNU General Public License
17#    along with OpenOrienteering.  If not, see <http://www.gnu.org/licenses/>.
18
19
20# Update of legal information
21
221 {
23  i  /**
24  i\\ * This file is part of OpenOrienteering.
25  i\\ *
26  i\\ * This is a modified version of a file from the Qt Toolkit.
27  i\\ * You can redistribute it and/or modify it under the terms of
28  i\\ * the GNU General Public License, version 3, as published by
29  i\\ * the Free Software Foundation.
30  i\\ *
31  i\\ * OpenOrienteering is distributed in the hope that it will be useful,
32  i\\ * but WITHOUT ANY WARRANTY; without even the implied warranty of
33  i\\ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34  i\\ * GNU General Public License for more details.
35  i\\ *
36  i\\ * You should have received a copy of the GNU General Public License
37  i\\ * along with OpenOrienteering.  If not, see <http://www.gnu.org/licenses/>
38  i\\ *
39  i\\ * Changes:
40  i\\ * %DATE% Kai Pastor <dg0yt@darc.de>
41  i\\ * - Adjustment of legal information
42  i\\ * - Modifications required for separate compilation:
43  i\\ *   - Renaming of selected files, classes, members and macros
44  i\\ *   - Adjustment of include statements
45  i\\ *   - Removal of Q_XXX_EXPORT
46  i\\ */
47}
48/\*\* *This file is part of.*Qt/ {
49: cleanup
50  /\*\//! { N; b cleanup }
51  s/.*\n//
52}
53
54# Renaming of classes, members and macros
55
56s/QPdf/AdvancedPdf/g
57s/qpdf/advanced_pdf/
58s/QPDF/ADVANCED_PDF/
59s/QPRINTENGINE_PDF/PRINTENGINE_ADVANCED_PDF/
60
61# Adjustment of include statements
62
63s/<advanced_pdfwriter.h>/\"advanced_pdfwriter.h\"/
64s/qprintengine_pdf/printengine_advanced_pdf/
65s/private\/advanced_pdf_p.h/advanced_pdf_p.h/
66s/<private\/qfontsubset_p.h>/\"qfontsubset_p.h\"/
67s/QtCore\/private/private/
68/qfontsubset/!s/\"\(q\w*\)_p.h\"/<private\/\1_p.h>/
69/qfontsubset/!s/\"\(private\/q\w*\)_p.h\"/<\1_p.h>/
70
71# Removal of Q_XXX_EXPORT
72
73s/Q_\([A-Z]*\)_EXPORT //
74