File indexing completed on 2025-01-19 03:53:33
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2009-06-27 0007 * Description : Database engine element configuration settings 0008 * 0009 * SPDX-FileCopyrightText: 2009-2010 by Holger Foerster <hamsi2k at freenet dot de> 0010 * SPDX-FileCopyrightText: 2010-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_DB_ENGINE_CONFIG_SETTINGS_H 0017 #define DIGIKAM_DB_ENGINE_CONFIG_SETTINGS_H 0018 0019 // Qt includes 0020 0021 #include <QMap> 0022 0023 // Local includes 0024 0025 #include "dbengineaction.h" 0026 0027 namespace Digikam 0028 { 0029 0030 class DbEngineConfigSettings 0031 { 0032 0033 public: 0034 0035 QString databaseID; 0036 QString hostName; 0037 QString port; 0038 QString connectOptions; 0039 QString databaseName; 0040 QString userName; 0041 QString password; 0042 QMap<QString, DbEngineAction> sqlStatements; 0043 }; 0044 0045 } // namespace Digikam 0046 0047 #endif // DIGIKAM_DB_ENGINE_CONFIG_SETTINGS_H