Skip to content

Commit 4e432e1

Browse files
committed
Manual conversions & formatting
1 parent b083f5a commit 4e432e1

30 files changed

+276
-149
lines changed

LICENSES/BSD-2-Clause.txt

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) <year> <owner> All rights reserved.
2+
3+
Redistribution and use in source and binary forms, with or without modification,
4+
are permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice,
7+
this list of conditions and the following disclaimer.
8+
9+
2. Redistributions in binary form must reproduce the above copyright notice,
10+
this list of conditions and the following disclaimer in the documentation
11+
and/or other materials provided with the distribution.
12+
13+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
14+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
17+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
20+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
22+
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

LICENSES/GPL-3.0-or-later.txt

+232
Large diffs are not rendered by default.

lib/cppparser/ast.cpp

+3-15
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
/* This file is part of KDevelop
1+
/*
2+
This file is part of KDevelop
23
SPDX-FileCopyrightText: 2002, 2003 Roberto Raggi <roberto@kdevelop.org>
3-
4-
This library is free software; you can redistribute it and/or
5-
modify it under the terms of the GNU Library General Public
6-
License as published by the Free Software Foundation; either
7-
version 2 of the License, or (at your option) any later version.
8-
9-
This library is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12-
Library General Public License for more details.
13-
14-
You should have received a copy of the GNU Library General Public License
15-
along with this library; see the file COPYING.LIB. If not, see
16-
<http://www.gnu.org/licenses/>
4+
SPDX-License-Identifier: LGPL-2.0-or-later
175
*/
186

197
#include "ast.h"

lib/kdev4-php/cmake/FindKDevPlatform.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# Parameters should be the directories containing the templates.
3636
#
3737
# SPDX-FileCopyrightText: 2007 Andreas Pakulat <apaku@gmx.de>
38-
# Redistribution and use is allowed according to the terms of the BSD license.
38+
# SPDX-License-Identifier: BSD-2-Clause
3939

4040
set(_KDevPlatform_FIND_QUIETLY ${KDevPlatform_FIND_QUIETLY})
4141
find_package( KDevPlatform ${KDevPlatform_FIND_VERSION} NO_MODULE )

tools/po2xmi.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
22
SPDX-License-Identifier: GPL-2.0-or-later
33
SPDX-FileCopyrightText: 2014-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4-
5-
@author Ralf Habacker <ralf.habacker@freenet.de>
6-
4+
SPDX-FileCopyrightText: 2014-2020 Ralf Habacker <ralf.habacker@freenet.de>
75
*/
86

97
#include "shared.h"

tools/shared.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
22
SPDX-License-Identifier: GPL-2.0-or-later
33
SPDX-FileCopyrightText: 2014-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4-
5-
@author Ralf Habacker <ralf.habacker@freenet.de>
6-
4+
SPDX-FileCopyrightText: 2014-2020 Ralf Habacker <ralf.habacker@freenet.de>
75
*/
86

97
#include "shared.h"

tools/shared.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
22
SPDX-License-Identifier: GPL-2.0-or-later
33
SPDX-FileCopyrightText: 2014-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4-
5-
@author Ralf Habacker <ralf.habacker@freenet.de>
6-
4+
SPDX-FileCopyrightText: 2014-2020 Ralf Habacker <ralf.habacker@freenet.de>
75
*/
86

97
#ifndef SHARED_H

tools/xmi2pot.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/*
22
SPDX-License-Identifier: GPL-2.0-or-later
33
SPDX-FileCopyrightText: 2014-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4-
5-
@author Ralf Habacker <ralf.habacker@freenet.de>
6-
4+
SPDX-FileCopyrightText: 2014-2020 Ralf Habacker <ralf.habacker@freenet.de>
75
*/
86

97
#include <stdlib.h>

umbrello/basictypes.cpp

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
/*
22
SPDX-FileCopyrightText: 2011 Andi Fischer <andi.fischer@hispeed.ch>
3-
4-
This is free software; you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation; either version 2, or (at your option)
7-
any later version.
8-
9-
This software is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
13-
14-
You should have received a copy of the GNU General Public License
15-
along with this package; see the file COPYING. If not, write to
16-
the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
17-
Boston, MA 02110-1301, USA.
3+
SPDX-License-Identifier: GPL-2.0-or-later
184
*/
195

206
#include "basictypes.h"

