diff options
Diffstat (limited to 'umbrello/umbrello/enumliteral.cpp')
-rw-r--r-- | umbrello/umbrello/enumliteral.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/umbrello/umbrello/enumliteral.cpp b/umbrello/umbrello/enumliteral.cpp index 8158e40e..b6efb808 100644 --- a/umbrello/umbrello/enumliteral.cpp +++ b/umbrello/umbrello/enumliteral.cpp @@ -15,13 +15,13 @@ #include <kdebug.h> #include <klocale.h> -UMLEnumLiteral::UMLEnumLiteral(const UMLObject *parent, +UMLEnumLiteral::UMLEnumLiteral(const UMLObject *tqparent, const TQString& name, Uml::IDType id) - : UMLClassifierListItem(parent, name, id) { + : UMLClassifierListItem(tqparent, name, id) { m_BaseType = Uml::ot_EnumLiteral; } -UMLEnumLiteral::UMLEnumLiteral(const UMLObject *parent) : UMLClassifierListItem(parent) { +UMLEnumLiteral::UMLEnumLiteral(const UMLObject *tqparent) : UMLClassifierListItem(tqparent) { m_BaseType = Uml::ot_EnumLiteral; } @@ -44,7 +44,7 @@ void UMLEnumLiteral::copyInto(UMLEnumLiteral *rhs) const UMLObject* UMLEnumLiteral::clone() const { - UMLEnumLiteral *clone = new UMLEnumLiteral((UMLObject *) parent()); + UMLEnumLiteral *clone = new UMLEnumLiteral((UMLObject *) tqparent()); copyInto(clone); return clone; @@ -60,9 +60,9 @@ bool UMLEnumLiteral::load(TQDomElement& ) { return true; } -bool UMLEnumLiteral::showPropertiesDialog(TQWidget* parent) { +bool UMLEnumLiteral::showPropertiesDialog(TQWidget* tqparent) { bool ok; - TQString name = KInputDialog::getText(i18n("Name"), i18n("Enter name:"), getName(), &ok, parent); + TQString name = KInputDialog::getText(i18n("Name"), i18n("Enter name:"), getName(), &ok, tqparent); if ( ok && !name.isEmpty() ) { setName(name); return true; |