Commit Graph

45 Commits

Author SHA1 Message Date
Denis Davydov
65ab05979d Changed "action" to check the availability of a peer 2018-07-18 12:19:15 +03:00
Denis Davydov
8b75f7c5e1 A ChatWindow class template was added, which is intended to create chat windows 2018-07-18 11:36:33 +03:00
Denis Davydov
2050f635ff Added comparison to true in the condition that is checked when the timeout () slot is invoked 2018-07-18 11:24:22 +03:00
Denis Davydov
6aefbb153b Added false to bool receive 2018-07-06 17:56:27 +03:00
Denis Davydov
3e4778b576 Changed the structure of the class Handler (in particular, rewrite the structure of createSession) 2018-07-06 15:38:45 +03:00
Denis Davydov
f694a32f3e Changed some structure of classes Handler and MainWindow. Also added the line "My IP" on the main window. 2018-06-29 12:37:38 +03:00
Denis Davydov
8d8649e5f9 Changed the constant QHostAddress::LocalHost to QHostAddress::LocalHostIPv6 2018-06-28 16:51:19 +03:00
Denis Davydov
bbfcfd00d9 Now when you click on the "Connect" button, the button stops being available, and the text on it changes to "Waiting..." until any message is not displayed. 2018-06-28 16:38:28 +03:00
Denis Davydov
1d68c85c0e Changed the structure of the Handler class, for convenient addition of new methods. 2018-06-28 16:08:23 +03:00
CupIvan
c82cf387f1
fix for linux compile 2018-06-22 18:05:34 +03:00
Denis Davydov
57d575b00d The parameter TARGET is changed to Influence. 2018-06-22 15:10:44 +03:00
Denis Davydov
7df934b392 Now the basic part of the application works stably.
The way of obtaining IPv6 is changed. Also changed the logic of the timer and fixed a bug with multiple calling the slot peerReceiverConnected().
2018-06-22 15:10:03 +03:00
Denis Davydov
aac8567528 The way of obtaining IPv6 is changed. 2018-06-22 15:07:53 +03:00
Denis Davydov
fd20de0e38 Added a function that recognizes your IPv6. 2018-06-22 15:07:02 +03:00
Denis Davydov
d557b16c6a Now handler works. 2018-06-21 18:36:02 +03:00
Denis Davydov
a2fee2fe26 Changed the Network class constructor
Now sockets do not overlap (if you create an object of class Network in some other class).
2018-06-21 18:23:36 +03:00
Denis Davydov
7fa9deb1d4 The basic part of the application is written
The library nlohmann::json was removed (now QJson*), working class Network and idle handler.
2018-06-21 18:21:18 +03:00
Denis Davydov
89d1f77974 Updated JSON lib 2018-06-16 15:54:45 +03:00
Denis Davydov
0ebdc434a1 Basic functionality added to the Network class 2018-06-15 17:12:41 +03:00
Denis Davydov
2c5dca6f9f The "kernel" directory has been added to the project. 2018-06-15 17:11:57 +03:00
Denis Davydov
e6412ebca9 Added template of project 2018-06-15 15:46:27 +03:00
Denis Davydov
3ee53de11a Cleaning the source
I start everything from scratch
2018-06-15 15:40:33 +03:00
Denis Davydov
dc74275526 Added template of class "sql", which designed for work with SQL Database 2018-05-22 19:01:28 +03:00
Denis Davydov
607941dd54 Deleted "json.cpp", because it's useless. 2018-05-22 17:56:53 +03:00
Denis Davydov
fd0a7c4da6 Updated contactmanager.cpp 2018-05-20 17:03:24 +03:00
Denis Davydov
18ad8c2dd4 Updated network.hpp 2018-05-20 15:16:35 +03:00
Denis Davydov
585c4d9e77 Removed func "sendPing" from class Network and moved to class
ContactManager.
2018-05-20 15:16:12 +03:00
Denis Davydov
aaea262861 Updated contactmanager.h 2018-05-20 15:15:12 +03:00
Denis Davydov
a453e47041 Removed func "addContact" (it's will be added in the future) and added
private func "sendPing".
2018-05-20 15:14:45 +03:00
Denis Davydov
8b5f51c6f5 Renamed network.h to network.hpp 2018-05-20 14:38:21 +03:00
Denis Davydov
48702f77a1 Create header of class "json". 2018-05-20 14:37:45 +03:00
Denis Davydov
527f4e0c99 Renamed main.cpp to main.hpp (it's header) 2018-05-20 14:14:31 +03:00
Denis Davydov
7c1d1bb846 Rename to Influence.pro 2018-05-20 14:00:02 +03:00
Denis Davydov
5a8e52ee4d Renamed .pro file 2018-05-20 13:38:48 +03:00
ChronosX88
5793d53dd7 Class "json" added. (This class is designed to work with JSON) 2018-05-19 14:11:37 +03:00
ChronosX88
ccd28abd54 Corrected function-member "ReadyRead". 2018-05-16 17:12:15 +03:00
ChronosX88
d20b4188aa Added the function ReadyRead, which accepts datagrams. 2018-05-12 14:41:55 +03:00
Denis Davydov
d36a361b9a Updated contactmanager.cpp 2018-05-11 15:29:06 +03:00
Denis Davydov
69e3a70d7b The Network class header file has been updated. 2018-05-11 15:27:07 +03:00
Denis Davydov
33e436e330 The function "sendPing" and "send" is added. 2018-05-11 15:23:28 +03:00
Denis Davydov
ae04dd797d The module Network is connected to the project file. 2018-05-11 14:35:25 +03:00
Denis Davydov
1a21f566f8 The class of work with contacts is added. 2018-05-10 19:01:11 +03:00
Denis Davydov
4d8e28b55d Added a library for working with JSON. 2018-05-10 18:54:01 +03:00
Denis Davydov
7a2f083dc7 Added class of work with the network. 2018-05-10 18:39:22 +03:00
Denis Davydov
5dc26a2ae9 Added .gitignore and source directory 2018-05-10 18:23:06 +03:00