[Uml-devel] KDE/kdesdk/umbrello/umbrello/codegenerators

Laurent Montel montel at kde.org
Thu Oct 19 12:51:11 UTC 2006


SVN commit 597158 by mlaurent:

Deprecated--


 M  +3 -3      javacodegenerationpolicy.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerators/javacodegenerationpolicy.cpp #597157:597158
@@ -153,13 +153,13 @@
     // now do java specific stuff
     config -> setGroup("Java Code Generation");
 
-    setAutoGenerateAttribAccessors(config->readBoolEntry("autoGenAccessors",DEFAULT_AUTO_GEN_ATTRIB_ACCESSORS));
-    setAutoGenerateAssocAccessors(config->readBoolEntry("autoGenAssocAccessors",DEFAULT_AUTO_GEN_ASSOC_ACCESSORS));
+    setAutoGenerateAttribAccessors(config->readEntry("autoGenAccessors",DEFAULT_AUTO_GEN_ATTRIB_ACCESSORS));
+    setAutoGenerateAssocAccessors(config->readEntry("autoGenAssocAccessors",DEFAULT_AUTO_GEN_ASSOC_ACCESSORS));
 
     CodeGenerator *codegen = UMLApp::app()->getGenerator();
     JavaCodeGenerator *javacodegen = dynamic_cast<JavaCodeGenerator*>(codegen);
     if (javacodegen) {
-        bool mkant = config->readBoolEntry("buildANTDocument", JavaCodeGenerator::DEFAULT_BUILD_ANT_DOC);
+        bool mkant = config->readEntry("buildANTDocument", JavaCodeGenerator::DEFAULT_BUILD_ANT_DOC);
         javacodegen->setCreateANTBuildFile(mkant);
     }
 




More information about the umbrello-devel mailing list