1 /* ============================================================ 2 * 3 * This file is a part of digiKam project 4 * https://www.digikam.org 5 * 6 * Date : 2007-08-26 7 * Description : Constants in the database 8 * 9 * Copyright (C) 2007-2011 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de> 10 * Copyright (C) 2010-2021 by Gilles Caulier <caulier dot gilles at gmail dot com> 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 // Local includes 26 27 #include "coredbconstants.h" 28 29 namespace Digikam 30 { 31 scannedForFaces()32QLatin1String InternalTagName::scannedForFaces() 33 { 34 return QLatin1String("Scanned for Faces"); 35 } 36 needResolvingHistory()37QLatin1String InternalTagName::needResolvingHistory() 38 { 39 return QLatin1String("Need Resolving History"); 40 } 41 needTaggingHistoryGraph()42QLatin1String InternalTagName::needTaggingHistoryGraph() 43 { 44 return QLatin1String("Need Tagging History Graph"); 45 } 46 originalVersion()47QLatin1String InternalTagName::originalVersion() 48 { 49 return QLatin1String("Original Version"); 50 } 51 currentVersion()52QLatin1String InternalTagName::currentVersion() 53 { 54 return QLatin1String("Current Version"); 55 } 56 intermediateVersion()57QLatin1String InternalTagName::intermediateVersion() 58 { 59 return QLatin1String("Intermediate Version"); 60 } 61 versionAlwaysVisible()62QLatin1String InternalTagName::versionAlwaysVisible() 63 { 64 return QLatin1String("Version Always Visible"); 65 } 66 colorLabelNone()67QLatin1String InternalTagName::colorLabelNone() 68 { 69 return QLatin1String("Color Label None"); 70 } 71 colorLabelRed()72QLatin1String InternalTagName::colorLabelRed() 73 { 74 return QLatin1String("Color Label Red"); 75 } 76 colorLabelOrange()77QLatin1String InternalTagName::colorLabelOrange() 78 { 79 return QLatin1String("Color Label Orange"); 80 } 81 colorLabelYellow()82QLatin1String InternalTagName::colorLabelYellow() 83 { 84 return QLatin1String("Color Label Yellow"); 85 } 86 colorLabelGreen()87QLatin1String InternalTagName::colorLabelGreen() 88 { 89 return QLatin1String("Color Label Green"); 90 } 91 colorLabelBlue()92QLatin1String InternalTagName::colorLabelBlue() 93 { 94 return QLatin1String("Color Label Blue"); 95 } 96 colorLabelMagenta()97QLatin1String InternalTagName::colorLabelMagenta() 98 { 99 return QLatin1String("Color Label Magenta"); 100 } 101 colorLabelGray()102QLatin1String InternalTagName::colorLabelGray() 103 { 104 return QLatin1String("Color Label Gray"); 105 } 106 colorLabelBlack()107QLatin1String InternalTagName::colorLabelBlack() 108 { 109 return QLatin1String("Color Label Black"); 110 } 111 colorLabelWhite()112QLatin1String InternalTagName::colorLabelWhite() 113 { 114 return QLatin1String("Color Label White"); 115 } 116 pickLabelNone()117QLatin1String InternalTagName::pickLabelNone() 118 { 119 return QLatin1String("Pick Label None"); 120 } 121 pickLabelRejected()122QLatin1String InternalTagName::pickLabelRejected() 123 { 124 return QLatin1String("Pick Label Rejected"); 125 } 126 pickLabelPending()127QLatin1String InternalTagName::pickLabelPending() 128 { 129 return QLatin1String("Pick Label Pending"); 130 } 131 pickLabelAccepted()132QLatin1String InternalTagName::pickLabelAccepted() 133 { 134 return QLatin1String("Pick Label Accepted"); 135 } 136 137 // ---------------------------------------------------------------------------------- 138 person()139QLatin1String TagPropertyName::person() 140 { 141 return QLatin1String("person"); 142 } 143 unknownPerson()144QLatin1String TagPropertyName::unknownPerson() 145 { 146 return QLatin1String("unknownPerson"); 147 } 148 unconfirmedPerson()149QLatin1String TagPropertyName::unconfirmedPerson() 150 { 151 return QLatin1String("unconfirmedPerson"); 152 } 153 ignoredPerson()154QLatin1String TagPropertyName::ignoredPerson() 155 { 156 return QLatin1String("ignoredPerson"); 157 } 158 faceEngineName()159QLatin1String TagPropertyName::faceEngineName() 160 { 161 // kept at its historical value for compatibility 162 return QLatin1String("faceEngineId"); 163 } 164 tagKeyboardShortcut()165QLatin1String TagPropertyName::tagKeyboardShortcut() 166 { 167 return QLatin1String("tagKeyboardShortcut"); 168 } 169 faceEngineUuid()170QLatin1String TagPropertyName::faceEngineUuid() 171 { 172 return QLatin1String("faceEngineUuid"); 173 } 174 175 // ---------------------------------------------------------------------------------- 176 tagRegion()177QLatin1String ImageTagPropertyName::tagRegion() 178 { 179 return QLatin1String("tagRegion"); 180 } 181 autodetectedFace()182QLatin1String ImageTagPropertyName::autodetectedFace() 183 { 184 return QLatin1String("autodetectedFace"); 185 } 186 autodetectedPerson()187QLatin1String ImageTagPropertyName::autodetectedPerson() 188 { 189 return QLatin1String("autodetectedPerson"); 190 } 191 ignoredFace()192QLatin1String ImageTagPropertyName::ignoredFace() 193 { 194 return QLatin1String("ignoredFace"); 195 } 196 faceToTrain()197QLatin1String ImageTagPropertyName::faceToTrain() 198 { 199 return QLatin1String("faceToTrain"); 200 } 201 202 } // namespace DigiKam 203