#ifndef LOGWAREHOUSE #define LOGWAREHOUSE #include #include "include/type/Log.h" class LogWarehouse : public QObject { Q_OBJECT public: Log_ptr getItem(int index); int getLength(); //uncrustify off public slots: //uncrustify on void addData(Log_ptr data); signals: void dataAdded(); private: QList _data; }; #endif //LOGWAREHOUSE