diff options
Diffstat (limited to 'umbrello/umbrello/hierarchicalcodeblock.h')
-rw-r--r-- | umbrello/umbrello/hierarchicalcodeblock.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/umbrello/umbrello/hierarchicalcodeblock.h b/umbrello/umbrello/hierarchicalcodeblock.h index 3c0dcbc1..ef145753 100644 --- a/umbrello/umbrello/hierarchicalcodeblock.h +++ b/umbrello/umbrello/hierarchicalcodeblock.h @@ -18,8 +18,8 @@ #ifndef HIERARCHICALCODEBLOCK_H #define HIERARCHICALCODEBLOCK_H -#include <qmap.h> -#include <qstring.h> +#include <tqmap.h> +#include <tqstring.h> #include "codegenobjectwithtextblocks.h" #include "codeblockwithcomments.h" @@ -37,7 +37,7 @@ public: /** * Constructor */ - explicit HierarchicalCodeBlock ( CodeDocument * doc , const QString &startString = "", const QString &endString = "", const QString &comment = ""); + explicit HierarchicalCodeBlock ( CodeDocument * doc , const TQString &startString = "", const TQString &endString = "", const TQString &comment = ""); /** * Empty Destructor @@ -54,13 +54,13 @@ public: * Set the value of m_endText * @param new_var the new value of m_endText */ - void setEndText ( const QString &new_var ); + void setEndText ( const TQString &new_var ); /** * Get the value of m_endText * @return the value of m_endText */ - QString getEndText ( ); + TQString getEndText ( ); /** * Add a TextBlock object to the m_textblockVector List @@ -82,31 +82,31 @@ public: /** * @param text */ - void setStartText ( const QString &text ); + void setStartText ( const TQString &text ); /** * @return QString */ - QString getStartText ( ); + TQString getStartText ( ); /** * Save the XMI representation of this object */ - virtual void saveToXMI ( QDomDocument & doc, QDomElement & root ); + virtual void saveToXMI ( TQDomDocument & doc, TQDomElement & root ); /** * load params from the appropriate XMI element node. */ - virtual void loadFromXMI ( QDomElement & root ); + virtual void loadFromXMI ( TQDomElement & root ); /** * @return QString */ - virtual QString toString ( ); + virtual TQString toString ( ); // return a unique, and currently unallocated, text block tag for this hblock - QString getUniqueTag(); - QString getUniqueTag( const QString& prefix ); + TQString getUniqueTag(); + TQString getUniqueTag( const TQString& prefix ); /** * Utility method to add accessormethods in this object @@ -128,26 +128,26 @@ protected: /** set attributes of the node that represents this class * in the XMI document. */ - virtual void setAttributesOnNode (QDomDocument & doc, QDomElement & elem ); + virtual void setAttributesOnNode (TQDomDocument & doc, TQDomElement & elem ); /** set the class attributes of this object from * the passed element node. */ - virtual void setAttributesFromNode ( QDomElement & element); + virtual void setAttributesFromNode ( TQDomElement & element); /** set the class attributes from a passed object */ virtual void setAttributesFromObject (TextBlock * obj); // look for specific text blocks which belong to code classfields - TextBlock * findCodeClassFieldTextBlockByTag ( const QString &tag ); + TextBlock * findCodeClassFieldTextBlockByTag ( const TQString &tag ); private: - QString m_startText; - QString m_endText; + TQString m_startText; + TQString m_endText; - QString childTextBlocksToString(); + TQString childTextBlocksToString(); void initAttributes ( ) ; }; |