OSDN Git Service

[denncoCreator] minor improvements
[dennco/denncoCreator.git] / Source / dccreator.cpp
index 4dd03c5..993676c 100644 (file)
@@ -470,9 +470,9 @@ void DCCreator::doCommandChangeCellCodeClassType(const void *requester, DCCellCo
     DCCommandUtil::postChangeCellCodeClassTypeCommand(requester, this, cellCode, newType);
 }
 
-void DCCreator::doCommandAddCell(const void *requester, DCContainer *container, const QString& containerBasedPath, const QString& name, const QString& type)
+void DCCreator::doCommandAddCell(const void *requester, DCContainer *container, const QString &containerBasedPath, const QString &name, const QString &type, float pageX, float pageY)
 {
-    DCCommandUtil::postAddCellCommand(requester, this, container, containerBasedPath, name, type);
+    DCCommandUtil::postAddCellCommand(requester, this, container, containerBasedPath, name, type, pageX, pageY);
 }
 
 void DCCreator::doCommandChangeCellType(const void *requester, DCCell *cell, const QString &newType)
@@ -480,9 +480,14 @@ void DCCreator::doCommandChangeCellType(const void *requester, DCCell *cell, con
     DCCommandUtil::postChangeCellTypeCommand(requester, this, cell, newType);
 }
 
-void DCCreator::doCommandRemoveCells(const void *requester, DCContainer *container, const QList<DCCell*> &cells)
+void DCCreator::doCommandRenameCell(const void *requester, DCCell *cell, const QString &newContainerBasedPath, const QString &newName)
 {
-    DCCommandUtil::postRemoveCellsCommand(requester, this, container, cells);
+    DCCommandUtil::postRenameCellCommand(requester, this, cell, newContainerBasedPath, newName);
+}
+
+void DCCreator::doCommandRemoveCell(const void *requester, DCContainer *container, DCCell *cell)
+{
+    DCCommandUtil::postRemoveCellCommand(requester, this, container, cell);
 }
 
 void DCCreator::doCommandAddPage(const void *requester, const QString &containerBasedPath)