- Replace apps.id = "uniboardTool://uniboard.mnemis.com/apps"

by "openboardtool://apps".
preferencesAboutTextFull
agriche 9 years ago
parent 1ddeaa0d61
commit f12032f549
  1. 27
      src/tools/UBToolsManager.cpp

@ -49,50 +49,63 @@ void UBToolsManager::destroy()
UBToolsManager::UBToolsManager(QObject *parent) UBToolsManager::UBToolsManager(QObject *parent)
: 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.icon = QPixmap(":/images/toolPalette/maskTool.png");
mask.label = tr("Mask"); mask.label = tr("Mask");
mask.version = "1.0"; mask.version = "1.0";
mToolsIcon.insert(mask.id, ":/images/toolPalette/maskTool.png"); mToolsIcon.insert(mask.id, ":/images/toolPalette/maskTool.png");
mDescriptors << mask; 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.icon = QPixmap(":/images/toolPalette/rulerTool.png");
ruler.label = tr("Ruler"); ruler.label = tr("Ruler");
ruler.version = "1.0"; ruler.version = "1.0";
mToolsIcon.insert(ruler.id, ":/images/toolPalette/rulerTool.png"); mToolsIcon.insert(ruler.id, ":/images/toolPalette/rulerTool.png");
mDescriptors << ruler; 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.icon = QPixmap(":/images/toolPalette/compassTool.png");
compass.label = tr("Compass"); compass.label = tr("Compass");
compass.version = "1.0"; compass.version = "1.0";
mToolsIcon.insert(compass.id, ":/images/toolPalette/compassTool.png"); mToolsIcon.insert(compass.id, ":/images/toolPalette/compassTool.png");
mDescriptors << compass; 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.icon = QPixmap(":/images/toolPalette/protractorTool.png");
protractor.label = tr("Protractor"); protractor.label = tr("Protractor");
protractor.version = "1.0"; protractor.version = "1.0";
mToolsIcon.insert(protractor.id,":/images/toolPalette/protractorTool.png"); mToolsIcon.insert(protractor.id,":/images/toolPalette/protractorTool.png");
mDescriptors << protractor; 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.icon = QPixmap(":/images/toolPalette/triangleTool.png");
triangle.label = tr("Triangle"); triangle.label = tr("Triangle");
triangle.version = "1.0"; triangle.version = "1.0";
mToolsIcon.insert(triangle.id,":/images/toolPalette/triangleTool.png"); mToolsIcon.insert(triangle.id,":/images/toolPalette/triangleTool.png");
mDescriptors << triangle; 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.icon = QPixmap(":/images/toolPalette/magnifierTool.png");
magnifier.label = tr("Magnifier"); magnifier.label = tr("Magnifier");
magnifier.version = "1.0"; magnifier.version = "1.0";
mToolsIcon.insert(magnifier.id,":/images/toolPalette/magnifierTool.png"); mToolsIcon.insert(magnifier.id,":/images/toolPalette/magnifierTool.png");
mDescriptors << magnifier; 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.icon = QPixmap(":/images/toolPalette/cacheTool.png");
cache.label = tr("Cache"); cache.label = tr("Cache");
cache.version = "1.0"; cache.version = "1.0";

Loading…
Cancel
Save