Ease of use object that connects two pqLinkedObjectInterface together. More...
#include <pqTextLinker.h>
Public Member Functions | |
| pqTextLinker () noexcept=default | |
| Default constructor with empty connections. More... | |
| template<typename T , typename U > | |
| pqTextLinker (T *, U *) | |
| Templated constructors that takes abritrary QTextEdit like objects. More... | |
| pqTextLinker & | operator= (const pqTextLinker &other) |
| Copy assignement operators performs a deep copy of the underlying data (only if they exist) More... | |
| void | link () |
| Links both objects to each other. More... | |
| void | unlink () |
| Unlinks both objects. More... | |
| bool | isLinked () const noexcept |
| Returns true if one object is linked to the other. More... | |
| bool | isLinkedTo (const QObject *Obj) const |
| Returns true if the linked object is the given input parameter. More... | |
| QString | getFirstObjectName () const |
| Returns the first object name. More... | |
| QString | getSecondObjectName () const |
| Returns the second object name. More... | |
Ease of use object that connects two pqLinkedObjectInterface together.
Note that the two objects are automatically unlinked when this get destroyed.
Definition at line 24 of file pqTextLinker.h.
|
defaultnoexcept |
Default constructor with empty connections.
|
inlineexplicit |
Templated constructors that takes abritrary QTextEdit like objects.
Definition at line 36 of file pqTextLinker.h.
|
inline |
Copy assignement operators performs a deep copy of the underlying data (only if they exist)
Definition at line 46 of file pqTextLinker.h.
|
inline |
Links both objects to each other.
Definition at line 66 of file pqTextLinker.h.
|
inline |
Unlinks both objects.
Definition at line 78 of file pqTextLinker.h.
|
inlinenoexcept |
Returns true if one object is linked to the other.
Definition at line 92 of file pqTextLinker.h.
|
inline |
Returns true if the linked object is the given input parameter.
Definition at line 111 of file pqTextLinker.h.
|
inline |
Returns the first object name.
Definition at line 130 of file pqTextLinker.h.
|
inline |
Returns the second object name.
Definition at line 143 of file pqTextLinker.h.
1.8.13 on Wed Dec 10 2025