File indexing completed on 2025-01-05 03:53:58
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2007-08-26 0007 * Description : Constants in the database 0008 * 0009 * SPDX-FileCopyrightText: 2007-2011 by Marcel Wiesweg <marcel dot wiesweg at gmx 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 // Local includes 0017 0018 #include "coredbconstants.h" 0019 0020 namespace Digikam 0021 { 0022 0023 QLatin1String InternalTagName::scannedForFaces() 0024 { 0025 return QLatin1String("Scanned for Faces"); 0026 } 0027 0028 QLatin1String InternalTagName::needResolvingHistory() 0029 { 0030 return QLatin1String("Need Resolving History"); 0031 } 0032 0033 QLatin1String InternalTagName::needTaggingHistoryGraph() 0034 { 0035 return QLatin1String("Need Tagging History Graph"); 0036 } 0037 0038 QLatin1String InternalTagName::originalVersion() 0039 { 0040 return QLatin1String("Original Version"); 0041 } 0042 0043 QLatin1String InternalTagName::currentVersion() 0044 { 0045 return QLatin1String("Current Version"); 0046 } 0047 0048 QLatin1String InternalTagName::intermediateVersion() 0049 { 0050 return QLatin1String("Intermediate Version"); 0051 } 0052 0053 QLatin1String InternalTagName::versionAlwaysVisible() 0054 { 0055 return QLatin1String("Version Always Visible"); 0056 } 0057 0058 QLatin1String InternalTagName::colorLabelNone() 0059 { 0060 return QLatin1String("Color Label None"); 0061 } 0062 0063 QLatin1String InternalTagName::colorLabelRed() 0064 { 0065 return QLatin1String("Color Label Red"); 0066 } 0067 0068 QLatin1String InternalTagName::colorLabelOrange() 0069 { 0070 return QLatin1String("Color Label Orange"); 0071 } 0072 0073 QLatin1String InternalTagName::colorLabelYellow() 0074 { 0075 return QLatin1String("Color Label Yellow"); 0076 } 0077 0078 QLatin1String InternalTagName::colorLabelGreen() 0079 { 0080 return QLatin1String("Color Label Green"); 0081 } 0082 0083 QLatin1String InternalTagName::colorLabelBlue() 0084 { 0085 return QLatin1String("Color Label Blue"); 0086 } 0087 0088 QLatin1String InternalTagName::colorLabelMagenta() 0089 { 0090 return QLatin1String("Color Label Magenta"); 0091 } 0092 0093 QLatin1String InternalTagName::colorLabelGray() 0094 { 0095 return QLatin1String("Color Label Gray"); 0096 } 0097 0098 QLatin1String InternalTagName::colorLabelBlack() 0099 { 0100 return QLatin1String("Color Label Black"); 0101 } 0102 0103 QLatin1String InternalTagName::colorLabelWhite() 0104 { 0105 return QLatin1String("Color Label White"); 0106 } 0107 0108 QLatin1String InternalTagName::pickLabelNone() 0109 { 0110 return QLatin1String("Pick Label None"); 0111 } 0112 0113 QLatin1String InternalTagName::pickLabelRejected() 0114 { 0115 return QLatin1String("Pick Label Rejected"); 0116 } 0117 0118 QLatin1String InternalTagName::pickLabelPending() 0119 { 0120 return QLatin1String("Pick Label Pending"); 0121 } 0122 0123 QLatin1String InternalTagName::pickLabelAccepted() 0124 { 0125 return QLatin1String("Pick Label Accepted"); 0126 } 0127 0128 // ---------------------------------------------------------------------------------- 0129 0130 QLatin1String TagPropertyName::person() 0131 { 0132 return QLatin1String("person"); 0133 } 0134 0135 QLatin1String TagPropertyName::unknownPerson() 0136 { 0137 return QLatin1String("unknownPerson"); 0138 } 0139 0140 QLatin1String TagPropertyName::unconfirmedPerson() 0141 { 0142 return QLatin1String("unconfirmedPerson"); 0143 } 0144 0145 QLatin1String TagPropertyName::ignoredPerson() 0146 { 0147 return QLatin1String("ignoredPerson"); 0148 } 0149 0150 QLatin1String TagPropertyName::faceEngineName() 0151 { 0152 // kept at its historical value for compatibility 0153 return QLatin1String("faceEngineId"); 0154 } 0155 0156 QLatin1String TagPropertyName::tagKeyboardShortcut() 0157 { 0158 return QLatin1String("tagKeyboardShortcut"); 0159 } 0160 0161 QLatin1String TagPropertyName::faceEngineUuid() 0162 { 0163 return QLatin1String("faceEngineUuid"); 0164 } 0165 0166 // ---------------------------------------------------------------------------------- 0167 0168 QLatin1String ImageTagPropertyName::tagRegion() 0169 { 0170 return QLatin1String("tagRegion"); 0171 } 0172 0173 QLatin1String ImageTagPropertyName::autodetectedFace() 0174 { 0175 return QLatin1String("autodetectedFace"); 0176 } 0177 0178 QLatin1String ImageTagPropertyName::autodetectedPerson() 0179 { 0180 return QLatin1String("autodetectedPerson"); 0181 } 0182 0183 QLatin1String ImageTagPropertyName::ignoredFace() 0184 { 0185 return QLatin1String("ignoredFace"); 0186 } 0187 0188 QLatin1String ImageTagPropertyName::faceToTrain() 0189 { 0190 return QLatin1String("faceToTrain"); 0191 } 0192 0193 } // namespace DigiKam