From 83d6185e40296ce885d8c2a91a431076b91f2357 Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 9 Aug 2007 13:28:50 +0000 Subject: [PATCH] new virtual method update() with empty default implementation --- src/SUIT/SUIT_DataObject.cxx | 7 +++++++ src/SUIT/SUIT_DataObject.h | 1 + 2 files changed, 8 insertions(+) diff --git a/src/SUIT/SUIT_DataObject.cxx b/src/SUIT/SUIT_DataObject.cxx index 2c430de0e..26c27a429 100755 --- a/src/SUIT/SUIT_DataObject.cxx +++ b/src/SUIT/SUIT_DataObject.cxx @@ -934,6 +934,13 @@ void SUIT_DataObject::Signal::deleteLater( SUIT_DataObject* object ) } } +/*! + \brief Updates necessary internal fields of data object +*/ +void SUIT_DataObject::update() +{ +} + /*! \fn void SUIT_DataObject::Signal::created( SUIT_DataObject* object ); \brief Emitted when data object is created. diff --git a/src/SUIT/SUIT_DataObject.h b/src/SUIT/SUIT_DataObject.h index 9f79ac9f1..40916cf03 100755 --- a/src/SUIT/SUIT_DataObject.h +++ b/src/SUIT/SUIT_DataObject.h @@ -120,6 +120,7 @@ public: virtual bool isOpen() const; virtual void setOpen( const bool ); + virtual void update(); virtual bool customSorting( const int = NameIdx ) const; virtual bool compare( const QVariant&, const QVariant&, const int = NameIdx ) const; -- 2.39.2