From kde-bindings Wed Dec 13 14:47:38 2006 From: Caleb Tennis Date: Wed, 13 Dec 2006 14:47:38 +0000 To: kde-bindings Subject: [Kde-bindings] [Bug 138751] New: Invalid member generation for Message-Id: <20061213154737.138751.caleb () aei-tech ! com> X-MARC-Message: https://marc.info/?l=kde-bindings&m=116602127605905 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=138751 Summary: Invalid member generation for Qt::Palette - Qt 4.2.2 Product: bindings Version: unspecified Platform: Gentoo Packages OS/Version: Linux Status: NEW Severity: normal Priority: NOR Component: general AssignedTo: kde-bindings kde org ReportedBy: caleb aei-tech com Version: (using KDE KDE 3.5.5) Installed from: Gentoo Packages OS: Linux The Qt 4.2 API shows these methods under QPalette: void setBrush ( ColorRole cr, const QBrush & brush ) void setBrush ( ColorGroup cg, ColorRole cr, const QBrush & b ) void setColor ( ColorGroup gr, ColorRole r, const QColor & c ) void setColor ( ColorRole r, const QColor & c ) note that "ColorRole" and "ColorGroup" are both enums within QPalette. However, qt4-qtruby picks it up as this: void QPalette::setBrush(QColorGroup::ColorRole, const QBrush&) void QPalette::setBrush(QPalette::ColorGroup, QColorGroup::ColorRole, const QBrush&) void QPalette::setColor(QColorGroup::ColorRole, const QColor&) void QPalette::setColor(QPalette::ColorGroup, QColorGroup::ColorRole, const QColor&) It seems that it's using QColorGroup::ColorRole instead of QPalette::ColorRole. _______________________________________________ Kde-bindings mailing list Kde-bindings@kde.org https://mail.kde.org/mailman/listinfo/kde-bindings