MCPcopy Create free account
hub / github.com/Librum-Reader/Librum / createFolder

Method createFolder

src/adapters/controllers/folder_controller.cpp:69–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69bool FolderController::createFolder(QString name, QString color, QString icon,
70 QString description, QString parent)
71{
72 auto success = m_folderService->createFolder(name, color, icon, description,
73 QUuid(parent));
74 if(success && !parent.isEmpty())
75 emit expandFolder(parent);
76
77 return success;
78}
79
80QVariantList FolderController::deleteFolder(QString uuid)
81{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected