summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/enumliteral.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /umbrello/umbrello/enumliteral.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 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;