[gegl-qt] Fix license headers



commit c20c638b43b53c1a81c4355ed5e54e444bb0b891
Author: Jon Nordby <jononor gmail com>
Date:   Mon Aug 22 20:44:01 2011 +0200

    Fix license headers
    
    Also update README and fix a double free issue in one of the examples.

 README.txt                                         |    2 --
 examples/display-operation/display-operation.cpp   |    2 +-
 examples/qgv-basic/qgv-basic.cpp                   |    3 +--
 examples/qml-basic/qml-basic.cpp                   |    2 +-
 examples/qml-paint/qml-paint-engine.cpp            |   18 ++++++++++++++++++
 examples/qml-paint/qml-paint.cpp                   |    2 +-
 .../autotransform-controls.cpp                     |   18 ++++++++++++++++++
 .../qwidget-autotransform.cpp                      |    2 +-
 examples/qwidget-basic/qwidget-basic.cpp           |    2 +-
 .../qwidget-transformations.cpp                    |    2 +-
 .../transformation-controls.cpp                    |   18 ++++++++++++++++++
 gegl-qt/internal/nodeviewimplementation.cpp        |    2 +-
 gegl-qt/internal/nodeviewimplementation.h          |    2 +-
 gegl-qt/nodeviewdeclarativeitem.cpp                |   17 +++++++++++++++++
 gegl-qt/nodeviewdeclarativeitem.h                  |   18 ++++++++++++++++++
 gegl-qt/nodeviewgraphicswidget.cpp                 |    4 ++--
 gegl-qt/nodeviewgraphicswidget.h                   |    2 +-
 gegl-qt/nodeviewwidget.cpp                         |    2 +-
 gegl-qt/nodeviewwidget.h                           |    2 +-
 .../test-nodeviewimplementation.cpp                |   18 ++++++++++++++++++
 20 files changed, 121 insertions(+), 17 deletions(-)
---
diff --git a/README.txt b/README.txt
index 68f4730..381f39e 100644
--- a/README.txt
+++ b/README.txt
@@ -65,8 +65,6 @@ Should at happen before or together with the next Gegl release.
 Need to build and work with whatever is the latest Gegl release.
 
 - Fix out-of-tree build
-- Use a namespace, GeglQt, instead of symbol prefix
-- Find good and consistent names for the different view widgets
 - Do API review
 - Create 'make dist' and 'make distcheck' targets
 - Have a basic set of tests, and good test infrastructure
diff --git a/examples/display-operation/display-operation.cpp b/examples/display-operation/display-operation.cpp
index 40cc91c..7a1e7a6 100644
--- a/examples/display-operation/display-operation.cpp
+++ b/examples/display-operation/display-operation.cpp
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include <gegl.h>
diff --git a/examples/qgv-basic/qgv-basic.cpp b/examples/qgv-basic/qgv-basic.cpp
index 057d4eb..f6dcc63 100644
--- a/examples/qgv-basic/qgv-basic.cpp
+++ b/examples/qgv-basic/qgv-basic.cpp
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include <gegl-qt.h>
@@ -54,7 +54,6 @@ int main(int argc, char *argv[])
     view.show();
     int retCode = a.exec();
 
-    delete scene;
     g_object_unref(graph);
     gegl_exit();
     return retCode;
diff --git a/examples/qml-basic/qml-basic.cpp b/examples/qml-basic/qml-basic.cpp
index 07a28c4..a8a563e 100644
--- a/examples/qml-basic/qml-basic.cpp
+++ b/examples/qml-basic/qml-basic.cpp
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include <gegl-qt.h>
diff --git a/examples/qml-paint/qml-paint-engine.cpp b/examples/qml-paint/qml-paint-engine.cpp
index 1a8d09c..5fad8f2 100644
--- a/examples/qml-paint/qml-paint-engine.cpp
+++ b/examples/qml-paint/qml-paint-engine.cpp
@@ -1,3 +1,21 @@
+/* This file is part of GEGL-QT
+ *
+ * GEGL-QT is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * GEGL-QT is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
+ */
+
 #include "qml-paint-engine.h"
 
 #include <gegl.h>
diff --git a/examples/qml-paint/qml-paint.cpp b/examples/qml-paint/qml-paint.cpp
index 76abd44..82b8667 100644
--- a/examples/qml-paint/qml-paint.cpp
+++ b/examples/qml-paint/qml-paint.cpp
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include "qml-paint-engine.h"
diff --git a/examples/qwidget-autotransform/autotransform-controls.cpp b/examples/qwidget-autotransform/autotransform-controls.cpp
index 50876d5..caee8ca 100644
--- a/examples/qwidget-autotransform/autotransform-controls.cpp
+++ b/examples/qwidget-autotransform/autotransform-controls.cpp
@@ -1,3 +1,21 @@
+/* This file is part of GEGL-QT
+ *
+ * GEGL-QT is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * GEGL-QT is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
+ */
+
 #include "autotransform-controls.h"
 
 
