diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-12 21:15:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-12 22:25:25 +0900 |
commit | 5cb1ea082794e19d062e004023ce44fae093d5bc (patch) | |
tree | 89609f35d633fe5f71d36d0948b118bbf16a2209 /tdeio | |
parent | c7cf5fd96d2696a522b5a377c53899d8d7bd5d80 (diff) | |
download | tdelibs-5cb1ea082794e19d062e004023ce44fae093d5bc.tar.gz tdelibs-5cb1ea082794e19d062e004023ce44fae093d5bc.zip |
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0f36f8966371d24decc0740ccf9f8b0cc2c57838)
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tdeio/kfilterdev.cpp | 4 | ||||
-rw-r--r-- | tdeio/tdeio/kfilterdev.h | 2 | ||||
-rw-r--r-- | tdeio/tdeio/klimitediodevice.h | 2 |
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; |