Style fixes for android enablers

Change-Id: I0b942865c29f4bdf29f0e7f56af0d620acbc39c6
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
Paul Olav Tvete 2013-02-27 15:19:15 +01:00 committed by The Qt Project
parent 1199136bd3
commit 023644cae1
2 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ void QFbScreen::lower(QFbWindow *window)
topWindowChanged(w);
}
QWindow *QFbScreen::topWindow()
QWindow *QFbScreen::topWindow() const
{
foreach (QFbWindow *fbw, mWindowStack)
if (fbw->window()->type() == Qt::Window || fbw->window()->type() == Qt::Dialog)

View File

@ -64,7 +64,7 @@ public:
virtual QImage::Format format() const { return mFormat; }
virtual QSizeF physicalSize() const { return mPhysicalSize; }
QWindow *topWindow();
QWindow *topWindow() const;
virtual QWindow *topLevelAt(const QPoint & p) const;
// compositor api
@ -72,7 +72,7 @@ public:
virtual void removeWindow(QFbWindow *window);
virtual void raise(QFbWindow *window);
virtual void lower(QFbWindow *window);
virtual void topWindowChanged(QWindow *){}
virtual void topWindowChanged(QWindow *) {}
public slots:
virtual void setDirty(const QRect &rect);