2020-02-17 Fred Gleason <fredg@paravelsystems.com>

* Removed Q3Socket dependency from the vGuest switcher driver.
This commit is contained in:
Fred Gleason
2020-02-17 10:21:01 -05:00
parent ca949a8001
commit 15cd9954a0
5 changed files with 49 additions and 46 deletions

View File

@@ -2,7 +2,7 @@
//
// A QSocket object with connection-ID.
//
// (C) Copyright 2002,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Library General Public License
@@ -22,9 +22,9 @@
#define RDSOCKET_H
#include <qobject.h>
#include <q3socket.h>
#include <qtcpsocket.h>
class RDSocket : public Q3Socket
class RDSocket : public QTcpSocket
{
Q_OBJECT
public:
@@ -37,7 +37,7 @@ class RDSocket : public Q3Socket
void delayedCloseFinishedID(int id);
void readyReadID(int id);
void bytesWrittenID(int nbytes,int id);
void errorID(int error,int id);
void errorID(QAbstractSocket::SocketError error,int id);
private slots:
void hostFoundData();
@@ -46,7 +46,7 @@ class RDSocket : public Q3Socket
void delayedCloseFinishedData();
void readyReadData();
void bytesWrittenData(int nbytes);
void errorData(int error);
void errorData(QAbstractSocket::SocketError error);
private:
int id_num;