src/gui/widgets/qmdiarea.cpp
branchRCL_3
changeset 4 3b1da2848fc7
parent 3 41300fa6a67c
equal deleted inserted replaced
3:41300fa6a67c 4:3b1da2848fc7
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     8 **
     8 **
  1851 
  1851 
  1852     d->updateScrollBars();
  1852     d->updateScrollBars();
  1853 }
  1853 }
  1854 
  1854 
  1855 /*!
  1855 /*!
  1856     Gives the keyboard focus to the next window in the list of child
  1856     Gives the keyboard focus to another window in the list of child
  1857     windows.  The windows are activated in the order in which they are
  1857     windows.  The window activated will be the next one determined
  1858     created (CreationOrder).
  1858     by the current \l{QMdiArea::WindowOrder} {activation order}.
  1859 
  1859 
  1860     \sa activatePreviousSubWindow()
  1860     \sa activatePreviousSubWindow(), QMdiArea::WindowOrder
  1861 */
  1861 */
  1862 void QMdiArea::activateNextSubWindow()
  1862 void QMdiArea::activateNextSubWindow()
  1863 {
  1863 {
  1864     Q_D(QMdiArea);
  1864     Q_D(QMdiArea);
  1865     if (d->childWindows.isEmpty())
  1865     if (d->childWindows.isEmpty())
  1869     if (next)
  1869     if (next)
  1870         d->activateWindow(next);
  1870         d->activateWindow(next);
  1871 }
  1871 }
  1872 
  1872 
  1873 /*!
  1873 /*!
  1874     Gives the keyboard focus to the previous window in the list of
  1874     Gives the keyboard focus to another window in the list of child
  1875     child windows. The windows are activated in the order in which
  1875     windows.  The window activated will be the previous one determined
  1876     they are created (CreationOrder).
  1876     by the current \l{QMdiArea::WindowOrder} {activation order}.
  1877 
  1877 
  1878     \sa activateNextSubWindow()
  1878     \sa activateNextSubWindow(), QMdiArea::WindowOrder
  1879 */
  1879 */
  1880 void QMdiArea::activatePreviousSubWindow()
  1880 void QMdiArea::activatePreviousSubWindow()
  1881 {
  1881 {
  1882     Q_D(QMdiArea);
  1882     Q_D(QMdiArea);
  1883     if (d->childWindows.isEmpty())
  1883     if (d->childWindows.isEmpty())