5 #ifndef pqLinkedObjectInterface_h
6 #define pqLinkedObjectInterface_h
8 #include <pqCoreModule.h>
10 #include <QMetaObject>
41 virtual std::unique_ptr<pqLinkedObjectInterface> clone()
const = 0;
52 virtual void unlink() = 0;
66 virtual void setText(
const QString& txt) = 0;
71 virtual QString getText()
const = 0;
76 virtual QObject* getLinked() const noexcept = 0;
81 virtual QString getName() const = 0;
86 bool isLinked() const noexcept {
return this->ConnectedTo !=
nullptr; }
91 bool SettingText =
false;
94 #endif // pqLinkedObjectInterface_h