[Kde-bindings] [Bug 138751] New: Invalid member generation for Qt::Palette - Qt 4.2.2

Caleb Tennis caleb at aei-tech.com
Wed Dec 13 14:47:38 UTC 2006


------- 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.



More information about the Kde-bindings mailing list