summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editoritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editoritem.cpp')
-rw-r--r--lib/koproperty/editoritem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/koproperty/editoritem.cpp b/lib/koproperty/editoritem.cpp
index 2d2b99de..1d186c4c 100644
--- a/lib/koproperty/editoritem.cpp
+++ b/lib/koproperty/editoritem.cpp
@@ -157,7 +157,7 @@ class GroupWidgetBase : public TQWidget
virtual bool event( TQEvent * e ) {
if (e->type()==TQEvent::MouseButtonPress || e->type()==TQEvent::MouseButtonRelease) {
- TQMouseEvent* me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent* me = static_cast<TQMouseEvent*>(e);
if (me->button() == TQt::LeftButton) {
m_mouseDown = e->type()==TQEvent::MouseButtonPress;
update();
@@ -238,7 +238,7 @@ void GroupContainer::setContents( TQWidget* contents )
bool GroupContainer::event( TQEvent * e ) {
if (e->type()==TQEvent::MouseButtonPress) {
- TQMouseEvent* me = TQT_TQMOUSEEVENT(e);
+ TQMouseEvent* me = static_cast<TQMouseEvent*>(e);
if (me->button() == TQt::LeftButton && d->contents && d->groupWidget->rect().contains(me->pos())) {
d->groupWidget->setOpen(!d->groupWidget->isOpen());
if (d->groupWidget->isOpen())