digiKam
digikam_globals_p.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-09-08
7  * Description : global macros, variables and flags - Private header.
8  *
9  * Copyright (C) 2009-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_GLOBALS_P_H
25 #define DIGIKAM_GLOBALS_P_H
26 
27 #include "digikam_globals.h"
28 
29 // Qt includes
30 
31 #include <QObject>
32 #include <QDir>
33 #include <QList>
34 #include <QImageReader>
35 #include <QImageWriter>
36 #include <QByteArray>
37 #include <QShortcut>
38 #include <QApplication>
39 #include <QStandardPaths>
40 #include <QTranslator>
41 #include <QLibrary>
42 #include <QLibraryInfo>
43 #include <QSettings>
44 #include <QSysInfo>
45 #include <QMimeType>
46 #include <QMimeDatabase>
47 
48 // KDE includes
49 
50 #include <klocalizedstring.h>
51 
52 // Helper macros to migrate KF6::Ki18n deprecated.
53 // To use only in implementations, not headers.
54 
55 #if (QT_VERSION > QT_VERSION_CHECK(5, 99, 0))
56 # include <klazylocalizedstring.h>
57 # define I18N_NOOP(x) kli18n(x).untranslatedText()
58 # define I18N_NOOP2(c,x) kli18nc(c,x).untranslatedText()
59 #endif
60 
61 // Local includes
62 
63 #include "digikam_config.h"
64 #include "digikam_debug.h"
65 #include "drawdecoder.h"
66 #include "rawcameradlg.h"
67 
68 // Windows includes
69 
70 #ifdef HAVE_DRMINGW
71 # include <windows.h>
72 #endif
73 
74 #endif // DIGIKAM_GLOBALS_P_H