From 32073e28f0e425c066e65f3fc6a3101feab22598 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 21 Aug 2010 02:35:53 +0000 Subject: More TQt functionality in place for Qt4... git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1166130 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtinterface/tqiodevice.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'qtinterface/tqiodevice.cpp') diff --git a/qtinterface/tqiodevice.cpp b/qtinterface/tqiodevice.cpp index 7a70d3d..1038fc4 100644 --- a/qtinterface/tqiodevice.cpp +++ b/qtinterface/tqiodevice.cpp @@ -58,4 +58,13 @@ void QIODevice::setStatus( int s ) { // return write(data, len); // } +qint64 QIODevice::readLine(QString & s, qint64 maxlen) { + qint64 ret; + QByteArray q; + + readLine(q.data(), maxlen); + s.setAscii(q); + return ret; +} + #endif // USE_QT4 \ No newline at end of file -- cgit v1.2.1