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