[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Thu Aug 26 01:14:19 UTC 2004


CVS commit by okellogg: 

{set,get}TypeName(): Use parent method.


  M +4 -13     template.cpp   1.11
  M +0 -14     template.h   1.13


--- kdesdk/umbrello/umbrello/template.cpp  #1.10:1.11
@@ -17,5 +17,5 @@ UMLTemplate::UMLTemplate(const UMLObject
         m_BaseType = Uml::ot_Template;
 }
-////////////////////////////////////////////////////////////////////////////////////////////////////
+
 UMLTemplate::UMLTemplate(const UMLObject *parent)
   : UMLClassifierListItem( parent ) {
@@ -23,15 +23,7 @@ UMLTemplate::UMLTemplate(const UMLObject
         m_TypeName = "";
 }
-////////////////////////////////////////////////////////////////////////////////////////////////////
+
 UMLTemplate::~UMLTemplate() {}
-////////////////////////////////////////////////////////////////////////////////////////////////////
-QString UMLTemplate::getTypeName() {
-        return m_TypeName;
-}
-////////////////////////////////////////////////////////////////////////////////////////////////////
-void UMLTemplate::setTypeName(QString type) {
-        m_TypeName = type;
-}
-////////////////////////////////////////////////////////////////////////////////////////////////////
+
 QString UMLTemplate::toString(Uml::Signature_Type /*sig = st_NoSig*/) {
         if (m_TypeName == "" || m_TypeName == "class") {
@@ -41,5 +33,5 @@ QString UMLTemplate::toString(Uml::Signa
         }
 }
-////////////////////////////////////////////////////////////////////////////////////////////////////
+
 bool UMLTemplate::operator==(UMLTemplate &rhs) {
         if (this == &rhs) {

--- kdesdk/umbrello/umbrello/template.h  #1.12:1.13
@@ -65,18 +65,4 @@ public:
 
         /**
-         * Returns the type of the UMLTemplate.
-         *
-         * @return      The type of the UMLTemplate.
-         */
-        QString getTypeName();
-
-        /**
-         * Sets the type of the UMLTemplate.
-         *
-         * @param type          The type of the UMLTemplate.
-         */
-        void setTypeName(QString type);
-
-        /**
          * Returns a string representation of the UMLTemplate.
          *






More information about the umbrello-devel mailing list