summaryrefslogtreecommitdiffstats
path: root/kpf/src/ByteRange.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kpf/src/ByteRange.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpf/src/ByteRange.cpp')
-rw-r--r--kpf/src/ByteRange.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpf/src/ByteRange.cpp b/kpf/src/ByteRange.cpp
index cdd0624b..2db5de6b 100644
--- a/kpf/src/ByteRange.cpp
+++ b/kpf/src/ByteRange.cpp
@@ -21,7 +21,7 @@
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include "Defines.h"
#include "ByteRange.h"
@@ -101,13 +101,13 @@ namespace KPF
// Empty.
}
- ByteRangeList::ByteRangeList(const QString & _s, float /* protocol */)
+ ByteRangeList::ByteRangeList(const TQString & _s, float /* protocol */)
{
kpfDebug << "ByteRangeList parsing `" << _s << "'" << endl;
// Hey, parsing time :)
- QString s(_s);
+ TQString s(_s);
if ("bytes=" == s.left(6))
{
@@ -115,16 +115,16 @@ namespace KPF
s = s.stripWhiteSpace();
}
- QStringList byteRangeSpecList(QStringList::split(',', s));
+ TQStringList byteRangeSpecList(TQStringList::split(',', s));
- QStringList::ConstIterator it;
+ TQStringList::ConstIterator it;
for (it = byteRangeSpecList.begin(); it != byteRangeSpecList.end(); ++it)
addByteRange(*it);
}
void
- ByteRangeList::addByteRange(const QString & s)
+ ByteRangeList::addByteRange(const TQString & s)
{
kpfDebug << "addByteRange(" << s << ")" << endl;
@@ -136,9 +136,9 @@ namespace KPF
return;
}
- QString firstByte(s.left(dashPos).stripWhiteSpace());
+ TQString firstByte(s.left(dashPos).stripWhiteSpace());
- QString lastByte(s.mid(dashPos + 1).stripWhiteSpace());
+ TQString lastByte(s.mid(dashPos + 1).stripWhiteSpace());
ulong first;