diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 03:43:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 03:43:07 +0000 |
commit | 70b9eea2ba01c3691497f49e4c45cb070c16193c (patch) | |
tree | 9a6df61aa247a27275aad9c5245e419e89c2c640 /kradio3/src/multibuffer.cpp | |
parent | 998c1384ace4ae4655997c181fa33242148cd0a4 (diff) | |
download | tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.tar.gz tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.zip |
TQt4 port kradio
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1238952 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kradio3/src/multibuffer.cpp')
-rw-r--r-- | kradio3/src/multibuffer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kradio3/src/multibuffer.cpp b/kradio3/src/multibuffer.cpp index 5ed4bd0..07eb74b 100644 --- a/kradio3/src/multibuffer.cpp +++ b/kradio3/src/multibuffer.cpp @@ -25,7 +25,7 @@ MultiBuffer::MultiBuffer(size_t n_buffers, size_t buffersize) m_currentReadBuffer(m_nBuffers-1), // during wait4read, this will be incremented to 0 m_currentWriteBuffer(0), m_readLock(n_buffers), - m_errorString(QString::null), + m_errorString(TQString()), m_error(false) { m_readLock += m_nBuffers; @@ -68,7 +68,7 @@ char *MultiBuffer::lockWriteBuffer(size_t &bufferSize) bufferSize = bytesAvailable; return m_buffers[m_currentWriteBuffer] + m_buffersFill[m_currentWriteBuffer]; } -/* QString tmp; +/* TQString tmp; IErrorLogClient::staticLogDebug(tmp.sprintf("current input buffer: %li", m_currentInputBuffer)); IErrorLogClient::staticLogDebug(tmp.sprintf("inputAvailableLock: %i", m_inputAvailableLock.available())); for (size_t i = 0; i < m_config.m_EncodeBufferCount; ++i) { @@ -127,5 +127,5 @@ char *MultiBuffer::getCurrentReadBuffer(size_t &buffer_fill) const void MultiBuffer::resetError() { m_error = false; - m_errorString = QString::null; + m_errorString = TQString(); } |