summaryrefslogtreecommitdiffstats
path: root/libksirtet
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 16:44:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 16:53:54 +0900
commit21af5d6071d9e65b5f7d79ba4a5888f734a01c91 (patch)
treecc6a0f840b9edc20791f4952e9791d8ec5cb14b4 /libksirtet
parent1782a1ae3a3214d588891a39cece45ac07141ece (diff)
downloadtdegames-21af5d6071d9e65b5f7d79ba4a5888f734a01c91.tar.gz
tdegames-21af5d6071d9e65b5f7d79ba4a5888f734a01c91.zip
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libksirtet')
-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()