From 5f5ee2367157176ed223b86343eb0a9e4022e020 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:52:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksim/monitors/snmp/snmp.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'ksim/monitors/snmp/snmp.h') diff --git a/ksim/monitors/snmp/snmp.h b/ksim/monitors/snmp/snmp.h index 4710c2d..f7fa92c 100644 --- a/ksim/monitors/snmp/snmp.h +++ b/ksim/monitors/snmp/snmp.h @@ -22,7 +22,7 @@ #include -#include +#include namespace KSim @@ -32,24 +32,24 @@ namespace Snmp { enum SnmpVersion { SnmpVersion1, SnmpVersion2c, SnmpVersion3, SnmpLastVersion }; -QStringList allSnmpVersions(); -QString snmpVersionToString( SnmpVersion version ); -SnmpVersion stringToSnmpVersion( QString string, bool *ok = 0 ); +TQStringList allSnmpVersions(); +TQString snmpVersionToString( SnmpVersion version ); +SnmpVersion stringToSnmpVersion( TQString string, bool *ok = 0 ); enum SecurityLevel { NoAuthPriv, AuthNoPriv, AuthPriv, LastSecurityLevel }; -QStringList allSecurityLevels(); -QString securityLevelToString( SecurityLevel level ); -SecurityLevel stringToSecurityLevel( QString string, bool *ok = 0 ); +TQStringList allSecurityLevels(); +TQString securityLevelToString( SecurityLevel level ); +SecurityLevel stringToSecurityLevel( TQString string, bool *ok = 0 ); enum AuthenticationProtocol { MD5Auth, SHA1Auth, LastAuthenticationProtocol }; -QStringList allAuthenticationProtocols(); -QString authenticationProtocolToString( AuthenticationProtocol proto ); -AuthenticationProtocol stringToAuthenticationProtocol( QString string, bool *ok = 0 ); +TQStringList allAuthenticationProtocols(); +TQString authenticationProtocolToString( AuthenticationProtocol proto ); +AuthenticationProtocol stringToAuthenticationProtocol( TQString string, bool *ok = 0 ); enum PrivacyProtocol { DESPrivacy }; -QStringList allPrivacyProtocols(); -QString privacyProtocolToString( PrivacyProtocol proto ); -PrivacyProtocol stringToPrivacyProtocol( QString string, bool *ok = 0 ); +TQStringList allPrivacyProtocols(); +TQString privacyProtocolToString( PrivacyProtocol proto ); +PrivacyProtocol stringToPrivacyProtocol( TQString string, bool *ok = 0 ); class ErrorInfo { @@ -149,11 +149,11 @@ public: ErrorInfo( ErrorType error ); ErrorType errorCode() const { return m_errorCode; } - QString errorMessage() const { return m_errorMessage; } + TQString errorMessage() const { return m_errorMessage; } private: ErrorType m_errorCode; - QString m_errorMessage; + TQString m_errorMessage; }; } -- cgit v1.2.1