summaryrefslogtreecommitdiffstats
path: root/ksim
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 19:14:52 +0900
commit83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2 (patch)
tree3f06640cc30ddc08f2603471e4b66a2b108e3eae /ksim
parentaa69f1c2ffda0e4e0339c1686a9ff4b3d00f4ac7 (diff)
downloadtdeutils-83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2.tar.gz
tdeutils-83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksim')
-rw-r--r--ksim/monitors/snmp/browsedialog.cpp2
-rw-r--r--ksim/monitors/snmp/monitorconfig.cpp2
-rw-r--r--ksim/monitors/snmp/probedialog.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/ksim/monitors/snmp/browsedialog.cpp b/ksim/monitors/snmp/browsedialog.cpp
index 6a4381d..6e224f8 100644
--- a/ksim/monitors/snmp/browsedialog.cpp
+++ b/ksim/monitors/snmp/browsedialog.cpp
@@ -95,7 +95,7 @@ void BrowseDialog::startWalk( const Identifier &startOid )
{
stopWalker();
- m_walker = new Walker( m_host, startOid, TQT_TQOBJECT(this) );
+ m_walker = new Walker( m_host, startOid, this );
connect( m_walker, TQT_SIGNAL( resultReady( const Walker::Result & ) ),
this, TQT_SLOT( insertBrowseItem( const Walker::Result & ) ) );
connect( m_walker, TQT_SIGNAL( finished() ),
diff --git a/ksim/monitors/snmp/monitorconfig.cpp b/ksim/monitors/snmp/monitorconfig.cpp
index 6f6575d..5242ee0 100644
--- a/ksim/monitors/snmp/monitorconfig.cpp
+++ b/ksim/monitors/snmp/monitorconfig.cpp
@@ -107,7 +107,7 @@ TQWidget *MonitorConfig::createMonitorWidget( TQWidget *parent, const char *name
else
w = new ChartMonitor( *this, parent, name );
- Monitor *monitor = new Monitor( host, id, refresh, TQT_TQOBJECT(w) );
+ Monitor *monitor = new Monitor( host, id, refresh, w );
TQObject::connect( monitor, TQT_SIGNAL( newData( const Value & ) ),
w, TQT_SLOT( setData( const Value & ) ) );
return w;
diff --git a/ksim/monitors/snmp/probedialog.cpp b/ksim/monitors/snmp/probedialog.cpp
index 489080e..736c534 100644
--- a/ksim/monitors/snmp/probedialog.cpp
+++ b/ksim/monitors/snmp/probedialog.cpp
@@ -77,7 +77,7 @@ void ProbeDialog::probeOne()
Identifier oid = m_probeOIDs.pop();
delete m_currentMonitor;
- m_currentMonitor = new Monitor( m_host, oid, 0 /* no refresh */, TQT_TQOBJECT(this) );
+ m_currentMonitor = new Monitor( m_host, oid, 0 /* no refresh */, this );
connect( m_currentMonitor, TQT_SIGNAL( newData( const Identifier &, const Value & ) ),
this, TQT_SLOT( probeResult( const Identifier &, const Value & ) ) );