60 bool isIPv6()
const {
return m_bIsIPv6; };
62 const QString protocolName()
const;
63 void setNamedProtocol(
const char * proto);
64 kvi_u32_t
port()
const {
return m_uPort; };
65 const QString &
user()
const {
return m_szUser; };
66 const QString &
pass()
const {
return m_szPass; };
67 const QString &
ip()
const {
return m_szIp; };
68 const QString &
hostName()
const {
return m_szHostname; };
69 void normalizeUserAndPass();
70 bool hasPass()
const {
return !m_szPass.isEmpty(); };
71 bool hasUser()
const {
return !m_szUser.isEmpty(); };
72 unsigned int passLen()
const {
return (
unsigned int)m_szPass.length(); };
73 unsigned int userLen()
const {
return (
unsigned int)m_szUser.length(); };
74 static void getSupportedProtocolNames(QStringList & buf);
81 void setIp(
const QString &
i) { m_szIp =
i; };
85 #endif // _KVIPROXY_H_
bool m_bIsIPv6
Definition: KviProxy.h:57
kvi_u32_t port() const
Definition: KviProxy.h:64
QString m_szIp
Definition: KviProxy.h:52
bool hasPass() const
Definition: KviProxy.h:70
void setProtocol(Protocol p)
Definition: KviProxy.h:76
Definition: KviProxy.h:42
const QString & ip() const
Definition: KviProxy.h:67
Definition: KviProxy.h:43
Definition: KviProxy.h:37
const QString & pass() const
Definition: KviProxy.h:66
#define i
Definition: detector.cpp:73
void setPort(kvi_u32_t &p)
Definition: KviProxy.h:78
unsigned int passLen() const
Definition: KviProxy.h:72
#define h
Definition: detector.cpp:72
kvi_u32_t m_uPort
Definition: KviProxy.h:55
bool isIPv6() const
Definition: KviProxy.h:60
const QString & user() const
Definition: KviProxy.h:65
QString m_szPass
Definition: KviProxy.h:53
bool hasUser() const
Definition: KviProxy.h:71
const QString & hostName() const
Definition: KviProxy.h:68
Protocol m_protocol
Definition: KviProxy.h:56
void setHostname(const QString &h)
Definition: KviProxy.h:82
QString m_szHostname
Definition: KviProxy.h:51
QString m_szUser
Definition: KviProxy.h:54
#define u
Definition: detector.cpp:85
void setPass(const QString &p)
Definition: KviProxy.h:80
Protocol protocol() const
Definition: KviProxy.h:61
void setIp(const QString &i)
Definition: KviProxy.h:81
This file contains compile time settings.
Protocol
Definition: KviProxy.h:40
void setIPv6(bool b)
Definition: KviProxy.h:77
void setUser(const QString &u)
Definition: KviProxy.h:79
#define p
Definition: detector.cpp:80
#define KVILIB_API
Definition: kvi_settings.h:125
unsigned int userLen() const
Definition: KviProxy.h:73