summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenobjectwithtextblocks.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /umbrello/umbrello/codegenobjectwithtextblocks.h
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/codegenobjectwithtextblocks.h')
-rw-r--r--umbrello/umbrello/codegenobjectwithtextblocks.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/umbrello/umbrello/codegenobjectwithtextblocks.h b/umbrello/umbrello/codegenobjectwithtextblocks.h
index 4e784b07..c21aacf2 100644
--- a/umbrello/umbrello/codegenobjectwithtextblocks.h
+++ b/umbrello/umbrello/codegenobjectwithtextblocks.h
@@ -17,7 +17,7 @@
#ifndef CODEGENOBJECTWITHTEXTBLOCKS_H
#define CODEGENOBJECTWITHTEXTBLOCKS_H
-#include <qmap.h>
+#include <tqmap.h>
#include "codeaccessormethod.h"
#include "textblocklist.h"
@@ -85,7 +85,7 @@ public:
* @param comment
* @param indentLevel
*/
- virtual HierarchicalCodeBlock * getHierarchicalCodeBlock ( const QString &tag, const QString &comment, int indentLevel );
+ virtual HierarchicalCodeBlock * getHierarchicalCodeBlock ( const TQString &tag, const TQString &comment, int indentLevel );
/**
* Will get a codeblockwithcomments from the document with given tag. IF the codeblock
@@ -96,7 +96,7 @@ public:
* @param comment
* @param indentLevel
*/
- virtual CodeBlockWithComments * getCodeBlockWithComments ( const QString &tag, const QString &comment, int indentLevel );
+ virtual CodeBlockWithComments * getCodeBlockWithComments ( const TQString &tag, const TQString &comment, int indentLevel );
/** allows the user to add a code comment to the end of the list
* of text blocks in this document OR, if a text block already exists
@@ -107,7 +107,7 @@ public:
* @param text
* @param indentationLevel
*/
- CodeComment * addOrUpdateTaggedCodeComment (const QString &tag = "", const QString &text = "", int indentationLevel = 0 );
+ CodeComment * addOrUpdateTaggedCodeComment (const TQString &tag = "", const TQString &text = "", int indentationLevel = 0 );
/** allows the user to either add a code block with comments to the end of the list
* of text blocks in this document OR, if a text block already exists
@@ -120,19 +120,19 @@ public:
* @param indentLevel
* @param forceUserBlockUpdate
*/
- CodeBlockWithComments * addOrUpdateTaggedCodeBlockWithComments (const QString &tag, const QString &text, const QString &comment, int indentLevel, bool forceUserBlockUpdate );
+ CodeBlockWithComments * addOrUpdateTaggedCodeBlockWithComments (const TQString &tag, const TQString &text, const TQString &comment, int indentLevel, bool forceUserBlockUpdate );
/**
* @return TextBlock
* @param tag
*/
- virtual TextBlock * findTextBlockByTag ( const QString &tag );
+ virtual TextBlock * findTextBlockByTag ( const TQString &tag );
/**
* @return QString
* @param prefix
*/
- virtual QString getUniqueTag (const QString& prefix = "" ) = 0;
+ virtual TQString getUniqueTag (const TQString& prefix = "" ) = 0;
/** Virtual methods that return a new code document objects.
*/
@@ -145,19 +145,19 @@ public:
* @return parent object. Could return null if the textblock is missing from the
* branch of the document tree being examined.
*/
- CodeGenObjectWithTextBlocks * findParentObjectForTaggedTextBlock (const QString & tag);
+ CodeGenObjectWithTextBlocks * findParentObjectForTaggedTextBlock (const TQString & tag);
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);
virtual void setAttributesFromObject (CodeGenObjectWithTextBlocks * obj);
@@ -168,17 +168,17 @@ protected:
* by some other class that is concrete and takes children
* derived from codeblock/codecomment/hierarchicalcb/ownedhiercodeblock
*/
- virtual void loadChildTextBlocksFromNode ( QDomElement & root);
+ virtual void loadChildTextBlocksFromNode ( TQDomElement & root);
// reset/clear the inventory text blocks held by this object
virtual void resetTextBlocks();
- QMap<QString, TextBlock *> m_textBlockTagMap;
+ TQMap<TQString, TextBlock *> m_textBlockTagMap;
TextBlockList m_textblockVector;
// find specific text block belonging to code classfields.
// block may not presently be alocated t othe textblock list.
- virtual TextBlock * findCodeClassFieldTextBlockByTag( const QString &tag) = 0;
+ virtual TextBlock * findCodeClassFieldTextBlockByTag( const TQString &tag) = 0;
private: