summaryrefslogtreecommitdiffstats
path: root/ksim/monitors
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/monitors')
-rw-r--r--ksim/monitors/filesystem/filesystemwidget.cpp2
-rw-r--r--ksim/monitors/net/ksimnet.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ksim/monitors/filesystem/filesystemwidget.cpp b/ksim/monitors/filesystem/filesystemwidget.cpp
index b60ba43..4a63e04 100644
--- a/ksim/monitors/filesystem/filesystemwidget.cpp
+++ b/ksim/monitors/filesystem/filesystemwidget.cpp
@@ -151,7 +151,7 @@ bool FilesystemWidget::eventFilter(TQObject *o, TQEvent *e)
if (o == progressBar && e->type() == TQEvent::MouseButtonPress)
{
- switch(TQT_TQMOUSEEVENT(e)->button()) {
+ switch(static_cast<TQMouseEvent*>(e)->button()) {
case TQt::RightButton:
showMenu(i);
break;
diff --git a/ksim/monitors/net/ksimnet.cpp b/ksim/monitors/net/ksimnet.cpp
index d686a10..e72f8ea 100644
--- a/ksim/monitors/net/ksimnet.cpp
+++ b/ksim/monitors/net/ksimnet.cpp
@@ -642,7 +642,7 @@ bool NetView::eventFilter( TQObject * o, TQEvent * e )
if ( e->type() == TQEvent::MouseButtonPress )
{
- if ( TQT_TQMOUSEEVENT( e )->button() == TQt::RightButton )
+ if ( static_cast<TQMouseEvent*>( e )->button() == TQt::RightButton )
{
showMenu(i);
}