Changeset 15 in flair-src for trunk/tools/FlairGCS/src/Manager.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/Manager.h

    r10 r15  
    1717class QGridLayout;
    1818
    19 class Manager : public QWidget
    20 {
    21     Q_OBJECT
     19class Manager : public QWidget {
     20  Q_OBJECT
    2221
    23     public:
    24         Manager(QString name,int port);
    25         ~Manager();
     22public:
     23  Manager(QString name, int port);
     24  ~Manager();
    2625
    27     private:
    28         UDTSOCKET serv ;
    29         QVBoxLayout *managerLayout;
    30         QList<ConnectionLayout*> connectionsLayout;
    31         QList<QWidget*> connectionsWidget;
    32         QTabBar* tabBar;
    33         QString name,hiddenTabName;
    34         int currentTab;
     26private:
     27  UDTSOCKET serv;
     28  QVBoxLayout *managerLayout;
     29  QList<ConnectionLayout *> connectionsLayout;
     30  QList<QWidget *> connectionsWidget;
     31  QTabBar *tabBar;
     32  QString name, hiddenTabName;
     33  int currentTab;
    3534
    36         QPushButton *send_button;
    37         QPushButton *reset_button;
    38         QPushButton *load_button;
    39         QPushButton *save_button;
    40         QGridLayout *button_layout;
     35  QPushButton *send_button;
     36  QPushButton *reset_button;
     37  QPushButton *load_button;
     38  QPushButton *save_button;
     39  QGridLayout *button_layout;
    4140
    42         void newConnection(UdtSocket* socket) ;
     41  void newConnection(UdtSocket *socket);
    4342
    44     private slots:
    45         void acceptConnections(void);
    46         void load(void);
    47         void send(void);
    48         void save(void);
    49         void reset(void);
    50         void layoutDestroyed(QObject* obj);
    51         void tabBarCurrentChanged(int index);
    52         void tabName(QString name);
     43private slots:
     44  void acceptConnections(void);
     45  void load(void);
     46  void send(void);
     47  void save(void);
     48  void reset(void);
     49  void layoutDestroyed(QObject *obj);
     50  void tabBarCurrentChanged(int index);
     51  void tabName(QString name);
    5352
    54     signals:
    55         void killUdtSockets(void);
     53signals:
     54  void killUdtSockets(void);
    5655
    57     protected:
    58 
     56protected:
    5957};
    6058
    61 #endif //MANAGER_H
    62 
     59#endif // MANAGER_H
Note: See TracChangeset for help on using the changeset viewer.