summaryrefslogtreecommitdiffstats
path: root/ksim/monitors
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:48:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 16:30:54 +0900
commitf5f1b89f8bda3b5d5f57255b04da3a7626154e58 (patch)
tree0249fbe2d397f8f6c05a2ec7fbe7f5bc8d1beee1 /ksim/monitors
parent9b8380e617ad740085310208e3be24b42614f661 (diff)
downloadtdeutils-f5f1b89f8bda3b5d5f57255b04da3a7626154e58.tar.gz
tdeutils-f5f1b89f8bda3b5d5f57255b04da3a7626154e58.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2c7c646af5349a9a68c2f129fda7af338855ba85)
Diffstat (limited to 'ksim/monitors')
-rw-r--r--ksim/monitors/filesystem/filesystemwidget.cpp4
-rw-r--r--ksim/monitors/net/ksimnet.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/ksim/monitors/filesystem/filesystemwidget.cpp b/ksim/monitors/filesystem/filesystemwidget.cpp
index 2fb77e1..35e79b9 100644
--- a/ksim/monitors/filesystem/filesystemwidget.cpp
+++ b/ksim/monitors/filesystem/filesystemwidget.cpp
@@ -141,7 +141,7 @@ bool FilesystemWidget::eventFilter(TQObject *o, TQEvent *e)
while ((filesystem = it.current()) != 0) {
++it;
- if (TQT_BASE_OBJECT(filesystem->display()) == TQT_BASE_OBJECT(o)) {
+ if (filesystem->display() == o) {
progressBar = filesystem->display();
break;
}
@@ -149,7 +149,7 @@ bool FilesystemWidget::eventFilter(TQObject *o, TQEvent *e)
++i;
}
- if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(progressBar) && e->type() == TQEvent::MouseButtonPress)
+ if (o == progressBar && e->type() == TQEvent::MouseButtonPress)
{
switch(TQT_TQMOUSEEVENT(e)->button()) {
case Qt::RightButton:
diff --git a/ksim/monitors/net/ksimnet.cpp b/ksim/monitors/net/ksimnet.cpp
index 065797d..338ac06 100644
--- a/ksim/monitors/net/ksimnet.cpp
+++ b/ksim/monitors/net/ksimnet.cpp
@@ -632,7 +632,7 @@ bool NetView::eventFilter( TQObject * o, TQEvent * e )
Network::List::Iterator it;
for ( it = m_networkList.begin(); it != m_networkList.end(); ++it )
{
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(( *it ).chart()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(( *it ).label()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(( *it ).led()) )
+ if ( o == ( *it ).chart() || o == ( *it ).label() || o == ( *it ).led() )
{
break;
}