22 lines
360 B
C++
22 lines
360 B
C++
// fileloader.h
|
|
#ifndef FILELOADER_H
|
|
#define FILELOADER_H
|
|
|
|
#include <QObject>
|
|
|
|
class FileLoader : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit FileLoader(QObject *parent = nullptr);
|
|
~FileLoader();
|
|
|
|
public slots:
|
|
void loadTextFile(const QString& fileName);
|
|
|
|
signals:
|
|
void fileLoaded(QStringList rows, int tableCol);
|
|
};
|
|
|
|
#endif // FILELOADER_H
|