SHARE
TWEET

Untitled

a guest May 24th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef APPLICATION_H
  2. #define APPLICATION_H
  3.  
  4. #include <QObject>
  5. #include <QApplication>
  6.  
  7. #include "interface.h"
  8. #include "communicator.h"
  9.  
  10. class TApplication : public QApplication
  11. {
  12.     Q_OBJECT
  13.  
  14.     TCommunicator *comm;
  15.     TInterface    *interface;
  16.  
  17. public:
  18.  
  19.     TApplication(int, char**);
  20.  
  21. signals:
  22.  
  23.     void toInterface(TModelMessage);
  24.     void toCommunicator(QByteArray);
  25.  
  26. public slots:
  27.  
  28.     void fromInterface(TInterfaceMessage);
  29.     void fromCommunicator(QByteArray);
  30.  
  31. };
  32.  
  33. #endif // APPLICATION_H
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top