[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Mon Aug 2 13:24:04 UTC 2004


CVS commit by okellogg: 

Remove friend permission.


  M +6 -6      linepath.h   1.14
  M +2 -2      operation.h   1.20


--- kdesdk/umbrello/umbrello/linepath.h  #1.13:1.14
@@ -45,5 +45,5 @@ using namespace Uml;
 class LinePath : public QObject {
         Q_OBJECT
-        friend class AssociationWidget;
+        //friend class AssociationWidget;
 
 public:
@@ -170,4 +170,9 @@ public:
         void cleanup();
 
+        /**
+         * Returns the type of pen to use depending on the type of Association.
+         */
+        QPen getPen();
+
 protected:
 
@@ -236,9 +241,4 @@ protected:
 
         /**
-        *   Returns the type of pen to use depending on the type of Association.
-        */
-        QPen getPen();
-
-        /**
         *   Calculates the head points.
         */

--- kdesdk/umbrello/umbrello/operation.h  #1.19:1.20
@@ -14,4 +14,6 @@
 #include "classifierlistitem.h"
 
+class UMLClassifier;
+
 /**
  * This class represents an operation in the UML model.
@@ -22,5 +23,4 @@
 class UMLOperation : public UMLClassifierListItem {
         Q_OBJECT
-friend class UMLClassifier;
 friend UMLOperation* UMLDoc::createOperation( UMLClassifier *, const QString &, UMLAttributeList * );
 public:






More information about the umbrello-devel mailing list