Inkscape
Vector Graphics Editor
|
#include <satellite-reference.h>
Public Member Functions | |
SatelliteReference (SPObject *owner, bool hasactive=false) | |
bool | getHasActive () const |
bool | getActive () const |
void | setActive (bool active) |
![]() | |
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 *obj) const override |
Private Attributes | |
bool | _active |
bool | _hasactive |
Definition at line 21 of file satellite-reference.h.
|
inline |
Definition at line 24 of file satellite-reference.h.
|
overrideprotectedvirtual |
Reimplemented from Inkscape::URIReference.
Definition at line 34 of file satellite-reference.cpp.
References Inkscape::URIReference::_acceptObject(), and Inkscape::URIReference::getOwner().
|
inline |
Definition at line 32 of file satellite-reference.h.
References _active.
|
inline |
Definition at line 31 of file satellite-reference.h.
References _hasactive.
|
inline |
Definition at line 33 of file satellite-reference.h.
References _active.
|
private |
Definition at line 39 of file satellite-reference.h.
Referenced by getActive(), and setActive().
|
private |
Definition at line 40 of file satellite-reference.h.
Referenced by getHasActive().