summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/snmp/monitorconfig.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /ksim/monitors/snmp/monitorconfig.h
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksim/monitors/snmp/monitorconfig.h')
-rw-r--r--ksim/monitors/snmp/monitorconfig.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/ksim/monitors/snmp/monitorconfig.h b/ksim/monitors/snmp/monitorconfig.h
index bbc8674..cf2d525 100644
--- a/ksim/monitors/snmp/monitorconfig.h
+++ b/ksim/monitors/snmp/monitorconfig.h
@@ -41,11 +41,11 @@ struct MonitorConfig
bool isNull() const { return name.isEmpty() || host.isNull(); }
- QWidget *createMonitorWidget( QWidget *parent, const char *name = 0 );
+ TQWidget *createMonitorWidget( TQWidget *parent, const char *name = 0 );
HostConfig host;
- QString name;
- QString oid;
+ TQString name;
+ TQString oid;
struct
{
uint minutes;
@@ -54,26 +54,26 @@ struct MonitorConfig
DisplayType display;
bool useCustomFormatString;
- QString customFormatString;
+ TQString customFormatString;
bool displayCurrentValueInline;
};
-struct MonitorConfigMap : public QMap< QString, MonitorConfig >
+struct MonitorConfigMap : public TQMap< TQString, MonitorConfig >
{
MonitorConfigMap() {}
- MonitorConfigMap( const QMap< QString, MonitorConfig > &rhs )
- : QMap< QString, MonitorConfig >( rhs ) {}
+ MonitorConfigMap( const TQMap< TQString, MonitorConfig > &rhs )
+ : TQMap< TQString, MonitorConfig >( rhs ) {}
- void load( KConfigBase &config, const QStringList &names, const HostConfigMap &hosts );
- QStringList save( KConfigBase &config ) const;
+ void load( KConfigBase &config, const TQStringList &names, const HostConfigMap &hosts );
+ TQStringList save( KConfigBase &config ) const;
};
-typedef QValueList<MonitorConfig> MonitorConfigList;
+typedef TQValueList<MonitorConfig> MonitorConfigList;
-QString monitorDisplayTypeToString( MonitorConfig::DisplayType type );
-MonitorConfig::DisplayType stringToMonitorDisplayType( QString string, bool *ok = 0 );
-QStringList allDisplayTypes();
+TQString monitorDisplayTypeToString( MonitorConfig::DisplayType type );
+MonitorConfig::DisplayType stringToMonitorDisplayType( TQString string, bool *ok = 0 );
+TQStringList allDisplayTypes();
}