From: asl Date: Mon, 3 Apr 2006 10:09:01 +0000 (+0000) Subject: virtual destructors X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f0608fae83646a5d6f2e93243d5e892e57bf4c07;p=modules%2Fgui.git virtual destructors --- diff --git a/src/Qtx/QtxResourceMgr.h b/src/Qtx/QtxResourceMgr.h index f75345425..c9220ed94 100644 --- a/src/Qtx/QtxResourceMgr.h +++ b/src/Qtx/QtxResourceMgr.h @@ -184,7 +184,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 40aea1454..34ebd9129 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 e5a007b79..ce207ed45 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 2f64f7ec9..64e2e2fbf 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; };