[Kde-bindings] ambiguous method in smoke

Thomas Moenicke thomas.moenicke at kdemail.net
Tue Jan 30 20:42:27 UTC 2007


kalyptus generates an ambiguous method call in smoke:

// size(int, const QString&, int, int*)
QSize xret = this->QFontMetrics::size((int)x[1].s_int,*(const QString 
*)x[2].s_voidp,(int)x[3].s_int,(int*)x[4].s_voidp);

// size(int, const QString&, int)
QSize xret = this->QFontMetrics::size((int)x[1].s_int,*(const QString 
*)x[2].s_voidp,(int)x[3].s_int);

// size(int, const QString&)
QSize xret = this->QFontMetrics::size((int)x[1].s_int,*(const QString 
*)x[2].s_voidp);

source:
QSize size(int flags, const QString& str, int tabstops=0, int *tabarray=0) 
const;

inline QSize size(int flags, const QString& str, int len, int tabstops=0, int 
*tabarray=0) const
        { return size(flags, str.left(len), tabstops, tabarray); }


Is kalyptus the right place to fix it?

-- 
Thomas




More information about the Kde-bindings mailing list