summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2023-08-22 11:22:58 +0200
committerGitHub <noreply@github.com>2023-08-22 11:22:58 +0200
commit695a8999422149d1fe4d4112792fe16cfd631f82 (patch)
tree3d3e69f982a3fa24fbd178a0034ebff01e115372
parent1e5a217d6a14f06d699e2af52ef4ec4114bbdba2 (diff)
parent4dbfebf9471c75d61f006b3fdb2c3e3c645f2e95 (diff)
Merge pull request #642 from svuorela/svuorela/restore-licensing-info
Restore licensing info for QProgressIndicator
-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_