umbrello/basictypes.h

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
/*
22
SPDX-FileCopyrightText: 2011 Andi Fischer <andi.fischer@hispeed.ch>
3-
4-
This is free software; you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation; either version 2, or (at your option)
7-
any later version.
8-
9-
This software is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
13-
14-
You should have received a copy of the GNU General Public License
15-
along with this package; see the file COPYING. If not, write to
16-
the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
17-
Boston, MA 02110-1301, USA.
3+
SPDX-License-Identifier: GPL-2.0-or-later
184
*/
195

206
#ifndef BASICTYPES_H

umbrello/codegenerators/js/jswriter.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
/*
2-
This program is free software; you can redistribute it and/or modify
3-
it under the terms of the GNU General Public License js published by
4-
the Free Software Foundation; either version 2 of the License, or
5-
(at your option) any later version.
6-
72
SPDX-FileCopyrightText: 2003 Alexander Blum <blum@kewbee.de>
83
SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4+
SPDX-License-Identifier: GPL-2.0-or-later
95
*/
106

117
#include "jswriter.h"

umbrello/codegenerators/php/php5writer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
SPDX-License-Identifier: GPL-2.0-or-later
33
44
SPDX-FileCopyrightText: 2002 Heiko Nardmann <h.nardmann@secunet.de>
5-
Thorsten Kunz <tk AT bytecrash DOT net>
5+
SPDX-FileCopyrightText: 2004 Thorsten Kunz <tk AT bytecrash DOT net>
66
SPDX-FileCopyrightText: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
77
*/
88

umbrello/codegenerators/php/php5writer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
SPDX-License-Identifier: GPL-2.0-or-later
33
44
SPDX-FileCopyrightText: 2002 Heiko Nardmann <h.nardmann@secunet.de>
5-
Thorsten Kunz <tk AT bytecrash DOT net>
5+
SPDX-FileCopyrightText: 2004 Thorsten Kunz <tk AT bytecrash DOT net>
66
SPDX-FileCopyrightText: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
77
*/
88

umbrello/dialogs/pages/codeimportoptionspage.cpp

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
22
SPDX-FileCopyrightText: 2011-2014 Ralf Habacker <ralf.habacker@freenet.de>
33
4-
This is free software; you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation; either version 2, or (at your option)
7-
any later version.
8-
9-
This software is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
13-
14-
You should have received a copy of the GNU General Public License
15-
along with this package; see the file COPYING. If not, write to
16-
the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
17-
Boston, MA 02110-1301, USA.
4+
SPDX-License-Identifier: GPL-2.0-or-later
185
*/
196

207
// own header

umbrello/dialogs/pages/codeimportoptionspage.h

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
/*
22
SPDX-FileCopyrightText: 2011-2014 Ralf Habacker <ralf.habacker@freenet.de>
33
4-
This is free software; you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation; either version 2, or (at your option)
7-
any later version.
8-
9-
This software is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
13-
14-
You should have received a copy of the GNU General Public License
15-
along with this package; see the file COPYING. If not, write to
16-
the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
17-
Boston, MA 02110-1301, USA.
4+
SPDX-License-Identifier: GPL-2.0-or-later
185
*/
196

207
#ifndef CODEIMPORTOPTIONSPAGE_H

umbrello/dialogs/umlenumliteraldialog.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/*
2-
This program is free software; you can redistribute it and/or modify
3-
it under the terms of the GNU General Public License as published by
4-
the Free Software Foundation; either version 3 of the License, or
5-
(at your option) any later version.
2+
SPDX-License-Identifier: GPL-3.0-or-later
63
74
SPDX-FileCopyrightText: 2015 Tzvetelin Katchov <katchov@gmail.com>
85
SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>

umbrello/dialogs/umlenumliteraldialog.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/*
2-
This program is free software; you can redistribute it and/or modify
3-
it under the terms of the GNU General Public License as published by
4-
the Free Software Foundation; either version 3 of the License, or
5-
(at your option) any later version.
2+
SPDX-License-Identifier: GPL-3.0-or-later
63
74
SPDX-FileCopyrightText: 2015 Tzvetelin Katchov <katchov@gmail.com>
85
SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>

umbrello/dialogs/widgets/umlstereotypewidget.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/*
22
SPDX-License-Identifier: GPL-2.0-or-later
3-
4-
copyright (C) 2002-2014,2019
5-
Umbrello UML Modeller Authors <umbrello-devel@kde.org>
3+
SPDX-FileCopyrightText: 2002-2014,2019 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
64
*/
75

86
#include "umlstereotypewidget.h"

