1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef ANALYSEKEEPER_H |
6 | #define ANALYSEKEEPER_H |
7 | |
8 | #include "wordcountanalyse.h" |
9 | |
10 | #include <QObject> |
11 | |
12 | class AnalyseKeeper final : public QObject |
13 | { |
14 | Q_OBJECT |
15 | Q_DISABLE_COPY(AnalyseKeeper) |
16 | public: |
17 | AnalyseKeeper(); |
18 | static AnalyseKeeper *instance(); |
19 | |
20 | public slots: |
21 | void doAnalyse(const ActionAnalyseArgs &args); |
22 | |
23 | private slots: |
24 | void doAnalyseDone(bool result); |
25 | }; |
26 | |
27 | #endif // ANALYSEKEEPER_H |
28 | |