digiKam
Loading...
Searching...
No Matches
groupstatecomputer.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 : 2009-12-01
7 * Description : class GroupStateComputer
8 *
9 * SPDX-FileCopyrightText: 2010-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 * SPDX-FileCopyrightText: 2009-2010 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// Qt includes
19
20#include <QScopedPointer>
21
22// Local includes
23
24#include "digikam_export.h"
25#include "geogroupstate.h"
26
27namespace Digikam
28{
29
30class DIGIKAM_EXPORT GroupStateComputer
31{
32public:
33
35 virtual ~GroupStateComputer();
36
37 GeoGroupState getState() const;
38
39 void clear();
40
41 void addState(const GeoGroupState state);
42 void addSelectedState(const GeoGroupState state);
43 void addFilteredPositiveState(const GeoGroupState state);
44 void addRegionSelectedState(const GeoGroupState state);
45
46private:
47
48 class Private;
49 const QScopedPointer<Private> d;
50};
51
52} // namespace Digikam
Definition groupstatecomputer.h:31
Definition datefolderview.cpp:34