// use both an Action and generic eventFilter, to make the shortcut configurable
// yet still be able to reset() when required
_lineEdit->installEventFilter(this);
// use both an Action and generic eventFilter, to make the shortcut configurable
// yet still be able to reset() when required
_lineEdit->installEventFilter(this);
coll->addAction("TabCompletionKey", new Action(tr("Tab completion"), coll,
this, SLOT(onTabCompletionKey()), QKeySequence(Qt::Key_Tab)));
}
coll->addAction("TabCompletionKey", new Action(tr("Tab completion"), coll,
this, SLOT(onTabCompletionKey()), QKeySequence(Qt::Key_Tab)));
}