Files
GenericQtClientCore/genericcore.h

38 lines
615 B
C
Raw Normal View History

2025-10-02 11:19:14 +02:00
#ifndef GENERICCORE_H
#define GENERICCORE_H
#include <QObject>
class QAbstractItemModel;
2025-10-02 16:22:47 +02:00
class QString;
class TableModel;
class GenericCore : public QObject {
Q_OBJECT
public:
GenericCore();
~GenericCore();
2025-10-02 16:22:47 +02:00
QString toString() const;
void sayHello() const;
bool isApplicationUpdateAvailable();
void triggerApplicationUpdate();
std::shared_ptr<QAbstractItemModel> getModel() const;
signals:
void displayStatusMessage(QString message);
private:
std::shared_ptr<TableModel> m_mainModel;
void setupModels();
QString getMaintenanceToolFilePath() const;
2025-10-02 11:19:14 +02:00
};
#endif // GENERICCORE_H