Rename offset() to setOffset()

Change-Id: Iacf7b0a7f3cb3745711fe646e14317be1711d891
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
This commit is contained in:
Thomas McGuire 2012-04-02 13:37:12 +02:00 committed by Qt by Nokia
parent 2438bf079d
commit 777b7807bf
2 changed files with 4 additions and 4 deletions

View File

@ -192,12 +192,12 @@ void QQnxWindow::setGeometry(const QRect &rect)
QList<QQnxWindow*>::iterator it; QList<QQnxWindow*>::iterator it;
for (it = m_childWindows.begin(); it != m_childWindows.end(); it++) { for (it = m_childWindows.begin(); it != m_childWindows.end(); it++) {
(*it)->offset(offset); (*it)->setOffset(offset);
} }
} }
} }
void QQnxWindow::offset(const QPoint &offset) void QQnxWindow::setOffset(const QPoint &offset)
{ {
#if defined(QQNXWINDOW_DEBUG) #if defined(QQNXWINDOW_DEBUG)
qDebug() << Q_FUNC_INFO << "window =" << window(); qDebug() << Q_FUNC_INFO << "window =" << window();
@ -221,7 +221,7 @@ void QQnxWindow::offset(const QPoint &offset)
QList<QQnxWindow*>::iterator it; QList<QQnxWindow*>::iterator it;
for (it = m_childWindows.begin(); it != m_childWindows.end(); it++) { for (it = m_childWindows.begin(); it != m_childWindows.end(); it++) {
(*it)->offset(offset); (*it)->setOffset(offset);
} }
} }

View File

@ -103,7 +103,7 @@ public:
private: private:
void removeFromParent(); void removeFromParent();
void offset(const QPoint &offset); void setOffset(const QPoint &setOffset);
void updateVisibility(bool parentVisible); void updateVisibility(bool parentVisible);
void updateZorder(int &topZorder); void updateZorder(int &topZorder);