diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:13 -0600 |
commit | 4bb787f41f7cdefac2aac33ef59317b7157302c1 (patch) | |
tree | c9726401d4eeb6fff8e78c4e35facb644c417e77 /ksim/monitors/snmp/hostconfig.h | |
parent | aef5eada7f51ee48f3d21448db290bd8f06953a8 (diff) | |
download | tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.tar.gz tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'ksim/monitors/snmp/hostconfig.h')
-rw-r--r-- | ksim/monitors/snmp/hostconfig.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ksim/monitors/snmp/hostconfig.h b/ksim/monitors/snmp/hostconfig.h index af8a0fd..3726eb5 100644 --- a/ksim/monitors/snmp/hostconfig.h +++ b/ksim/monitors/snmp/hostconfig.h @@ -31,7 +31,7 @@ namespace Snmp struct HostConfig { HostConfig() {} - HostConfig( KConfigBase &config ) + HostConfig( TDEConfigBase &config ) { load( config ); } TQString name; // hostname @@ -56,8 +56,8 @@ struct HostConfig TQString key; } privacy; - bool load( KConfigBase &config ); - void save( KConfigBase &config ) const; + bool load( TDEConfigBase &config ); + void save( TDEConfigBase &config ) const; bool isNull() const { return name.isEmpty(); } @@ -65,7 +65,7 @@ struct HostConfig { return name == rhs.name; } private: - static void writeIfNotEmpty( KConfigBase &config, const TQString &name, const TQString &value ); + static void writeIfNotEmpty( TDEConfigBase &config, const TQString &name, const TQString &value ); }; struct HostConfigMap : public TQMap< TQString, HostConfig > @@ -74,8 +74,8 @@ struct HostConfigMap : public TQMap< TQString, HostConfig > HostConfigMap( const TQMap< TQString, HostConfig > &rhs ) : TQMap< TQString, HostConfig >( rhs ) {} - void load( KConfigBase &config, const TQStringList &hosts ); - TQStringList save( KConfigBase &config ) const; + void load( TDEConfigBase &config, const TQStringList &hosts ); + TQStringList save( TDEConfigBase &config ) const; }; } |