summaryrefslogtreecommitdiffstats
path: root/quanta/components/debugger/gubed
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
commitf9ced3b3f13f3136ef63c33ef163042010d6e80b (patch)
tree293ce93dfb0dcfd79f83674116d7b3bc56f29af2 /quanta/components/debugger/gubed
parent29df04c24350cc76a41e2410d1c92445f9338b98 (diff)
downloadtdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.tar.gz
tdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'quanta/components/debugger/gubed')
-rw-r--r--quanta/components/debugger/gubed/quantadebuggergubed.cpp10
-rw-r--r--quanta/components/debugger/gubed/quantadebuggergubed.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/quanta/components/debugger/gubed/quantadebuggergubed.cpp b/quanta/components/debugger/gubed/quantadebuggergubed.cpp
index 3edcd527..872e1707 100644
--- a/quanta/components/debugger/gubed/quantadebuggergubed.cpp
+++ b/quanta/components/debugger/gubed/quantadebuggergubed.cpp
@@ -116,7 +116,7 @@ void QuantaDebuggerGubed::startSession()
{
if(!m_server)
{
- m_server = new KNetwork::KServerSocket(m_listenPort);
+ m_server = new KNetwork::TDEServerSocket(m_listenPort);
m_server->setAddressReuseable(true);
connect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
@@ -250,7 +250,7 @@ void QuantaDebuggerGubed::slotError(int)
kdDebug(24002) << k_funcinfo << ", m_server: " << m_server << ", m_socket" << m_socket << endl;
if(m_socket)
{
- if(m_socket->error() == KNetwork::KSocketBase::RemotelyDisconnected)
+ if(m_socket->error() == KNetwork::TDESocketBase::RemotelyDisconnected)
{
slotConnectionClosed();
return;
@@ -258,8 +258,8 @@ void QuantaDebuggerGubed::slotError(int)
if(m_socket->error())
{
- kdDebug(24002) << k_funcinfo << ", " << m_socket->KSocketBase::errorString() << endl;
- debuggerInterface()->showStatus(m_socket->KSocketBase::errorString(), false);
+ kdDebug(24002) << k_funcinfo << ", " << m_socket->TDESocketBase::errorString() << endl;
+ debuggerInterface()->showStatus(m_socket->TDESocketBase::errorString(), false);
}
}
@@ -282,7 +282,7 @@ void QuantaDebuggerGubed::slotReadyAccept()
// Perhaps this shouldnt be disconnected - instead check if connections are available at disconnect?
disconnect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
- m_socket = (KNetwork::KStreamSocket *)m_server->accept(); // KSocketServer returns a KStreamSocket (!)
+ m_socket = (KNetwork::KStreamSocket *)m_server->accept(); // TDESocketServer returns a KStreamSocket (!)
if(m_socket)
{
kdDebug(24002) << k_funcinfo << ", ready" << endl;
diff --git a/quanta/components/debugger/gubed/quantadebuggergubed.h b/quanta/components/debugger/gubed/quantadebuggergubed.h
index 5b53f128..ead8ffd5 100644
--- a/quanta/components/debugger/gubed/quantadebuggergubed.h
+++ b/quanta/components/debugger/gubed/quantadebuggergubed.h
@@ -98,7 +98,7 @@ class QuantaDebuggerGubed : public DebuggerClient
private:
KNetwork::KStreamSocket *m_socket;
- KNetwork::KServerSocket *m_server;
+ KNetwork::TDEServerSocket *m_server;
TQString m_command, m_buffer;
long m_datalen;