Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

void QApplication::changeOverrideCursor ( const QCursor cursor  )  [static]

Changes the currently active application override cursor to cursor.

This function has no effect if setOverrideCursor() wasn't called.

See also:
setOverrideCursor() overrideCursor() restoreOverrideCursor() QWidget::setCursor()

Definition at line 3017 of file qapplication.cpp.

References setOverrideCursor().

{
    if (qApp->d_func()->cursor_list.isEmpty())
        return;
    qApp->d_func()->cursor_list.removeFirst();
    setOverrideCursor(cursor);
}


Generated by  Doxygen 1.6.0   Back to index