summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/classifiercodedocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/classifiercodedocument.h')
-rw-r--r--umbrello/umbrello/classifiercodedocument.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/umbrello/umbrello/classifiercodedocument.h b/umbrello/umbrello/classifiercodedocument.h
index 2c847c35..f142cade 100644
--- a/umbrello/umbrello/classifiercodedocument.h
+++ b/umbrello/umbrello/classifiercodedocument.h
@@ -42,6 +42,7 @@ class ClassifierCodeDocument : public CodeDocument
{
friend class HierarchicalCodeBlock;
Q_OBJECT
+ TQ_OBJECT
public:
// Constructors/Destructors
@@ -51,7 +52,7 @@ public:
/**
* Empty Constructor
*/
- ClassifierCodeDocument ( UMLClassifier * parent );
+ ClassifierCodeDocument ( UMLClassifier * tqparent );
/**
* Empty Destructor
@@ -78,14 +79,14 @@ public:
// some Utility methods
/**
- * Return if the parent classifier is an interface
+ * Return if the tqparent classifier is an interface
*/
- bool parentIsInterface();
+ bool tqparentIsInterface();
/**
- * Return if the parent classifier is a class
+ * Return if the tqparent classifier is a class
*/
- bool parentIsClass();
+ bool tqparentIsClass();
/**
* Tell if one or more codeclassfields are derived from any kind of association.
@@ -132,11 +133,11 @@ public:
*/
CodeClassFieldList getSpecificClassFields (CodeClassField::ClassFieldType cfType, bool isStatic, Uml::Visibility visibility);
- /** Using the parent object's UML ID, find the corresponding
+ /** Using the tqparent object's UML ID, find the corresponding
* codeclassfield object in this classifiercodedocument. Returns
* NULL if no such codeclassfield object exists in this document.
*
- * @param id ID of the parent object
+ * @param id ID of the tqparent object
* @param role_id 0 for role A of the asssociation
* 1 for role B of the asssociation
* -1 if this is an attribute.
@@ -197,11 +198,11 @@ protected:
TextBlock * findCodeClassFieldTextBlockByTag (const TQString &tag);
// add the declaration text blocks for various classfields
- void declareClassFields (CodeClassFieldList & list , CodeGenObjectWithTextBlocks * parent);
+ void declareClassFields (CodeClassFieldList & list , CodeGenObjectWithTextBlocks * tqparent);
virtual void updateContent( ) = 0;
- // force syncronization of child classfields to their parent objects
+ // force syncronization of child classfields to their tqparent objects
void syncClassFields( );
// IF the classifier object is modified, this will get called.
@@ -218,7 +219,7 @@ private:
// based on UMLRoles (e.g. derived from associations with other classifiers).
void updateAssociationClassFields ( UMLAssociationList &assocList );
- // update code operations in this document using the parent classifier
+ // update code operations in this document using the tqparent classifier
void updateOperations( );
/**
@@ -236,7 +237,7 @@ private:
public slots:
/**
- * Synchronize this document to the attributes/associations of the parent classifier.
+ * Synchronize this document to the attributes/associations of the tqparent classifier.
*/
void addAttributeClassField(UMLClassifierListItem *at, bool syncToParentIfAdded = true);
void addAssociationClassField (UMLAssociation * assoc, bool syncToParentIfAdded = true);