Changeset 15 in flair-src for trunk/tools/FlairGCS/src/UdtSocket.h


Ignore:
Timestamp:
Apr 8, 2016, 3:40:57 PM (5 years ago)
Author:
Bayard Gildas
Message:

sources reformatted with flair-format-dir script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/UdtSocket.h

    r10 r15  
    1212class file_ui;
    1313
    14 class UdtSocket : public QObject
    15 {
    16     Q_OBJECT
     14class UdtSocket : public QObject {
     15  Q_OBJECT
    1716
    18     public:
    19         UdtSocket(UDTSOCKET file_socket,UDTSOCKET com_socket,QString name);
    20         ~UdtSocket();
     17public:
     18  UdtSocket(UDTSOCKET file_socket, UDTSOCKET com_socket, QString name);
     19  ~UdtSocket();
    2120
    22     private:
    23         UDTSOCKET file_socket,com_socket;
    24         file_ui* file_dialog;
    25         bool stop;
    26         QString name;
    27         QTimer *heartbeat_timer;
    28         void receiveData(void);
    29         void receiveFile(void);
     21private:
     22  UDTSOCKET file_socket, com_socket;
     23  file_ui *file_dialog;
     24  bool stop;
     25  QString name;
     26  QTimer *heartbeat_timer;
     27  void receiveData(void);
     28  void receiveFile(void);
    3029
    31     signals:
    32         void dataReady(char*,int size);
     30signals:
     31  void dataReady(char *, int size);
    3332
    34     public slots:
    35         void handleConnections(void);
    36         void kill(void);
    37         void write(const char* buf, qint64 size);
    38     private slots:
    39         void heartbeat(void);
     33public slots:
     34  void handleConnections(void);
     35  void kill(void);
     36  void write(const char *buf, qint64 size);
     37private slots:
     38  void heartbeat(void);
    4039};
    4140
Note: See TracChangeset for help on using the changeset viewer.