testing connection
This commit is contained in:
parent
3d947a0748
commit
d4afdd7a5f
11 changed files with 77 additions and 6 deletions
6
global.h
6
global.h
|
@ -1,6 +1,9 @@
|
|||
#ifndef GLOBAL_H
|
||||
#define GLOBAL_H
|
||||
|
||||
#include <QString>
|
||||
#include <deque>
|
||||
|
||||
namespace Shared {
|
||||
|
||||
enum ConnectionState {
|
||||
|
@ -10,6 +13,9 @@ enum ConnectionState {
|
|||
error
|
||||
};
|
||||
|
||||
static const std::deque<QString> ConnectionStateNames = {"Disconnected", "Connecting", "Connected", "Error"};
|
||||
static const std::deque<QString> ConnectionStateThemeIcons = {"network-disconnect", "view-refresh", "network-connect", "state-error"};
|
||||
|
||||
};
|
||||
|
||||
#endif // GLOBAL_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue