tools/designer/src/designer/qdesigner_server.h
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
equal deleted inserted replaced
4:3b1da2848fc7 5:d3bac044e0f0
    51 
    51 
    52 class QDesignerServer: public QObject
    52 class QDesignerServer: public QObject
    53 {
    53 {
    54     Q_OBJECT
    54     Q_OBJECT
    55 public:
    55 public:
    56     QDesignerServer(QObject *parent = 0);
    56     explicit QDesignerServer(QObject *parent = 0);
    57     virtual ~QDesignerServer();
    57     virtual ~QDesignerServer();
    58 
    58 
    59     quint16 serverPort() const;
    59     quint16 serverPort() const;
    60 
    60 
    61     static void sendOpenRequest(int port, const QStringList &files);
    61     static void sendOpenRequest(int port, const QStringList &files);
    72 
    72 
    73 class QDesignerClient: public QObject
    73 class QDesignerClient: public QObject
    74 {
    74 {
    75     Q_OBJECT
    75     Q_OBJECT
    76 public:
    76 public:
    77     QDesignerClient(quint16 port, QObject *parent = 0);
    77     explicit QDesignerClient(quint16 port, QObject *parent = 0);
    78     virtual ~QDesignerClient();
    78     virtual ~QDesignerClient();
    79 
    79 
    80 private slots:
    80 private slots:
    81     void readFromSocket();
    81     void readFromSocket();
    82 
    82