equal
deleted
inserted
replaced
64 NetSocket.flush(); |
64 NetSocket.flush(); |
65 } |
65 } |
66 |
66 |
67 void HWNewNet::Connect(const QString & hostName, quint16 port, const QString & nick) |
67 void HWNewNet::Connect(const QString & hostName, quint16 port, const QString & nick) |
68 { |
68 { |
69 mynick = nick; |
69 mynick = nick.isEmpty() ? QLineEdit::tr("unnamed") : nick; |
70 NetSocket.connectToHost(hostName, port); |
70 NetSocket.connectToHost(hostName, port); |
71 } |
71 } |
72 |
72 |
73 void HWNewNet::Disconnect() |
73 void HWNewNet::Disconnect() |
74 { |
74 { |