Replaced `MyWindow` with `MainWindow` featuring dynamic device widgets. Introduced `DeviceInfo`, `DeviceDAO`, and improved database interaction. Added flow layout and refactored image handling for better performance.
12 lines
211 B
C++
12 lines
211 B
C++
#pragma once
|
|
|
|
#include <QString>
|
|
#include <QDateTime>
|
|
|
|
class CommonDataDAO {
|
|
public:
|
|
[[nodiscard]] static QDateTime getLastScan();
|
|
|
|
[[nodiscard]] static bool updateLastScan(const QDateTime &newTime);
|
|
};
|