summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/classifiercodedocument.h
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/classifiercodedocument.h
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/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);