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:
Jonathan Liu 2012-06-01 20:40:29 +10:00 committed by Qt by Nokia
parent bb4e8e37d2
commit d744b24fab

View File

@ -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: