diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-15 20:08:54 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-15 20:08:54 +0000 |
commit | ff7dc5f59ad2d77bcac5084782ba4e4f515efe9d (patch) | |
tree | 5a7b4f0a63359b6651c23865e47b41e46896df49 /kio | |
parent | 8357774e526d1dbaea12521ddc99f5ab0c40d820 (diff) | |
download | tdelibs-ff7dc5f59ad2d77bcac5084782ba4e4f515efe9d.tar.gz tdelibs-ff7dc5f59ad2d77bcac5084782ba4e4f515efe9d.zip |
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
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; |