fixed virtual hidden method warning (Mac OS X)
git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@283 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
parent
b15c499227
commit
9422df9965
@ -14,7 +14,7 @@ CameraTcpClient::CameraTcpClient(QObject *parent) :
|
||||
QTcpSocket(parent),
|
||||
blockSize_(0)
|
||||
{
|
||||
connect(this, SIGNAL(readyRead()), this, SLOT(readData()));
|
||||
connect(this, SIGNAL(readyRead()), this, SLOT(readReceivedData()));
|
||||
connect(this, SIGNAL(error(QAbstractSocket::SocketError)), this, SLOT(displayError(QAbstractSocket::SocketError)));
|
||||
connect(this, SIGNAL(disconnected()), this, SLOT(connectionLost()));
|
||||
}
|
||||
@ -26,7 +26,7 @@ cv::Mat CameraTcpClient::getImage()
|
||||
return img;
|
||||
}
|
||||
|
||||
void CameraTcpClient::readData()
|
||||
void CameraTcpClient::readReceivedData()
|
||||
{
|
||||
QDataStream in(this);
|
||||
in.setVersion(QDataStream::Qt_4_0);
|
||||
|
||||
@ -20,7 +20,7 @@ public:
|
||||
bool isConnected() const {return connected_;}
|
||||
|
||||
private slots:
|
||||
void readData();
|
||||
void readReceivedData();
|
||||
void displayError(QAbstractSocket::SocketError socketError);
|
||||
void connectionLost();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user