diff options
Diffstat (limited to 'kio')
-rw-r--r-- | kio/kio/kfilterdev.cpp | 4 | ||||
-rw-r--r-- | kio/kio/kfilterdev.h | 2 | ||||
-rw-r--r-- | kio/kio/klimitediodevice.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/kio/kio/kfilterdev.cpp b/kio/kio/kfilterdev.cpp index f6af06ae2..87d54f5e3 100644 --- a/kio/kio/kfilterdev.cpp +++ b/kio/kio/kfilterdev.cpp @@ -116,7 +116,7 @@ TQIODevice * KFilterDev::device( TQIODevice* inDevice, const TQString & mimetype return 0; } -bool KFilterDev::open( OpenMode mode ) +bool KFilterDev::open( TQ_OpenMode mode ) { //kdDebug(7005) << "KFilterDev::open " << mode << endl; if ( mode == IO_ReadOnly ) @@ -132,7 +132,7 @@ bool KFilterDev::open( OpenMode mode ) d->bNeedHeader = !d->bSkipHeaders; filter->init( mode ); d->bOpenedUnderlyingDevice = !filter->device()->isOpen(); - bool ret = d->bOpenedUnderlyingDevice ? filter->device()->open( (OpenMode)mode ) : true; + bool ret = d->bOpenedUnderlyingDevice ? filter->device()->open( (TQ_OpenMode)mode ) : true; d->result = KFilterBase::OK; if ( !ret ) diff --git a/kio/kio/kfilterdev.h b/kio/kio/kfilterdev.h index cf730636a..027d1eb4a 100644 --- a/kio/kio/kfilterdev.h +++ b/kio/kio/kfilterdev.h @@ -53,7 +53,7 @@ public: * Open for reading or writing. * If the KFilterBase's device is not opened, it will be opened. */ - virtual bool open( OpenMode mode ); + virtual bool open( TQ_OpenMode mode ); /** * Close after reading or writing. * If the KFilterBase's device was opened by open(), it will be closed. diff --git a/kio/kio/klimitediodevice.h b/kio/kio/klimitediodevice.h index 666021fa1..0c5a76b79 100644 --- a/kio/kio/klimitediodevice.h +++ b/kio/kio/klimitediodevice.h @@ -47,7 +47,7 @@ public: } virtual ~KLimitedIODevice() {} - virtual bool open( OpenMode m ) { + virtual bool open( TQ_OpenMode m ) { //kdDebug(7005) << "KLimitedIODevice::open m=" << m << endl; if ( m & IO_ReadOnly ) { /*bool ok = false; |