|
|
@ -945,13 +945,13 @@ bool ClassGenerator::finishStreams(const TQString& baseName,
|
|
|
|
writeFileFooter(headerStream);
|
|
|
|
writeFileFooter(headerStream);
|
|
|
|
writeFileFooter(sourceStream);
|
|
|
|
writeFileFooter(sourceStream);
|
|
|
|
|
|
|
|
|
|
|
|
TQIODevice* tqdevice = headerStream.tqdevice();
|
|
|
|
TQIODevice* device = headerStream.device();
|
|
|
|
headerStream.unsetDevice();
|
|
|
|
headerStream.unsetDevice();
|
|
|
|
delete tqdevice;
|
|
|
|
delete device;
|
|
|
|
|
|
|
|
|
|
|
|
tqdevice = sourceStream.tqdevice();
|
|
|
|
device = sourceStream.device();
|
|
|
|
sourceStream.unsetDevice();
|
|
|
|
sourceStream.unsetDevice();
|
|
|
|
delete tqdevice;
|
|
|
|
delete device;
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|