You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
429 B
C++
28 lines
429 B
C++
/*!
|
|
*FileName: lpGlobalData.h
|
|
*Author: Pan Yingdong
|
|
*Email: bob.pan@hzleaper.com
|
|
*Created:2021/2/10 16:17
|
|
*Note:
|
|
*/
|
|
#ifndef _H_LPGLOBALDATA_H_
|
|
#define _H_LPGLOBALDATA_H_
|
|
|
|
#include <QObject>
|
|
#include "lpsingleton.h"
|
|
|
|
class lpGlobalData : public QObject,public lpsingleton<lpGlobalData>
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
lpGlobalData(QObject *parent = nullptr);
|
|
~lpGlobalData();
|
|
|
|
int m_level{ 0 };
|
|
QString m_curUser{ "" };
|
|
|
|
};
|
|
|
|
#endif
|