Rev 715 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 715 | Rev 801 | ||
---|---|---|---|
Line 139... | Line 139... | ||
139 | } |
139 | } |
Line 140... | Line 140... | ||
140 | 140 | ||
141 | void Input_TCP::slot_TCP_ReadLine() |
141 | void Input_TCP::slot_TCP_ReadLine() |
142 | { |
142 | { |
143 | // QString t_Data = QString(TCP_Socket->readLine(TCP_Socket->bytesAvailable())).remove(QChar('\n')); |
143 | // QString t_Data = QString(TCP_Socket->readLine(TCP_Socket->bytesAvailable())).remove(QChar('\n')); |
Line 144... | Line 144... | ||
144 | QString t_Data = s_Buffer + QString(TCP_Socket->readAll()); |
144 | QString t_Data = s_Buffer + QString(TCP_Socket->readAll()).remove(QChar('\n')); |
Line -... | Line 145... | ||
- | 145 | ||
- | 146 | s_Buffer = ""; |
|
145 | 147 | ||
146 | s_Buffer = ""; |
148 | t_Data = t_Data.replace('\r', "\r\n"); |
Line 147... | Line 149... | ||
147 | 149 | ||
148 | QStringList l_Data; |
150 | QStringList l_Data; |