From ff7dc5f59ad2d77bcac5084782ba4e4f515efe9d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 15 May 2011 20:08:54 +0000 Subject: Honor TQ_OpenMode change made in TQt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1232119 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kio/kio/kfilterdev.cpp | 4 ++-- kio/kio/kfilterdev.h | 2 +- kio/kio/klimitediodevice.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kio') 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; -- cgit v1.2.1