projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb4e8e3
)
QNetworkReply: Change abort() function into a slot
author
Jonathan Liu
<net147@gmail.com>
Fri, 1 Jun 2012 10:40:29 +0000
(20:40 +1000)
committer
Qt by Nokia
<qt-info@nokia.com>
Fri, 1 Jun 2012 13:47:10 +0000
(15:47 +0200)
It is useful for abort() to be a slot for connecting cancel and timeout
signals.
Change-Id: Ib0146d66fffe3f57b683dfbce0863e378b8c076d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/network/access/qnetworkreply.h
patch
|
blob
|
history
diff --git
a/src/network/access/qnetworkreply.h
b/src/network/access/qnetworkreply.h
index
e514779
..
cc3a41a
100644
(file)
--- a/
src/network/access/qnetworkreply.h
+++ b/
src/network/access/qnetworkreply.h
@@
-104,7
+104,6
@@
public:
};
~QNetworkReply();
- virtual void abort() = 0;
// reimplemented from QIODevice
virtual void close();
@@
-143,6
+142,7
@@
public:
#endif
public Q_SLOTS:
+ virtual void abort() = 0;
virtual void ignoreSslErrors();
Q_SIGNALS: