Replace 'Event' #define strings

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/32/head
Michele Calgaro 11 months ago
parent 9f67f75a70
commit d72f484381
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -84,7 +84,7 @@ bool KLSHistoryCombo::eventFilter( TQObject *o, TQEvent *ev )
int type = ev->type();
if ( type == TQEvent::KeyPress )
{
TQKeyEvent *e = TQT_TQKEYEVENT( ev );
TQKeyEvent *e = static_cast<TQKeyEvent*>( ev );
if ( e->key() == Key_Return || e->key() == Key_Enter )
{

@ -300,7 +300,7 @@ bool KMdiDockContainer::eventFilter( TQObject *obj, TQEvent *event )
TQPoint p( ( ( TQMouseEvent* ) event )->pos() - m_startEvent->pos() );
if ( p.manhattanLength() > TDEGlobalSettings::dndEventDelay() )
{
m_dockManager->eventFilter( m_dragPanel, TQT_TQEVENT(m_startEvent) );
m_dockManager->eventFilter( m_dragPanel, m_startEvent );
m_dockManager->eventFilter( m_dragPanel, event );
m_movingState = Moving;
}

@ -508,7 +508,7 @@ bool KafkaWidget::eventFilter(TQObject *, TQEvent *event)
if(event->type() == TQEvent::KeyPress || event->type() == TQEvent::IMEnd)
{
TQKeyEvent *keyevent = TQT_TQKEYEVENT(event);
TQKeyEvent *keyevent = static_cast<TQKeyEvent*>(event);
//Create a new NodeModifsSet where the changes will be logged.
m_modifs = new NodeModifsSet();

@ -128,7 +128,7 @@ bool DualEditableTree::eventFilter(TQObject *object, TQEvent *event)
if(event->type() == TQEvent::KeyPress && m_editable)
{
TQKeyEvent *keyevent = TQT_TQKEYEVENT(event);
TQKeyEvent *keyevent = static_cast<TQKeyEvent*>(event);
switch(keyevent->key())
{
case Key_Left:

Loading…
Cancel
Save