From f7df53b0630c019e2d497cb13da4a4d0d33320c9 Mon Sep 17 00:00:00 2001 From: agriche Date: Thu, 19 Nov 2015 14:18:36 +0100 Subject: [PATCH] - Replace UniboardTool enum field by OpenboardTool . --- src/core/UB.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/core/UB.h b/src/core/UB.h index be8f53a0..f2dd6685 100644 --- a/src/core/UB.h +++ b/src/core/UB.h @@ -28,8 +28,9 @@ #ifndef UB_H_ #define UB_H_ -#include -#include +//#include +#include + #define UB_MAX_ZOOM 9 @@ -45,7 +46,8 @@ struct UBMimeType Audio, Flash, PDF, - UniboardTool, + //UniboardTool, + OpenboardTool, Group, UNKNOWN }; @@ -144,25 +146,25 @@ struct UBGraphicsItemType { enum Enum { - PolygonItemType = QGraphicsItem::UserType + 1, //65537 + PolygonItemType = QGraphicsItem::UserType + 1, PixmapItemType, SvgItemType, - DelegateButtonType, //65540 + DelegateButtonType, MediaItemType, PDFItemType, TextItemType, CurtainItemType, - RulerItemType, //65545 + RulerItemType, CompassItemType, ProtractorItemType, StrokeItemType, TriangleItemType, - MagnifierItemType, //65550 + MagnifierItemType, cacheItemType, groupContainerType, ToolWidgetItemType, GraphicsWidgetItemType, - UserTypesCount, //65555 + UserTypesCount, SelectionFrameType// this line must be the last line in this enum because it is types counter. }; };