forked from ccsens_hardware/qt_qcp_show
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
747 B
36 lines
747 B
4 years ago
|
#ifndef MAINCONFIG_H
|
||
|
#define MAINCONFIG_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QHash>
|
||
|
|
||
|
class MainConfig : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit MainConfig(QObject *parent = 0);
|
||
|
static void initConfig();
|
||
|
static void createConfigFileWithDefaultValues();
|
||
|
static void readConfigFile();
|
||
|
static void createUserConfigFileWithDefaultValues();
|
||
|
static void readUserConfigFile();
|
||
|
|
||
|
public:
|
||
|
static QString token;
|
||
|
static QString username;
|
||
|
static QString password;
|
||
|
static QString loginUrl;
|
||
|
static QString sendUserInfoUrl;
|
||
|
static QString oneKeyStartUrl;
|
||
|
static QString serviceStatusChangedUrl;
|
||
|
static QString wsUrl;
|
||
|
static QString wsHeartInterval;
|
||
|
signals:
|
||
|
|
||
|
public slots:
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // MAINCONFIG_H
|