Hello,
Phil Thompson wrote:
Try tonight's SIP snapshot. It's a problem with the new implicit copying of
const reference results.
Thanks, that works better now.
I've hit another problem in a similar vein. This worked in SIP < 4.8:
sip: Plasma::AbstractRunner::serviceQuery() unsupported function
return type - provide %MethodCode and a C++ signature
This class here works fine:
---------------------------
class KService : KSycocaEntry
{
// ...
public:
typedef KSharedPtr<KService> Ptr;
typedef QList<KService::Ptr> List;
// ...
};
%MappedType QList<KService::Ptr>
{
// etc etc
}
---------------------------
And the problem is here:
namespace Plasma
{
class AbstractRunner : QObject
{
// ...
public:
// ...
typedef QList<Plasma::AbstractRunner*> List;
protected:
KService::List serviceQuery (const QString& serviceType, const
QString& constraint = QString()) const;
/...
}
Something to do with the const return type?
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[email protected] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt