diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-06-18 22:30:12 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-06-18 22:30:12 +0000 |
| commit | ea3139bf1b60e2e92626d0b5badde56acaf766ed (patch) | |
| tree | f1dae89ecde058c2ba06ca9fb8398fbca4142a0c /src/knotholder.h | |
| parent | Improve comments and catch missing desktop in effect.cpp (diff) | |
| download | inkscape-ea3139bf1b60e2e92626d0b5badde56acaf766ed.tar.gz inkscape-ea3139bf1b60e2e92626d0b5badde56acaf766ed.zip | |
Make knotholder members protected
(bzr r5994)
Diffstat (limited to 'src/knotholder.h')
| -rw-r--r-- | src/knotholder.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/knotholder.h b/src/knotholder.h index 14a139768..bd57776db 100644 --- a/src/knotholder.h +++ b/src/knotholder.h @@ -52,15 +52,18 @@ public: void add_pattern_knotholder(); -//private: + const SPItem *getItem() { return item; } + + friend class ShapeEditor; + +protected: SPDesktop *desktop; SPItem *item; // TODO: Remove this and keep the actual item (e.g., SPRect etc.) in the item-specific knotholders + Inkscape::XML::Node *repr; ///< repr of the item, for setting and releasing listeners. std::list<KnotHolderEntity *> entity; SPKnotHolderReleasedFunc released; - Inkscape::XML::Node *repr; ///< repr of the item, for setting and releasing listeners. - gboolean local_change; ///< if true, no need to recreate knotholder if repr was changed. }; |
