summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qwindowspipewriter_p.h
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2009-09-09 00:55:15 (GMT)
committerabcd <qt-info@nokia.com>2009-09-09 00:55:15 (GMT)
commit03050f1495a9071a7123ed70caff83466df8c6e5 (patch)
treef96e3af0b0d9389626b826f7030cdeac71dc74e8 /src/corelib/io/qwindowspipewriter_p.h
parentf52dc5bf1e885c9a4d226c2484249e7d9faf0a99 (diff)
downloadQt-03050f1495a9071a7123ed70caff83466df8c6e5.zip
Qt-03050f1495a9071a7123ed70caff83466df8c6e5.tar.gz
Qt-03050f1495a9071a7123ed70caff83466df8c6e5.tar.bz2
Fix windows implemetation of QLocalSocket to emit bytesWritten() signal
Have QWindowsPipeWriter emit a bytesWritten signal and have QLocalSocket connect this to its own bytesWritten signal. This change contains an autotest to check for the signal emission. Previously there was no implementation to emit the signal.
Diffstat (limited to 'src/corelib/io/qwindowspipewriter_p.h')
-rw-r--r--src/corelib/io/qwindowspipewriter_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qwindowspipewriter_p.h b/src/corelib/io/qwindowspipewriter_p.h
index d651629..8f8c4a0 100644
--- a/src/corelib/io/qwindowspipewriter_p.h
+++ b/src/corelib/io/qwindowspipewriter_p.h
@@ -121,6 +121,7 @@ class Q_CORE_EXPORT QWindowsPipeWriter : public QThread
Q_SIGNALS:
void canWrite();
+ void bytesWritten(qint64 bytes);
public:
QWindowsPipeWriter(HANDLE writePipe, QObject * parent = 0);