summaryrefslogtreecommitdiffstats
path: root/kregexpeditor
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:38 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:31:38 +0900
commit99f7cd1932291ac8fe822b13cd1077da6433f279 (patch)
tree1e7caf4dce2a498cc5d008aa3e04fef242679fc0 /kregexpeditor
parent8bba786d188dd896336797f05e0a452e1a01d52b (diff)
downloadtdeutils-99f7cd1932291ac8fe822b13cd1077da6433f279.tar.gz
tdeutils-99f7cd1932291ac8fe822b13cd1077da6433f279.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kregexpeditor')
-rw-r--r--kregexpeditor/textwidget.cpp4
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 );