Replace various strings '#define'd in tqtinterface

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/26/head
Michele Calgaro 5 months ago
parent 1782a1ae3a
commit 21af5d6071
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -169,20 +169,20 @@ Stream::Stream(int _mode)
{
setDevice(&buf);
Q_ASSERT( _mode==IO_ReadOnly || _mode==IO_WriteOnly );
buf.open((TQIODevice_OpenModeFlag)_mode);
buf.open(_mode);
}
void Stream::clear()
{
buf.close();
buf.open((TQIODevice_OpenModeFlag)(mode | IO_Truncate));
buf.open(mode | IO_Truncate);
}
void Stream::setArray(TQByteArray a)
{
buf.close();
buf.setBuffer(a);
buf.open((TQIODevice_OpenModeFlag)mode);
buf.open(mode);
}
bool ReadingStream::readOk()

Loading…
Cancel
Save