Advertisement
PlotnikovPhilipp

Untitled

Apr 20th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include <QtNetwork>
  4.  
  5. using namespace Qt;
  6.  
  7. class Client :public QObject {
  8. Q_OBJECT
  9. private:
  10. QTcpSocket* pTcpSocket;
  11. int sizeOfData, number;
  12. QVariant imgs;
  13. QList<QString> str, name2;
  14. QString name, password;
  15. public:
  16. Client(QObject* pointer = nullptr);
  17. ~Client();
  18. signals:
  19. void somethingEmpty(QString name);
  20. void accesSigningIn(QString name, int number, QVariant imgs);
  21. void accesSigningUp(QString name, int number, QVariant imgs);
  22. void notAccesSigningIn(QString name);
  23. void notAccesSigningUp(QString name);
  24. public slots:
  25. void slotReadyRead();
  26. void slotSendToServer(QString argName, QString argPassword);
  27. void slotQueryServerContent(int index);
  28. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement