diff options
Diffstat (limited to 'ksim/monitors/snmp/labelmonitor.cpp')
-rw-r--r-- | ksim/monitors/snmp/labelmonitor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksim/monitors/snmp/labelmonitor.cpp b/ksim/monitors/snmp/labelmonitor.cpp index 24e48c7..2245a09 100644 --- a/ksim/monitors/snmp/labelmonitor.cpp +++ b/ksim/monitors/snmp/labelmonitor.cpp @@ -21,17 +21,17 @@ using namespace KSim::Snmp; -LabelMonitor::LabelMonitor( const MonitorConfig &config, QWidget *parent, const char *name ) +LabelMonitor::LabelMonitor( const MonitorConfig &config, TQWidget *parent, const char *name ) : KSim::Label( parent, name ), m_config( config ) { } void LabelMonitor::setData( const Value &data ) { - QString dataString = data.toString( m_config.refreshInterval.minutes == 0 ? Value::TimeTicksWithSeconds : 0 ); + TQString dataString = data.toString( m_config.refreshInterval.minutes == 0 ? Value::TimeTicksWithSeconds : 0 ); if ( m_config.useCustomFormatString ) { - QString text = m_config.customFormatString; + TQString text = m_config.customFormatString; text.replace( "%n", m_config.name ); text.replace( "%s", dataString ); setText( text ); |