summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-27 20:25:32 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-29 13:32:55 -0700
commit5372f12d8bb136ecce5e42f35aaf7c253d8aad43 (patch)
tree0ba08d6d6930ed47d4557abb6ebe48760e81f6be
parentb368ecd5aae63a1f3016f9ddc1bfe2858cd316fc (diff)
downloadsubsurface-5372f12d8bb136ecce5e42f35aaf7c253d8aad43.tar.gz
Add SPDX header to Qt models
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-models/cleanertablemodel.cpp1
-rw-r--r--qt-models/cleanertablemodel.h1
-rw-r--r--qt-models/completionmodels.cpp1
-rw-r--r--qt-models/completionmodels.h1
-rw-r--r--qt-models/cylindermodel.cpp1
-rw-r--r--qt-models/cylindermodel.h1
-rw-r--r--qt-models/divecomputerextradatamodel.cpp1
-rw-r--r--qt-models/divecomputerextradatamodel.h1
-rw-r--r--qt-models/divecomputermodel.cpp1
-rw-r--r--qt-models/divecomputermodel.h1
-rw-r--r--qt-models/divelistmodel.cpp1
-rw-r--r--qt-models/divelistmodel.h1
-rw-r--r--qt-models/divelocationmodel.cpp1
-rw-r--r--qt-models/divelocationmodel.h1
-rw-r--r--qt-models/divepicturemodel.cpp1
-rw-r--r--qt-models/divepicturemodel.h1
-rw-r--r--qt-models/diveplannermodel.cpp1
-rw-r--r--qt-models/diveplannermodel.h1
-rw-r--r--qt-models/diveplotdatamodel.cpp1
-rw-r--r--qt-models/diveplotdatamodel.h1
-rw-r--r--qt-models/divesitepicturesmodel.cpp1
-rw-r--r--qt-models/divesitepicturesmodel.h1
-rw-r--r--qt-models/divetripmodel.cpp1
-rw-r--r--qt-models/divetripmodel.h1
-rw-r--r--qt-models/filtermodels.cpp1
-rw-r--r--qt-models/filtermodels.h1
-rw-r--r--qt-models/gpslistmodel.cpp1
-rw-r--r--qt-models/gpslistmodel.h1
-rw-r--r--qt-models/models.cpp1
-rw-r--r--qt-models/models.h1
-rw-r--r--qt-models/ssrfsortfilterproxymodel.cpp1
-rw-r--r--qt-models/ssrfsortfilterproxymodel.h1
-rw-r--r--qt-models/tankinfomodel.cpp1
-rw-r--r--qt-models/tankinfomodel.h1
-rw-r--r--qt-models/treemodel.cpp1
-rw-r--r--qt-models/treemodel.h1
-rw-r--r--qt-models/weightmodel.cpp1
-rw-r--r--qt-models/weightmodel.h1
-rw-r--r--qt-models/weigthsysteminfomodel.cpp1
-rw-r--r--qt-models/weigthsysteminfomodel.h1
-rw-r--r--qt-models/yearlystatisticsmodel.cpp1
-rw-r--r--qt-models/yearlystatisticsmodel.h1
42 files changed, 42 insertions, 0 deletions
diff --git a/qt-models/cleanertablemodel.cpp b/qt-models/cleanertablemodel.cpp
index ac8d10a33..624ca4765 100644
--- a/qt-models/cleanertablemodel.cpp
+++ b/qt-models/cleanertablemodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "cleanertablemodel.h"
#include "core/metrics.h"
diff --git a/qt-models/cleanertablemodel.h b/qt-models/cleanertablemodel.h
index 974d822e6..d524607dc 100644
--- a/qt-models/cleanertablemodel.h
+++ b/qt-models/cleanertablemodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef CLEANERTABLEMODEL_H
#define CLEANERTABLEMODEL_H
diff --git a/qt-models/completionmodels.cpp b/qt-models/completionmodels.cpp
index 7839398ee..b4e166de3 100644
--- a/qt-models/completionmodels.cpp
+++ b/qt-models/completionmodels.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/completionmodels.h"
#include "core/dive.h"
#include <QSet>
diff --git a/qt-models/completionmodels.h b/qt-models/completionmodels.h
index c4dfd2a58..24ba67e5f 100644
--- a/qt-models/completionmodels.h
+++ b/qt-models/completionmodels.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef COMPLETIONMODELS_H
#define COMPLETIONMODELS_H
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp
index 84b023234..5da0d42a9 100644
--- a/qt-models/cylindermodel.cpp
+++ b/qt-models/cylindermodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "cylindermodel.h"
#include "tankinfomodel.h"
#include "models.h"
diff --git a/qt-models/cylindermodel.h b/qt-models/cylindermodel.h
index 1aa2daaec..d77cd84dd 100644
--- a/qt-models/cylindermodel.h
+++ b/qt-models/cylindermodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef CYLINDERMODEL_H
#define CYLINDERMODEL_H
diff --git a/qt-models/divecomputerextradatamodel.cpp b/qt-models/divecomputerextradatamodel.cpp
index d71c606a4..d2d43ce2e 100644
--- a/qt-models/divecomputerextradatamodel.cpp
+++ b/qt-models/divecomputerextradatamodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/divecomputerextradatamodel.h"
#include "core/dive.h"
#include "core/metrics.h"
diff --git a/qt-models/divecomputerextradatamodel.h b/qt-models/divecomputerextradatamodel.h
index 5d5edb8c6..694b88a1e 100644
--- a/qt-models/divecomputerextradatamodel.h
+++ b/qt-models/divecomputerextradatamodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef DIVECOMPUTEREXTRADATAMODEL_H
#define DIVECOMPUTEREXTRADATAMODEL_H
diff --git a/qt-models/divecomputermodel.cpp b/qt-models/divecomputermodel.cpp
index 0dd110fcc..51766bb0e 100644
--- a/qt-models/divecomputermodel.cpp
+++ b/qt-models/divecomputermodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/divecomputermodel.h"
#include "core/dive.h"
#include "core/divelist.h"
diff --git a/qt-models/divecomputermodel.h b/qt-models/divecomputermodel.h
index fe1b437ba..62a20c96d 100644
--- a/qt-models/divecomputermodel.h
+++ b/qt-models/divecomputermodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef DIVECOMPUTERMODEL_H
#define DIVECOMPUTERMODEL_H
diff --git a/qt-models/divelistmodel.cpp b/qt-models/divelistmodel.cpp
index f0c726fae..2a77f34fe 100644
--- a/qt-models/divelistmodel.cpp
+++ b/qt-models/divelistmodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/divelistmodel.h"
#include "core/helpers.h"
#include <QDateTime>
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h
index 05514ecba..d24282776 100644
--- a/qt-models/divelistmodel.h
+++ b/qt-models/divelistmodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef DIVELISTMODEL_H
#define DIVELISTMODEL_H
diff --git a/qt-models/divelocationmodel.cpp b/qt-models/divelocationmodel.cpp
index 1d9cda558..37eadf9e2 100644
--- a/qt-models/divelocationmodel.cpp
+++ b/qt-models/divelocationmodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "core/units.h"
#include "qt-models/divelocationmodel.h"
#include "core/dive.h"
diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h
index cee67c5fe..45ccb0203 100644
--- a/qt-models/divelocationmodel.h
+++ b/qt-models/divelocationmodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef DIVELOCATIONMODEL_H
#define DIVELOCATIONMODEL_H
diff --git a/qt-models/divepicturemodel.cpp b/qt-models/divepicturemodel.cpp
index 04738eed0..9286dc54c 100644
--- a/qt-models/divepicturemodel.cpp
+++ b/qt-models/divepicturemodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/divepicturemodel.h"
#include "core/dive.h"
#include "core/metrics.h"
diff --git a/qt-models/divepicturemodel.h b/qt-models/divepicturemodel.h
index 18a96d893..b00444548 100644
--- a/qt-models/divepicturemodel.h
+++ b/qt-models/divepicturemodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef DIVEPICTUREMODEL_H
#define DIVEPICTUREMODEL_H
diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp
index 474384d63..643a70234 100644
--- a/qt-models/diveplannermodel.cpp
+++ b/qt-models/diveplannermodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "diveplannermodel.h"
#include "core/dive.h"
#include "core/helpers.h"
diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h
index bc3458ffd..c3c43e020 100644
--- a/qt-models/diveplannermodel.h
+++ b/qt-models/diveplannermodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef DIVEPLANNERMODEL_H
#define DIVEPLANNERMODEL_H
diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp
index 5bb9ebbd1..a804ec1c3 100644
--- a/qt-models/diveplotdatamodel.cpp
+++ b/qt-models/diveplotdatamodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/diveplotdatamodel.h"
#include "core/dive.h"
#include "core/profile.h"
diff --git a/qt-models/diveplotdatamodel.h b/qt-models/diveplotdatamodel.h
index ef5b544cb..829ee0ebd 100644
--- a/qt-models/diveplotdatamodel.h
+++ b/qt-models/diveplotdatamodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef DIVEPLOTDATAMODEL_H
#define DIVEPLOTDATAMODEL_H
diff --git a/qt-models/divesitepicturesmodel.cpp b/qt-models/divesitepicturesmodel.cpp
index 272716b07..0cd444ca8 100644
--- a/qt-models/divesitepicturesmodel.cpp
+++ b/qt-models/divesitepicturesmodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/divesitepicturesmodel.h"
#include "core/dive.h"
#include <stdint.h>
diff --git a/qt-models/divesitepicturesmodel.h b/qt-models/divesitepicturesmodel.h
index f19f57cc2..c27db7726 100644
--- a/qt-models/divesitepicturesmodel.h
+++ b/qt-models/divesitepicturesmodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef DIVESITEPICTURESMODEL_H
#define DIVESITEPICTURESMODEL_H
diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp
index 435d72a0b..dadf81dfd 100644
--- a/qt-models/divetripmodel.cpp
+++ b/qt-models/divetripmodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/divetripmodel.h"
#include "core/gettextfromc.h"
#include "core/metrics.h"
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h
index 01626448f..8b03e50ae 100644
--- a/qt-models/divetripmodel.h
+++ b/qt-models/divetripmodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef DIVETRIPMODEL_H
#define DIVETRIPMODEL_H
diff --git a/qt-models/filtermodels.cpp b/qt-models/filtermodels.cpp
index a74bc3fae..718611611 100644
--- a/qt-models/filtermodels.cpp
+++ b/qt-models/filtermodels.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/filtermodels.h"
#include "qt-models/models.h"
#include "core/display.h"
diff --git a/qt-models/filtermodels.h b/qt-models/filtermodels.h
index 3403b3031..992582776 100644
--- a/qt-models/filtermodels.h
+++ b/qt-models/filtermodels.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef FILTERMODELS_H
#define FILTERMODELS_H
diff --git a/qt-models/gpslistmodel.cpp b/qt-models/gpslistmodel.cpp
index 0023198f7..429993d42 100644
--- a/qt-models/gpslistmodel.cpp
+++ b/qt-models/gpslistmodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/gpslistmodel.h"
#include "core/helpers.h"
#include <QVector>
diff --git a/qt-models/gpslistmodel.h b/qt-models/gpslistmodel.h
index 34eae4c56..2ccf04699 100644
--- a/qt-models/gpslistmodel.h
+++ b/qt-models/gpslistmodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef GPSLISTMODEL_H
#define GPSLISTMODEL_H
diff --git a/qt-models/models.cpp b/qt-models/models.cpp
index 5b2f7f779..c5bfda745 100644
--- a/qt-models/models.cpp
+++ b/qt-models/models.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* models.cpp
*
diff --git a/qt-models/models.h b/qt-models/models.h
index 8e4aba6af..ab8130a57 100644
--- a/qt-models/models.h
+++ b/qt-models/models.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* models.h
*
diff --git a/qt-models/ssrfsortfilterproxymodel.cpp b/qt-models/ssrfsortfilterproxymodel.cpp
index b1a84a3f2..e11b7f569 100644
--- a/qt-models/ssrfsortfilterproxymodel.cpp
+++ b/qt-models/ssrfsortfilterproxymodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "ssrfsortfilterproxymodel.h"
SsrfSortFilterProxyModel::SsrfSortFilterProxyModel(QObject *parent)
diff --git a/qt-models/ssrfsortfilterproxymodel.h b/qt-models/ssrfsortfilterproxymodel.h
index 6427a35dc..0d038b645 100644
--- a/qt-models/ssrfsortfilterproxymodel.h
+++ b/qt-models/ssrfsortfilterproxymodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef SSRFSORTFILTERPROXYMODEL_H
#define SSRFSORTFILTERPROXYMODEL_H
diff --git a/qt-models/tankinfomodel.cpp b/qt-models/tankinfomodel.cpp
index 90b4f1195..75303d857 100644
--- a/qt-models/tankinfomodel.cpp
+++ b/qt-models/tankinfomodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/tankinfomodel.h"
#include "core/dive.h"
#include "core/gettextfromc.h"
diff --git a/qt-models/tankinfomodel.h b/qt-models/tankinfomodel.h
index f1cf1ffc7..944757b1a 100644
--- a/qt-models/tankinfomodel.h
+++ b/qt-models/tankinfomodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef TANKINFOMODEL_H
#define TANKINFOMODEL_H
diff --git a/qt-models/treemodel.cpp b/qt-models/treemodel.cpp
index b98f3f4db..4439ec54f 100644
--- a/qt-models/treemodel.cpp
+++ b/qt-models/treemodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/treemodel.h"
#include "core/metrics.h"
diff --git a/qt-models/treemodel.h b/qt-models/treemodel.h
index e95e53a91..093df4ba0 100644
--- a/qt-models/treemodel.h
+++ b/qt-models/treemodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef TREEMODEL_H
#define TREEMODEL_H
diff --git a/qt-models/weightmodel.cpp b/qt-models/weightmodel.cpp
index ec1398d0e..66c8158c4 100644
--- a/qt-models/weightmodel.cpp
+++ b/qt-models/weightmodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/weightmodel.h"
#include "core/dive.h"
#include "core/gettextfromc.h"
diff --git a/qt-models/weightmodel.h b/qt-models/weightmodel.h
index d251dec68..8767da29e 100644
--- a/qt-models/weightmodel.h
+++ b/qt-models/weightmodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef WEIGHTMODEL_H
#define WEIGHTMODEL_H
diff --git a/qt-models/weigthsysteminfomodel.cpp b/qt-models/weigthsysteminfomodel.cpp
index c7d9e7fad..fe912ed32 100644
--- a/qt-models/weigthsysteminfomodel.cpp
+++ b/qt-models/weigthsysteminfomodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/weigthsysteminfomodel.h"
#include "core/dive.h"
#include "core/metrics.h"
diff --git a/qt-models/weigthsysteminfomodel.h b/qt-models/weigthsysteminfomodel.h
index 66508ce60..98c11d814 100644
--- a/qt-models/weigthsysteminfomodel.h
+++ b/qt-models/weigthsysteminfomodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef WEIGHTSYSTEMINFOMODEL_H
#define WEIGHTSYSTEMINFOMODEL_H
diff --git a/qt-models/yearlystatisticsmodel.cpp b/qt-models/yearlystatisticsmodel.cpp
index 8c96ff14a..b27dc8140 100644
--- a/qt-models/yearlystatisticsmodel.cpp
+++ b/qt-models/yearlystatisticsmodel.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#include "qt-models/yearlystatisticsmodel.h"
#include "core/dive.h"
#include "core/helpers.h"
diff --git a/qt-models/yearlystatisticsmodel.h b/qt-models/yearlystatisticsmodel.h
index 5469ca9a2..21ec4e0f0 100644
--- a/qt-models/yearlystatisticsmodel.h
+++ b/qt-models/yearlystatisticsmodel.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
#ifndef YEARLYSTATISTICSMODEL_H
#define YEARLYSTATISTICSMODEL_H