diff options
author | Sandro S. Andrade <sandroandrade@kde.org> | 2013-04-15 14:43:19 -0300 |
---|---|---|
committer | Sandro S. Andrade <sandroandrade@kde.org> | 2013-04-15 19:57:08 +0200 |
commit | e08faa6ab3a54eca7c25da4c3fcddcde699eb16e (patch) | |
tree | 5b18a9e9d20acfc71fd249cba9d3745b64198e3f /scripts | |
parent | 114c22a69e9ce1fee06a11949db4f1421da67f3a (diff) |
Fix license issues reported from CI
Change-Id: I7f466258db783a9727ab0428b4964dcf7bc80410
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/templates/class.cpp | 53 | ||||
-rw-r--r-- | scripts/templates/class.h | 52 | ||||
-rw-r--r-- | scripts/templates/class_p.h | 52 | ||||
-rw-r--r-- | scripts/templates/namespace.cpp | 55 | ||||
-rw-r--r-- | scripts/templates/namespace.h | 52 | ||||
-rw-r--r-- | scripts/templates/project.pri | 0 | ||||
-rwxr-xr-x | scripts/xmi2qt.pl | 40 |
7 files changed, 171 insertions, 133 deletions
diff --git a/scripts/templates/class.cpp b/scripts/templates/class.cpp index f7c03d1c..97d41cb6 100644 --- a/scripts/templates/class.cpp +++ b/scripts/templates/class.cpp @@ -468,45 +468,44 @@ void ${class.name}::unset${associationend.accessor.0.name.ucfirst.replace('^Is', [%- END -%] /**************************************************************************** ** -** Copyright (C) 2012 Sandro S. Andrade <sandroandrade@kde.org> -** Contact: http://www.qt-project.org/ +** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org> +** Contact: http://www.qt-project.org/legal ** ** This file is part of the [% namespace.split('/').0 %] module of the Qt Toolkit. ** -** [% GET '$QT_BEGIN_LICENSE:LGPL$' %] +** \$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 Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** ** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. ** ** -** -** -** [% GET '$QT_END_LICENSE$' %] +** \$QT_END_LICENSE\$ ** ****************************************************************************/ - #include "${class.name.lower}.h" #include "${class.name.lower}_p.h" diff --git a/scripts/templates/class.h b/scripts/templates/class.h index 6635e4e4..ba7a8719 100644 --- a/scripts/templates/class.h +++ b/scripts/templates/class.h @@ -132,42 +132,42 @@ [%- END -%] /**************************************************************************** ** -** Copyright (C) 2012 Sandro S. Andrade <sandroandrade@kde.org> -** Contact: http://www.qt-project.org/ +** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org> +** Contact: http://www.qt-project.org/legal ** ** This file is part of the [% namespace.split('/').0 %] module of the Qt Toolkit. ** -** [% GET '$QT_BEGIN_LICENSE:LGPL$' %] +** \$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 Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** ** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia LGPL Exception +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. ** ** -** [% GET '$QT_END_LICENSE$' %] +** \$QT_END_LICENSE\$ ** ****************************************************************************/ #ifndef ${class.name.upper}_H diff --git a/scripts/templates/class_p.h b/scripts/templates/class_p.h index 6e465b84..c1f13104 100644 --- a/scripts/templates/class_p.h +++ b/scripts/templates/class_p.h @@ -1,41 +1,41 @@ /**************************************************************************** ** -** Copyright (C) 2012 Sandro S. Andrade <sandroandrade@kde.org> -** Contact: http://www.qt-project.org/ +** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org> +** Contact: http://www.qt-project.org/legal ** ** This file is part of the [% namespace.split('/').0 %] module of the Qt Toolkit. ** -** [% GET '$QT_BEGIN_LICENSE:LGPL$' %] +** \$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 Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** ** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia LGPL Exception +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. ** ** -** [% GET '$QT_END_LICENSE$' %] +** \$QT_END_LICENSE\$ ** ****************************************************************************/ #ifndef ${class.name.upper}_P_H diff --git a/scripts/templates/namespace.cpp b/scripts/templates/namespace.cpp index ea292aa7..45c47668 100644 --- a/scripts/templates/namespace.cpp +++ b/scripts/templates/namespace.cpp @@ -1,44 +1,43 @@ /**************************************************************************** ** -** Copyright (C) 2012 Sandro S. Andrade <sandroandrade@kde.org> -** Contact: http://www.qt-project.org/ +** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org> +** Contact: http://www.qt-project.org/legal ** ** This file is part of the [% namespace.split('/').0 %] module of the Qt Toolkit. ** -** [% GET '$QT_BEGIN_LICENSE:LGPL$' %] +** \$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 Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** ** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. ** ** -** -** -** [% GET '$QT_END_LICENSE$' %] +** \$QT_END_LICENSE\$ ** ****************************************************************************/ - #include "${namespace.split('/').0.lower}namespace.h" QT_BEGIN_NAMESPACE diff --git a/scripts/templates/namespace.h b/scripts/templates/namespace.h index 4d3289f8..76c95d11 100644 --- a/scripts/templates/namespace.h +++ b/scripts/templates/namespace.h @@ -1,41 +1,41 @@ /**************************************************************************** ** -** Copyright (C) 2012 Sandro S. Andrade <sandroandrade@kde.org> -** Contact: http://www.qt-project.org/ +** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org> +** Contact: http://www.qt-project.org/legal ** ** This file is part of the [% namespace.split('/').0 %] module of the Qt Toolkit. ** -** [% GET '$QT_BEGIN_LICENSE:LGPL$' %] +** \$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 Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** ** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia LGPL Exception +** In addition, as a special exception, Digia gives you certain additional +** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. ** ** -** [% GET '$QT_END_LICENSE$' %] +** \$QT_END_LICENSE\$ ** ****************************************************************************/ #ifndef ${namespace.split('/').0.upper}NAMESPACE_H diff --git a/scripts/templates/project.pri b/scripts/templates/project.pri deleted file mode 100644 index e69de29b..00000000 --- a/scripts/templates/project.pri +++ /dev/null diff --git a/scripts/xmi2qt.pl b/scripts/xmi2qt.pl index 2d1f023c..23de785f 100755 --- a/scripts/xmi2qt.pl +++ b/scripts/xmi2qt.pl @@ -1,4 +1,44 @@ #!/usr/bin/env perl +############################################################################# +## +## Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org> +## Contact: http://www.qt-project.org/legal +## +## This file is part of the QtModeling project 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 Digia. For licensing terms and +## conditions see http://qt.digia.com/licensing. For further information +## use the contact form at http://qt.digia.com/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 2.1 as published by the Free Software +## Foundation and appearing in the file LICENSE.LGPL included in the +## packaging of this file. Please review the following information to +## ensure the GNU Lesser General Public License version 2.1 requirements +## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## In addition, as a special exception, Digia gives you certain additional +## rights. These rights are described in the Digia Qt LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3.0 as published by the Free Software +## Foundation and appearing in the file LICENSE.GPL included in the +## packaging of this file. Please review the following information to +## ensure the GNU General Public License version 3.0 requirements will be +## met: http://www.gnu.org/copyleft/gpl.html. +## +## +## $QT_END_LICENSE$ +## +############################################################################/ use strict; use warnings; |