[Kde-bindings] C++ implicit type conversion rules?
Cyrille Berger
cberger at cberger.net
Thu Aug 9 12:33:21 UTC 2007
On Thursday 09 August 2007, Richard Dale wrote:
> But I get the impression that just this constructor would allow a QString
> to be passed everywhere that a QUrl is expected:
>
> QUrl(const QString &url);
That is correct. There is also a third possibility, adding a cast operator to
QString:
operator QUrl () const;
--
Cyrille Berger
More information about the Kde-bindings
mailing list