[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Oct 2 16:20:08 UTC 2005
SVN commit 465854 by okellogg:
make compile on trunk
M +1 -1 adawriter.cpp
M +1 -1 aswriter.cpp
M +1 -1 cppwriter.cpp
M +1 -1 idlwriter.cpp
M +1 -1 javawriter.cpp
M +1 -1 jswriter.cpp
M +2 -1 perlwriter.cpp
M +1 -1 php5writer.cpp
M +1 -1 phpwriter.cpp
M +1 -1 pythonwriter.cpp
M +1 -1 rubywriter.cpp
M +1 -1 sqlwriter.cpp
M +1 -1 tclwriter.cpp
M +1 -1 xmlschemawriter.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/adawriter.cpp #465853:465854
@@ -145,7 +145,7 @@
//find an appropriate name for our file
fileName = overwritableName(c, fileName, ".ads");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/aswriter.cpp #465853:465854
@@ -44,7 +44,7 @@
//find an appropriate name for our file
fileName = findFileName(c,".as");
- if (!fileName)
+ if (fileName.isEmpty())
{
emit codeGenerated(c, false);
return;
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/cppwriter.cpp #465853:465854
@@ -109,7 +109,7 @@
// find an appropriate name for our file
QString fileName = findFileName(c,".cpp");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/idlwriter.cpp #465853:465854
@@ -124,7 +124,7 @@
//find an appropriate name for our file
QString fileName = findFileName(c, ".idl");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/javawriter.cpp #465853:465854
@@ -63,7 +63,7 @@
//find an appropriate name for our file
fileName = findFileName(c,".java");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/jswriter.cpp #465853:465854
@@ -45,7 +45,7 @@
//find an appropriate name for our file
fileName = findFileName(c,".js");
- if (!fileName)
+ if (fileName.isEmpty())
{
emit codeGenerated(c, false);
return;
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/perlwriter.cpp #465853:465854
@@ -24,6 +24,7 @@
#include <qregexp.h>
#include <qstring.h>
#include <qdir.h>
+#include <qdatetime.h>
PerlWriter::PerlWriter( UMLDoc * doc, const char *name )
: SimpleCodeGenerator ( doc, name )
@@ -72,7 +73,7 @@
}
fileName = fragment;
}
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/php5writer.cpp #465853:465854
@@ -3006,7 +3006,7 @@
//find an appropriate name for our file
fileName = findFileName(c,".php");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/phpwriter.cpp #465853:465854
@@ -3001,7 +3001,7 @@
//find an appropriate name for our file
fileName = findFileName(c,".php");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/pythonwriter.cpp #465853:465854
@@ -57,7 +57,7 @@
//find an appropriate name for our file
fileName = findFileName(c,".py");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/rubywriter.cpp #465853:465854
@@ -56,7 +56,7 @@
//find an appropriate name for our file
fileName = findFileName(c,".rb");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/sqlwriter.cpp #465853:465854
@@ -49,7 +49,7 @@
//find an appropriate name for our file
fileName = findFileName(c,".sql");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/tclwriter.cpp #465853:465854
@@ -112,7 +112,7 @@
// find an appropriate name for our file
QString fileName = findFileName(c, ".tclbody");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/xmlschemawriter.cpp #465853:465854
@@ -72,7 +72,7 @@
// find an appropriate name for our file
QString fileName = findFileName(c,".xsd");
- if (!fileName) {
+ if (fileName.isEmpty()) {
emit codeGenerated(c, false);
return;
}
More information about the umbrello-devel
mailing list