[Interest] Subclassing QNetworkAccessManager not working
Thiago Macieira
thiago.macieira at intel.com
Tue Nov 3 17:43:17 CET 2015
On Tuesday 03 November 2015 17:23:04 Jason H wrote:
> Didn't I already do that? Here it is again:
Sorry, you did.
> class EncryptingNetworkManager: public QNetworkAccessManager {
> public:
> EncryptingNetworkManager(QObject *parent = 0) :
> QNetworkAccessManager(parent){}
>
> protected slots:
> QStringList supportedSchemesImplementation() const { // const or not it
> does not work QStringList schemes;
> schemes.push_back("aes");
> return schemes;
> }
> };
You forgot the Q_OBJECT macro.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list