Changeset View
Changeset View
Standalone View
Standalone View
plugins/tools/defaulttool/defaulttool/DefaultTool.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | |||||
50 | { | 50 | { | ||
51 | Q_OBJECT | 51 | Q_OBJECT | ||
52 | public: | 52 | public: | ||
53 | /** | 53 | /** | ||
54 | * Constructor for basic interaction tool where user actions are translated | 54 | * Constructor for basic interaction tool where user actions are translated | ||
55 | * and handled by interaction strategies of type KoInteractionStrategy. | 55 | * and handled by interaction strategies of type KoInteractionStrategy. | ||
56 | * @param canvas the canvas this tool will be working for. | 56 | * @param canvas the canvas this tool will be working for. | ||
57 | */ | 57 | */ | ||
58 | explicit DefaultTool(KoCanvasBase *canvas); | 58 | explicit DefaultTool(KoCanvasBase *canvas, bool connectToSelectedShapesProxy = false); | ||
59 | ~DefaultTool() override; | 59 | ~DefaultTool() override; | ||
60 | 60 | | |||
61 | enum CanvasResource { | 61 | enum CanvasResource { | ||
62 | HotPosition = 1410100299 | 62 | HotPosition = 1410100299 | ||
63 | }; | 63 | }; | ||
64 | 64 | | |||
65 | public: | 65 | public: | ||
66 | 66 | | |||
▲ Show 20 Lines • Show All 133 Lines • Show Last 20 Lines |