Inkscape
Vector Graphics Editor
|
#include <sp-use-reference.h>
Public Member Functions | |
SPUseReference (SPObject *owner) | |
SPItem * | getObject () const |
![]() | |
URIReference (SPObject *owner) | |
Constructor. | |
URIReference (SPDocument *owner_document) | |
void | operator= (URIReference const &ref)=delete |
virtual | ~URIReference () |
Destructor. | |
void | attach (URI const &uri) |
Attaches to a URI, relative to the specified document. | |
bool | try_attach (char const *uri) |
Try to attach to a URI. | |
void | detach () |
Detaches from the currently attached URI target, if any; the current referrent is signaled as NULL. | |
SPObject * | getObject () const |
Returns a pointer to the current referrent of the attached URI, or NULL. | |
SPObject * | getOwner () const |
Returns a pointer to the URIReference's owner. | |
sigc::signal< void(SPObject *, SPObject *)> | changedSignal () |
Accessor for the referrent change notification signal; this signal is emitted whenever the URIReference's referrent changes. | |
URI const * | getURI () const |
Returns a pointer to a URI containing the currently attached URI, or NULL if no URI is currently attached. | |
bool | isAttached () const |
Returns true if there is currently an attached URI. | |
SPDocument * | getOwnerDocument () |
SPObject * | getOwnerObject () |
Protected Member Functions | |
bool | _acceptObject (SPObject *const obj) const override |
Definition at line 28 of file sp-use-reference.h.
|
inline |
Definition at line 30 of file sp-use-reference.h.
|
overrideprotectedvirtual |
Reimplemented from Inkscape::URIReference.
Definition at line 25 of file sp-use-reference.cpp.
|
inline |
Definition at line 32 of file sp-use-reference.h.
Referenced by SPConnEndPair::getAttachedItems(), SPUse::getLinked(), SPUse::href_changed(), sp_conn_end_href_changed(), and sp_textpath_get_path_item().