From f12032f54979811a019c4237af1561f05cef84d2 Mon Sep 17 00:00:00 2001 From: agriche Date: Thu, 19 Nov 2015 14:12:26 +0100 Subject: [PATCH] - Replace apps.id = "uniboardTool://uniboard.mnemis.com/apps" by "openboardtool://apps". --- src/tools/UBToolsManager.cpp | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/src/tools/UBToolsManager.cpp b/src/tools/UBToolsManager.cpp index dfb332b8..d9c756f2 100644 --- a/src/tools/UBToolsManager.cpp +++ b/src/tools/UBToolsManager.cpp @@ -49,50 +49,63 @@ void UBToolsManager::destroy() UBToolsManager::UBToolsManager(QObject *parent) : QObject(parent) { + //mask.id = "uniboardTool://uniboard.mnemis.com/mask"; - mask.id = "uniboardTool://uniboard.mnemis.com/mask"; + mask.id = "openboardtool://openboard/mask"; mask.icon = QPixmap(":/images/toolPalette/maskTool.png"); mask.label = tr("Mask"); mask.version = "1.0"; mToolsIcon.insert(mask.id, ":/images/toolPalette/maskTool.png"); mDescriptors << mask; - ruler.id = "uniboardTool://uniboard.mnemis.com/ruler"; + //ruler.id = "uniboardTool://uniboard.mnemis.com/ruler"; + + ruler.id = "openboardtool://ruler"; ruler.icon = QPixmap(":/images/toolPalette/rulerTool.png"); ruler.label = tr("Ruler"); ruler.version = "1.0"; mToolsIcon.insert(ruler.id, ":/images/toolPalette/rulerTool.png"); mDescriptors << ruler; - compass.id = "uniboardTool://uniboard.mnemis.com/compass"; + //compass.id = "uniboardTool://uniboard.mnemis.com/compass"; + + compass.id = "openboardtool://compass"; compass.icon = QPixmap(":/images/toolPalette/compassTool.png"); compass.label = tr("Compass"); compass.version = "1.0"; mToolsIcon.insert(compass.id, ":/images/toolPalette/compassTool.png"); mDescriptors << compass; - protractor.id = "uniboardTool://uniboard.mnemis.com/protractor"; + //protractor.id = "uniboardTool://uniboard.mnemis.com/protractor"; + + protractor.id = "openboardtool://protractor"; protractor.icon = QPixmap(":/images/toolPalette/protractorTool.png"); protractor.label = tr("Protractor"); protractor.version = "1.0"; mToolsIcon.insert(protractor.id,":/images/toolPalette/protractorTool.png"); mDescriptors << protractor; - triangle.id = "uniboardTool://uniboard.mnemis.com/triangle"; + //triangle.id = "uniboardTool://uniboard.mnemis.com/triangle"; + + triangle.id = "openboardtool://triangle"; triangle.icon = QPixmap(":/images/toolPalette/triangleTool.png"); triangle.label = tr("Triangle"); triangle.version = "1.0"; mToolsIcon.insert(triangle.id,":/images/toolPalette/triangleTool.png"); mDescriptors << triangle; - magnifier.id = "uniboardTool://uniboard.mnemis.com/magnifier"; + //magnifier.id = "uniboardTool://uniboard.mnemis.com/magnifier"; + + magnifier.id = "openboardtool://magnifier"; magnifier.icon = QPixmap(":/images/toolPalette/magnifierTool.png"); magnifier.label = tr("Magnifier"); magnifier.version = "1.0"; mToolsIcon.insert(magnifier.id,":/images/toolPalette/magnifierTool.png"); mDescriptors << magnifier; - cache.id = "uniboardTool://uniboard.mnemis.com/cache"; + //cache.id = "uniboardTool://uniboard.mnemis.com/cache"; + + cache.id = "openboardtool://cache"; cache.icon = QPixmap(":/images/toolPalette/cacheTool.png"); cache.label = tr("Cache"); cache.version = "1.0";