summaryrefslogtreecommitdiffstats
path: root/src/object/sp-item.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-12-03 14:12:58 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-12-03 14:12:58 +0000
commitd0a70cf731c5d3e2698f62876a4acade0361bb8e (patch)
treeff8e35ffe8c44db6b28b8c29c108513307f057c7 /src/object/sp-item.h
parentUse std::unique_ptr for all MessageContext (diff)
downloadinkscape-d0a70cf731c5d3e2698f62876a4acade0361bb8e.tar.gz
inkscape-d0a70cf731c5d3e2698f62876a4acade0361bb8e.zip
Remove dependance of SVGViewWidget on SVGView and View. Remove SVGView.
Another step in making View not dependent on GUI.
Diffstat (limited to 'src/object/sp-item.h')
-rw-r--r--src/object/sp-item.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/object/sp-item.h b/src/object/sp-item.h
index 068571d85..7d9ecd44f 100644
--- a/src/object/sp-item.h
+++ b/src/object/sp-item.h
@@ -48,7 +48,7 @@ class URIReference;
namespace UI {
namespace View {
-class View;
+class SVGViewWidget;
}
}
}
@@ -70,6 +70,7 @@ enum PatternTransform {
* to process correct ones in meaningful way.
* Also, this probably goes to SPObject base class.
*
+ * GUI Code should not be here!
*/
class SPEvent {
@@ -83,7 +84,7 @@ public:
};
Type type;
- Inkscape::UI::View::View* view;
+ Inkscape::UI::View::SVGViewWidget* view;
};
class SPItemView {