#ifndef SLOCATION_H #define SLOCATION_H #include #include "SDeviceGroup.h" struct SLocation { int nId; QString sName; QString sTagName; QList listDeviceGroup; SLocation() { nId = 0; sName = ""; sTagName = ""; } ~SLocation() { qDeleteAll( listDeviceGroup ); listDeviceGroup.clear(); } }; #endif // SLOCATION_H