[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/mimelib
From:       Carsten Burghardt <cb () magic-shop ! de>
Date:       2004-02-15 15:06:12
Message-ID: 20040215150612.913D39190 () office ! kde ! org
[Download RAW message or body]

CVS commit by burghard: 

Add a constructor from Entity - this is needed to fix LOD


  M +10 -2     bodypart.cpp   1.12
  M +3 -2      mimelib/bodypart.h   1.10


--- kdepim/mimelib/bodypart.cpp  #1.11:1.12
@@ -78,4 +78,12 @@ DwBodyPart::DwBodyPart(const DwBodyPart&
 }
 
+DwBodyPart::DwBodyPart(const DwEntity& aPart)
+  : DwEntity(aPart)
+{
+    mNext = 0;
+    mClassId = kCidBodyPart;
+    mClassName = sClassName;
+}
+
 
 DwBodyPart::DwBodyPart(const DwString& aStr, DwMessageComponent* aParent)

--- kdepim/mimelib/mimelib/bodypart.h  #1.9:1.10
@@ -68,4 +68,5 @@ public:
     DwBodyPart();
     DwBodyPart(const DwBodyPart& aPart);
+    DwBodyPart(const DwEntity& aPart);
     DwBodyPart(const DwString& aStr, DwMessageComponent* aParent=0);
     //. The first constructor is the default constructor, which sets the


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic