File indexing completed on 2024-06-02 04:08:46
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2009-09-08 0007 * Description : global macros, variables and flags - Private header. 0008 * 0009 * SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_GLOBALS_P_H 0016 #define DIGIKAM_GLOBALS_P_H 0017 0018 #include "digikam_config.h" 0019 #include "digikam_globals.h" 0020 0021 // Qt includes 0022 0023 #include <QObject> 0024 #include <QDir> 0025 #include <QList> 0026 #include <QImageReader> 0027 #include <QImageWriter> 0028 #include <QByteArray> 0029 #include <QShortcut> 0030 #include <QApplication> 0031 #include <QStandardPaths> 0032 #include <QTranslator> 0033 #include <QLibrary> 0034 #include <QLibraryInfo> 0035 #include <QSettings> 0036 #include <QSysInfo> 0037 #include <QMimeType> 0038 #include <QMimeDatabase> 0039 0040 #ifdef HAVE_QWEBENGINE 0041 # include "webbrowserdlg.h" 0042 #else 0043 # include <QDesktopServices> 0044 #endif 0045 0046 // KDE includes 0047 0048 #include <ki18n_version.h> 0049 #include <klocalizedstring.h> 0050 0051 // Helper macros to migrate KF6::Ki18n deprecated. 0052 // To use only in implementations, not headers to not export KDE dependencies. 0053 0054 #if KI18N_VERSION >= QT_VERSION_CHECK(5, 89, 0) 0055 # include <klazylocalizedstring.h> 0056 # undef I18N_NOOP 0057 # undef I18NC_NOOP 0058 # define I18N_NOOP(x) kli18n(x).untranslatedText() 0059 # define I18NC_NOOP(c,x) kli18nc(c,x) 0060 #endif 0061 0062 // Local includes 0063 0064 #include "digikam_config.h" 0065 #include "digikam_debug.h" 0066 #include "drawdecoder.h" 0067 #include "rawcameradlg.h" 0068 0069 // Windows includes 0070 0071 #ifdef HAVE_DRMINGW 0072 # include <windows.h> 0073 #endif 0074 0075 #endif // DIGIKAM_GLOBALS_P_H