diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/cppsourcecodedocument.cpp')
-rw-r--r-- | umbrello/umbrello/codegenerators/cppsourcecodedocument.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/umbrello/umbrello/codegenerators/cppsourcecodedocument.cpp b/umbrello/umbrello/codegenerators/cppsourcecodedocument.cpp index be054937..3caefe82 100644 --- a/umbrello/umbrello/codegenerators/cppsourcecodedocument.cpp +++ b/umbrello/umbrello/codegenerators/cppsourcecodedocument.cpp @@ -29,7 +29,7 @@ #include "cppsourcecodedocument.h" // qt/kde includes #include <kdebug.h> -#include <qregexp.h> +#include <tqregexp.h> // app includes #include "cppcodegenerator.h" #include "cppcodegenerationpolicy.h" @@ -58,7 +58,7 @@ CPPSourceCodeDocument::~CPPSourceCodeDocument ( ) { } // Other methods // -QString CPPSourceCodeDocument::getCPPClassName (const QString &name) { +TQString CPPSourceCodeDocument::getCPPClassName (const TQString &name) { return CodeGenerator::cleanName(name); } @@ -119,7 +119,7 @@ void CPPSourceCodeDocument::updateContent( ) //UMLClassifier * c = getParentClassifier(); CodeGenPolicyExt *pe = UMLApp::app()->getPolicyExt(); CPPCodeGenerationPolicy * policy = dynamic_cast<CPPCodeGenerationPolicy*>(pe); - QString endLine = UMLApp::app()->getCommonPolicy()->getNewLineEndingChars(); + TQString endLine = UMLApp::app()->getCommonPolicy()->getNewLineEndingChars(); // first, set the global flag on whether or not to show classfield info CodeClassFieldList * cfList = getCodeClassFieldList(); @@ -140,11 +140,11 @@ void CPPSourceCodeDocument::updateContent( ) // // INCLUDE CODEBLOCK - QString includeStatement = ""; + TQString includeStatement = ""; // Include own header file - QString myOwnName( getParentClassifier()->getName() ); + TQString myOwnName( getParentClassifier()->getName() ); includeStatement.append("#include \""+CodeGenerator::cleanName(myOwnName.lower())+".h\""+endLine); - CodeBlockWithComments * iblock = addOrUpdateTaggedCodeBlockWithComments("includes", includeStatement, QString::null, 0, false); + CodeBlockWithComments * iblock = addOrUpdateTaggedCodeBlockWithComments("includes", includeStatement, TQString::null, 0, false); iblock->setWriteOutText(true); // After the includes we have just 2 big blocks basically, the "constructor" block and the |