Replace various strings '#define'd in tqtinterface

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 21af5d6071)
r14.1.x
Michele Calgaro 1 year ago
parent a02535e9cc
commit c5a61d6ebd
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