Replace 'Event' #define strings

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/16/head
Michele Calgaro 5 months ago
parent de0a4201d5
commit f1c0300a0a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

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

Loading…
Cancel
Save