summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/entity.h
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/entity.h')
-rw-r--r--umbrello/umbrello/entity.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/umbrello/umbrello/entity.h b/umbrello/umbrello/entity.h
index a207fbd3..9b507f00 100644
--- a/umbrello/umbrello/entity.h
+++ b/umbrello/umbrello/entity.h
@@ -28,6 +28,7 @@ class UMLEntityAttribute;
*/
class UMLEntity : public UMLClassifier {
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Sets up an entity.
@@ -59,14 +60,14 @@ public:
virtual UMLObject* clone() const;
/**
- * Creates an entity attribute for the parent concept.
+ * Creates an entity attribute for the tqparent concept.
* Reimplementation of method from UMLClassifier.
*
* @param name An optional name, used by when creating through UMLListView
* @param type An optional type, used by when creating through UMLListView
* @return The UMLEntityAttribute created
*/
- UMLAttribute* createAttribute(const TQString &name = TQString::null,
+ UMLAttribute* createAttribute(const TQString &name = TQString(),
UMLObject *type = 0);
/**