summaryrefslogtreecommitdiffstats
path: root/src/selection.h
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2016-10-25 10:03:33 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2016-10-25 10:03:33 +0000
commitd37444eade200b5e527a89164a39bc2894addf6f (patch)
treeca6325f3f2dee50786503cbb3dc0ef623fb89d81 /src/selection.h
parentFix test (diff)
downloadinkscape-d37444eade200b5e527a89164a39bc2894addf6f.tar.gz
inkscape-d37444eade200b5e527a89164a39bc2894addf6f.zip
Fix signals
(bzr r15191)
Diffstat (limited to 'src/selection.h')
-rw-r--r--src/selection.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/selection.h b/src/selection.h
index cf00ba1f4..54826970f 100644
--- a/src/selection.h
+++ b/src/selection.h
@@ -59,6 +59,7 @@ class Selection : public Inkscape::GC::Managed<>,
public Inkscape::GC::Anchored,
public ObjectSet
{
+friend class ObjectSet;
public:
/**
* Constructs an selection object, bound to a particular
@@ -98,12 +99,7 @@ public:
add(_objectForXMLNode(repr));
}
- /**
- * Set the selection to a single specific object.
- *
- * @param obj the object to select
- */
- void set(SPObject *obj, bool persist_selection_context = false);
+ using ObjectSet::set;
/**
* Set the selection to an XML node's SPObject.
@@ -127,14 +123,6 @@ public:
remove(_objectForXMLNode(repr));
}
- /**
- * Clears the selection and selects the specified objects.
- *
- * @param repr a list of xml nodes for the items to select
- */
- void setReprList(std::vector<XML::Node*> const &reprs);
-
-
using ObjectSet::includes;
/**