Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/3dview/fileloader.h
Show All 28 Lines | |||||
29 | class QVector4D; | 29 | class QVector4D; | ||
30 | 30 | | |||
31 | class FileLoader : public QObject | 31 | class FileLoader : public QObject | ||
32 | { | 32 | { | ||
33 | Q_OBJECT | 33 | Q_OBJECT | ||
34 | 34 | | |||
35 | public: | 35 | public: | ||
36 | FileLoader(QString &fileName, QObject *parent = nullptr); | 36 | FileLoader(QString &fileName, QObject *parent = nullptr); | ||
37 | ~FileLoader(); | 37 | ~FileLoader() = default; | ||
38 | 38 | | |||
39 | private: | 39 | private: | ||
40 | QFile _file; | 40 | QFile _file; | ||
41 | 41 | | |||
42 | signals: | 42 | signals: | ||
43 | void percentUpdate(QVariant var); | 43 | void percentUpdate(QVariant var); | ||
44 | void posFinished(const QVector<QVector4D> &pos); | 44 | void posFinished(const QVector<QVector4D> &pos); | ||
45 | 45 | | |||
46 | public slots: | 46 | public slots: | ||
47 | void run(); | 47 | void run(); | ||
48 | }; | 48 | }; |