Closed Bug 992562 Opened 10 years ago Closed 10 years ago

widget/qt/mozqwidget.cpp:20:16: error: 'class mozilla::widget::nsWindow' has no member named 'GetWindowType'

Categories

(Core Graveyard :: Widget: Qt, defect)

x86_64
FreeBSD
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla31

People

(Reporter: jbeich, Assigned: jbeich)

References

Details

Attachments

(1 file)

Attached patch fixSplinter Review
widget/qt/mozqwidget.cpp:20:16: error:
      no member named 'GetWindowType' in 'mozilla::widget::nsWindow'
    mReceiver->GetWindowType(mWindowType);
    ~~~~~~~~~  ^
1 error generated.

widget/qt/nsWindow.cpp:1792:11: error:
      out-of-line definition of 'SetForegroundColor' does not match any declaration
      in 'mozilla::widget::nsWindow'
nsWindow::SetForegroundColor(const nscolor &aColor)
          ^~~~~~~~~~~~~~~~~~
widget/qt/nsWindow.cpp:1798:11: error:
      virtual function 'SetBackgroundColor' has a different return type ('nsresult'
      (aka 'tag_nsresult')) than the function it overrides (which has return type
      'void')
nsWindow::SetBackgroundColor(const nscolor &aColor)
          ^
dist/include/nsIWidget.h:1136:18: note: overridden virtual function is here
    virtual void SetBackgroundColor(const nscolor &aColor) { }
                 ^
widget/qt/nsWindow.cpp:1798:11: error:
      out-of-line definition of 'SetBackgroundColor' does not match any declaration
      in 'mozilla::widget::nsWindow'
nsWindow::SetBackgroundColor(const nscolor &aColor)
          ^~~~~~~~~~~~~~~~~~
3 errors generated.
Attachment #8402214 - Flags: review?(enndeakin)
Attachment #8402214 - Flags: review?(enndeakin) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/8a290ca4c3c7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: