更新文档

This commit is contained in:
feiyangqingyun
2023-09-08 13:52:30 +08:00
parent 9af16093a2
commit 8173abef29
39 changed files with 1556 additions and 1464 deletions

View File

@@ -39,6 +39,11 @@ SaveRunTime::SaveRunTime(QObject *parent) : QObject(parent)
connect(timerSave, SIGNAL(timeout()), this, SLOT(saveLog()));
}
SaveRunTime::~SaveRunTime()
{
this->stop();
}
void SaveRunTime::getDiffValue(const QDateTime &startTime, const QDateTime &endTime, int &day, int &hour, int &minute)
{
qint64 sec = startTime.secsTo(endTime);

View File

@@ -26,6 +26,7 @@ class SaveRunTime : public QObject
public:
static SaveRunTime *Instance();
explicit SaveRunTime(QObject *parent = 0);
~SaveRunTime();
private:
static QScopedPointer<SaveRunTime> self;