]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
getNewObjectName() is made virtual (as it parent class).
authorasv <asv@opencascade.com>
Fri, 3 Jun 2005 10:40:31 +0000 (10:40 +0000)
committerasv <asv@opencascade.com>
Fri, 3 Jun 2005 10:40:31 +0000 (10:40 +0000)
src/GEOMBase/GEOMBase_Skeleton.h

index 450dc6079619d5fcf90007045074a8c7f41654ed..a6ca50f01c23bb08ab050234ee4ce8e07a9822c2 100644 (file)
@@ -58,7 +58,7 @@ protected:
     void closeEvent(QCloseEvent* e);
 
     void initName( const char* thePrefix = 0 ); // initialize "Name" field with a string "thePrefix_X" (Vertex_3)
-    const char* getNewObjectName() const; // returns contents of "Name" field
+    virtual const char* getNewObjectName() const; // returns contents of "Name" field
     int getConstructorId() const; // returns id of a selected "constructor" radio button or '-1' in case of error
     virtual SUIT_Desktop* getDesktop() const;