blob: f46203404ca1b51bc2acc1f87a0f16bf62be98e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef APPLICATIONSMODEL_P_H
#define APPLICATIONSMODEL_P_H
#include "applicationsmodel.h"
#include <QThread>
class IndexingThread : public QThread
{
Q_OBJECT
public:
virtual ~IndexingThread() = default;
void run() final;
private:
void parseDemo(QString path, QList<AppData> &results);
signals:
void indexingFinished(QList<AppData> results);
public:
QString root;
ApplicationsModel *model = nullptr;
};
#endif // APPLICATIONSMODEL_P_H
|