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

void QWidget::setShortcutAutoRepeat ( int  id,
bool  enable = true 
) [inherited]

If enable is true, auto repeat of the shortcut with the given id is enabled; otherwise it is disabled.

See also:
grabShortcut() releaseShortcut()

Definition at line 9390 of file qwidget.cpp.

    if (id)
        qApp->d_func()->shortcutMap.setShortcutAutoRepeat(enable, id, this, 0);

Generated by  Doxygen 1.6.0   Back to index