summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/snmp/labelmonitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/monitors/snmp/labelmonitor.cpp')
-rw-r--r--ksim/monitors/snmp/labelmonitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksim/monitors/snmp/labelmonitor.cpp b/ksim/monitors/snmp/labelmonitor.cpp
index e8ae261..5e7ea34 100644
--- a/ksim/monitors/snmp/labelmonitor.cpp
+++ b/ksim/monitors/snmp/labelmonitor.cpp
@@ -32,8 +32,8 @@ void LabelMonitor::setData( const Value &data )
if ( m_config.useCustomFormatString ) {
TQString text = m_config.customFormatString;
- text.tqreplace( "%n", m_config.name );
- text.tqreplace( "%s", dataString );
+ text.replace( "%n", m_config.name );
+ text.replace( "%s", dataString );
setText( text );
} else
setText( m_config.name + ": " + dataString );