winpty/TestNetServer/Server.h
2011-11-24 03:03:25 -08:00

26 lines
316 B
C++

#ifndef TELNETSERVER_H
#define TELNETSERVER_H
#include <QObject>
class QTcpServer;
class Server : public QObject
{
Q_OBJECT
public:
explicit Server(QObject *parent = 0);
signals:
private slots:
void newConnection();
public slots:
private:
QTcpServer *m_tcpServer;
};
#endif // TELNETSERVER_H