QHttpServerPrivate::QHttpServerPrivate(QHttpServer *httpServer) : QObject(httpServer), q(httpServer), handler(0) { connect(q, SIGNAL(newConnection()), this, SLOT(onIncomingConnection())); }
O2ReplyServer::O2ReplyServer(QObject *parent): QTcpServer(parent), timeout_(15), maxtries_(3), tries_(0) { qDebug() << "O2ReplyServer: Starting"; connect(this, SIGNAL(newConnection()), this, SLOT(onIncomingConnection())); replyContent_ = "<HTML></HTML>"; }
O2ReplyServer::O2ReplyServer(QObject *parent): QTcpServer(parent) { connect(this, SIGNAL(newConnection()), this, SLOT(onIncomingConnection())); }