diff options
Diffstat (limited to 'kpf/src/ByteRange.cpp')
-rw-r--r-- | kpf/src/ByteRange.cpp | 16 |
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; |