[Uml-devel] kdesdk/umbrello/umbrello
Jonathan Riddell
jri at jriddell.org
Wed Apr 14 06:53:08 UTC 2004
CVS commit by jriddell:
Add missing copying licences
M +12 -8 umlattributelist.cpp 1.2
M +12 -5 umlclassifierlistitemlist.cpp 1.2
M +12 -5 umlobjectlist.cpp 1.2
--- kdesdk/umbrello/umbrello/umlattributelist.cpp #1.1:1.2
@@ -1,2 +1,11 @@
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
#include "umlattributelist.h"
#include "attribute.h"
@@ -4,6 +13,5 @@
#include <klocale.h>
-void UMLAttributeList::copyInto (UMLAttributeList *rhs) const
-{
+void UMLAttributeList::copyInto(UMLAttributeList *rhs) const {
// Don't copy yourself.
if (rhs == this) return;
@@ -23,6 +31,5 @@ void UMLAttributeList::copyInto (UMLAttr
-UMLAttributeList* UMLAttributeList::clone () const
-{
+UMLAttributeList* UMLAttributeList::clone() const {
UMLAttributeList *clone = new UMLAttributeList();
copyInto(clone);
--- kdesdk/umbrello/umbrello/umlclassifierlistitemlist.cpp #1.1:1.2
@@ -1,2 +1,11 @@
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
#include "umlclassifierlistitemlist.h"
#include "classifierlistitem.h"
@@ -4,6 +13,5 @@
#include <klocale.h>
-void UMLClassifierListItemList::copyInto (UMLClassifierListItemList *rhs) const
-{
+void UMLClassifierListItemList::copyInto(UMLClassifierListItemList *rhs) const {
// Prevent copying to yourself. (Can cause serious injuries)
if (rhs == this) return;
@@ -23,6 +31,5 @@ void UMLClassifierListItemList::copyInto
-UMLClassifierListItemList* UMLClassifierListItemList::clone () const
-{
+UMLClassifierListItemList* UMLClassifierListItemList::clone() const {
UMLClassifierListItemList *clone = new UMLClassifierListItemList();
copyInto(clone);
--- kdesdk/umbrello/umbrello/umlobjectlist.cpp #1.1:1.2
@@ -1,2 +1,11 @@
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
#include "umlobjectlist.h"
#include "umlobject.h"
@@ -4,6 +13,5 @@
#include <klocale.h>
-void UMLObjectList::copyInto (UMLObjectList *rhs) const
-{
+void UMLObjectList::copyInto(UMLObjectList *rhs) const {
// Don't copy yourself.
if (rhs == this) return;
@@ -23,6 +31,5 @@ void UMLObjectList::copyInto (UMLObjectL
-UMLObjectList* UMLObjectList::clone () const
-{
+UMLObjectList* UMLObjectList::clone() const {
UMLObjectList *clone = new UMLObjectList();
copyInto(clone);
More information about the umbrello-devel
mailing list