summaryrefslogtreecommitdiffstats
path: root/karbon/widgets/vstrokefillpreview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:43:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 23:46:05 +0900
commit5761876d3a71e9b3c5a93b5b535b071d2240b08e (patch)
tree0ea383b7af28380ecec4a4059b1ed0bdcdbe8338 /karbon/widgets/vstrokefillpreview.cpp
parent2891d3c2d54dea1e2dd2a6702ee209b6f01f73f4 (diff)
downloadkoffice-5761876d.tar.gz
koffice-5761876d.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d7ae9fb514226c126e04cfe4f34800beb9f4ea19)
Diffstat (limited to 'karbon/widgets/vstrokefillpreview.cpp')
-rw-r--r--karbon/widgets/vstrokefillpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/karbon/widgets/vstrokefillpreview.cpp b/karbon/widgets/vstrokefillpreview.cpp
index 5e05eecd2..c7b165f44 100644
--- a/karbon/widgets/vstrokefillpreview.cpp
+++ b/karbon/widgets/vstrokefillpreview.cpp
@@ -84,7 +84,7 @@ VStrokeFillPreview::paintEvent( TQPaintEvent* event )
bool
VStrokeFillPreview::eventFilter( TQObject *, TQEvent *event )
{
- TQMouseEvent* e = TQT_TQMOUSEEVENT( event );
+ TQMouseEvent* e = static_cast<TQMouseEvent*>( event );
int ex = e->x() - int( ( width() - PANEL_SIZEX ) / 2 );
int ey = e->y() - int( ( height() - PANEL_SIZEY ) / 2 );