|
|
@ -41,7 +41,7 @@ CKCComboBox::CKCComboBox(bool rw,TQWidget* parent,const char* name)
|
|
|
|
/** Reimplementation. */
|
|
|
|
/** Reimplementation. */
|
|
|
|
bool CKCComboBox::eventFilter( TQObject *o, TQEvent *e ) {
|
|
|
|
bool CKCComboBox::eventFilter( TQObject *o, TQEvent *e ) {
|
|
|
|
if (e->type() == TQEvent::FocusOut) {
|
|
|
|
if (e->type() == TQEvent::FocusOut) {
|
|
|
|
TQFocusEvent* f = TQT_TQFOCUSEVENT(e);
|
|
|
|
TQFocusEvent* f = static_cast<TQFocusEvent*>(e);
|
|
|
|
|
|
|
|
|
|
|
|
if (o == lineEdit() && f->reason() == TQFocusEvent::Tab) {
|
|
|
|
if (o == lineEdit() && f->reason() == TQFocusEvent::Tab) {
|
|
|
|
int index = listBox()->index( listBox()->findItem(currentText()) );
|
|
|
|
int index = listBox()->index( listBox()->findItem(currentText()) );
|
|
|
|