diff options
Diffstat (limited to 'umbrello/umbrello/attribute.h')
-rw-r--r-- | umbrello/umbrello/attribute.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/umbrello/umbrello/attribute.h b/umbrello/umbrello/attribute.h index 85253216..7749b3e4 100644 --- a/umbrello/umbrello/attribute.h +++ b/umbrello/umbrello/attribute.h @@ -38,10 +38,10 @@ public: * @param type The type of this UMLAttribute. * @param iv The initial value of the attribute. */ - UMLAttribute(const UMLObject *parent, const QString& name, + UMLAttribute(const UMLObject *parent, const TQString& name, Uml::IDType id = Uml::id_None, Uml::Visibility s = Uml::Visibility::Private, - UMLObject *type = 0, const QString& iv = 0); + UMLObject *type = 0, const TQString& iv = 0); /** * Sets up an attribute. @@ -70,7 +70,7 @@ public: * Reimplementation of method from UMLObject is required as * an extra signal, attributeChanged(), is emitted. */ - void setName(const QString &name); + void setName(const TQString &name); /** * Reimplementation of method from UMLObject is required as @@ -88,14 +88,14 @@ public: * * @return The initial value of the Atrtibute. */ - QString getInitialValue(); + TQString getInitialValue(); /** * Sets the initial value of the UMLAttribute. * * @param iv The initial value of the UMLAttribute. */ - void setInitialValue( const QString &iv ); + void setInitialValue( const TQString &iv ); /** * Returns a string representation of the UMLAttribute. @@ -104,23 +104,23 @@ public: * initial value. * @return Returns a string representation of the UMLAttribute. */ - QString toString(Uml::Signature_Type sig = Uml::st_NoSig); + TQString toString(Uml::Signature_Type sig = Uml::st_NoSig); /** * Reimplement method from UMLObject. */ - QString getFullyQualifiedName(const QString& separator = QString::null, + TQString getFullyQualifiedName(const TQString& separator = TQString::null, bool includeRoot = false) const; /** * Creates the <UML:Attribute> XMI element. */ - void saveToXMI( QDomDocument & qDoc, QDomElement & qElement ); + void saveToXMI( TQDomDocument & qDoc, TQDomElement & qElement ); /** * Display the properties configuration dialog for the attribute. */ - virtual bool showPropertiesDialog(QWidget* parent); + virtual bool showPropertiesDialog(TQWidget* parent); void setParmKind (Uml::Parameter_Direction pk); Uml::Parameter_Direction getParmKind () const; @@ -141,16 +141,16 @@ protected: /** * Loads the <UML:Attribute> XMI element. */ - bool load( QDomElement & element ); + bool load( TQDomElement & element ); - QString m_InitialValue; ///< text for the attribute's initial value. + TQString m_InitialValue; ///< text for the attribute's initial value. Uml::Parameter_Direction m_ParmKind; private: /** * Puts in the param templateParamList all the template params that are in templateParam */ - void setTemplateParams(const QString& templateParam, UMLClassifierList &templateParamList); + void setTemplateParams(const TQString& templateParam, UMLClassifierList &templateParamList); }; |