Replace 'Event' #define strings

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f1c0300a0a)
r14.1.x
Michele Calgaro 6 months ago
parent 79a5786988
commit bc35a6b99d
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