diff options
author | Michele Calgaro <[email protected]> | 2023-12-21 11:50:28 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-22 10:21:09 +0900 |
commit | d4393c1136b5fda7936d7506e3b9e3e6ac8e5897 (patch) | |
tree | 4e62267e24b4002d3a0f36a5b62578b902937bd7 /ksim | |
parent | 5b1fdb9a3fa898c7bc3921e75ae04eece2332fb3 (diff) | |
download | tdeutils-d4393c1136b5fda7936d7506e3b9e3e6ac8e5897.tar.gz tdeutils-d4393c1136b5fda7936d7506e3b9e3e6ac8e5897.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2)
Diffstat (limited to 'ksim')
-rw-r--r-- | ksim/monitors/snmp/browsedialog.cpp | 2 | ||||
-rw-r--r-- | ksim/monitors/snmp/monitorconfig.cpp | 2 | ||||
-rw-r--r-- | ksim/monitors/snmp/probedialog.cpp | 2 |
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 & ) ) ); |