cppmakecodedocument.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include "cppcodegenerator.h"
00019
00020 #include <qregexp.h>
00021
00022 const char * CPPMakefileCodeDocument::DOCUMENT_ID_VALUE = "Makefile_DOC";
00023
00024
00025
00026
00027 CPPMakefileCodeDocument::CPPMakefileCodeDocument ( )
00028 {
00029 setFileName("Makefile");
00030 setFileExtension("");
00031 setID(DOCUMENT_ID_VALUE);
00032 }
00033
00034 CPPMakefileCodeDocument::~CPPMakefileCodeDocument ( ) { }
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045 void CPPMakefileCodeDocument::updateContent( ) {
00046
00047 }
00048
00052 QString CPPMakefileCodeDocument::toString ( ) {
00053 return "# cpp make build document";
00054 }
00055
00056
00057 QString CPPMakefileCodeDocument::getPath ( )
00058 {
00059
00060 QString path = getPackage();
00061
00062
00063 path.simplifyWhiteSpace();
00064
00065
00066 path.replace(QRegExp(" "), "_");
00067
00068 path.replace(QRegExp("\\."),"/");
00069 path.replace(QRegExp("::"),"/");
00070
00071 path.lower();
00072
00073 return path;
00074
00075 }
00076
00077
00078 #include "cppmakecodedocument.moc"
This file is part of the documentation for umbrello Version 3.1.0.