digiKam
geoifacetypes.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 : Primitive datatypes for geolocation interface
8  *
9  * Copyright (C) 2010-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2009-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_GEO_IFACE_TYPES_H
26 #define DIGIKAM_GEO_IFACE_TYPES_H
27 
28 // Qt includes
29 
30 #include <QPersistentModelIndex>
31 
32 Q_DECLARE_METATYPE(QPersistentModelIndex)
33 
34 namespace Digikam
35 {
36 
38 {
45  MouseModeLast = 32
46 };
47 
48 Q_DECLARE_FLAGS(GeoMouseModes, GeoMouseMode)
49 
51 {
53 };
54 
55 Q_DECLARE_FLAGS(GeoExtraActions, GeoExtraAction)
56 
57 typedef QList<int> QIntList;
58 
59 } // namespace Digikam
60 
61 Q_DECLARE_OPERATORS_FOR_FLAGS(Digikam::GeoMouseModes)
62 Q_DECLARE_OPERATORS_FOR_FLAGS(Digikam::GeoExtraActions)
63 
64 Q_DECLARE_METATYPE(Digikam::GeoMouseModes)
65 
66 #endif // DIGIKAM_GEO_IFACE_TYPES_H
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43
GeoExtraAction
Definition: geoifacetypes.h:51
@ ExtraActionSticky
Definition: geoifacetypes.h:52
GeoMouseMode
Definition: geoifacetypes.h:38
@ MouseModeRegionSelectionFromIcon
Definition: geoifacetypes.h:41
@ MouseModeFilter
Definition: geoifacetypes.h:42
@ MouseModeSelectThumbnail
Definition: geoifacetypes.h:43
@ MouseModeLast
Definition: geoifacetypes.h:45
@ MouseModeRegionSelection
Definition: geoifacetypes.h:40
@ MouseModeZoomIntoGroup
Definition: geoifacetypes.h:44
@ MouseModePan
Definition: geoifacetypes.h:39