File indexing completed on 2025-03-09 03:57:06
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2009-08-08 0007 * Description : an option to provide camera information to the parser 0008 * 0009 * SPDX-FileCopyrightText: 2009-2012 by Andi Clemens <andi dot clemens at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_CAMERA_NAME_OPTION_H 0016 #define DIGIKAM_CAMERA_NAME_OPTION_H 0017 0018 // Qt includes 0019 0020 #include <QObject> 0021 #include <QString> 0022 0023 // Local includes 0024 0025 #include "option.h" 0026 0027 namespace Digikam 0028 { 0029 0030 class CameraNameOption : public Option 0031 { 0032 Q_OBJECT 0033 0034 public: 0035 0036 explicit CameraNameOption(); 0037 ~CameraNameOption() override = default; 0038 0039 protected: 0040 0041 QString parseOperation(ParseSettings& settings, const QRegularExpressionMatch& match) override; 0042 0043 private: 0044 0045 // Disable 0046 CameraNameOption(QObject*) = delete; 0047 CameraNameOption(const CameraNameOption&) = delete; 0048 CameraNameOption& operator=(const CameraNameOption&) = delete; 0049 }; 0050 0051 } // namespace Digikam 0052 0053 #endif // DIGIKAM_CAMERA_NAME_OPTION_H