[Uml-devel] KDE/kdesdk/umbrello/umbrello
Sharan Rao
sharanrao at gmail.com
Sat Nov 17 23:03:53 UTC 2007
SVN commit 738088 by sharan:
consistent naming of function ( wrt to other such ...toString() functions in model_utils.h )
M +2 -2 codegenerators/sqlwriter.cpp
M +1 -1 model_utils.cpp
M +1 -1 model_utils.h
--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerators/sqlwriter.cpp #738087:738088
@@ -500,8 +500,8 @@
updateAction = fkc->getUpdateAction();
deleteAction = fkc->getDeleteAction();
- sql<<" ON UPDATE "<<Model_Utils::convertUpdateDeleteActionToString(updateAction);
- sql<<" ON DELETE "<<Model_Utils::convertUpdateDeleteActionToString(deleteAction);
+ sql<<" ON UPDATE "<<Model_Utils::updateDeleteActionToString(updateAction);
+ sql<<" ON DELETE "<<Model_Utils::updateDeleteActionToString(deleteAction);
sql<<';';
--- trunk/KDE/kdesdk/umbrello/umbrello/model_utils.cpp #738087:738088
@@ -1318,7 +1318,7 @@
return mt;
}
-QString convertUpdateDeleteActionToString( UMLForeignKeyConstraint::UpdateDeleteAction uda ) {
+QString updateDeleteActionToString( UMLForeignKeyConstraint::UpdateDeleteAction uda ) {
switch( uda ) {
case UMLForeignKeyConstraint::uda_NoAction:
--- trunk/KDE/kdesdk/umbrello/umbrello/model_utils.h #738087:738088
@@ -348,7 +348,7 @@
* Converts from the UpdateDeleteAction enum to a QString
* @param uda The UpdateDeleteAction enum literal
*/
-QString convertUpdateDeleteActionToString( UMLForeignKeyConstraint::UpdateDeleteAction uda );
+QString updateDeleteActionToString( UMLForeignKeyConstraint::UpdateDeleteAction uda );
}
More information about the umbrello-devel
mailing list