diff --git a/examples/qwidget-autotransform/qwidget-autotransform.cpp b/examples/qwidget-autotransform/qwidget-autotransform.cpp
index 7cf20bd..8ad29d9 100644
--- a/examples/qwidget-autotransform/qwidget-autotransform.cpp
+++ b/examples/qwidget-autotransform/qwidget-autotransform.cpp
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include <gegl-qt.h>
diff --git a/examples/qwidget-basic/qwidget-basic.cpp b/examples/qwidget-basic/qwidget-basic.cpp
index 084da27..22cce16 100644
--- a/examples/qwidget-basic/qwidget-basic.cpp
+++ b/examples/qwidget-basic/qwidget-basic.cpp
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include <gegl-qt.h>
diff --git a/examples/qwidget-transformations/qwidget-transformations.cpp b/examples/qwidget-transformations/qwidget-transformations.cpp
index 06796ff..9d93cc4 100644
--- a/examples/qwidget-transformations/qwidget-transformations.cpp
+++ b/examples/qwidget-transformations/qwidget-transformations.cpp
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include <gegl-qt.h>
diff --git a/examples/qwidget-transformations/transformation-controls.cpp b/examples/qwidget-transformations/transformation-controls.cpp
index c61ae76..9978ec6 100644
--- a/examples/qwidget-transformations/transformation-controls.cpp
+++ b/examples/qwidget-transformations/transformation-controls.cpp
@@ -1,3 +1,21 @@
+/* This file is part of GEGL-QT
+ *
+ * GEGL-QT is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * GEGL-QT is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
+ */
+
 #include "transformation-controls.h"
 
 TransformationControls::TransformationControls(QWidget *parent) :
diff --git a/gegl-qt/internal/nodeviewimplementation.cpp b/gegl-qt/internal/nodeviewimplementation.cpp
index 408d23e..3fc209b 100644
--- a/gegl-qt/internal/nodeviewimplementation.cpp
+++ b/gegl-qt/internal/nodeviewimplementation.cpp
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include "nodeviewimplementation.h"
diff --git a/gegl-qt/internal/nodeviewimplementation.h b/gegl-qt/internal/nodeviewimplementation.h
index a23065b..3698246 100644
--- a/gegl-qt/internal/nodeviewimplementation.h
+++ b/gegl-qt/internal/nodeviewimplementation.h
@@ -16,7 +16,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include <Qt/QtGui>
diff --git a/gegl-qt/nodeviewdeclarativeitem.cpp b/gegl-qt/nodeviewdeclarativeitem.cpp
index bdb7fb9..9f7fc9e 100644
--- a/gegl-qt/nodeviewdeclarativeitem.cpp
+++ b/gegl-qt/nodeviewdeclarativeitem.cpp
@@ -1,3 +1,20 @@
+/* This file is part of GEGL-QT
+ *
+ * GEGL-QT is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * GEGL-QT is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
+ */
 
 #include "nodeviewdeclarativeitem.h"
 #include "internal/nodeviewimplementation.h"
diff --git a/gegl-qt/nodeviewdeclarativeitem.h b/gegl-qt/nodeviewdeclarativeitem.h
index 4c608b0..8857b9c 100644
--- a/gegl-qt/nodeviewdeclarativeitem.h
+++ b/gegl-qt/nodeviewdeclarativeitem.h
@@ -1,6 +1,24 @@
 #ifndef GEGLQT_NODEVIEWDECLARATIVEITEM_H
 #define GEGLQT_NODEVIEWDECLARATIVEITEM_H
 
+/* This file is part of GEGL-QT
+ *
+ * GEGL-QT is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * GEGL-QT is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
+ */
+
 #include <QtDeclarative>
 #include <QtCore>
 #include <gegl.h>
diff --git a/gegl-qt/nodeviewgraphicswidget.cpp b/gegl-qt/nodeviewgraphicswidget.cpp
index b3727f8..0d64686 100644
--- a/gegl-qt/nodeviewgraphicswidget.cpp
+++ b/gegl-qt/nodeviewgraphicswidget.cpp
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include "nodeviewgraphicswidget.h"
@@ -31,7 +31,7 @@ NodeViewGraphicsWidget::NodeViewGraphicsWidget(QGraphicsItem * parent)
             this, SLOT(viewportSizeChangeRequested(QSizeF)));
 
     connect(this, SIGNAL(geometryChanged()),
-            this, SLOT(handleGeometryChange));
+            this, SLOT(handleGeometryChange()));
 }
 
 
diff --git a/gegl-qt/nodeviewgraphicswidget.h b/gegl-qt/nodeviewgraphicswidget.h
index 074834f..8d3661a 100644
--- a/gegl-qt/nodeviewgraphicswidget.h
+++ b/gegl-qt/nodeviewgraphicswidget.h
@@ -16,7 +16,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include <QGraphicsWidget>
diff --git a/gegl-qt/nodeviewwidget.cpp b/gegl-qt/nodeviewwidget.cpp
index fd58d05..e7643dd 100644
--- a/gegl-qt/nodeviewwidget.cpp
+++ b/gegl-qt/nodeviewwidget.cpp
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include "nodeviewwidget.h"
diff --git a/gegl-qt/nodeviewwidget.h b/gegl-qt/nodeviewwidget.h
index c13dac9..65379aa 100644
--- a/gegl-qt/nodeviewwidget.h
+++ b/gegl-qt/nodeviewwidget.h
@@ -16,7 +16,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
  *
- * Copyright (C) 2011 <jononor gmail com>
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
  */
 
 #include <QtGui/QWidget>
diff --git a/tests/test-nodeviewimplementation/test-nodeviewimplementation.cpp b/tests/test-nodeviewimplementation/test-nodeviewimplementation.cpp
index 1ef10be..79b6bef 100644
--- a/tests/test-nodeviewimplementation/test-nodeviewimplementation.cpp
+++ b/tests/test-nodeviewimplementation/test-nodeviewimplementation.cpp
@@ -1,3 +1,21 @@
+/* This file is part of GEGL-QT
+ *
+ * GEGL-QT is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * GEGL-QT is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GEGL-QT; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * Copyright (C) 2011 Jon Nordby <jononor gmail com>
+ */
+
 #include "test-nodeviewimplementation.h"
 
 #include <gegl-qt/internal/nodeviewimplementation.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]