umbrello/dialogs/widgets/umlstereotypewidget.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/*
22
SPDX-License-Identifier: GPL-2.0-or-later
3-
4-
copyright (C) 2002-2014,2019
5-
Umbrello UML Modeller Authors <umbrello-devel@kde.org>
3+
SPDX-FileCopyrightText: 2002-2014,2019 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
64
*/
75

86
#ifndef UMLSTEREOTYPEWIDGET_H

umbrello/docgenerators/xmi2docbook.xsl

+1-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@
1212
SPDX-FileCopyrightText: 2005 Oliver M. Kellogg <okellogg@users.sourceforge.net>
1313
SPDX-FileCopyrightText: 2006 Gaël de Chalendar (Kleag) <kleag@free.fr>
1414
15-
This program is free software; you can redistribute it and/or modify
16-
it under the terms of the GNU General Public License as published by
17-
the Free Software Foundation. A copy of the license may be found at
18-
http://www.gnu.org/licenses/gpl.html
19-
20-
Version: June, 16 2006
15+
SPDX-License-Identifier: GPL-3.0-only
2116
2217
xmlns="http://www.w3.org/1999/xhtml"
2318
-->

umbrello/uml1model/category.h

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
32
SPDX-License-Identifier: GPL-2.0-or-later
43
SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
54
*/

umbrello/uml1model/umlassociationlist.h

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
32
SPDX-License-Identifier: GPL-2.0-or-later
43
SPDX-FileCopyrightText: 2004-2007 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
54
*/

umbrello/uml1model/umlattributelist.h

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
32
SPDX-License-Identifier: GPL-2.0-or-later
43
SPDX-FileCopyrightText: 2004-2014 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
54
*/

umbrello/uml1model/umlentityattributelist.h

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
32
SPDX-License-Identifier: GPL-2.0-or-later
43
SPDX-FileCopyrightText: 2004-2014 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
54
*/

umbrello/uml1model/umlentityconstraintlist.h

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
32
SPDX-License-Identifier: GPL-2.0-or-later
43
SPDX-FileCopyrightText: 2004-2014 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
54
*/

umbrello/uml1model/umlenumliterallist.h

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
32
SPDX-License-Identifier: GPL-2.0-or-later
43
SPDX-FileCopyrightText: 2004-2007 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
54
*/

umbrello/uml1model/umloperationlist.h

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
32
SPDX-License-Identifier: GPL-2.0-or-later
43
SPDX-FileCopyrightText: 2003-2007 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
54
*/

umbrello/uml1model/umlpackagelist.h

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/*
2-
32
SPDX-License-Identifier: GPL-2.0-or-later
43
SPDX-FileCopyrightText: 2003-2007 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
54
*/

umbrello/umlwidgets/layoutgrid.cpp

+1-14
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,7 @@
22
SPDX-FileCopyrightText: 2011 Andi Fischer <andi.fischer@hispeed.ch>
33
SPDX-FileCopyrightText: 2012 Ralf Habacker <ralf.habacker@freenet.de>
44
5-
This is free software; you can redistribute it and/or modify
6-
it under the terms of the GNU General Public License as published by
7-
the Free Software Foundation; either version 2, or (at your option)
8-
any later version.
9-
10-
This software is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
GNU General Public License for more details.
14-
15-
You should have received a copy of the GNU General Public License
16-
along with this package; see the file COPYING. If not, write to
17-
the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
18-
Boston, MA 02110-1301, USA.
5+
SPDX-License-Identifier: GPL-2.0-or-later
196
*/
207

218
#include "layoutgrid.h"

umbrello/umlwidgets/layoutgrid.h

+1-14
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,7 @@
22
SPDX-FileCopyrightText: 2011 Andi Fischer <andi.fischer@hispeed.ch>
33
SPDX-FileCopyrightText: 2012 Ralf Habacker <ralf.habacker@freenet.de>
44
5-
This is free software; you can redistribute it and/or modify
6-
it under the terms of the GNU General Public License as published by
7-
the Free Software Foundation; either version 2, or (at your option)
8-
any later version.
9-
10-
This software is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
GNU General Public License for more details.
14-
15-
You should have received a copy of the GNU General Public License
16-
along with this package; see the file COPYING. If not, write to
17-
the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
18-
Boston, MA 02110-1301, USA.
5+
SPDX-License-Identifier: GPL-2.0-or-later
196
*/
207

218
#ifndef LAYOUTGRID_H

0 commit comments

Comments
 (0)