summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSune Vuorela <sune@vuorela.dk>2023-08-21 16:20:32 +0200
committerSune Vuorela <sune@vuorela.dk>2023-08-22 10:50:06 +0200
commit4dbfebf9471c75d61f006b3fdb2c3e3c645f2e95 (patch)
tree3d3e69f982a3fa24fbd178a0034ebff01e115372
parent1e5a217d6a14f06d699e2af52ef4ec4114bbdba2 (diff)
Restore licensing info for QProgressIndicator
When importing QProgressInformation many years ago, the licensing information for that class was not included. Add it now. It doesn't look like the files has received copyright-worthy changes since the import.
-rw-r--r--src/qprogressindicator.cpp26
-rw-r--r--src/qprogressindicator.h27
2 files changed, 53 insertions, 0 deletions
diff --git a/src/qprogressindicator.cpp b/src/qprogressindicator.cpp
index ae90f939..1a47a524 100644
--- a/src/qprogressindicator.cpp
+++ b/src/qprogressindicator.cpp
@@ -1,3 +1,29 @@
+/*
+ * This code is based on https://github.com/mojocorp/QProgressIndicator
+ * and published under
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2011 Morgan Leborgne
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
#include "qprogressindicator.h"
#include <QPainter>
diff --git a/src/qprogressindicator.h b/src/qprogressindicator.h
index f3f61e66..dff39b71 100644
--- a/src/qprogressindicator.h
+++ b/src/qprogressindicator.h
@@ -1,3 +1,30 @@
+/*
+ * This code is based on https://github.com/mojocorp/QProgressIndicator
+ * and published under
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2011 Morgan Leborgne
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
#ifndef QPROGRESSINDICATOR_H_
#define QPROGRESSINDICATOR_H_