diff options
author | Michele Calgaro <[email protected]> | 2023-09-12 21:15:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-12 22:25:25 +0900 |
commit | 5cb1ea082794e19d062e004023ce44fae093d5bc (patch) | |
tree | 89609f35d633fe5f71d36d0948b118bbf16a2209 /tdeio/tdeio/kfilterdev.cpp | |
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 <[email protected]>
(cherry picked from commit 0f36f8966371d24decc0740ccf9f8b0cc2c57838)
Diffstat (limited to 'tdeio/tdeio/kfilterdev.cpp')
-rw-r--r-- | tdeio/tdeio/kfilterdev.cpp | 4 |
1 files changed, 2 insertions, 2 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 ) |