bool LayerVector::saveKeyFrame( KeyFrame* pKeyFrame, QString path ) { VectorImage* pVecImage = static_cast< VectorImage* >( pKeyFrame ); QString theFileName = fileName( pKeyFrame->pos() ); QString strFilePath = QDir( path ).filePath( theFileName ); pVecImage->write( strFilePath, "VEC" ); return true; }