summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
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;