summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/widgetpropertyset.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 /kexi/formeditor/widgetpropertyset.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 'kexi/formeditor/widgetpropertyset.cpp')
-rw-r--r--kexi/formeditor/widgetpropertyset.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/formeditor/widgetpropertyset.cpp b/kexi/formeditor/widgetpropertyset.cpp
index 99e6f511d..5beed16b2 100644
--- a/kexi/formeditor/widgetpropertyset.cpp
+++ b/kexi/formeditor/widgetpropertyset.cpp
@@ -749,13 +749,13 @@ WidgetPropertySet::eventFilter(TQObject *o, TQEvent *ev)
return false;
if(d->lastGeoCommand)
- d->lastGeoCommand->setPos(TQT_TQMOVEEVENT(ev)->pos());
+ d->lastGeoCommand->setPos(static_cast<TQMoveEvent*>(ev)->pos());
else {
TQStringList list;
foreach(TQGuardedWidgetList::ConstIterator, it, d->widgets)
list.append((*it)->name());
- d->lastGeoCommand = new GeometryPropertyCommand(this, list, TQT_TQMOVEEVENT(ev)->oldPos());
+ d->lastGeoCommand = new GeometryPropertyCommand(this, list, static_cast<TQMoveEvent*>(ev)->oldPos());
if (KFormDesigner::FormManager::self()->activeForm())
KFormDesigner::FormManager::self()->activeForm()->addCommand(d->lastGeoCommand, false);
}