+
+/*!
+ Class: SUIT_DataObject::Signal [Internal]
+*/
+
+SUIT_DataObject::Signal::Signal( SUIT_DataObject* o )
+: QObject(),
+myOwner( o )
+{
+}
+
+SUIT_DataObject::Signal::~Signal()
+{
+ SUIT_DataObject* o = myOwner;
+ myOwner = 0;
+ if ( o )
+ {
+ o->mySignal = 0;
+ delete o;
+ }
+}
+
+void SUIT_DataObject::Signal::setOwner( SUIT_DataObject* o )
+{
+ myOwner = o;
+}
+
+void SUIT_DataObject::Signal::emitSignal()
+{
+ if ( myOwner )
+ emit destroyed( myOwner );
+}