diff options
Diffstat (limited to 'src/kvirc/kernel/kvi_ircconnectiontarget.h')
-rw-r--r-- | src/kvirc/kernel/kvi_ircconnectiontarget.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kvirc/kernel/kvi_ircconnectiontarget.h b/src/kvirc/kernel/kvi_ircconnectiontarget.h index 31e179da..fa5d3ade 100644 --- a/src/kvirc/kernel/kvi_ircconnectiontarget.h +++ b/src/kvirc/kernel/kvi_ircconnectiontarget.h @@ -41,29 +41,29 @@ public: KviIrcConnectionTarget(const KviIrcNetwork * pNetwork, const KviIrcServer * pServer, const KviProxy * pProxy = 0, - const QString &szBindAddress = QString::null); + const TQString &szBindAddress = TQString()); ~KviIrcConnectionTarget(); private: KviIrcNetwork * m_pNetwork; // owned, never null KviIrcServer * m_pServer; // owned, never null KviProxy * m_pProxy; // owned, may be null - QString m_szBindAddress; // forced bind address + TQString m_szBindAddress; // forced bind address public: KviIrcServer * server(){ return m_pServer; }; KviIrcNetwork * network(){ return m_pNetwork; }; KviProxy * proxy(){ return m_pProxy; }; - const QString & bindAddress(){ return m_szBindAddress; }; + const TQString & bindAddress(){ return m_szBindAddress; }; bool hasBindAddress(){ return (!m_szBindAddress.isEmpty()); }; - const QString & networkName(); + const TQString & networkName(); // this allows to force the network name: it should be used only by KviConsole // but it's KviServerParser (kvi_sp_numeric.cpp) that first // gets the new network name... thus we make it public // to remove one level of indirection. - void setNetworkName(const QString &szNetName); + void setNetworkName(const TQString &szNetName); protected: // this is for KviIrcConnectionTargetResolver only void clearProxy(); - void setBindAddress(const QString &szBindAddress){ m_szBindAddress = szBindAddress; }; + void setBindAddress(const TQString &szBindAddress){ m_szBindAddress = szBindAddress; }; }; #endif //!_KVI_IRCCONNECTIONTARGET_H_ |