summaryrefslogtreecommitdiffstats
path: root/examples/network/remotecontrol/ipcserver.h
blob: 2dc2515432b34a2f054a10680e0ed93cb4292420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef IPCSERVER_H
#define IPCSERVER_H

#include <qserversocket.h>

class IpcServer : public QServerSocket
{
    Q_OBJECT

public:
    IpcServer( Q_UINT16 port, QObject *parent );

    void newConnection( int socket );

signals:
    void receivedText( const QString& );
    void receivedPixmap( const QPixmap& );
};

#endif // IPCSERVER_H