diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-15 19:11:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-15 19:11:41 +0000 |
commit | 374d939d8af431477ce2601815f0ba121b66871c (patch) | |
tree | ad878478dcc0bedf51e3cffb2ed611ada422b290 /kio/kio/klimitediodevice.h | |
parent | f9279733bf71e446933b46f40cbe9c9b9f57b778 (diff) | |
download | tdelibs-374d939d8af431477ce2601815f0ba121b66871c.tar.gz tdelibs-374d939d8af431477ce2601815f0ba121b66871c.zip |
Allow kdelibs to function correctly with TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/kio/klimitediodevice.h')
-rw-r--r-- | kio/kio/klimitediodevice.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kio/kio/klimitediodevice.h b/kio/kio/klimitediodevice.h index f148d5215..666021fa1 100644 --- a/kio/kio/klimitediodevice.h +++ b/kio/kio/klimitediodevice.h @@ -56,7 +56,7 @@ public: else ok = m_dev->open( m ); if ( ok )*/ - m_dev->at( m_start ); // No concurrent access ! + m_dev->tqat( m_start ); // No concurrent access ! } else kdWarning(7005) << "KLimitedIODevice::open only supports IO_ReadOnly!" << endl; @@ -89,13 +89,13 @@ public: return c[0]; } virtual int ungetch( int c ) { return m_dev->ungetch(c); } // ## apply lower limit ? - virtual Offset at() const { return m_dev->at() - m_start; } + virtual Offset at() const { return m_dev->tqat() - m_start; } virtual bool at( Offset pos ) { Q_ASSERT( pos <= m_length ); pos = QMIN( pos, m_length ); // Apply upper limit - return m_dev->at( m_start + pos ); + return m_dev->tqat( m_start + pos ); } - virtual bool atEnd() const { return m_dev->atEnd() || m_dev->at() >= m_start + m_length; } + virtual bool atEnd() const { return m_dev->atEnd() || m_dev->tqat() >= m_start + m_length; } private: TQIODevice* m_dev; TQ_ULONG m_start; |