From: asl Date: Wed, 20 Sep 2006 07:58:09 +0000 (+0000) Subject: destructor must be virtual X-Git-Tag: V3_2_3pre1~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=63e519761357586c299422fd47fc775cc30f4f6f;p=modules%2Fgui.git destructor must be virtual --- diff --git a/src/Qtx/QtxResourceMgr.h b/src/Qtx/QtxResourceMgr.h index 0bf57831c..9a4b839bf 100644 --- a/src/Qtx/QtxResourceMgr.h +++ b/src/Qtx/QtxResourceMgr.h @@ -185,7 +185,7 @@ class QTX_EXPORT QtxResourceMgr::Format { public: Format( const QString& ); - ~Format(); + virtual ~Format(); QString format() const; diff --git a/src/SUIT/SUIT_DataObjectKey.h b/src/SUIT/SUIT_DataObjectKey.h index 9f4227d48..053e1abe7 100755 --- a/src/SUIT/SUIT_DataObjectKey.h +++ b/src/SUIT/SUIT_DataObjectKey.h @@ -29,7 +29,7 @@ class SUIT_EXPORT SUIT_DataObjectKey { public: SUIT_DataObjectKey(); - ~SUIT_DataObjectKey(); + virtual ~SUIT_DataObjectKey(); virtual bool isLess( const SUIT_DataObjectKey* ) const = 0; virtual bool isEqual( const SUIT_DataObjectKey* ) const = 0; diff --git a/src/SUIT/SUIT_PopupClient.h b/src/SUIT/SUIT_PopupClient.h index 7d4023f3a..f65bc9f12 100644 --- a/src/SUIT/SUIT_PopupClient.h +++ b/src/SUIT/SUIT_PopupClient.h @@ -36,7 +36,7 @@ public: class Signal; SUIT_PopupClient(); - ~SUIT_PopupClient(); + virtual ~SUIT_PopupClient(); bool connectPopupRequest( QObject* reciever, const char* slot ); bool disconnectPopupRequest( QObject* reciever, const char* slot ); diff --git a/src/SUIT/SUIT_SelectionFilter.h b/src/SUIT/SUIT_SelectionFilter.h index a26510108..bc63de032 100644 --- a/src/SUIT/SUIT_SelectionFilter.h +++ b/src/SUIT/SUIT_SelectionFilter.h @@ -28,7 +28,7 @@ class SUIT_EXPORT SUIT_SelectionFilter { public: SUIT_SelectionFilter(); - ~SUIT_SelectionFilter(); + virtual ~SUIT_SelectionFilter(); virtual bool isOk( const SUIT_DataOwner* ) const = 0; };