digiKam
track_correlator_thread.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2006-09-19
7  * Description : Thread for correlator for tracks and images
8  *
9  * Copyright (C) 2006-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2010 by Michael G. Hansen <mike at mghansen dot de>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_TRACK_CORRELATOR_THREAD_H
26 #define DIGIKAM_TRACK_CORRELATOR_THREAD_H
27 
28 // Qt includes
29 
30 #include <QThread>
31 
32 // Local includes
33 
34 #include "track_correlator.h"
35 
36 namespace Digikam
37 {
38 
39 class TrackCorrelatorThread : public QThread
40 {
41  Q_OBJECT
42 
43 public:
44 
45  explicit TrackCorrelatorThread(QObject* const parent = nullptr);
46  ~TrackCorrelatorThread() override;
47 
48 public:
49 
53  bool doCancel;
54  bool canceled;
55 
56 protected:
57 
58  void run() override;
59 
60 Q_SIGNALS:
61 
63 };
64 
65 } // namespace Digikam
66 
67 #endif // DIGIKAM_TRACK_CORRELATOR_THREAD_H
Definition: track_correlator_thread.h:40
void signalItemsCorrelated(const Digikam::TrackCorrelator::Correlation::List &correlatedItems)
TrackCorrelatorThread(QObject *const parent=nullptr)
Definition: track_correlator_thread.cpp:43
void run() override
Definition: track_correlator_thread.cpp:54
TrackCorrelator::Correlation::List itemsToCorrelate
Definition: track_correlator_thread.h:50
TrackCorrelator::CorrelationOptions options
Definition: track_correlator_thread.h:51
bool doCancel
Definition: track_correlator_thread.h:53
~TrackCorrelatorThread() override
Definition: track_correlator_thread.cpp:50
TrackManager::Track::List fileList
Definition: track_correlator_thread.h:52
bool canceled
Definition: track_correlator_thread.h:54
Definition: track_correlator.h:86
Definition: datefolderview.cpp:43