summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-12 21:15:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-12 21:15:32 +0900
commit0f36f8966371d24decc0740ccf9f8b0cc2c57838 (patch)
tree13adb17728b88c3e7bdcc83fd2c2a131939f7770 /tdeio
parentcc5cf548f13ee0c43c41ac60ad056765e7dccb26 (diff)
downloadtdelibs-0f36f8966371d24decc0740ccf9f8b0cc2c57838.tar.gz
tdelibs-0f36f8966371d24decc0740ccf9f8b0cc2c57838.zip
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/tdeio/kfilterdev.cpp4
-rw-r--r--tdeio/tdeio/kfilterdev.h2
-rw-r--r--tdeio/tdeio/klimitediodevice.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/tdeio/tdeio/kfilterdev.cpp b/tdeio/tdeio/kfilterdev.cpp
index 37e3dcde3..22ad620d2 100644
--- a/tdeio/tdeio/kfilterdev.cpp
+++ b/tdeio/tdeio/kfilterdev.cpp
@@ -116,7 +116,7 @@ TQIODevice * KFilterDev::device( TQIODevice* inDevice, const TQString & mimetype
return 0;
}
-bool KFilterDev::open( TQ_OpenMode mode )
+bool KFilterDev::open( int mode )
{
//kdDebug(7005) << "KFilterDev::open " << mode << endl;
if ( mode == IO_ReadOnly )
@@ -132,7 +132,7 @@ bool KFilterDev::open( TQ_OpenMode mode )
d->bNeedHeader = !d->bSkipHeaders;
filter->init( mode );
d->bOpenedUnderlyingDevice = !filter->device()->isOpen();
- bool ret = d->bOpenedUnderlyingDevice ? filter->device()->open( (TQ_OpenMode)mode ) : true;
+ bool ret = d->bOpenedUnderlyingDevice ? filter->device()->open( (int)mode ) : true;
d->result = KFilterBase::OK;
if ( !ret )
diff --git a/tdeio/tdeio/kfilterdev.h b/tdeio/tdeio/kfilterdev.h
index 7599f342e..8db390110 100644
--- a/tdeio/tdeio/kfilterdev.h
+++ b/tdeio/tdeio/kfilterdev.h
@@ -55,7 +55,7 @@ public:
*/
#ifdef qdoc
#else
- virtual bool open( TQ_OpenMode mode );
+ virtual bool open( int mode );
#endif
/**
* Close after reading or writing.
diff --git a/tdeio/tdeio/klimitediodevice.h b/tdeio/tdeio/klimitediodevice.h
index 570b647d7..c1008d079 100644
--- a/tdeio/tdeio/klimitediodevice.h
+++ b/tdeio/tdeio/klimitediodevice.h
@@ -47,7 +47,7 @@ public:
}
virtual ~KLimitedIODevice() {}
- virtual bool open( TQ_OpenMode m ) {
+ virtual bool open( int m ) {
//kdDebug(7005) << "KLimitedIODevice::open m=" << m << endl;
if ( m & IO_ReadOnly ) {
/*bool ok = false;