1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0023459: Update QT samples

Removing Qt3Support layer of Qt 4
Changed all files for Qt4 and added file VoxelDemo.pro
Removed 'static' before the declaration of handling FSD_File.
This commit is contained in:
vdn
2013-10-03 14:26:39 +04:00
committed by bugmaster
parent 9d1c5188ae
commit 3cb77da46e
10 changed files with 225 additions and 62 deletions

View File

@@ -481,7 +481,7 @@ Handle(TopTools_HSequenceOfShape) Translate::importCSFDB( const QString& file )
if ( FSD_File::IsGoodFileType( (Standard_CString)file.toLatin1().constData() ) != Storage_VSOk )
return aSequence;
static FSD_File fileDriver;
FSD_File fileDriver;
TCollection_AsciiString aName( (Standard_CString)file.toLatin1().constData() );
if ( fileDriver.Open( aName, Storage_VSRead ) != Storage_VSOk )
return aSequence;
@@ -591,7 +591,7 @@ bool Translate::exportCSFDB( const QString& file, const Handle(TopTools_HSequenc
if ( type < 0 )
return false;
static FSD_File fileDriver;
FSD_File fileDriver;
Handle(ShapeSchema) schema = new ShapeSchema();
Handle(Storage_Data) data = new Storage_Data();