QNetworkReply: Change abort() function into a slot
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>
This commit is contained in:
parent
bb4e8e37d2
commit
d744b24fab
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user