From 21af5d6071d9e65b5f7d79ba4a5888f734a01c91 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 18 Nov 2023 16:44:08 +0900 Subject: Replace various strings '#define'd in tqtinterface Signed-off-by: Michele Calgaro --- libksirtet/lib/types.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libksirtet/lib/types.cpp') diff --git a/libksirtet/lib/types.cpp b/libksirtet/lib/types.cpp index ae91c4d5..54aa79e6 100644 --- a/libksirtet/lib/types.cpp +++ b/libksirtet/lib/types.cpp @@ -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() -- cgit v1.2.1