summaryrefslogtreecommitdiffstats
path: root/kspread
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 21:03:28 +0900
commitd7ae9fb514226c126e04cfe4f34800beb9f4ea19 (patch)
tree4d12f786f3541b9ff0225f0ceb2bec0b9268a163 /kspread
parentb727f4b3b1957bec28a350575237b93f8f278cdb (diff)
downloadkoffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.tar.gz
koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kspread')
-rw-r--r--kspread/kspread_canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kspread/kspread_canvas.cpp b/kspread/kspread_canvas.cpp
index 1154f650..837f6e98 100644
--- a/kspread/kspread_canvas.cpp
+++ b/kspread/kspread_canvas.cpp
@@ -357,7 +357,7 @@ bool Canvas::eventFilter( TQObject *o, TQEvent *e )
{
case TQEvent::KeyPress:
{
- TQKeyEvent * keyev = TQT_TQKEYEVENT(e);
+ TQKeyEvent * keyev = static_cast<TQKeyEvent*>(e);
if ((keyev->key()==Key_Tab) || (keyev->key()==Key_Backtab))
{
keyPressEvent ( keyev );