diff options
author | Michele Calgaro <[email protected]> | 2023-11-30 21:31:38 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-02 22:44:34 +0900 |
commit | dfb81fda2a1f149bacf303bda7f4b3821b4c96d4 (patch) | |
tree | a39c3775442a6d1b7e08411436106fece5bc10a4 /kregexpeditor | |
parent | 2d05a4b0f982db84955a0d8e56357f4e72b70d56 (diff) | |
download | tdeutils-dfb81fda2a1f149bacf303bda7f4b3821b4c96d4.tar.gz tdeutils-dfb81fda2a1f149bacf303bda7f4b3821b4c96d4.zip |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 99f7cd1932291ac8fe822b13cd1077da6433f279)
Diffstat (limited to 'kregexpeditor')
-rw-r--r-- | kregexpeditor/textwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kregexpeditor/textwidget.cpp b/kregexpeditor/textwidget.cpp index 5de0dee..35af60b 100644 --- a/kregexpeditor/textwidget.cpp +++ b/kregexpeditor/textwidget.cpp @@ -114,7 +114,7 @@ bool TextWidget::eventFilter( TQObject*, TQEvent* event) if ( event->type() == TQEvent::MouseButtonRelease ) { if ( _editorWindow->isInserting() ) { if ( acceptWidgetInsert( _editorWindow->insertType() ) ) { - mouseReleaseEvent( TQT_TQMOUSEEVENT(event) ); + mouseReleaseEvent( static_cast<TQMouseEvent*>(event) ); } return true; } @@ -124,7 +124,7 @@ bool TextWidget::eventFilter( TQObject*, TQEvent* event) return true; } else if ( isSelected() ) { - TQMouseEvent* e = TQT_TQMOUSEEVENT( event ); + TQMouseEvent* e = static_cast<TQMouseEvent*>( event ); TQMouseEvent ev( event->type(), mapTo(_editorWindow, e->pos()), e->button(), e->state()); TQApplication::sendEvent( _editorWindow, &ev ); |