[Uml-devel] kdesdk/umbrello/umbrello/codegenerators
Sebastian Stein
seb.kde at hpfsc.de
Tue Jul 13 06:22:05 UTC 2004
CVS commit by sstein:
replace QString("") with QString::null; suggested by Matt Rogers
M +1 -1 cppheadercodedocument.cpp 1.26
M +1 -1 cppsourcecodedocument.cpp 1.15
--- kdesdk/umbrello/umbrello/codegenerators/cppsourcecodedocument.cpp #1.14:1.15
@@ -209,5 +209,5 @@ void CPPSourceCodeDocument::updateConten
delete packageMap;
// now, add/update the includes codeblock
- CodeBlockWithComments * iblock = addOrUpdateTaggedCodeBlockWithComments("includes", includeStatement, QString(""), 0, false);
+ CodeBlockWithComments * iblock = addOrUpdateTaggedCodeBlockWithComments("includes", includeStatement, QString::null, 0, false);
if(includeStatement.isEmpty() && iblock->getContentType() == CodeBlock::AutoGenerated)
iblock->setWriteOutText(false);
--- kdesdk/umbrello/umbrello/codegenerators/cppheadercodedocument.cpp #1.25:1.26
@@ -446,5 +446,5 @@ void CPPHeaderCodeDocument::updateConten
QString hashDefine = gen->getCPPClassName(c->getName()).upper().simplifyWhiteSpace().replace(QRegExp(" "), "_");
QString defText = "#ifndef "+hashDefine + "_H"+ endLine + "#define "+ hashDefine + "_H";
- addOrUpdateTaggedCodeBlockWithComments("hashDefBlock", defText, QString(""), 0, false);
+ addOrUpdateTaggedCodeBlockWithComments("hashDefBlock", defText, QString::null, 0, false);
// INCLUDE CODEBLOCK
More information about the umbrello-devel
mailing list