digiKam
Loading...
Searching...
No Matches
tilegrouper.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 : 2010-12-05
7 * Description : Merges tiles into groups
8 *
9 * SPDX-FileCopyrightText: 2010-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 * SPDX-FileCopyrightText: 2010-2011 by Michael G. Hansen <mike at mghansen dot de>
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 *
14 * ============================================================ */
15
16#pragma once
17
18// Local includes
19
20#include "digikam_export.h"
21#include "geoifacecommon.h"
22
23namespace Digikam
24{
25class MapBackend;
26
27class DIGIKAM_EXPORT TileGrouper : public QObject
28{
29 Q_OBJECT
30
31public:
32
33 explicit TileGrouper(const QExplicitlySharedDataPointer<GeoIfaceSharedData>& sharedData,
34 QObject* const parent);
35 ~TileGrouper() override;
36
37 void setClustersDirty();
38 bool getClustersDirty() const;
39 void updateClusters();
40 void setCurrentBackend(MapBackend* const backend);
41
42private:
43
44 bool currentBackendReady();
45
46private:
47
48 class Private;
49 const QScopedPointer<Private> d;
50
51 const QExplicitlySharedDataPointer<GeoIfaceSharedData> s;
52};
53
54} // namespace Digikam
Definition mapbackend.h:46
Definition tilegrouper.h:28
Definition datefolderview.cpp:34