summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-18 16:44:08 +0900
committerMichele Calgaro <[email protected]>2023-11-20 13:29:38 +0900
commitc5a61d6ebd7ea80f928a37f31e498d3d2985971e (patch)
tree9c86a267e303592c4351747f036aa055b95977bc
parenta02535e9ccf92f3f3ac993035a2dd8ac897361ad (diff)
downloadtdegames-c5a61d6ebd7ea80f928a37f31e498d3d2985971e.tar.gz
tdegames-c5a61d6ebd7ea80f928a37f31e498d3d2985971e.zip
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 21af5d6071d9e65b5f7d79ba4a5888f734a01c91)
-rw-r--r--libksirtet/lib/types.cpp6
1 files changed, 3 insertions, 3 deletions
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()